Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/usb/device/
Dusb_dc_it82xx2.c341 struct it82xx2_usb_ep_regs *ep_regs = usb_regs->usb_ep_regs; in it82xx2_usb_extend_ep_ctrl() local
440 ep_regs[ep_fifo].ep_ctrl.fields.ready_bit = enable; in it82xx2_usb_extend_ep_ctrl()
453 struct it82xx2_usb_ep_regs *ep_regs = usb_regs->usb_ep_regs; in it82xx2_usb_ep_ctrl() local
461 ep_ctrl_value = ep_regs[ep_idx].ep_ctrl.value & ~ENDPOINT_READY_BIT; in it82xx2_usb_ep_ctrl()
479 return ep_regs[ep_idx].ep_ctrl.fields.send_stall_bit; in it82xx2_usb_ep_ctrl()
519 ep_regs[ep_idx].ep_ctrl.value = ep_ctrl_value; in it82xx2_usb_ep_ctrl()
580 struct it82xx2_usb_ep_regs *ep_regs = usb_regs->usb_ep_regs; in it82xx2_check_setup_following_out() local
583 return ((ep_regs[EP0].ep_transtype_sts & DC_ALL_TRANS) == 0 || in it82xx2_check_setup_following_out()
591 struct it82xx2_usb_ep_regs *ep_regs = usb_regs->usb_ep_regs; in it82xx2_handler_setup() local
596 if (ep_regs[ep_idx].ep_ctrl.fields.send_stall_bit) { in it82xx2_handler_setup()
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_it82xx2.c188 struct it82xx2_usb_ep_regs *ep_regs = usb_regs->usb_ep_regs; in it82xx2_usb_extend_ep_ctrl() local
275 ep_regs[fifo_idx].ep_ctrl.fields.ready_bit = enable; in it82xx2_usb_extend_ep_ctrl()
290 struct it82xx2_usb_ep_regs *ep_regs = usb_regs->usb_ep_regs; in it82xx2_usb_ep_ctrl() local
298 ep_ctrl_value = ep_regs[ep_idx].ep_ctrl.value & ~ENDPOINT_READY_BIT; in it82xx2_usb_ep_ctrl()
354 ep_regs[ep_idx].ep_ctrl.value = ep_ctrl_value; in it82xx2_usb_ep_ctrl()
523 struct it82xx2_usb_ep_regs *ep_regs = usb_regs->usb_ep_regs; in ctrl_ep_stall_workaround() local
540 while (idx < 198 && !(ep_regs[0].ep_status & DC_STALL_SENT)) { in ctrl_ep_stall_workaround()
732 struct it82xx2_usb_ep_regs *ep_regs = usb_regs->usb_ep_regs; in it82xx2_dc_reset() local
741 ep_regs[0].ep_ctrl.value = ENDPOINT_EN; in it82xx2_dc_reset()
793 struct it82xx2_usb_ep_regs *ep_regs = usb_regs->usb_ep_regs; in it82xx2_xfer_out_data() local
[all …]