Home
last modified time | relevance | path

Searched refs:pwr_evt (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/usb/device/
Dusb_dc_nrfx.c169 struct usbd_pwr_event pwr_evt; member
482 ev->evt.pwr_evt.state = state; in submit_dc_power_event()
671 static inline void usbd_work_process_pwr_events(struct usbd_pwr_event *pwr_evt) in usbd_work_process_pwr_events() argument
676 switch (pwr_evt->state) { in usbd_work_process_pwr_events()
1059 evt.evt.pwr_evt.state = USBD_SUSPENDED; in usbd_event_handler()
1065 evt.evt.pwr_evt.state = USBD_RESUMED; in usbd_event_handler()
1071 evt.evt.pwr_evt.state = USBD_RESUMED; in usbd_event_handler()
1233 usbd_work_process_pwr_events(&ev->evt.pwr_evt); in usbd_work_handler()
/Zephyr-latest/drivers/usb/udc/
Dudc_nrf.c547 static void udc_nrf_power_handler(nrfx_power_usb_evt_t pwr_evt) in udc_nrf_power_handler() argument
549 switch (pwr_evt) { in udc_nrf_power_handler()
563 LOG_ERR("Unknown power event %d", pwr_evt); in udc_nrf_power_handler()