Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/usb/device/
Dusb_dc_smartbond.c786 static uint32_t check_reset_end(uint32_t alt_ev) in check_reset_end() argument
789 if (GET_BIT(alt_ev, USB_USB_ALTEV_REG_USB_RESET)) { in check_reset_end()
799 alt_ev = (alt_ev & ~USB_USB_ALTEV_REG_USB_RESET_Msk) | in check_reset_end()
803 if (GET_BIT(alt_ev, USB_USB_ALTEV_REG_USB_RESET) == 0) { in check_reset_end()
815 return alt_ev; in check_reset_end()
820 uint32_t alt_ev; in handle_bus_reset() local
848 alt_ev = USB->USB_ALTEV_REG; in handle_bus_reset()
849 check_reset_end(alt_ev); in handle_bus_reset()
871 uint32_t alt_ev = USB->USB_ALTEV_REG; in handle_alt_ev() local
876 alt_ev = check_reset_end(alt_ev); in handle_alt_ev()
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_smartbond.c831 static uint32_t check_reset_end(struct usb_smartbond_data *data, uint32_t alt_ev) in check_reset_end() argument
834 if (GET_BIT(alt_ev, USB_USB_ALTEV_REG_USB_RESET)) { in check_reset_end()
844 alt_ev = (alt_ev & ~USB_USB_ALTEV_REG_USB_RESET_Msk) | USB->USB_ALTEV_REG; in check_reset_end()
847 if (GET_BIT(alt_ev, USB_USB_ALTEV_REG_USB_RESET) == 0) { in check_reset_end()
857 return alt_ev; in check_reset_end()
1182 uint32_t alt_ev; in handle_bus_reset() local
1206 alt_ev = USB->USB_ALTEV_REG; in handle_bus_reset()
1207 check_reset_end(data, alt_ev); in handle_bus_reset()
1231 uint32_t alt_ev = USB->USB_ALTEV_REG; in handle_alt_ev() local
1236 alt_ev = check_reset_end(data, alt_ev); in handle_alt_ev()
[all …]