Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/drivers/usb/gadget/udc/aspeed-vhub/
Depn.c601 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 …]
/linux-6.1.9/drivers/usb/gadget/udc/
Daspeed_udc.c349 u32 ep_conf = 0; in ast_udc_ep_enable() local
374 ep_conf = EP_SET_MAX_PKT(maxpacket); in ast_udc_ep_enable()
376 ep_conf |= EP_SET_EP_NUM(epnum); in ast_udc_ep_enable()
382 ep_conf |= EP_DIR_OUT; in ast_udc_ep_enable()
387 ep_conf |= EP_SET_TYPE_MASK(EP_TYPE_ISO); in ast_udc_ep_enable()
391 ep_conf |= EP_SET_TYPE_MASK(EP_TYPE_BULK); in ast_udc_ep_enable()
395 ep_conf |= EP_SET_TYPE_MASK(EP_TYPE_INT); in ast_udc_ep_enable()
421 ast_ep_write(ep, ep_conf | EP_ENABLE, AST_UDC_EP_CONFIG); in ast_udc_ep_enable()