Searched refs:pwr_evt (Results 1 – 2 of 2) sorted by relevance
169 struct usbd_pwr_event pwr_evt; member482 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() argument676 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()
547 static void udc_nrf_power_handler(nrfx_power_usb_evt_t pwr_evt) in udc_nrf_power_handler() argument549 switch (pwr_evt) { in udc_nrf_power_handler()563 LOG_ERR("Unknown power event %d", pwr_evt); in udc_nrf_power_handler()