Home
last modified time | relevance | path

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

/drivers/usb/musb/
Dtusb6010_omap.c105 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 …]
Dtusb6010.c223 void __iomem *ep_conf = hw_ep->conf; in tusb_write_fifo() local
233 musb_writel(ep_conf, TUSB_EP_TX_OFFSET, in tusb_write_fifo()
236 musb_writel(ep_conf, 0, TUSB_EP0_CONFIG_DIR_TX | in tusb_write_fifo()
273 void __iomem *ep_conf = hw_ep->conf; in tusb_read_fifo() local
281 musb_writel(ep_conf, TUSB_EP_RX_OFFSET, in tusb_read_fifo()
284 musb_writel(ep_conf, 0, TUSB_EP0_CONFIG_XFR_SIZE(len)); in tusb_read_fifo()
/drivers/usb/gadget/udc/aspeed-vhub/
Depn.c599 u32 ep_conf, ep_ier, imask; in ast_vhub_epn_enable() local
667 ep_conf = VHUB_EP_CFG_SET_TYPE(EP_TYPE_INT); in ast_vhub_epn_enable()
670 ep_conf = VHUB_EP_CFG_SET_TYPE(EP_TYPE_BULK); in ast_vhub_epn_enable()
673 ep_conf = VHUB_EP_CFG_SET_TYPE(EP_TYPE_ISO); in ast_vhub_epn_enable()
682 ep_conf |= VHUB_EP_CFG_SET_MAX_PKT(maxpacket); in ast_vhub_epn_enable()
684 ep_conf |= VHUB_EP_CFG_DIR_OUT; in ast_vhub_epn_enable()
685 ep_conf |= VHUB_EP_CFG_SET_EP_NUM(usb_endpoint_num(desc)); in ast_vhub_epn_enable()
686 ep_conf |= VHUB_EP_CFG_ENABLE; in ast_vhub_epn_enable()
687 ep_conf |= VHUB_EP_CFG_SET_DEV(dev->index + 1); in ast_vhub_epn_enable()
688 EPVDBG(ep, "config=%08x\n", ep_conf); in ast_vhub_epn_enable()
[all …]