Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/usb/device/
Dusb_dc_dw.c208 base->out_ep[i].doepctl); in usb_dw_reg_dump()
369 p_depctl = &base->out_ep[ep_idx].doepctl; in usb_dw_ep_set()
462 base->out_ep[ep_idx].doepctl |= USB_DWC2_DEPCTL_CNAK; in usb_dw_prep_rx()
465 base->out_ep[ep_idx].doepctl |= USB_DWC2_DEPCTL_EPENA; in usb_dw_prep_rx()
625 base->out_ep[ep].doepctl = USB_DWC2_DEPCTL_SNAK; in usb_dw_init()
1000 base->out_ep[ep_idx].doepctl |= USB_DWC2_DEPCTL_STALL; in usb_dc_ep_set_stall()
1024 base->out_ep[ep_idx].doepctl &= ~USB_DWC2_DEPCTL_STALL; in usb_dc_ep_clear_stall()
1048 p_depctl = &base->out_ep[ep_idx].doepctl; in usb_dc_ep_halt()
1080 if (base->out_ep[ep_idx].doepctl & USB_DWC2_DEPCTL_STALL) { in usb_dc_ep_is_stalled()
1111 base->out_ep[ep_idx].doepctl |= USB_DWC2_DEPCTL_USBACTEP; in usb_dc_ep_enable()
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_dwc2.c94 uint32_t doepctl[16]; member
211 return (mem_addr_t)&base->out_ep[ep_idx].doepctl; in dwc2_get_dxepctl_reg()
585 uint32_t doepctl; in dwc2_prep_rx() local
589 doepctl = sys_read32(doepctl_reg); in dwc2_prep_rx()
590 doepctl |= USB_DWC2_DEPCTL_EPENA | USB_DWC2_DEPCTL_CNAK; in dwc2_prep_rx()
603 doepctl |= USB_DWC2_DEPCTL_SETEVENFR; in dwc2_prep_rx()
605 doepctl |= USB_DWC2_DEPCTL_SETODDFR; in dwc2_prep_rx()
643 sys_write32(doepctl, doepctl_reg); in dwc2_prep_rx()
895 backup->doepctl[i] = sys_read32((mem_addr_t)&base->out_ep[i].doepctl); in dwc2_backup_registers()
896 if (backup->doepctl[i] & USB_DWC2_DEPCTL_DPID) { in dwc2_backup_registers()
[all …]
/Zephyr-latest/drivers/usb/common/
Dusb_dwc2_hw.h33 volatile uint32_t doepctl; member