Home
last modified time | relevance | path

Searched refs:ev (Results 26 – 50 of 449) sorted by relevance

12345678910>>...18

/openbmc/qemu/plugins/
H A Dcore.c83 ctx->callbacks[ev] = NULL; in plugin_unregister_cb__locked()
85 clear_bit(ev, plugin.mask); in plugin_unregister_cb__locked()
100 switch (ev) { in plugin_vcpu_cb__simple()
127 switch (ev) { in plugin_cb__simple()
150 switch (ev) { in plugin_cb__udata()
186 ctx->callbacks[ev] = cb; in do_plugin_register_cb()
189 set_bit(ev, plugin.mask); in do_plugin_register_cb()
359 if (!test_bit(ev, cpu->plugin_mask)) { in qemu_plugin_vcpu_syscall()
381 if (!test_bit(ev, cpu->plugin_mask)) { in qemu_plugin_vcpu_syscall_ret()
499 enum qemu_plugin_event ev; in qemu_plugin_user_exit() local
[all …]
/openbmc/linux/tools/perf/tests/
H A Devent_update.c22 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_unit()
23 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__UNIT); in process_event_unit()
24 TEST_ASSERT_VAL("wrong unit", !strcmp(ev->unit, "KRAVA")); in process_event_unit()
35 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_scale()
36 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__SCALE); in process_event_scale()
37 TEST_ASSERT_VAL("wrong scale", ev->scale.scale == 0.123); in process_event_scale()
54 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_name()
55 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__NAME); in process_event_name()
56 TEST_ASSERT_VAL("wrong name", !strcmp(ev->name, tmp->name)); in process_event_name()
68 map = cpu_map__new_data(&ev->cpus.cpus); in process_event_cpus()
[all …]
/openbmc/linux/kernel/trace/
H A Dtrace_dynevent.h43 int (*show)(struct seq_file *m, struct dyn_event *ev);
44 bool (*is_busy)(struct dyn_event *ev);
45 int (*free)(struct dyn_event *ev);
71 if (!ev || !ops) in dyn_event_init()
74 INIT_LIST_HEAD(&ev->list); in dyn_event_init()
75 ev->ops = ops; in dyn_event_init()
79 static inline int dyn_event_add(struct dyn_event *ev, in dyn_event_add() argument
84 if (!ev || !ev->ops) in dyn_event_add()
88 list_add_tail(&ev->list, &dyn_event_list); in dyn_event_add()
92 static inline void dyn_event_remove(struct dyn_event *ev) in dyn_event_remove() argument
[all …]
/openbmc/linux/net/bluetooth/
H A Dhci_event.c3043 flex_array_size(ev, info, ev->num))) in hci_inquiry_result_evt()
4529 sizeof(ev->bdaddr), &ev->bdaddr); in hci_pin_code_request_evt()
4869 if (!ev->status && ev->page == 0x01) { in hci_remote_ext_features_evt()
5336 sizeof(ev->bdaddr), &ev->bdaddr); in hci_user_confirm_request_evt()
5379 sizeof(ev->bdaddr), &ev->bdaddr); in hci_user_confirm_request_evt()
5800 le_conn_complete_evt(hdev, ev->status, &ev->bdaddr, ev->bdaddr_type, in hci_le_conn_complete_evt()
5814 le_conn_complete_evt(hdev, ev->status, &ev->bdaddr, ev->bdaddr_type, in hci_le_enh_conn_complete_evt()
5815 &ev->local_rpa, ev->role, le16_to_cpu(ev->handle), in hci_le_enh_conn_complete_evt()
6471 if (ev->ediv || ev->rand) in hci_le_ltk_request_evt()
6597 flex_array_size(ev, info, ev->num))) in hci_le_direct_adv_report_evt()
[all …]
/openbmc/linux/sound/core/seq/
H A Dseq_midi_emul.c73 struct snd_seq_event *ev, in snd_midi_process_event() argument
105 if (ev->type == SNDRV_SEQ_EVENT_NOTEON && ev->data.note.velocity == 0) in snd_midi_process_event()
112 if (ev->data.note.note >= 128) in snd_midi_process_event()
116 switch (ev->type) { in snd_midi_process_event()
124 ops->note_on(drv, ev->data.note.note, ev->data.note.velocity, chan); in snd_midi_process_event()
130 note_off(ops, drv, chan, ev->data.note.note, ev->data.note.velocity); in snd_midi_process_event()
134 ops->key_press(drv, ev->data.note.note, ev->data.note.velocity, chan); in snd_midi_process_event()
138 ev->data.control.param, ev->data.control.value); in snd_midi_process_event()
160 ev->data.control.param, in snd_midi_process_event()
164 ev->data.control.param, in snd_midi_process_event()
[all …]
H A Dseq_ump_convert.c83 struct snd_seq_event *ev) in ump_midi1_to_note_ev() argument
92 struct snd_seq_event *ev) in ump_midi1_to_ctrl_ev() argument
204 struct snd_seq_event *ev) in ump_midi2_to_note_ev() argument
213 !ev->data.note.velocity) in ump_midi2_to_note_ev()
214 ev->data.note.velocity = 1; in ump_midi2_to_note_ev()
249 ev[1] = ev[0]; in ump_midi2_to_pgm_ev()
250 ev++; in ump_midi2_to_pgm_ev()
260 struct snd_seq_event *ev) in ump_midi2_to_ctrl_ev() argument
356 ev->data.ext.len = size; in cvt_ump_sysex7_to_event()
357 ev->data.ext.ptr = buf; in cvt_ump_sysex7_to_event()
[all …]
/openbmc/linux/net/llc/
H A Dllc_sap.c99 ev->prim = LLC_TEST_PRIM; break; in llc_sap_rtn_pdu()
101 ev->prim = LLC_XID_PRIM; break; in llc_sap_rtn_pdu()
105 ev->ind_cfm_flag = LLC_IND; in llc_sap_rtn_pdu()
208 ev->ind_cfm_flag = 0; in llc_sap_state_process()
236 ev->saddr.lsap = sap->laddr.lsap; in llc_build_and_send_test_pkt()
237 ev->daddr.lsap = dsap; in llc_build_and_send_test_pkt()
242 ev->prim = LLC_TEST_PRIM; in llc_build_and_send_test_pkt()
262 ev->saddr.lsap = sap->laddr.lsap; in llc_build_and_send_xid_pkt()
263 ev->daddr.lsap = dsap; in llc_build_and_send_xid_pkt()
268 ev->prim = LLC_XID_PRIM; in llc_build_and_send_xid_pkt()
[all …]
H A Dllc_if.c46 struct llc_conn_state_ev *ev; in llc_build_and_send_pkt() local
58 ev = llc_conn_ev(skb); in llc_build_and_send_pkt()
59 ev->type = LLC_CONN_EV_TYPE_PRIM; in llc_build_and_send_pkt()
60 ev->prim = LLC_DATA_PRIM; in llc_build_and_send_pkt()
61 ev->prim_type = LLC_PRIM_TYPE_REQ; in llc_build_and_send_pkt()
110 ev->prim = LLC_CONN_PRIM; in llc_establish_connection()
111 ev->prim_type = LLC_PRIM_TYPE_REQ; in llc_establish_connection()
132 struct llc_conn_state_ev *ev; in llc_send_disc() local
149 ev = llc_conn_ev(skb); in llc_send_disc()
151 ev->prim = LLC_DISC_PRIM; in llc_send_disc()
[all …]
H A Dllc_s_ac.c54 struct llc_sap_state_ev *ev = llc_sap_ev(skb); in llc_sap_action_send_ui() local
57 llc_pdu_header_init(skb, LLC_PDU_TYPE_U, ev->saddr.lsap, in llc_sap_action_send_ui()
58 ev->daddr.lsap, LLC_PDU_CMD); in llc_sap_action_send_ui()
60 rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac); in llc_sap_action_send_ui()
79 struct llc_sap_state_ev *ev = llc_sap_ev(skb); in llc_sap_action_send_xid_c() local
83 ev->daddr.lsap, LLC_PDU_CMD); in llc_sap_action_send_xid_c()
85 rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac); in llc_sap_action_send_xid_c()
135 struct llc_sap_state_ev *ev = llc_sap_ev(skb); in llc_sap_action_send_test_c() local
138 llc_pdu_header_init(skb, LLC_PDU_TYPE_U, ev->saddr.lsap, in llc_sap_action_send_test_c()
139 ev->daddr.lsap, LLC_PDU_CMD); in llc_sap_action_send_test_c()
[all …]
/openbmc/linux/drivers/media/rc/
H A Dir-rc6-decoder.c87 if (!is_timing_event(ev)) { in ir_rc6_decode()
88 if (ev.overflow) in ir_rc6_decode()
98 data->state, ev.duration, TO_STR(ev.pulse)); in ir_rc6_decode()
106 if (!ev.pulse) in ir_rc6_decode()
120 if (ev.pulse) in ir_rc6_decode()
135 if (ev.pulse) in ir_rc6_decode()
147 decrease_duration(&ev, RC6_BIT_END); in ir_rc6_decode()
154 data->toggle = ev.pulse; in ir_rc6_decode()
187 if (ev.pulse) in ir_rc6_decode()
209 if (ev.pulse) in ir_rc6_decode()
[all …]
H A Dir-rc5-decoder.c47 if (!is_timing_event(ev)) { in ir_rc5_decode()
48 if (ev.overflow) in ir_rc5_decode()
58 data->state, ev.duration, TO_STR(ev.pulse)); in ir_rc5_decode()
66 if (!ev.pulse) in ir_rc5_decode()
75 if (!ev.pulse && geq_margin(ev.duration, RC5_TRAILER, RC5_UNIT / 2)) { in ir_rc5_decode()
84 if (!ev.pulse) in ir_rc5_decode()
96 decrease_duration(&ev, RC5_BIT_END); in ir_rc5_decode()
100 if (!ev.pulse && geq_margin(ev.duration, RC5X_SPACE, RC5_UNIT / 2)) { in ir_rc5_decode()
102 decrease_duration(&ev, RC5X_SPACE); in ir_rc5_decode()
109 if (ev.pulse) in ir_rc5_decode()
[all …]
H A Drc-core-priv.h184 if (duration > ev->duration) in decrease_duration()
185 ev->duration = 0; in decrease_duration()
187 ev->duration -= duration; in decrease_duration()
191 static inline bool is_timing_event(struct ir_raw_event ev) in is_timing_event() argument
193 return !ev.carrier_report && !ev.overflow; in is_timing_event()
205 *ev = (struct ir_raw_event) { in init_ir_raw_event_duration()
253 init_ir_raw_event_duration((*ev)++, 1, pulse_width); in ir_raw_gen_pulse_space()
256 init_ir_raw_event_duration((*ev)++, 0, space_width); in ir_raw_gen_pulse_space()
281 int ir_raw_gen_pd(struct ir_raw_event **ev, unsigned int max,
301 int ir_raw_gen_pl(struct ir_raw_event **ev, unsigned int max,
[all …]
/openbmc/linux/drivers/net/fddi/skfp/
H A Dqueue.c70 ev = smc->q.ev_get ; in ev_dispatcher()
72 while (ev != smc->q.ev_put) { in ev_dispatcher()
73 PRINTF("dispatch class %d event %d\n",ev->class,ev->event) ; in ev_dispatcher()
74 switch(class = ev->class) { in ev_dispatcher()
76 ecm(smc,(int)ev->event) ; in ev_dispatcher()
79 cfm(smc,(int)ev->event) ; in ev_dispatcher()
82 rmt(smc,(int)ev->event) ; in ev_dispatcher()
85 smt_event(smc,(int)ev->event) ; in ev_dispatcher()
89 timer_test_event(smc,(int)ev->event) ; in ev_dispatcher()
105 ev = smc->q.ev_queue ; in ev_dispatcher()
[all …]
/openbmc/linux/sound/core/seq/oss/
H A Dseq_oss_midi.c472 struct snd_seq_event ev; in snd_seq_oss_midi_reset() local
475 memset(&ev, 0, sizeof(ev)); in snd_seq_oss_midi_reset()
477 ev.dest.port = mdev->port; in snd_seq_oss_midi_reset()
478 ev.queue = dp->queue; in snd_seq_oss_midi_reset()
479 ev.source.port = dp->port; in snd_seq_oss_midi_reset()
486 ev.data.control.channel = c; in snd_seq_oss_midi_reset()
490 ev.data.control.param = in snd_seq_oss_midi_reset()
494 ev.data.control.value = 0; in snd_seq_oss_midi_reset()
533 mdev = find_slot(ev->source.client, ev->source.port); in snd_seq_oss_midi_input()
560 switch (ev->type) { in send_synth_event()
[all …]
H A Dseq_oss_timer.c75 abstime_t parm = ev->t.time; in snd_seq_oss_process_timer_event()
77 if (ev->t.code == EV_TIMING) { in snd_seq_oss_process_timer_event()
78 switch (ev->t.cmd) { in snd_seq_oss_process_timer_event()
129 struct snd_seq_event ev; in send_timer_event() local
131 memset(&ev, 0, sizeof(ev)); in send_timer_event()
132 ev.type = type; in send_timer_event()
133 ev.source.client = dp->cseq; in send_timer_event()
134 ev.source.port = 0; in send_timer_event()
137 ev.queue = dp->queue; in send_timer_event()
138 ev.data.queue.queue = dp->queue; in send_timer_event()
[all …]
/openbmc/linux/tools/arch/x86/lib/
H A Dx86-opcode-map.txt911 51: vsqrtph Vx,Wx (ev) | vsqrtsh Vx,Hx,Wx (F3),(ev)
912 58: vaddph Vx,Hx,Wx (ev) | vaddsh Vx,Hx,Wx (F3),(ev)
913 59: vmulph Vx,Hx,Wx (ev) | vmulsh Vx,Hx,Wx (F3),(ev)
914 5a: vcvtpd2ph Vx,Wx (66),(ev) | vcvtph2pd Vx,Wx (ev) | vcvtsd2sh Vx,Hx,Wx (F2),(ev) | vcvtsh2sd Vx,…
915 5b: vcvtdq2ph Vx,Wx (ev) | vcvtph2dq Vx,Wx (66),(ev) | vcvtqq2ph Vx,Wx (ev) | vcvttph2dq Vx,Wx (F3)…
916 5c: vsubph Vx,Hx,Wx (ev) | vsubsh Vx,Hx,Wx (F3),(ev)
917 5d: vminph Vx,Hx,Wx (ev) | vminsh Vx,Hx,Wx (F3),(ev)
921 78: vcvttph2udq Vx,Wx (ev) | vcvttph2uqq Vx,Wx (66),(ev) | vcvttsh2usi Vx,Wx (F3),(ev)
922 79: vcvtph2udq Vx,Wx (ev) | vcvtph2uqq Vx,Wx (66),(ev) | vcvtsh2usi Vx,Wx (F3),(ev)
923 7a: vcvttph2qq Vx,Wx (66),(ev) | vcvtudq2ph Vx,Wx (F2),(ev) | vcvtuqq2ph Vx,Wx (F2),(ev)
[all …]
/openbmc/linux/arch/x86/lib/
H A Dx86-opcode-map.txt911 51: vsqrtph Vx,Wx (ev) | vsqrtsh Vx,Hx,Wx (F3),(ev)
912 58: vaddph Vx,Hx,Wx (ev) | vaddsh Vx,Hx,Wx (F3),(ev)
913 59: vmulph Vx,Hx,Wx (ev) | vmulsh Vx,Hx,Wx (F3),(ev)
914 5a: vcvtpd2ph Vx,Wx (66),(ev) | vcvtph2pd Vx,Wx (ev) | vcvtsd2sh Vx,Hx,Wx (F2),(ev) | vcvtsh2sd Vx,…
915 5b: vcvtdq2ph Vx,Wx (ev) | vcvtph2dq Vx,Wx (66),(ev) | vcvtqq2ph Vx,Wx (ev) | vcvttph2dq Vx,Wx (F3)…
916 5c: vsubph Vx,Hx,Wx (ev) | vsubsh Vx,Hx,Wx (F3),(ev)
917 5d: vminph Vx,Hx,Wx (ev) | vminsh Vx,Hx,Wx (F3),(ev)
921 78: vcvttph2udq Vx,Wx (ev) | vcvttph2uqq Vx,Wx (66),(ev) | vcvttsh2usi Vx,Wx (F3),(ev)
922 79: vcvtph2udq Vx,Wx (ev) | vcvtph2uqq Vx,Wx (66),(ev) | vcvtsh2usi Vx,Wx (F3),(ev)
923 7a: vcvttph2qq Vx,Wx (66),(ev) | vcvtudq2ph Vx,Wx (F2),(ev) | vcvtuqq2ph Vx,Wx (F2),(ev)
[all …]
/openbmc/linux/kernel/locking/
H A Dlock_events.h43 #define lockevent_inc(ev) __lockevent_inc(LOCKEVENT_ ##ev, true) argument
44 #define lockevent_cond_inc(ev, c) __lockevent_inc(LOCKEVENT_ ##ev, c) argument
51 #define lockevent_add(ev, c) __lockevent_add(LOCKEVENT_ ##ev, c) argument
55 #define lockevent_inc(ev) argument
56 #define lockevent_add(ev, c) argument
57 #define lockevent_cond_inc(ev, c) argument
/openbmc/qemu/util/
H A Dqemu-thread-posix.c325 assert(ev->initialized); in qemu_futex_wake()
326 pthread_mutex_lock(&ev->lock); in qemu_futex_wake()
337 assert(ev->initialized); in qemu_futex_wait()
339 if (ev->value == val) { in qemu_futex_wait()
340 pthread_cond_wait(&ev->cond, &ev->lock); in qemu_futex_wait()
372 ev->initialized = true; in qemu_event_init()
377 assert(ev->initialized); in qemu_event_destroy()
378 ev->initialized = false; in qemu_event_destroy()
387 assert(ev->initialized); in qemu_event_set()
410 assert(ev->initialized); in qemu_event_reset()
[all …]
/openbmc/linux/drivers/scsi/
H A Dscsi_transport_iscsi.c2592 memset(ev, 0, sizeof(*ev)); in iscsi_recv_pdu()
2597 pdu = (char*)ev + sizeof(*ev); in iscsi_recv_pdu()
2622 memset(ev, 0, sizeof(*ev)); in iscsi_offload_mesg()
3019 char *data = (char*)ev + sizeof(*ev); in iscsi_if_set_param()
3192 char *data = (char*)ev + sizeof(*ev); in iscsi_set_host_param()
3269 char *data = (char *)ev + sizeof(*ev); in iscsi_set_iface_params()
3390 char *data = (char *)ev + sizeof(*ev); in iscsi_set_chap()
3457 char *data = (char *)ev + sizeof(*ev); in iscsi_set_flashnode_param()
3510 char *data = (char *)ev + sizeof(*ev); in iscsi_new_flashnode()
3893 (char *)ev + sizeof(*ev) + ev->u.send_pdu.hdr_size, in iscsi_if_transport_conn()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dtxrx.c218 struct htt_peer_map_event *ev) in ath10k_peer_map_event() argument
226 ev->peer_id); in ath10k_peer_map_event()
231 peer = ath10k_peer_find(ar, ev->vdev_id, ev->addr); in ath10k_peer_map_event()
237 peer->vdev_id = ev->vdev_id; in ath10k_peer_map_event()
244 ev->vdev_id, ev->addr, ev->peer_id); in ath10k_peer_map_event()
246 WARN_ON(ar->peer_map[ev->peer_id] && (ar->peer_map[ev->peer_id] != peer)); in ath10k_peer_map_event()
247 ar->peer_map[ev->peer_id] = peer; in ath10k_peer_map_event()
248 set_bit(ev->peer_id, peer->peer_ids); in ath10k_peer_map_event()
262 ev->peer_id); in ath10k_peer_unmap_event()
270 ev->peer_id); in ath10k_peer_unmap_event()
[all …]
/openbmc/qemu/ui/
H A Dsdl2.c514 && (ev->motion.x == 0 || ev->motion.y == 0 || in handle_mousemotion()
515 ev->motion.x == max_x || ev->motion.y == max_y)) { in handle_mousemotion()
519 (ev->motion.x > 0 && ev->motion.x < max_x && in handle_mousemotion()
520 ev->motion.y > 0 && ev->motion.y < max_y)) { in handle_mousemotion()
525 sdl_send_mouse_event(scon, ev->motion.xrel, ev->motion.yrel, in handle_mousemotion()
526 ev->motion.x, ev->motion.y, ev->motion.state); in handle_mousemotion()
540 bev = &ev->button; in handle_mousebutton()
593 switch (ev->window.event) { in handle_windowevent()
665 SDL_Event ev1, *ev = &ev1; in sdl2_poll_events() local
675 switch (ev->type) { in sdl2_poll_events()
[all …]
/openbmc/qemu/stubs/
H A Dtrace-control.c14 void trace_event_set_state_dynamic_init(TraceEvent *ev, bool state) in trace_event_set_state_dynamic_init() argument
16 trace_event_set_state_dynamic(ev, state); in trace_event_set_state_dynamic_init()
19 void trace_event_set_state_dynamic(TraceEvent *ev, bool state) in trace_event_set_state_dynamic() argument
22 assert(trace_event_get_state_static(ev)); in trace_event_set_state_dynamic()
28 state_pre = *(ev->dstate); in trace_event_set_state_dynamic()
32 *(ev->dstate) = 1; in trace_event_set_state_dynamic()
35 *(ev->dstate) = 0; in trace_event_set_state_dynamic()
/openbmc/linux/mm/
H A Dvmpressure.c161 struct vmpressure_event *ev; in vmpressure_event() local
170 if (level < ev->level) in vmpressure_event()
172 eventfd_signal(ev->efd, 1); in vmpressure_event()
405 ev = kzalloc(sizeof(*ev), GFP_KERNEL); in vmpressure_register_event()
406 if (!ev) { in vmpressure_register_event()
411 ev->efd = eventfd; in vmpressure_register_event()
412 ev->level = level; in vmpressure_register_event()
413 ev->mode = mode; in vmpressure_register_event()
443 if (ev->efd != eventfd) in vmpressure_unregister_event()
445 list_del(&ev->node); in vmpressure_unregister_event()
[all …]
/openbmc/linux/tools/testing/selftests/hid/
H A Dhid_bpf.c121 ret = write(fd, ev, sizeof(*ev)); in uhid_write()
127 ret, sizeof(ev)); in uhid_write()
136 struct uhid_event ev; in uhid_create() local
141 memset(&ev, 0, sizeof(ev)); in uhid_create()
160 struct uhid_event ev; in uhid_destroy() local
162 memset(&ev, 0, sizeof(ev)); in uhid_destroy()
173 memset(&ev, 0, sizeof(ev)); in uhid_event()
174 ret = read(fd, &ev, sizeof(ev)); in uhid_event()
183 ret, sizeof(ev)); in uhid_event()
187 switch (ev.type) { in uhid_event()
[all …]

12345678910>>...18