Home
last modified time | relevance | path

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

12345678910>>...15

/openbmc/qemu/replay/
H A Dreplay-input.c20 void replay_save_input_event(InputEvent *evt) in replay_save_input_event() argument
26 replay_put_dword(evt->type); in replay_save_input_event()
28 switch (evt->type) { in replay_save_input_event()
30 key = evt->u.key.data; in replay_save_input_event()
48 btn = evt->u.btn.data; in replay_save_input_event()
53 move = evt->u.rel.data; in replay_save_input_event()
58 move = evt->u.abs.data; in replay_save_input_event()
63 mtt = evt->u.mtt.data; in replay_save_input_event()
78 InputEvent evt; in replay_read_input_event() local
87 evt.type = replay_get_dword(); in replay_read_input_event()
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/ipmitool/lib/
H A Dipmi_sel.c95 ipmi_sel_oem_match(uint8_t *evt, const struct ipmi_sel_oem_msg_rec *rec) in ipmi_sel_oem_match() argument
97 if (evt[2] == rec->value[SEL_BYTE(3)] in ipmi_sel_oem_match()
99 || (evt[3] == rec->value[SEL_BYTE(4)])) in ipmi_sel_oem_match()
101 || (evt[4] == rec->value[SEL_BYTE(5)])) in ipmi_sel_oem_match()
103 || (evt[5] == rec->value[SEL_BYTE(6)])) in ipmi_sel_oem_match()
105 || (evt[6] == rec->value[SEL_BYTE(7)])) in ipmi_sel_oem_match()
107 || (evt[10] == rec->value[SEL_BYTE(11)])) in ipmi_sel_oem_match()
109 || (evt[11] == rec->value[SEL_BYTE(12)]))) { in ipmi_sel_oem_match()
192 static void ipmi_sel_oem_message(struct sel_event_record * evt, int verbose) in ipmi_sel_oem_message() argument
201 if (ipmi_sel_oem_match((uint8_t *)evt, &sel_oem_msg[i])) { in ipmi_sel_oem_message()
[all …]
/openbmc/sdbusplus/include/sdbusplus/asio/
H A Dsd_event.hpp37 evt(nullptr), descriptor(io), io(io) in sd_event_wrapper()
39 sd_event_default(&evt); in sd_event_wrapper()
40 if (evt) in sd_event_wrapper()
42 descriptor.assign(sd_event_get_fd(evt)); in sd_event_wrapper()
46 sd_event_wrapper(sd_event* evt, boost::asio::io_context& io) : in sd_event_wrapper() argument
47 evt(evt), descriptor(io), io(io) in sd_event_wrapper()
49 if (evt) in sd_event_wrapper()
51 sd_event_ref(evt); in sd_event_wrapper()
52 descriptor.assign(sd_event_get_fd(evt)); in sd_event_wrapper()
61 sd_event_unref(evt); in ~sd_event_wrapper()
[all …]
/openbmc/linux/drivers/clocksource/
H A Dexynos_mct.c83 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 …]
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-armada-370-xp.c123 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 …]
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-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 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 …]
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 …]
/openbmc/linux/drivers/scsi/ibmvscsi/
H A 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 …]
/openbmc/qemu/ui/
H A Dinput.c33 InputEvent *evt; member
162 InputEvent *evt = e->value; in qmp_input_send_event() local
164 if (evt->type == INPUT_EVENT_KIND_KEY && in qmp_input_send_event()
165 evt->u.key.data->key->type == KEY_VALUE_KIND_NUMBER) { in qmp_input_send_event()
166 KeyValue *key = evt->u.key.data->key; in qmp_input_send_event()
168 qemu_input_event_send_key_qcode(con, code, evt->u.key.data->down); in qmp_input_send_event()
170 qemu_input_event_send(con, evt); in qmp_input_send_event()
177 static void qemu_input_event_trace(QemuConsole *src, InputEvent *evt) in qemu_input_event_trace() argument
189 switch (evt->type) { in qemu_input_event_trace()
191 key = evt->u.key.data; in qemu_input_event_trace()
[all …]
/openbmc/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()
958 struct wmi_connect_event *evt = d; in wmi_evt_connect() local
969 if (len < sizeof(*evt)) { in wmi_evt_connect()
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/ipmitool/src/
H A Dipmievd.c107 void (*log)(struct ipmi_event_intf * eintf, struct sel_event_record * evt);
118 static void log_event(struct ipmi_event_intf * eintf, struct sel_event_record * evt);
218 log_event(struct ipmi_event_intf * eintf, struct sel_event_record * evt) in log_event() argument
227 if (evt == NULL) in log_event()
230 if (evt->record_type == 0xf0) { in log_event()
232 eintf->prefix, (char *) evt + 5); in log_event()
235 else if (evt->record_type >= 0xc0) { in log_event()
237 eintf->prefix, evt->record_type); in log_event()
241 type = ipmi_sel_get_sensor_type_offset(evt->sel_type.standard_type.sensor_type, in log_event()
242 evt->sel_type.standard_type.event_data[0]); in log_event()
[all …]
/openbmc/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 …]
/openbmc/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()
/openbmc/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 …]

12345678910>>...15