Lines Matching refs:doepctl
94 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()
897 backup->doepctl[i] |= USB_DWC2_DEPCTL_SETD1PID; in dwc2_backup_registers()
899 backup->doepctl[i] |= USB_DWC2_DEPCTL_SETD0PID; in dwc2_backup_registers()
984 sys_write32(backup->doepctl[i], (mem_addr_t)&base->out_ep[i].doepctl); in dwc2_restore_device_registers()
1292 dxepctl_reg = (mem_addr_t)&base->out_ep[ep_idx].doepctl; in udc_dwc2_ep_activate()
2626 uint32_t doepctl; in dwc2_handle_incompisoout() local
2628 doepctl = sys_read32(doepctl_reg); in dwc2_handle_incompisoout()
2631 if ((doepctl & mask) == val) { in dwc2_handle_incompisoout()