• Home
  • Raw
  • Download

Lines Matching refs:epnum

279 	u32 rst_bit = EP_RST(mep->is_in, mep->epnum);  in mtu3_ep_reset()
290 u8 epnum = mep->epnum; in mtu3_ep_stall_set() local
294 csr = mtu3_readl(mbase, MU3D_EP_TXCR0(epnum)) & TX_W1C_BITS; in mtu3_ep_stall_set()
299 mtu3_writel(mbase, MU3D_EP_TXCR0(epnum), csr); in mtu3_ep_stall_set()
301 csr = mtu3_readl(mbase, MU3D_EP_RXCR0(epnum)) & RX_W1C_BITS; in mtu3_ep_stall_set()
306 mtu3_writel(mbase, MU3D_EP_RXCR0(epnum), csr); in mtu3_ep_stall_set()
370 int epnum = mep->epnum; in mtu3_config_ep() local
410 mtu3_setbits(mbase, U3D_QIESR0, QMU_TX_DONE_INT(epnum)); in mtu3_config_ep()
412 mtu3_writel(mbase, MU3D_EP_TXCR0(epnum), csr0); in mtu3_config_ep()
413 mtu3_writel(mbase, MU3D_EP_TXCR1(epnum), csr1); in mtu3_config_ep()
414 mtu3_writel(mbase, MU3D_EP_TXCR2(epnum), csr2); in mtu3_config_ep()
417 epnum, mtu3_readl(mbase, MU3D_EP_TXCR0(epnum)), in mtu3_config_ep()
418 mtu3_readl(mbase, MU3D_EP_TXCR1(epnum)), in mtu3_config_ep()
419 mtu3_readl(mbase, MU3D_EP_TXCR2(epnum))); in mtu3_config_ep()
446 mtu3_setbits(mbase, U3D_QIESR0, QMU_RX_DONE_INT(epnum)); in mtu3_config_ep()
448 mtu3_writel(mbase, MU3D_EP_RXCR0(epnum), csr0); in mtu3_config_ep()
449 mtu3_writel(mbase, MU3D_EP_RXCR1(epnum), csr1); in mtu3_config_ep()
450 mtu3_writel(mbase, MU3D_EP_RXCR2(epnum), csr2); in mtu3_config_ep()
453 epnum, mtu3_readl(mbase, MU3D_EP_RXCR0(epnum)), in mtu3_config_ep()
454 mtu3_readl(mbase, MU3D_EP_RXCR1(epnum)), in mtu3_config_ep()
455 mtu3_readl(mbase, MU3D_EP_RXCR2(epnum))); in mtu3_config_ep()
470 int epnum = mep->epnum; in mtu3_deconfig_ep() local
473 mtu3_writel(mbase, MU3D_EP_TXCR0(epnum), 0); in mtu3_deconfig_ep()
474 mtu3_writel(mbase, MU3D_EP_TXCR1(epnum), 0); in mtu3_deconfig_ep()
475 mtu3_writel(mbase, MU3D_EP_TXCR2(epnum), 0); in mtu3_deconfig_ep()
476 mtu3_setbits(mbase, U3D_QIECR0, QMU_TX_DONE_INT(epnum)); in mtu3_deconfig_ep()
478 mtu3_writel(mbase, MU3D_EP_RXCR0(epnum), 0); in mtu3_deconfig_ep()
479 mtu3_writel(mbase, MU3D_EP_RXCR1(epnum), 0); in mtu3_deconfig_ep()
480 mtu3_writel(mbase, MU3D_EP_RXCR2(epnum), 0); in mtu3_deconfig_ep()
481 mtu3_setbits(mbase, U3D_QIECR0, QMU_RX_DONE_INT(epnum)); in mtu3_deconfig_ep()
587 mtu->ep0->epnum = 0; in mtu3_mem_alloc()