Home
last modified time | relevance | path

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

1234567

/drivers/scsi/elx/libefc/
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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,
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);
/drivers/clocksource/
Dexynos_mct.c90 struct clock_event_device evt; member
293 struct clock_event_device *evt) in exynos4_comp_set_next_event() argument
300 static int mct_set_state_shutdown(struct clock_event_device *evt) in mct_set_state_shutdown() argument
306 static int mct_set_state_periodic(struct clock_event_device *evt) in mct_set_state_periodic() argument
310 cycles_per_jiffy = (((unsigned long long)NSEC_PER_SEC / HZ * evt->mult) in mct_set_state_periodic()
311 >> evt->shift); in mct_set_state_periodic()
332 struct clock_event_device *evt = dev_id; in exynos4_mct_comp_isr() local
336 evt->event_handler(evt); in exynos4_mct_comp_isr()
399 struct clock_event_device *evt) in exynos4_tick_set_next_event() argument
403 mevt = container_of(evt, struct mct_clock_event_device, evt); in exynos4_tick_set_next_event()
[all …]
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 …]
Dtimer-armada-370-xp.c126 static int armada_370_xp_clkevt_shutdown(struct clock_event_device *evt) in armada_370_xp_clkevt_shutdown() argument
140 static int armada_370_xp_clkevt_set_periodic(struct clock_event_device *evt) in armada_370_xp_clkevt_set_periodic() argument
162 struct clock_event_device *evt = dev_id; in armada_370_xp_timer_interrupt() local
165 evt->event_handler(evt); in armada_370_xp_timer_interrupt()
175 struct clock_event_device *evt = per_cpu_ptr(armada_370_xp_evt, cpu); in armada_370_xp_timer_starting_cpu() local
184 evt->name = "armada_370_xp_per_cpu_tick"; in armada_370_xp_timer_starting_cpu()
185 evt->features = CLOCK_EVT_FEAT_ONESHOT | in armada_370_xp_timer_starting_cpu()
187 evt->shift = 32; in armada_370_xp_timer_starting_cpu()
188 evt->rating = 300; in armada_370_xp_timer_starting_cpu()
189 evt->set_next_event = armada_370_xp_clkevt_next_event; in armada_370_xp_timer_starting_cpu()
[all …]
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 …]
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 …]
Ddw_apb_timer.c38 ced_to_dw_apb_ced(struct clock_event_device *evt) in ced_to_dw_apb_ced() argument
40 return container_of(evt, struct dw_apb_clock_event_device, ced); in ced_to_dw_apb_ced()
97 struct clock_event_device *evt = data; in dw_apb_clockevent_irq() local
98 struct dw_apb_clock_event_device *dw_ced = ced_to_dw_apb_ced(evt); in dw_apb_clockevent_irq()
100 if (!evt->event_handler) { in dw_apb_clockevent_irq()
108 evt->event_handler(evt); in dw_apb_clockevent_irq()
121 static int apbt_shutdown(struct clock_event_device *evt) in apbt_shutdown() argument
123 struct dw_apb_clock_event_device *dw_ced = ced_to_dw_apb_ced(evt); in apbt_shutdown()
127 cpumask_first(evt->cpumask)); in apbt_shutdown()
135 static int apbt_set_oneshot(struct clock_event_device *evt) in apbt_set_oneshot() argument
[all …]
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 …]
Dtimer-ixp4xx.c64 to_ixp4xx_timer(struct clock_event_device *evt) in to_ixp4xx_timer() argument
66 return container_of(evt, struct ixp4xx_timer, clkevt); in to_ixp4xx_timer()
87 struct clock_event_device *evt = &tmr->clkevt; in ixp4xx_timer_interrupt() local
93 evt->event_handler(evt); in ixp4xx_timer_interrupt()
99 struct clock_event_device *evt) in ixp4xx_set_next_event() argument
101 struct ixp4xx_timer *tmr = to_ixp4xx_timer(evt); in ixp4xx_set_next_event()
113 static int ixp4xx_shutdown(struct clock_event_device *evt) in ixp4xx_shutdown() argument
115 struct ixp4xx_timer *tmr = to_ixp4xx_timer(evt); in ixp4xx_shutdown()
125 static int ixp4xx_set_oneshot(struct clock_event_device *evt) in ixp4xx_set_oneshot() argument
127 struct ixp4xx_timer *tmr = to_ixp4xx_timer(evt); in ixp4xx_set_oneshot()
[all …]
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()
Dtimer-sun4i.c85 static int sun4i_clkevt_shutdown(struct clock_event_device *evt) in sun4i_clkevt_shutdown() argument
87 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_shutdown()
94 static int sun4i_clkevt_set_oneshot(struct clock_event_device *evt) in sun4i_clkevt_set_oneshot() argument
96 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_set_oneshot()
104 static int sun4i_clkevt_set_periodic(struct clock_event_device *evt) in sun4i_clkevt_set_periodic() argument
106 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_set_periodic()
115 static int sun4i_clkevt_next_event(unsigned long evt, in sun4i_clkevt_next_event() argument
121 sun4i_clkevt_time_setup(timer_of_base(to), 0, evt - TIMER_SYNC_TICKS); in sun4i_clkevt_next_event()
134 struct clock_event_device *evt = (struct clock_event_device *)dev_id; in sun4i_timer_interrupt() local
135 struct timer_of *to = to_timer_of(evt); in sun4i_timer_interrupt()
[all …]
Dtimer-atcpit100.c121 static int atcpit100_clkevt_next_event(unsigned long evt, in atcpit100_clkevt_next_event() argument
129 writel(evt, timer_of_base(to) + CH0_REL); in atcpit100_clkevt_next_event()
135 static int atcpit100_clkevt_set_periodic(struct clock_event_device *evt) in atcpit100_clkevt_set_periodic() argument
137 struct timer_of *to = to_timer_of(evt); in atcpit100_clkevt_set_periodic()
144 static int atcpit100_clkevt_shutdown(struct clock_event_device *evt) in atcpit100_clkevt_shutdown() argument
146 struct timer_of *to = to_timer_of(evt); in atcpit100_clkevt_shutdown()
152 static int atcpit100_clkevt_set_oneshot(struct clock_event_device *evt) in atcpit100_clkevt_set_oneshot() argument
154 struct timer_of *to = to_timer_of(evt); in atcpit100_clkevt_set_oneshot()
166 struct clock_event_device *evt = (struct clock_event_device *)dev_id; in atcpit100_timer_interrupt() local
167 struct timer_of *to = to_timer_of(evt); in atcpit100_timer_interrupt()
[all …]
Dasm9260_timer.c110 struct clock_event_device *evt) in asm9260_timer_set_next_event() argument
119 static inline void __asm9260_timer_shutdown(struct clock_event_device *evt) in __asm9260_timer_shutdown() argument
125 static int asm9260_timer_shutdown(struct clock_event_device *evt) in asm9260_timer_shutdown() argument
127 __asm9260_timer_shutdown(evt); in asm9260_timer_shutdown()
131 static int asm9260_timer_set_oneshot(struct clock_event_device *evt) in asm9260_timer_set_oneshot() argument
133 __asm9260_timer_shutdown(evt); in asm9260_timer_set_oneshot()
141 static int asm9260_timer_set_periodic(struct clock_event_device *evt) in asm9260_timer_set_periodic() argument
143 __asm9260_timer_shutdown(evt); in asm9260_timer_set_periodic()
169 struct clock_event_device *evt = dev_id; in asm9260_timer_interrupt() local
171 evt->event_handler(evt); in asm9260_timer_interrupt()
Ddummy_timer.c18 struct clock_event_device *evt = per_cpu_ptr(&dummy_timer_evt, cpu); in dummy_timer_starting_cpu() local
20 evt->name = "dummy_timer"; in dummy_timer_starting_cpu()
21 evt->features = CLOCK_EVT_FEAT_PERIODIC | in dummy_timer_starting_cpu()
24 evt->rating = 100; in dummy_timer_starting_cpu()
25 evt->cpumask = cpumask_of(cpu); in dummy_timer_starting_cpu()
27 clockevents_register_device(evt); in dummy_timer_starting_cpu()
Dtimer-tegra.c55 struct clock_event_device *evt) in tegra_timer_set_next_event() argument
57 void __iomem *reg_base = timer_of_base(to_timer_of(evt)); in tegra_timer_set_next_event()
73 static int tegra_timer_shutdown(struct clock_event_device *evt) in tegra_timer_shutdown() argument
75 void __iomem *reg_base = timer_of_base(to_timer_of(evt)); in tegra_timer_shutdown()
82 static int tegra_timer_set_periodic(struct clock_event_device *evt) in tegra_timer_set_periodic() argument
84 void __iomem *reg_base = timer_of_base(to_timer_of(evt)); in tegra_timer_set_periodic()
85 unsigned long period = timer_of_period(to_timer_of(evt)); in tegra_timer_set_periodic()
95 struct clock_event_device *evt = dev_id; in tegra_timer_isr() local
96 void __iomem *reg_base = timer_of_base(to_timer_of(evt)); in tegra_timer_isr()
99 evt->event_handler(evt); in tegra_timer_isr()
[all …]
/drivers/scsi/ibmvscsi/
Dibmvfc.c212 static void ibmvfc_trc_start(struct ibmvfc_event *evt) in ibmvfc_trc_start() argument
214 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_trc_start()
215 struct ibmvfc_cmd *vfc_cmd = &evt->iu.cmd; in ibmvfc_trc_start()
216 struct ibmvfc_mad_common *mad = &evt->iu.mad_common; in ibmvfc_trc_start()
222 entry->evt = evt; in ibmvfc_trc_start()
224 entry->fmt = evt->crq.format; in ibmvfc_trc_start()
248 static void ibmvfc_trc_end(struct ibmvfc_event *evt) in ibmvfc_trc_end() argument
250 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_trc_end()
251 struct ibmvfc_cmd *vfc_cmd = &evt->xfer_iu->cmd; in ibmvfc_trc_end()
252 struct ibmvfc_mad_common *mad = &evt->xfer_iu->mad_common; in ibmvfc_trc_end()
[all …]
/drivers/net/wireless/ath/wil6210/
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()
958 struct wmi_connect_event *evt = d; in wmi_evt_connect() local
969 if (len < sizeof(*evt)) { in wmi_evt_connect()
[all …]

1234567