Home
last modified time | relevance | path

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

123

/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/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/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 …]
H A Dipmi_event.c210 struct ipmi_event_sensor_types * evt, in ipmi_event_find_offset() argument
216 while (evt->type) { in ipmi_event_find_offset()
217 if (evt->code == code && evt->desc != NULL && in ipmi_event_find_offset()
218 strncasecmp(desc, evt->desc, __maxlen(desc, evt->desc)) == 0) in ipmi_event_find_offset()
219 return evt->offset; in ipmi_event_find_offset()
220 evt++; in ipmi_event_find_offset()
/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 …]
H A Dinput-legacy.c113 InputEvent *evt) in legacy_mouse_event() argument
124 switch (evt->type) { in legacy_mouse_event()
126 btn = evt->u.btn.data; in legacy_mouse_event()
162 move = evt->u.abs.data; in legacy_mouse_event()
166 move = evt->u.rel.data; in legacy_mouse_event()
/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/u-boot/drivers/usb/dwc3/
H A Dcore.c96 struct dwc3_event_buffer *evt) in dwc3_free_one_event_buffer() argument
98 dma_free_coherent(evt->buf); in dwc3_free_one_event_buffer()
112 struct dwc3_event_buffer *evt; in dwc3_alloc_one_event_buffer() local
114 evt = devm_kzalloc((struct udevice *)dwc->dev, sizeof(*evt), in dwc3_alloc_one_event_buffer()
116 if (!evt) in dwc3_alloc_one_event_buffer()
119 evt->dwc = dwc; in dwc3_alloc_one_event_buffer()
120 evt->length = length; in dwc3_alloc_one_event_buffer()
121 evt->buf = dma_alloc_coherent(length, in dwc3_alloc_one_event_buffer()
122 (unsigned long *)&evt->dma); in dwc3_alloc_one_event_buffer()
123 if (!evt->buf) in dwc3_alloc_one_event_buffer()
[all …]
/openbmc/u-boot/arch/arm/mach-rmobile/include/mach/
H A Dirqs.h10 #define evt2irq(evt) (((evt) >> 5) - 16) argument
16 #define intcs_evt2irq(evt) evt2irq(INTCS_VECT_BASE + (evt)) argument
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/opensaf/opensaf/
H A D0002-Fix-Werror-enum-int-mismatch-with-gcc13.patch10 src/evt/agent/eda_hdl.h | 5 +++--
11 src/evt/evtd/eds_mds.h | 3 +--
15 --- a/src/evt/agent/eda_hdl.h
16 +++ b/src/evt/agent/eda_hdl.h
20 #include "evt/agent/eda.h"
39 --- a/src/evt/evtd/eds_mds.h
40 +++ b/src/evt/evtd/eds_mds.h
H A D0001-Fix-build-with-fno-common.patch14 src/evt/agent/eda.h | 2 +-
15 src/evt/evtd/eds.h | 2 +-
16 src/evt/evtd/eds_amf.c | 2 ++
17 src/evt/evtd/eds_amf.h | 2 +-
18 src/evt/evtd/eds_cb.h | 2 +-
55 diff --git a/src/evt/agent/eda.h b/src/evt/agent/eda.h
57 --- a/src/evt/agent/eda.h
58 +++ b/src/evt/agent/eda.h
68 diff --git a/src/evt/evtd/eds.h b/src/evt/evtd/eds.h
70 --- a/src/evt/evtd/eds.h
[all …]
/openbmc/qemu/hw/riscv/
H A Driscv-iommu-hpm.c97 uint64_t evt; in riscv_iommu_hpm_incr_ctr() local
115 evt = riscv_iommu_reg_get64(s, in riscv_iommu_hpm_incr_ctr()
123 if (event_id != get_field(evt, RISCV_IOMMU_IOHPMEVT_EVENT_ID)) { in riscv_iommu_hpm_incr_ctr()
127 if (get_field(evt, RISCV_IOMMU_IOHPMEVT_IDT)) { in riscv_iommu_hpm_incr_ctr()
135 if (get_field(evt, RISCV_IOMMU_IOHPMEVT_PV_PSCV)) { in riscv_iommu_hpm_incr_ctr()
145 get_field(evt, RISCV_IOMMU_IOHPMEVT_PID_PSCID) != pid_pscid) { in riscv_iommu_hpm_incr_ctr()
150 if (get_field(evt, RISCV_IOMMU_IOHPMEVT_DV_GSCV)) { in riscv_iommu_hpm_incr_ctr()
153 if (get_field(evt, RISCV_IOMMU_IOHPMEVT_DMASK)) { in riscv_iommu_hpm_incr_ctr()
159 mask = get_field(evt, RISCV_IOMMU_IOHPMEVT_DID_GSCID); in riscv_iommu_hpm_incr_ctr()
164 if ((get_field(evt, RISCV_IOMMU_IOHPMEVT_DID_GSCID) & mask) != in riscv_iommu_hpm_incr_ctr()
/openbmc/u-boot/lib/efi_loader/
H A Defi_boottime.c216 struct efi_event *evt; in efi_signal_event() local
222 list_for_each_entry(evt, &efi_events, link) { in efi_signal_event()
223 if (!evt->group || guidcmp(evt->group, event->group)) in efi_signal_event()
225 if (evt->is_signaled) in efi_signal_event()
227 evt->is_signaled = true; in efi_signal_event()
228 if (evt->type & EVT_NOTIFY_SIGNAL && in efi_signal_event()
229 evt->notify_function) in efi_signal_event()
230 evt->is_queued = true; in efi_signal_event()
232 list_for_each_entry(evt, &efi_events, link) { in efi_signal_event()
233 if (!evt->group || guidcmp(evt->group, event->group)) in efi_signal_event()
[all …]
/openbmc/bmcweb/test/redfish-core/include/
H A Dsubmit_test_event_test.cpp34 EventServiceManager& evt = EventServiceManager::getInstance(); in TEST() local
37 EXPECT_TRUE(evt.sendTestEventLog(testEvent)); in TEST()
51 EXPECT_TRUE(evt.sendTestEventLog(testEvent)); in TEST()
56 bool result = evt.sendTestEventLog(testEvent); in TEST()
/openbmc/openbmc/poky/meta/recipes-support/libcheck/libcheck/
H A Dautomake-output.patch30 + enum cl_event evt)
35 + switch (evt)
58 void *obj, enum cl_event evt)
75 void *obj, enum cl_event evt);
78 + void *obj, enum cl_event evt);
81 void *obj, enum cl_event evt);
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/gpio/
H A Dphosphor-gpio-monitor_%.bbappend19 file://phosphor-multi-gpio-monitor-evt.json \
20 file://phosphor-multi-gpio-presence-evt.json \
70 install -m 0644 ${UNPACKDIR}/phosphor-multi-gpio-monitor-evt.json \
71 ${D}${datadir}/${PN}/phosphor-multi-gpio-monitor-evt.json
72 install -m 0644 ${UNPACKDIR}/phosphor-multi-gpio-presence-evt.json \
73 ${D}${datadir}/${PN}/phosphor-multi-gpio-presence-evt.json
/openbmc/qemu/hw/input/
H A Dhid.c111 InputEvent *evt) in hid_pointer_event() argument
128 switch (evt->type) { in hid_pointer_event()
130 move = evt->u.rel.data; in hid_pointer_event()
139 move = evt->u.abs.data; in hid_pointer_event()
148 btn = evt->u.btn.data; in hid_pointer_event()
229 InputEvent *evt) in hid_keyboard_event() argument
234 InputKeyEvent *key = evt->u.key.data; in hid_keyboard_event()
568 HIDPointerEvent evt; in hid_post_load() local
569 evt = s->ptr.queue[(s->head+s->n) & QUEUE_MASK]; in hid_post_load()
571 evt.xdx = 0; in hid_post_load()
[all …]
H A Dvirtio-input.c48 elem = virtqueue_pop(vinput->evt, sizeof(VirtQueueElement)); in virtio_input_send()
51 virtqueue_unpop(vinput->evt, vinput->queue[i].elem, 0); in virtio_input_send()
65 virtqueue_push(vinput->evt, elem, len); in virtio_input_send()
68 virtio_notify(VIRTIO_DEVICE(vinput), vinput->evt); in virtio_input_send()
262 vinput->evt = virtio_add_queue(vdev, 64, virtio_input_handle_evt); in virtio_input_device_realize()
288 virtio_delete_queue(vinput->evt); in virtio_input_device_unrealize()
H A Dadb-mouse.c59 InputEvent *evt) in adb_mouse_handle_event() argument
69 switch (evt->type) { in adb_mouse_handle_event()
71 move = evt->u.rel.data; in adb_mouse_handle_event()
80 btn = evt->u.btn.data; in adb_mouse_handle_event()
H A Dstellaris_gamepad.c19 InputEvent *evt) in stellaris_gamepad_event() argument
22 InputKeyEvent *key = evt->u.key.data; in stellaris_gamepad_event()
/openbmc/qemu/include/ui/
H A Dinput.h22 InputEvent *evt);
40 void qemu_input_event_send(QemuConsole *src, InputEvent *evt);
41 void qemu_input_event_send_impl(QemuConsole *src, InputEvent *evt);
/openbmc/qemu/chardev/
H A Dmsmouse.c125 InputEvent *evt) in msmouse_input_event() argument
136 switch (evt->type) { in msmouse_input_event()
138 move = evt->u.rel.data; in msmouse_input_event()
143 btn = evt->u.btn.data; in msmouse_input_event()
H A Dwctablet.c149 InputEvent *evt) in wctablet_input_event() argument
155 switch (evt->type) { in wctablet_input_event()
157 move = evt->u.abs.data; in wctablet_input_event()
162 btn = evt->u.btn.data; in wctablet_input_event()
/openbmc/phosphor-webui/app/common/directives/
H A Dapp-header.js51 ws.onmessage = function(evt) {
53 var content = JSON.parse(evt.data);
/openbmc/ipmitool/include/ipmitool/
H A Dipmi_sel.h743 void ipmi_sel_print_std_entry(struct ipmi_intf * intf, struct sel_event_record * evt);
744 void ipmi_sel_print_std_entry_verbose(struct ipmi_intf * intf, struct sel_event_record * evt);
745 void ipmi_sel_print_extended_entry(struct ipmi_intf * intf, struct sel_event_record * evt);
746 void ipmi_sel_print_extended_entry_verbose(struct ipmi_intf * intf, struct sel_event_record * evt);
750 uint16_t ipmi_sel_get_std_entry(struct ipmi_intf * intf, uint16_t id, struct sel_event_record * evt

123