Home
last modified time | relevance | path

Searched refs:event (Results 1 – 25 of 166) sorted by relevance

1234567

/u-boot/doc/develop/
A Devent.rst12 often easier to use an event.
14 An event consists of a type (e.g. EVT_DM_POST_INIT_F) and some optional data,
15 in `union event_data`. An event spy can be created to watch for events of a
16 particular type. When the event is created, it is sent to each spy in turn.
24 static int snow_setup_cpus(void *ctx, struct event *event)
39 `CONFIG_CMD_EVENT`. The :doc:`../usage/cmd/event` command can then be used to
50 This shows each event spy in U-Boot, along with the event type, function name
57 The event type is decoded by the symbol used by U-Boot for the event linker
62 so the event type can be read from the end. To manually list spy information
81 call `event_register()` to register a new handler for a particular event.
[all …]
/u-boot/test/common/
A Devent.c21 static int h_adder(void *ctx, struct event *event) in h_adder() argument
23 struct event_data_test *data = &event->data.test; in h_adder()
49 static int h_probe(void *ctx, struct event *event) in h_probe() argument
53 test_state->dev = event->data.dm.dev; in h_probe()
54 switch (event->type) { in h_probe()
/u-boot/doc/usage/cmd/
A Devent.rst3 event command
11 event list
16 The event command provides spy list.
31 ID string for this event, if `CONFIG_EVENT_DEBUG` is enabled. Otherwise this
35 See :doc:`../../develop/event` for more information on events.
42 => event list
49 The event command is only available if CONFIG_CMD_EVENT=y.
/u-boot/drivers/usb/host/
A Dxhci-ring.c433 union xhci_trb *event; in event_ready() local
438 event = ctrl->event_ring->dequeue; in event_ready()
470 return event; in xhci_wait_for_event()
484 le32_to_cpu(event->generic.field[0]), in xhci_wait_for_event()
507 union xhci_trb *event; in reset_ep() local
540 union xhci_trb *event; in abort_td() local
623 union xhci_trb *event; in xhci_bulk_tx() local
767 if (!event) { in xhci_bulk_tx()
822 union xhci_trb *event; in xhci_ctrl_tx() local
969 if (!event) in xhci_ctrl_tx()
[all …]
/u-boot/lib/efi_loader/
A Defi_boottime.c219 EFI_CALL_VOID(event->notify_function(event, in efi_process_event_queue()
255 if (event) in efi_queue_event()
644 if (!event) in efi_is_event()
725 *event = evt; in efi_create_event()
935 if (!event[i]->type || event[i]->type & EVT_NOTIFY_SIGNAL) in efi_wait_for_event()
1008 if (event == item->event) { in efi_close_event()
1159 event->event->is_signaled = false; in efi_add_protocol()
1160 efi_signal_event(event->event); in efi_add_protocol()
1441 item->event = event; in efi_register_protocol_notify()
1534 if (!event) in efi_locate_handle()
[all …]
A Defi_tcg2.c1890 if (!event) in tcg2_measure_variable()
1899 memcpy((u16 *)event->unicode_name + event->unicode_name_length, in tcg2_measure_variable()
1903 (u8 *)event); in tcg2_measure_variable()
1904 free(event); in tcg2_measure_variable()
1997 if (!event) { in tcg2_measure_smbios()
2015 (u8 *)event); in tcg2_measure_smbios()
2020 free(event); in tcg2_measure_smbios()
2145 if (!event) { in tcg2_measure_gpt_data()
2171 free(event); in tcg2_measure_gpt_data()
2261 u32 event = 0; in efi_tcg2_measure_efi_app_invocation() local
[all …]
A Defi_watchdog.c24 static void EFIAPI efi_watchdog_timer_notify(struct efi_event *event, in efi_watchdog_timer_notify() argument
27 EFI_ENTRY("%p, %p", event, context); in efi_watchdog_timer_notify()
/u-boot/arch/riscv/include/asm/
A Dsystem.h10 struct event;
20 int riscv_cpu_setup(void *ctx, struct event *event);
/u-boot/common/
A Devent.c58 static int notify_static(struct event *ev) in notify_static()
87 static int notify_dynamic(struct event *ev) in notify_dynamic()
116 struct event event; in event_notify() local
119 event.type = type; in event_notify()
120 if (size > sizeof(event.data)) in event_notify()
122 memcpy(&event.data, data, size); in event_notify()
124 ret = notify_static(&event); in event_notify()
129 ret = notify_dynamic(&event); in event_notify()
/u-boot/lib/efi_selftest/
A Defi_selftest_config_table.c28 static void EFIAPI notify(struct efi_event *event, void *context) in notify() argument
94 struct efi_event *event; in execute() local
103 &table_guid, &event); in execute()
120 ret = boottime->check_event(event); in execute()
144 ret = boottime->check_event(event); in execute()
182 ret = boottime->check_event(event); in execute()
226 ret = boottime->check_event(event); in execute()
249 ret = boottime->close_event(event); in execute()
A Defi_selftest_register_notify.c38 static struct efi_event *event; variable
47 static void EFIAPI notify(struct efi_event *event, void *context) in notify() argument
83 &event); in setup()
89 ret = boottime->register_protocol_notify(&guid1, event, in setup()
107 if (event) { in teardown()
108 ret = boottime->close_event(event); in teardown()
109 event = NULL; in teardown()
A Defi_selftest_bitblt.c29 static struct efi_event *event; variable
63 static void EFIAPI notify(struct efi_event *event, void *context) in notify() argument
111 &event); in setup()
214 if (event) { in teardown()
215 ret = boottime->close_event(event); in teardown()
216 event = NULL; in teardown()
286 ret = boottime->set_timer(event, EFI_TIMER_PERIODIC, 250000); in execute()
/u-boot/arch/arm/dts/
A Dsun4i-a10-inet9f-rev03.dts130 event-dpad-left {
146 event-dpad-up {
154 event-dpad-down {
162 event-x {
168 event-y {
174 event-a {
180 event-b {
186 event-select {
192 event-start {
198 event-top-left {
[all …]
/u-boot/drivers/spi/
A Dfsl_espi.c106 unsigned int tmpdout, event; in fsl_espi_tx() local
115 out_be32(&espi->event, ESPI_EV_TNF); in fsl_espi_tx()
121 event = in_be32(&espi->event); in fsl_espi_tx()
122 if (event & ESPI_EV_DON || event & ESPI_EV_TXE) { in fsl_espi_tx()
123 out_be32(&espi->event, ESPI_EV_TXE); in fsl_espi_tx()
161 out_be32(&espi->event, ESPI_EV_RNE); in fsl_espi_rx()
178 unsigned int event, rx_bytes; in espi_xfer() local
248 event = in_be32(&espi->event); in espi_xfer()
249 if (event & ESPI_EV_TNF) { in espi_xfer()
258 event = in_be32(&espi->event); in espi_xfer()
[all …]
A Dmpc8xxx_spi.c103 setbits_be32(&priv->spi->event, 0xffffffff); in mpc8xxx_spi_probe()
156 setbits_be32(&spi->event, 0xffffffff); in mpc8xxx_spi_xfer()
181 u32 event = in_be32(&spi->event); in mpc8xxx_spi_xfer() local
182 bool have_ne = event & SPI_EV_NE; in mpc8xxx_spi_xfer()
183 bool have_nf = event & SPI_EV_NF; in mpc8xxx_spi_xfer()
189 setbits_be32(&spi->event, SPI_EV_NE); in mpc8xxx_spi_xfer()
/u-boot/boot/
A Dscene_menu.c192 struct expo_action *event) in scene_menu_send_key() argument
218 event->type = EXPOACT_POINT; in scene_menu_send_key()
219 event->select.id = item->id; in scene_menu_send_key()
220 log_debug("up to item %d\n", event->select.id); in scene_menu_send_key()
227 event->type = EXPOACT_POINT; in scene_menu_send_key()
228 event->select.id = item->id; in scene_menu_send_key()
233 event->type = EXPOACT_SELECT; in scene_menu_send_key()
234 event->select.id = item->id; in scene_menu_send_key()
238 event->type = EXPOACT_QUIT; in scene_menu_send_key()
244 event->type = EXPOACT_SELECT; in scene_menu_send_key()
[all …]
A Dvbe_simple_os.c53 static int bootmeth_vbe_simple_ft_fixup(void *ctx, struct event *event) in bootmeth_vbe_simple_ft_fixup() argument
55 oftree tree = event->data.ft_fixup.tree; in bootmeth_vbe_simple_ft_fixup()
A Dscene_internal.h79 struct expo_action *event);
121 int scene_send_key(struct scene *scn, int key, struct expo_action *event);
/u-boot/arch/arm/mach-imx/imx8/
A Dahab.c217 static void display_ahab_auth_event(u32 event) in display_ahab_auth_event() argument
219 u8 cmd = (event >> 16) & 0xff; in display_ahab_auth_event()
220 u8 resp_ind = (event >> 8) & 0xff; in display_ahab_auth_event()
262 u32 event; in do_ahab_status() local
273 err = sc_seco_get_event(-1, idx, &event); in do_ahab_status()
275 printf("SECO Event[%u] = 0x%08X\n", idx, event); in do_ahab_status()
276 display_ahab_auth_event(event); in do_ahab_status()
279 err = sc_seco_get_event(-1, idx, &event); in do_ahab_status()
/u-boot/include/
A Devent.h80 struct event { struct
86 typedef int (*event_handler_t)(void *ctx, struct event *event);
/u-boot/drivers/usb/gadget/
A Dcore.c544 void usbd_device_event_irq (struct usb_device_instance *device, usb_device_event_t event, int data) in usbd_device_event_irq() argument
549 usberr("(%p,%d) NULL device or device->bus", device, event); in usbd_device_event_irq()
555 usbinfo("%s", usbd_device_events[event]); in usbd_device_event_irq()
557 switch (event) { in usbd_device_event_irq()
621 usbdbg("event %d - not handled",event); in usbd_device_event_irq()
625 device->name, event, state, in usbd_device_event_irq()
629 if( device->event ) { in usbd_device_event_irq()
631 device->event(device, event, data); in usbd_device_event_irq()
/u-boot/arch/x86/include/asm/fsp2/
A Dfsp_api.h69 int fsp_setup_pinctrl(void *ctx, struct event *event);
/u-boot/drivers/usb/dwc3/
A Dep0.c737 const struct dwc3_event_depevt *event) in dwc3_ep0_inspect_setup() argument
771 const struct dwc3_event_depevt *event) in dwc3_ep0_complete_data() argument
785 epnum = event->endpoint_number; in dwc3_ep0_complete_data()
915 dwc3_ep0_inspect_setup(dwc, event); in dwc3_ep0_xfer_complete()
920 dwc3_ep0_complete_data(dwc, event); in dwc3_ep0_xfer_complete()
925 dwc3_ep0_complete_status(dwc, event); in dwc3_ep0_xfer_complete()
1048 switch (event->status) { in dwc3_ep0_xfernotready()
1093 u8 epnum = event->endpoint_number; in dwc3_ep0_interrupt()
1100 switch (event->endpoint_event) { in dwc3_ep0_interrupt()
1102 dwc3_ep0_xfer_complete(dwc, event); in dwc3_ep0_interrupt()
[all …]
/u-boot/arch/arm/mach-imx/
A Dele_ahab.c252 static void display_ahab_auth_ind(u32 event) in display_ahab_auth_ind() argument
254 u8 resp_ind = (event >> 8) & 0xff; in display_ahab_auth_ind()
525 static void display_event(u32 event) in display_event() argument
527 printf("\n\t0x%08x\n", event); in display_event()
529 (event >> 24) & 0xFF, ARRAY_SIZE(ele_ipc))]); in display_event()
531 (event >> 16) & 0xFF, ARRAY_SIZE(ele_cmd))]); in display_event()
533 (event >> 8) & 0xFF, ARRAY_SIZE(ele_ind))]); in display_event()
535 event & 0xFF, ARRAY_SIZE(ele_status))]); in display_event()
/u-boot/arch/x86/cpu/broadwell/
A Dcpu.c28 static int broadwell_init_cpu(void *ctx, struct event *event) in broadwell_init_cpu() argument

Completed in 60 milliseconds

1234567