Home
last modified time | relevance | path

Searched refs:evt (Results 1 – 25 of 244) sorted by relevance

12345678910

/linux/drivers/scsi/elx/libefc/
H A Defc_fabric.h19 enum efc_sm_event evt, void *arg);
22 enum efc_sm_event evt, void *arg);
25 enum efc_sm_event evt, void *arg);
28 enum efc_sm_event evt, void *arg);
32 enum efc_sm_event evt, void *arg);
35 enum efc_sm_event evt, void *arg);
38 enum efc_sm_event evt, void *arg);
41 __efc_ns_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg);
44 enum efc_sm_event evt, void *arg);
47 enum efc_sm_event evt, void *arg);
[all …]
H A Defc_fabric.c52 enum efc_sm_event evt, void *arg) in __efc_fabric_common() argument
58 switch (evt) { in __efc_fabric_common()
68 __efc_node_common(funcname, ctx, evt, arg); in __efc_fabric_common()
73 __efc_fabric_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt, in __efc_fabric_init() argument
79 efc_node_evt_set(ctx, evt, __func__); in __efc_fabric_init()
83 switch (evt) { in __efc_fabric_init()
95 __efc_fabric_common(__func__, ctx, evt, arg); in __efc_fabric_init()
132 enum efc_sm_event evt, void *arg) in __efc_fabric_flogi_wait_rsp() argument
137 efc_node_evt_set(ctx, evt, __func__); in __efc_fabric_flogi_wait_rsp()
141 switch (evt) { in __efc_fabric_flogi_wait_rsp()
[all …]
H A Defc_device.c45 enum efc_sm_event evt, void *arg) in __efc_d_common() argument
53 switch (evt) { in __efc_d_common()
57 funcname, efc_sm_event_name(evt)); in __efc_d_common()
64 efc_sm_event_name(evt)); in __efc_d_common()
70 funcname, efc_sm_event_name(evt)); in __efc_d_common()
77 __efc_node_common(funcname, ctx, evt, arg); in __efc_d_common()
83 enum efc_sm_event evt, void *arg) in __efc_d_wait_del_node() argument
87 efc_node_evt_set(ctx, evt, __func__); in __efc_d_wait_del_node()
96 switch (evt) { in __efc_d_wait_del_node()
134 node_printf(node, "%s received\n", efc_sm_event_name(evt)); in __efc_d_wait_del_node()
[all …]
H A Defc_device.h26 enum efc_sm_event evt, void *arg);
29 enum efc_sm_event evt, void *arg);
31 __efc_d_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg);
34 enum efc_sm_event evt, void *arg);
37 enum efc_sm_event evt, void *arg);
40 enum efc_sm_event evt, void *arg);
43 enum efc_sm_event evt, void *arg);
46 enum efc_sm_event evt, void *arg);
49 enum efc_sm_event evt, void *arg);
52 enum efc_sm_event evt, void *arg);
[all …]
H A Defc_node.h23 efc_node_evt_set(struct efc_sm_ctx *ctx, enum efc_sm_event evt, in efc_node_evt_set() argument
28 if (evt == EFC_EVT_ENTER) { in efc_node_evt_set()
31 } else if (evt == EFC_EVT_EXIT) { in efc_node_evt_set()
38 node->current_evt = evt; in efc_node_evt_set()
111 enum efc_sm_event evt, void *arg,
117 enum efc_sm_event evt, void *arg,
130 void efc_node_post_event(struct efc_node *node, enum efc_sm_event evt,
135 enum efc_sm_event evt, void *arg);
138 enum efc_sm_event evt, void *arg);
141 enum efc_sm_event evt, void *arg);
[all …]
H A Defc_node.c364 enum efc_sm_event evt, void *arg) in __efc_node_shutdown() argument
368 efc_node_evt_set(ctx, evt, __func__); in __efc_node_shutdown()
372 switch (evt) { in __efc_node_shutdown()
420 __efc_node_common(__func__, ctx, evt, arg); in __efc_node_shutdown()
465 enum efc_sm_event evt, void *arg) in __efc_node_wait_els_shutdown() argument
470 efc_node_evt_set(ctx, evt, __func__); in __efc_node_wait_els_shutdown()
474 switch (evt) { in __efc_node_wait_els_shutdown()
527 node_printf(node, "%s received\n", efc_sm_event_name(evt)); in __efc_node_wait_els_shutdown()
531 __efc_node_common(__func__, ctx, evt, arg); in __efc_node_wait_els_shutdown()
540 enum efc_sm_event evt, void *arg) in __efc_node_wait_node_free() argument
[all …]
H A Defc_domain.c172 enum efc_sm_event evt, void *arg) in __efc_domain_common() argument
176 switch (evt) { in __efc_domain_common()
188 funcname, efc_sm_event_name(evt)); in __efc_domain_common()
194 enum efc_sm_event evt, void *arg) in __efc_domain_common_shutdown() argument
198 switch (evt) { in __efc_domain_common_shutdown()
216 funcname, efc_sm_event_name(evt)); in __efc_domain_common_shutdown()
230 __efc_domain_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt, in __efc_domain_init() argument
237 switch (evt) { in __efc_domain_init()
352 __efc_domain_common(__func__, ctx, evt, arg); in __efc_domain_init()
358 enum efc_sm_event evt, void *arg) in __efc_domain_wait_alloc() argument
[all …]
H A Defc_domain.h20 __efc_domain_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg);
22 __efc_domain_wait_alloc(struct efc_sm_ctx *ctx, enum efc_sm_event evt,
25 __efc_domain_allocated(struct efc_sm_ctx *ctx, enum efc_sm_event evt,
28 __efc_domain_wait_attach(struct efc_sm_ctx *ctx, enum efc_sm_event evt,
31 __efc_domain_ready(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg);
33 __efc_domain_wait_nports_free(struct efc_sm_ctx *ctx, enum efc_sm_event evt,
36 __efc_domain_wait_shutdown(struct efc_sm_ctx *ctx, enum efc_sm_event evt,
39 __efc_domain_wait_domain_lost(struct efc_sm_ctx *ctx, enum efc_sm_event evt,
H A Defc_nport.h27 enum efc_sm_event evt, void *arg);
30 enum efc_sm_event evt, void *arg);
33 enum efc_sm_event evt, void *arg);
36 enum efc_sm_event evt, void *arg);
39 enum efc_sm_event evt, void *arg);
42 enum efc_sm_event evt, void *arg);
45 enum efc_sm_event evt, void *arg);
/linux/arch/powerpc/kernel/
H A Dmce.c30 static void machine_check_ue_event(struct machine_check_event *evt);
231 static void machine_check_ue_event(struct machine_check_event *evt) in machine_check_ue_event() argument
242 evt, sizeof(*evt)); in machine_check_ue_event()
251 struct machine_check_event evt; in machine_check_queue_event() local
253 if (!get_mce_event(&evt, MCE_EVENT_RELEASE)) in machine_check_queue_event()
263 &evt, sizeof(evt)); in machine_check_queue_event()
287 struct machine_check_event *evt; in machine_process_ue_event() local
291 evt = &local_paca->mce_info->mce_ue_event_queue[index]; in machine_process_ue_event()
292 blocking_notifier_call_chain(&mce_notifier_list, 0, evt); in machine_process_ue_event()
302 if (evt->error_type == MCE_ERROR_TYPE_UE) { in machine_process_ue_event()
[all …]
/linux/drivers/scsi/ibmvscsi/
H A Dibmvfc.c220 static void ibmvfc_trc_start(struct ibmvfc_event *evt) in ibmvfc_trc_start() argument
222 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_trc_start()
223 struct ibmvfc_cmd *vfc_cmd = &evt->iu.cmd; in ibmvfc_trc_start()
224 struct ibmvfc_mad_common *mad = &evt->iu.mad_common; in ibmvfc_trc_start()
230 entry->evt = evt; in ibmvfc_trc_start()
232 entry->fmt = evt->crq.format; in ibmvfc_trc_start()
256 static void ibmvfc_trc_end(struct ibmvfc_event *evt) in ibmvfc_trc_end() argument
258 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_trc_end()
259 struct ibmvfc_cmd *vfc_cmd = &evt->xfer_iu->cmd; in ibmvfc_trc_end()
260 struct ibmvfc_mad_common *mad = &evt->xfer_iu->mad_common; in ibmvfc_trc_end()
[all …]
/linux/drivers/net/wireless/ath/wil6210/
H A Dwmi.c771 struct wmi_ready_event *evt = d; in wmi_evt_ready() local
775 wil->fw_version, le32_to_cpu(evt->sw_version), in wmi_evt_ready()
776 evt->mac, evt->numof_additional_mids); in wmi_evt_ready()
777 if (evt->numof_additional_mids + 1 < wil->max_vifs) { in wmi_evt_ready()
787 evt->rfc_read_calib_result); in wmi_evt_ready()
788 wil->fw_calib_result = evt->rfc_read_calib_result; in wmi_evt_ready()
793 evt->max_assoc_sta > 0) { in wmi_evt_ready()
794 fw_max_assoc_sta = evt->max_assoc_sta; in wmi_evt_ready()
957 struct wmi_connect_event *evt = d; in wmi_evt_connect() local
968 if (len < sizeof(*evt)) { in wmi_evt_connect()
[all …]
/linux/drivers/clocksource/
H A Dtimer-qcom.c39 struct clock_event_device *evt = dev_id; in msm_timer_interrupt() local
41 if (clockevent_state_oneshot(evt)) { in msm_timer_interrupt()
46 evt->event_handler(evt); in msm_timer_interrupt()
51 struct clock_event_device *evt) in msm_timer_set_next_event() argument
69 static int msm_timer_shutdown(struct clock_event_device *evt) in msm_timer_shutdown() argument
101 struct clock_event_device *evt = per_cpu_ptr(msm_evt, cpu); in msm_local_timer_starting_cpu() local
104 evt->irq = msm_timer_irq; in msm_local_timer_starting_cpu()
105 evt->name = "msm_timer"; in msm_local_timer_starting_cpu()
106 evt->features = CLOCK_EVT_FEAT_ONESHOT; in msm_local_timer_starting_cpu()
107 evt->rating = 200; in msm_local_timer_starting_cpu()
[all …]
H A Dtimer-rda.c67 static int rda_ostimer_set_state_shutdown(struct clock_event_device *evt) in rda_ostimer_set_state_shutdown() argument
69 struct timer_of *to = to_timer_of(evt); in rda_ostimer_set_state_shutdown()
76 static int rda_ostimer_set_state_oneshot(struct clock_event_device *evt) in rda_ostimer_set_state_oneshot() argument
78 struct timer_of *to = to_timer_of(evt); in rda_ostimer_set_state_oneshot()
85 static int rda_ostimer_set_state_periodic(struct clock_event_device *evt) in rda_ostimer_set_state_periodic() argument
87 struct timer_of *to = to_timer_of(evt); in rda_ostimer_set_state_periodic()
93 evt->mult) >> evt->shift; in rda_ostimer_set_state_periodic()
99 static int rda_ostimer_tick_resume(struct clock_event_device *evt) in rda_ostimer_tick_resume() argument
104 static int rda_ostimer_set_next_event(unsigned long evt, in rda_ostimer_set_next_event() argument
109 rda_ostimer_start(timer_of_base(to), false, evt); in rda_ostimer_set_next_event()
[all …]
H A Dtimer-imx-sysctr.c33 static void sysctr_timer_enable(struct clock_event_device *evt, bool enable) in sysctr_timer_enable() argument
35 struct timer_of *to = to_timer_of(evt); in sysctr_timer_enable()
42 static void sysctr_irq_acknowledge(struct clock_event_device *evt) in sysctr_irq_acknowledge() argument
49 sysctr_timer_enable(evt, false); in sysctr_irq_acknowledge()
52 static inline u64 sysctr_read_counter(struct clock_event_device *evt) in sysctr_read_counter() argument
54 struct timer_of *to = to_timer_of(evt); in sysctr_read_counter()
69 struct clock_event_device *evt) in sysctr_set_next_event() argument
71 struct timer_of *to = to_timer_of(evt); in sysctr_set_next_event()
76 sysctr_timer_enable(evt, false); in sysctr_set_next_event()
78 next = sysctr_read_counter(evt); in sysctr_set_next_event()
[all …]
H A Dtimer-fttmr010.c105 int (*timer_shutdown)(struct clock_event_device *evt);
117 static inline struct fttmr010 *to_fttmr010(struct clock_event_device *evt) in to_fttmr010() argument
119 return container_of(evt, struct fttmr010, clkevt); in to_fttmr010()
143 struct clock_event_device *evt) in fttmr010_timer_set_next_event() argument
145 struct fttmr010 *fttmr010 = to_fttmr010(evt); in fttmr010_timer_set_next_event()
149 fttmr010->timer_shutdown(evt); in fttmr010_timer_set_next_event()
171 static int ast2600_timer_shutdown(struct clock_event_device *evt) in ast2600_timer_shutdown() argument
173 struct fttmr010 *fttmr010 = to_fttmr010(evt); in ast2600_timer_shutdown()
181 static int fttmr010_timer_shutdown(struct clock_event_device *evt) in fttmr010_timer_shutdown() argument
183 struct fttmr010 *fttmr010 = to_fttmr010(evt); in fttmr010_timer_shutdown()
[all …]
H A Dtimer-npcm7xx.c56 static int npcm7xx_timer_resume(struct clock_event_device *evt) in npcm7xx_timer_resume() argument
58 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_resume()
68 static int npcm7xx_timer_shutdown(struct clock_event_device *evt) in npcm7xx_timer_shutdown() argument
70 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_shutdown()
80 static int npcm7xx_timer_oneshot(struct clock_event_device *evt) in npcm7xx_timer_oneshot() argument
82 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_oneshot()
93 static int npcm7xx_timer_periodic(struct clock_event_device *evt) in npcm7xx_timer_periodic() argument
95 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_periodic()
108 static int npcm7xx_clockevent_set_next_event(unsigned long evt, in npcm7xx_clockevent_set_next_event() argument
114 writel(evt, timer_of_base(to) + NPCM7XX_REG_TICR0); in npcm7xx_clockevent_set_next_event()
[all …]
H A Dtimer-ixp4xx.c62 to_ixp4xx_timer(struct clock_event_device *evt) in to_ixp4xx_timer() argument
64 return container_of(evt, struct ixp4xx_timer, clkevt); in to_ixp4xx_timer()
85 struct clock_event_device *evt = &tmr->clkevt; in ixp4xx_timer_interrupt() local
91 evt->event_handler(evt); in ixp4xx_timer_interrupt()
97 struct clock_event_device *evt) in ixp4xx_set_next_event() argument
99 struct ixp4xx_timer *tmr = to_ixp4xx_timer(evt); in ixp4xx_set_next_event()
111 static int ixp4xx_shutdown(struct clock_event_device *evt) in ixp4xx_shutdown() argument
113 struct ixp4xx_timer *tmr = to_ixp4xx_timer(evt); in ixp4xx_shutdown()
123 static int ixp4xx_set_oneshot(struct clock_event_device *evt) in ixp4xx_set_oneshot() argument
125 struct ixp4xx_timer *tmr = to_ixp4xx_timer(evt); in ixp4xx_set_oneshot()
[all …]
H A Dbcm2835_timer.c33 struct clock_event_device evt; member
47 struct bcm2835_timer, evt); in bcm2835_time_set_next_event()
60 event_handler = READ_ONCE(timer->evt.event_handler); in bcm2835_time_interrupt()
62 event_handler(&timer->evt); in bcm2835_time_interrupt()
110 timer->evt.name = node->name; in bcm2835_timer_init()
111 timer->evt.rating = 300; in bcm2835_timer_init()
112 timer->evt.features = CLOCK_EVT_FEAT_ONESHOT; in bcm2835_timer_init()
113 timer->evt.set_next_event = bcm2835_time_set_next_event; in bcm2835_timer_init()
114 timer->evt.cpumask = cpumask_of(0); in bcm2835_timer_init()
123 clockevents_config_and_register(&timer->evt, freq, 0xf, 0xffffffff); in bcm2835_timer_init()
/linux/arch/xtensa/kernel/
H A Dtime.c56 struct clock_event_device evt; member
83 static int ccount_timer_shutdown(struct clock_event_device *evt) in ccount_timer_shutdown() argument
86 container_of(evt, struct ccount_timer, evt); in ccount_timer_shutdown()
89 disable_irq_nosync(evt->irq); in ccount_timer_shutdown()
95 static int ccount_timer_set_oneshot(struct clock_event_device *evt) in ccount_timer_set_oneshot() argument
98 container_of(evt, struct ccount_timer, evt); in ccount_timer_set_oneshot()
101 enable_irq(evt->irq); in ccount_timer_set_oneshot()
108 .evt = {
120 struct clock_event_device *evt = &this_cpu_ptr(&ccount_timer)->evt; in timer_interrupt() local
123 evt->event_handler(evt); in timer_interrupt()
[all …]
/linux/arch/x86/xen/
H A Dtime.c208 static int xen_timerop_shutdown(struct clock_event_device *evt) in xen_timerop_shutdown() argument
217 struct clock_event_device *evt) in xen_timerop_set_next_event() argument
219 WARN_ON(!clockevent_state_oneshot(evt)); in xen_timerop_set_next_event()
248 static int xen_vcpuop_shutdown(struct clock_event_device *evt) in xen_vcpuop_shutdown() argument
261 static int xen_vcpuop_set_oneshot(struct clock_event_device *evt) in xen_vcpuop_set_oneshot() argument
273 struct clock_event_device *evt) in xen_vcpuop_set_next_event() argument
279 WARN_ON(!clockevent_state_oneshot(evt)); in xen_vcpuop_set_next_event()
314 struct clock_event_device evt; member
317 static DEFINE_PER_CPU(struct xen_clock_event_device, xen_clock_events) = { .evt.irq = -1 };
321 struct clock_event_device *evt = this_cpu_ptr(&xen_clock_events.evt); in xen_timer_interrupt() local
[all …]
/linux/arch/x86/kernel/
H A Dhpet.c26 struct clock_event_device evt; member
72 struct hpet_channel *clockevent_to_channel(struct clock_event_device *evt) in clockevent_to_channel() argument
74 return container_of(evt, struct hpet_channel, evt); in clockevent_to_channel()
297 static int hpet_clkevt_set_state_periodic(struct clock_event_device *evt) in hpet_clkevt_set_state_periodic() argument
299 unsigned int channel = clockevent_to_channel(evt)->num; in hpet_clkevt_set_state_periodic()
304 delta = ((uint64_t)(NSEC_PER_SEC / HZ)) * evt->mult; in hpet_clkevt_set_state_periodic()
305 delta >>= evt->shift; in hpet_clkevt_set_state_periodic()
328 static int hpet_clkevt_set_state_oneshot(struct clock_event_device *evt) in hpet_clkevt_set_state_oneshot() argument
330 unsigned int channel = clockevent_to_channel(evt)->num; in hpet_clkevt_set_state_oneshot()
341 static int hpet_clkevt_set_state_shutdown(struct clock_event_device *evt) in hpet_clkevt_set_state_shutdown() argument
[all …]
/linux/net/tipc/
H A Dsubscr.c46 struct tipc_subscr *s = &sub->evt.s; in tipc_sub_send_event()
47 struct tipc_event *evt = &sub->evt; in tipc_sub_send_event() local
51 tipc_evt_write(evt, event, event); in tipc_sub_send_event()
53 tipc_evt_write(evt, found_lower, p->sr.lower); in tipc_sub_send_event()
54 tipc_evt_write(evt, found_upper, p->sr.upper); in tipc_sub_send_event()
55 tipc_evt_write(evt, port.ref, p->sk.ref); in tipc_sub_send_event()
56 tipc_evt_write(evt, port.node, p->sk.node); in tipc_sub_send_event()
58 tipc_evt_write(evt, found_lower, s->seq.lower); in tipc_sub_send_event()
59 tipc_evt_write(evt, found_upper, s->seq.upper); in tipc_sub_send_event()
60 tipc_evt_write(evt, port.ref, 0); in tipc_sub_send_event()
[all …]
/linux/arch/openrisc/kernel/
H A Dtime.c72 struct clock_event_device *evt = in openrisc_clockevent_init() local
79 evt->broadcast = tick_broadcast; in openrisc_clockevent_init()
81 evt->name = "openrisc_timer_clockevent", in openrisc_clockevent_init()
82 evt->features = CLOCK_EVT_FEAT_ONESHOT, in openrisc_clockevent_init()
83 evt->rating = 300, in openrisc_clockevent_init()
84 evt->set_next_event = openrisc_timer_set_next_event, in openrisc_clockevent_init()
86 evt->cpumask = cpumask_of(cpu); in openrisc_clockevent_init()
89 clockevents_config_and_register(evt, cpuinfo->clock_frequency, in openrisc_clockevent_init()
117 struct clock_event_device *evt = in timer_interrupt() local
126 evt->event_handler(evt); in timer_interrupt()
/linux/kernel/time/
H A Dtimer_migration.c514 struct tmigr_event *evt; member
558 struct tmigr_event *evt = NULL; in tmigr_next_groupevt() local
565 evt = container_of(node, struct tmigr_event, nextevt); in tmigr_next_groupevt()
567 if (!evt->ignore) { in tmigr_next_groupevt()
568 WRITE_ONCE(group->next_expiry, evt->nextevt.expires); in tmigr_next_groupevt()
569 return evt; in tmigr_next_groupevt()
591 struct tmigr_event *evt = tmigr_next_groupevt(group); in tmigr_next_expired_groupevt() local
593 if (!evt || now < evt->nextevt.expires) in tmigr_next_expired_groupevt()
599 timerqueue_del(&group->events, &evt->nextevt); in tmigr_next_expired_groupevt()
602 return evt; in tmigr_next_expired_groupevt()
[all …]

12345678910