Home
last modified time | relevance | path

Searched refs:usb_regs (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/usb/device/
Dusb_dc_it82xx2.c194 struct usb_it82xx2_regs *const usb_regs = cfg->base; in it82xx2_get_usb_regs() local
196 return usb_regs; in it82xx2_get_usb_regs()
201 struct usb_it82xx2_regs *const usb_regs = it82xx2_get_usb_regs(); in it82xx2_enable_sof_int() local
203 usb_regs->dc_interrupt_status = DC_SOF_RECEIVED; in it82xx2_enable_sof_int()
205 usb_regs->dc_interrupt_mask |= DC_SOF_RECEIVED; in it82xx2_enable_sof_int()
207 usb_regs->dc_interrupt_mask &= ~DC_SOF_RECEIVED; in it82xx2_enable_sof_int()
213 struct usb_it82xx2_regs *const usb_regs = it82xx2_get_usb_regs(); in it82xx2_enable_resume_int() local
215 usb_regs->dc_interrupt_status = DC_RESUME_INT; in it82xx2_enable_resume_int()
217 usb_regs->dc_interrupt_mask |= DC_RESUME_INT; in it82xx2_enable_resume_int()
219 usb_regs->dc_interrupt_mask &= ~DC_RESUME_INT; in it82xx2_enable_resume_int()
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_it82xx2.c168 struct usb_it82xx2_regs *const usb_regs = config->base; in it82xx2_get_ext_ctrl() local
170 usb_regs->fifo_regs[EP_EXT_REGS_9X].ext_4_15.epn0n1_ext_ctrl; in it82xx2_get_ext_ctrl()
172 usb_regs->fifo_regs[EP_EXT_REGS_DX].ext_0_3.epn_ext_ctrl; in it82xx2_get_ext_ctrl()
187 struct usb_it82xx2_regs *const usb_regs = config->base; in it82xx2_usb_extend_ep_ctrl() local
188 struct it82xx2_usb_ep_regs *ep_regs = usb_regs->usb_ep_regs; in it82xx2_usb_extend_ep_ctrl()
190 usb_regs->fifo_regs[EP_EXT_REGS_DX].ext_0_3.epn_ext_ctrl; in it82xx2_usb_extend_ep_ctrl()
289 struct usb_it82xx2_regs *const usb_regs = config->base; in it82xx2_usb_ep_ctrl() local
290 struct it82xx2_usb_ep_regs *ep_regs = usb_regs->usb_ep_regs; in it82xx2_usb_ep_ctrl()
428 struct usb_it82xx2_regs *const usb_regs = config->base; in it82xx2_usb_fifo_ctrl() local
429 volatile uint8_t *ep_fifo_ctrl = usb_regs->fifo_regs[EP_EXT_REGS_BX].fifo_ctrl.ep_fifo_ctrl; in it82xx2_usb_fifo_ctrl()
[all …]
/Zephyr-latest/soc/ite/ec/it8xxx2/
Dsoc.c378 struct usb_it82xx2_regs *const usb_regs = USB_IT82XX2_REGS_BASE; in ite_it8xxx2_init() local
380 usb_regs->port0_misc_control &= ~PULL_DOWN_EN; in ite_it8xxx2_init()
381 usb_regs->port1_misc_control &= ~PULL_DOWN_EN; in ite_it8xxx2_init()