Searched refs:ep_conf (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/usb/musb/ |
D | tusb6010_omap.c | 105 void __iomem *ep_conf = hw_ep->conf; in tusb_omap_dma_cb() local 115 remaining = musb_readl(ep_conf, TUSB_EP_TX_OFFSET); in tusb_omap_dma_cb() 117 remaining = musb_readl(ep_conf, TUSB_EP_RX_OFFSET); in tusb_omap_dma_cb() 190 void __iomem *ep_conf = hw_ep->conf; in tusb_omap_dma_program() local 220 dma_remaining = musb_readl(ep_conf, TUSB_EP_TX_OFFSET); in tusb_omap_dma_program() 222 dma_remaining = musb_readl(ep_conf, TUSB_EP_RX_OFFSET); in tusb_omap_dma_program() 346 psize = musb_readl(ep_conf, TUSB_EP_MAX_PACKET_SIZE_OFFSET); in tusb_omap_dma_program() 349 musb_writel(ep_conf, TUSB_EP_MAX_PACKET_SIZE_OFFSET, psize); in tusb_omap_dma_program() 351 musb_writel(ep_conf, TUSB_EP_TX_OFFSET, in tusb_omap_dma_program() 355 psize = musb_readl(ep_conf, TUSB_EP_MAX_PACKET_SIZE_OFFSET); in tusb_omap_dma_program() [all …]
|
D | tusb6010.c | 222 void __iomem *ep_conf = hw_ep->conf; in tusb_write_fifo() local 232 musb_writel(ep_conf, TUSB_EP_TX_OFFSET, in tusb_write_fifo() 235 musb_writel(ep_conf, 0, TUSB_EP0_CONFIG_DIR_TX | in tusb_write_fifo() 272 void __iomem *ep_conf = hw_ep->conf; in tusb_read_fifo() local 280 musb_writel(ep_conf, TUSB_EP_RX_OFFSET, in tusb_read_fifo() 283 musb_writel(ep_conf, 0, TUSB_EP0_CONFIG_XFR_SIZE(len)); in tusb_read_fifo()
|
/Linux-v5.10/drivers/usb/gadget/udc/aspeed-vhub/ |
D | epn.c | 601 u32 ep_conf, ep_ier, imask; in ast_vhub_epn_enable() local 669 ep_conf = VHUB_EP_CFG_SET_TYPE(EP_TYPE_INT); in ast_vhub_epn_enable() 672 ep_conf = VHUB_EP_CFG_SET_TYPE(EP_TYPE_BULK); in ast_vhub_epn_enable() 675 ep_conf = VHUB_EP_CFG_SET_TYPE(EP_TYPE_ISO); in ast_vhub_epn_enable() 684 ep_conf |= VHUB_EP_CFG_SET_MAX_PKT(maxpacket); in ast_vhub_epn_enable() 686 ep_conf |= VHUB_EP_CFG_DIR_OUT; in ast_vhub_epn_enable() 687 ep_conf |= VHUB_EP_CFG_SET_EP_NUM(usb_endpoint_num(desc)); in ast_vhub_epn_enable() 688 ep_conf |= VHUB_EP_CFG_ENABLE; in ast_vhub_epn_enable() 689 ep_conf |= VHUB_EP_CFG_SET_DEV(dev->index + 1); in ast_vhub_epn_enable() 690 EPVDBG(ep, "config=%08x\n", ep_conf); in ast_vhub_epn_enable() [all …]
|