Searched refs:MU3D_EP_TXCR0 (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/usb/mtu3/ |
H A D | mtu3_qmu.c | 341 mtu3_setbits(mbase, MU3D_EP_TXCR0(epnum), TX_DMAREQEN); in mtu3_qmu_start() 393 mtu3_setbits(mbase, MU3D_EP_TXCR0(epnum), TX_FLUSHFIFO); in mtu3_qmu_stop() 404 mtu3_setbits(mbase, MU3D_EP_TXCR0(epnum), TX_FLUSHFIFO); in mtu3_qmu_stop() 451 mtu3_clrbits(mbase, MU3D_EP_TXCR0(mep->epnum), TX_DMAREQEN); in qmu_tx_zlp_error_handler() 453 ret = readl_poll_timeout_atomic(mbase + MU3D_EP_TXCR0(mep->epnum), in qmu_tx_zlp_error_handler() 459 mtu3_setbits(mbase, MU3D_EP_TXCR0(mep->epnum), TX_TXPKTRDY); in qmu_tx_zlp_error_handler() 466 mtu3_setbits(mbase, MU3D_EP_TXCR0(mep->epnum), TX_DMAREQEN); in qmu_tx_zlp_error_handler()
|
H A D | mtu3_core.c | 316 csr = mtu3_readl(mbase, MU3D_EP_TXCR0(epnum)) & TX_W1C_BITS; in mtu3_ep_stall_set() 321 mtu3_writel(mbase, MU3D_EP_TXCR0(epnum), csr); in mtu3_ep_stall_set() 451 mtu3_writel(mbase, MU3D_EP_TXCR0(epnum), csr0); in mtu3_config_ep() 456 epnum, mtu3_readl(mbase, MU3D_EP_TXCR0(epnum)), in mtu3_config_ep() 512 mtu3_writel(mbase, MU3D_EP_TXCR0(epnum), 0); in mtu3_deconfig_ep()
|
H A D | mtu3.h | 35 #define MU3D_EP_TXCR0(epnum) (U3D_TX1CSR0 + (((epnum) - 1) * 0x10)) macro
|
H A D | mtu3_debugfs.c | 156 regs[0].offset = in ? MU3D_EP_TXCR0(epnum) : MU3D_EP_RXCR0(epnum); in mtu3_debugfs_ep_regset()
|