/Linux-v6.6/drivers/scsi/elx/libefc/ |
D | efc_fabric.h | 19 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 …]
|
D | efc_fabric.c | 52 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 …]
|
D | efc_device.c | 45 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 …]
|
D | efc_device.h | 26 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 …]
|
D | efc_node.h | 23 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 …]
|
D | efc_node.c | 364 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 …]
|
D | efc_domain.h | 20 __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,
|
D | efc_domain.c | 172 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 …]
|
/Linux-v6.6/arch/powerpc/kernel/ |
D | mce.c | 30 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-v6.6/drivers/clocksource/ |
D | exynos_mct.c | 83 struct clock_event_device evt; member 297 struct clock_event_device *evt) in exynos4_comp_set_next_event() argument 304 static int mct_set_state_shutdown(struct clock_event_device *evt) in mct_set_state_shutdown() argument 310 static int mct_set_state_periodic(struct clock_event_device *evt) in mct_set_state_periodic() argument 314 cycles_per_jiffy = (((unsigned long long)NSEC_PER_SEC / HZ * evt->mult) in mct_set_state_periodic() 315 >> evt->shift); in mct_set_state_periodic() 336 struct clock_event_device *evt = dev_id; in exynos4_mct_comp_isr() local 340 evt->event_handler(evt); in exynos4_mct_comp_isr() 403 struct clock_event_device *evt) in exynos4_tick_set_next_event() argument 407 mevt = container_of(evt, struct mct_clock_event_device, evt); in exynos4_tick_set_next_event() [all …]
|
D | timer-qcom.c | 39 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 …]
|
D | timer-armada-370-xp.c | 123 static int armada_370_xp_clkevt_shutdown(struct clock_event_device *evt) in armada_370_xp_clkevt_shutdown() argument 137 static int armada_370_xp_clkevt_set_periodic(struct clock_event_device *evt) in armada_370_xp_clkevt_set_periodic() argument 159 struct clock_event_device *evt = dev_id; in armada_370_xp_timer_interrupt() local 162 evt->event_handler(evt); in armada_370_xp_timer_interrupt() 172 struct clock_event_device *evt = per_cpu_ptr(armada_370_xp_evt, cpu); in armada_370_xp_timer_starting_cpu() local 181 evt->name = "armada_370_xp_per_cpu_tick"; in armada_370_xp_timer_starting_cpu() 182 evt->features = CLOCK_EVT_FEAT_ONESHOT | in armada_370_xp_timer_starting_cpu() 184 evt->shift = 32; in armada_370_xp_timer_starting_cpu() 185 evt->rating = 300; in armada_370_xp_timer_starting_cpu() 186 evt->set_next_event = armada_370_xp_clkevt_next_event; in armada_370_xp_timer_starting_cpu() [all …]
|
D | timer-rda.c | 67 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 …]
|
D | timer-fttmr010.c | 105 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 …]
|
D | timer-npcm7xx.c | 56 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 …]
|
D | dw_apb_timer.c | 38 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 …]
|
D | timer-ixp4xx.c | 62 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 …]
|
D | bcm2835_timer.c | 33 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-v6.6/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 213 static void ibmvfc_trc_start(struct ibmvfc_event *evt) in ibmvfc_trc_start() argument 215 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_trc_start() 216 struct ibmvfc_cmd *vfc_cmd = &evt->iu.cmd; in ibmvfc_trc_start() 217 struct ibmvfc_mad_common *mad = &evt->iu.mad_common; in ibmvfc_trc_start() 223 entry->evt = evt; in ibmvfc_trc_start() 225 entry->fmt = evt->crq.format; in ibmvfc_trc_start() 249 static void ibmvfc_trc_end(struct ibmvfc_event *evt) in ibmvfc_trc_end() argument 251 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_trc_end() 252 struct ibmvfc_cmd *vfc_cmd = &evt->xfer_iu->cmd; in ibmvfc_trc_end() 253 struct ibmvfc_mad_common *mad = &evt->xfer_iu->mad_common; in ibmvfc_trc_end() [all …]
|
/Linux-v6.6/drivers/net/wireless/ath/wil6210/ |
D | wmi.c | 771 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 …]
|
/Linux-v6.6/arch/xtensa/kernel/ |
D | time.c | 56 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-v6.6/arch/x86/xen/ |
D | time.c | 208 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-v6.6/net/tipc/ |
D | subscr.c | 46 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-v6.6/arch/openrisc/kernel/ |
D | time.c | 72 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-v6.6/arch/x86/kernel/ |
D | hpet.c | 26 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 …]
|