Searched refs:ep_conf (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/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 | 228 void __iomem *ep_conf = hw_ep->conf; in tusb_write_fifo() local 238 musb_writel(ep_conf, TUSB_EP_TX_OFFSET, in tusb_write_fifo() 241 musb_writel(ep_conf, 0, TUSB_EP0_CONFIG_DIR_TX | in tusb_write_fifo() 278 void __iomem *ep_conf = hw_ep->conf; in tusb_read_fifo() local 286 musb_writel(ep_conf, TUSB_EP_RX_OFFSET, in tusb_read_fifo() 289 musb_writel(ep_conf, 0, TUSB_EP0_CONFIG_XFR_SIZE(len)); in tusb_read_fifo()
|
/Linux-v6.6/drivers/usb/gadget/udc/aspeed-vhub/ |
D | epn.c | 608 u32 ep_conf, ep_ier, imask; in ast_vhub_epn_enable() local 676 ep_conf = VHUB_EP_CFG_SET_TYPE(EP_TYPE_INT); in ast_vhub_epn_enable() 679 ep_conf = VHUB_EP_CFG_SET_TYPE(EP_TYPE_BULK); in ast_vhub_epn_enable() 682 ep_conf = VHUB_EP_CFG_SET_TYPE(EP_TYPE_ISO); in ast_vhub_epn_enable() 691 ep_conf |= VHUB_EP_CFG_SET_MAX_PKT(maxpacket); in ast_vhub_epn_enable() 693 ep_conf |= VHUB_EP_CFG_DIR_OUT; in ast_vhub_epn_enable() 694 ep_conf |= VHUB_EP_CFG_SET_EP_NUM(usb_endpoint_num(desc)); in ast_vhub_epn_enable() 695 ep_conf |= VHUB_EP_CFG_ENABLE; in ast_vhub_epn_enable() 696 ep_conf |= VHUB_EP_CFG_SET_DEV(dev->index + 1); in ast_vhub_epn_enable() 697 EPVDBG(ep, "config=%08x\n", ep_conf); in ast_vhub_epn_enable() [all …]
|
/Linux-v6.6/drivers/usb/gadget/udc/ |
D | aspeed_udc.c | 349 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()
|