/kernel/linux/linux-5.10/drivers/usb/musb/ |
H A D | musb_host.c | 203 struct musb_hw_ep *hw_ep = qh->hw_ep; in musb_start_urb() local 204 int epnum = hw_ep->epnum; in musb_start_urb() 234 musb_ep_set_qh(hw_ep, is_in, qh); in musb_start_urb() 267 hw_ep->tx_channel ? "dma" : "pio"); in musb_start_urb() 269 if (!hw_ep->tx_channel) in musb_start_urb() 270 musb_h_tx_start(hw_ep); in musb_start_urb() 272 musb_h_tx_dma_start(hw_ep); in musb_start_urb() 297 struct musb_hw_ep *hw_ep, int is_in) in musb_advance_schedule() 299 struct musb_qh *qh = musb_ep_get_qh(hw_ep, is_i in musb_advance_schedule() 296 musb_advance_schedule(struct musb *musb, struct urb *urb, struct musb_hw_ep *hw_ep, int is_in) musb_advance_schedule() argument 390 musb_h_flush_rxfifo(struct musb_hw_ep *hw_ep, u16 csr) musb_h_flush_rxfifo() argument 421 struct musb_hw_ep *hw_ep = musb->endpoints + epnum; musb_host_packet_rx() local 572 musb_tx_dma_set_mode_mentor(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, u32 offset, u32 *length, u8 *mode) musb_tx_dma_set_mode_mentor() argument 611 musb_tx_dma_set_mode_cppi_tusb(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, u32 offset, u32 *length, u8 *mode) musb_tx_dma_set_mode_cppi_tusb() argument 630 musb_tx_dma_program(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, u32 offset, u32 length) musb_tx_dma_program() argument 683 struct musb_hw_ep *hw_ep = musb->endpoints + epnum; musb_ep_program() local 989 struct musb_hw_ep *hw_ep = musb->control_ep; musb_h_ep0_continue() local 1066 struct musb_hw_ep *hw_ep = musb->control_ep; musb_h_ep0_irq() local 1208 struct musb_hw_ep *hw_ep = musb->endpoints + epnum; musb_host_tx() local 1470 musb_rx_dma_iso_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len) musb_rx_dma_iso_cppi41() argument 1495 musb_rx_dma_iso_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len) musb_rx_dma_iso_cppi41() argument 1541 musb_rx_dma_inventra_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len) musb_rx_dma_inventra_cppi41() argument 1611 musb_rx_dma_in_inventra_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len, u8 iso_err) musb_rx_dma_in_inventra_cppi41() argument 1711 musb_rx_dma_inventra_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len) musb_rx_dma_inventra_cppi41() argument 1720 musb_rx_dma_in_inventra_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len, u8 iso_err) musb_rx_dma_in_inventra_cppi41() argument 1738 struct musb_hw_ep *hw_ep = musb->endpoints + epnum; musb_host_rx() local 2007 struct musb_hw_ep *hw_ep = NULL; musb_schedule() local [all...] |
H A D | musb_cppi41.c | 64 csr = musb_readw(cppi41_channel->hw_ep->regs, MUSB_RXCSR); in save_rx_toggle() 72 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep; in update_rx_toggle() local 73 struct musb *musb = hw_ep->musb; in update_rx_toggle() 82 musb_ep_select(musb->mregs, hw_ep->epnum); in update_rx_toggle() 83 csr = musb_readw(hw_ep->regs, MUSB_RXCSR); in update_rx_toggle() 93 musb_writew(cppi41_channel->hw_ep->regs, MUSB_RXCSR, csr); in update_rx_toggle() 100 static bool musb_is_tx_fifo_empty(struct musb_hw_ep *hw_ep) in musb_is_tx_fifo_empty() argument 102 u8 epnum = hw_ep->epnum; in musb_is_tx_fifo_empty() 103 struct musb *musb = hw_ep in musb_is_tx_fifo_empty() 119 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep; cppi41_trans_done() local 201 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep; cppi41_recheck_tx_req() local 225 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep; cppi41_dma_callback() local 482 cppi41_dma_channel_allocate(struct dma_controller *c, struct musb_hw_ep *hw_ep, u8 is_tx) cppi41_dma_channel_allocate() argument [all...] |
H A D | tusb6010_omap.c | 35 struct musb_hw_ep *hw_ep; member 104 struct musb_hw_ep *hw_ep = chdat->hw_ep; in tusb_omap_dma_cb() local 105 void __iomem *ep_conf = hw_ep->conf; in tusb_omap_dma_cb() 143 musb_write_fifo(hw_ep, pio, buf); in tusb_omap_dma_cb() 148 musb_read_fifo(hw_ep, pio, buf); in tusb_omap_dma_cb() 171 csr = musb_readw(hw_ep->regs, MUSB_TXCSR); in tusb_omap_dma_cb() 174 musb_writew(hw_ep->regs, MUSB_TXCSR, csr); in tusb_omap_dma_cb() 188 struct musb_hw_ep *hw_ep = chdat->hw_ep; in tusb_omap_dma_program() local 422 tusb_omap_dma_allocate(struct dma_controller *c, struct musb_hw_ep *hw_ep, u8 tx) tusb_omap_dma_allocate() argument [all...] |
H A D | musb_core.c | 280 void __iomem *epio = qh->hw_ep->regs; in musb_default_get_toggle() 313 static void musb_default_write_fifo(struct musb_hw_ep *hw_ep, u16 len, in musb_default_write_fifo() argument 316 struct musb *musb = hw_ep->musb; in musb_default_write_fifo() 317 void __iomem *fifo = hw_ep->fifo; in musb_default_write_fifo() 325 'T', hw_ep->epnum, fifo, len, src); in musb_default_write_fifo() 358 static void musb_default_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) in musb_default_read_fifo() argument 360 struct musb *musb = hw_ep->musb; in musb_default_read_fifo() 361 void __iomem *fifo = hw_ep->fifo; in musb_default_read_fifo() 367 'R', hw_ep->epnum, fifo, len, dst); in musb_default_read_fifo() 446 void musb_read_fifo(struct musb_hw_ep *hw_ep, u1 argument 451 musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *src) musb_write_fifo() argument 1383 fifo_setup(struct musb *musb, struct musb_hw_ep *hw_ep, const struct musb_fifo_cfg *cfg, u16 offset) fifo_setup() argument 1462 struct musb_hw_ep *hw_ep = musb->endpoints; ep_config_from_table() local 1550 struct musb_hw_ep *hw_ep; ep_config_from_hw() local 1669 struct musb_hw_ep *hw_ep = musb->endpoints + i; musb_core_init() local 2676 struct musb_hw_ep *hw_ep; musb_save_context() local 2757 struct musb_hw_ep *hw_ep; musb_restore_context() local [all...] |
H A D | ux500_dma.c | 33 struct musb_hw_ep *hw_ep; member 55 struct musb_hw_ep *hw_ep = ux500_channel->hw_ep; in ux500_dma_callback() local 56 struct musb *musb = hw_ep->musb; in ux500_dma_callback() 59 dev_dbg(musb->controller, "DMA rx transfer done on hw_ep=%d\n", in ux500_dma_callback() 60 hw_ep->epnum); in ux500_dma_callback() 65 musb_dma_completion(musb, hw_ep->epnum, ux500_channel->is_tx); in ux500_dma_callback() 75 struct musb_hw_ep *hw_ep = ux500_channel->hw_ep; in ux500_configure_channel() local 83 dma_addr_t usb_fifo_addr = (musb->io.fifo_offset(hw_ep in ux500_configure_channel() 128 ux500_dma_channel_allocate(struct dma_controller *c, struct musb_hw_ep *hw_ep, u8 is_tx) ux500_dma_channel_allocate() argument [all...] |
H A D | musb_core.h | 175 void (*read_fifo)(struct musb_hw_ep *hw_ep, u16 len, u8 *buf); 176 void (*write_fifo)(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf); 241 static inline struct musb_request *next_in_request(struct musb_hw_ep *hw_ep) in next_in_request() argument 243 return next_request(&hw_ep->ep_in); in next_in_request() 246 static inline struct musb_request *next_out_request(struct musb_hw_ep *hw_ep) in next_out_request() argument 248 return next_request(&hw_ep->ep_out); in next_out_request() 453 struct musb_hw_ep *hw_ep, u8 epnum) in musb_read_fifosize() 467 hw_ep->max_packet_sz_tx = 1 << (reg & 0x0f); in musb_read_fifosize() 471 hw_ep->max_packet_sz_rx = hw_ep in musb_read_fifosize() 452 musb_read_fifosize(struct musb *musb, struct musb_hw_ep *hw_ep, u8 epnum) musb_read_fifosize() argument [all...] |
H A D | musb_gadget.c | 211 return ep->hw_ep->max_packet_sz_tx; in max_ep_writesize() 266 musb_dbg(musb, "hw_ep%d, maxpacket %d, fifo count %d, txcsr %03x", in txstate() 385 musb_write_fifo(musb_ep->hw_ep, fifo_count, in txstate() 527 struct musb_hw_ep *hw_ep = &musb->endpoints[epnum]; in rxstate() local 530 if (hw_ep->is_shared_fifo) in rxstate() 531 musb_ep = &hw_ep->ep_in; in rxstate() 533 musb_ep = &hw_ep->ep_out; in rxstate() 654 musb_ep->hw_ep->rx_double_buffered) in rxstate() 766 musb_read_fifo(musb_ep->hw_ep, fifo_count, (u8 *) in rxstate() 799 struct musb_hw_ep *hw_ep in musb_g_rx() local 913 struct musb_hw_ep *hw_ep; musb_gadget_enable() local 1695 struct musb_hw_ep *hw_ep = musb->endpoints + epnum; init_peripheral_ep() local 1744 struct musb_hw_ep *hw_ep; musb_g_init_endpoints() local [all...] |
H A D | cppi_dma.c | 318 if (cppi_ch->hw_ep) in cppi_channel_allocate() 321 cppi_ch->hw_ep = ep; in cppi_channel_allocate() 339 if (!c->hw_ep) in cppi_channel_release() 346 c->hw_ep = NULL; in cppi_channel_release() 366 musb_readw(c->hw_ep->regs, MUSB_RXCSR), in cppi_dump_rx() 394 musb_readw(c->hw_ep->regs, MUSB_TXCSR), in cppi_dump_tx() 496 void __iomem *regs = rx->hw_ep->regs; in cppi_autoreq_update() 1011 void __iomem *regs = rx->hw_ep->regs; in cppi_rx_scan() 1123 csr = musb_readw(rx->hw_ep->regs, MUSB_RXCSR); in cppi_rx_scan() 1130 csr = musb_readw(rx->hw_ep in cppi_rx_scan() 1146 struct musb_hw_ep *hw_ep = NULL; cppi_interrupt() local [all...] |
H A D | musb_io.h | 32 void (*read_fifo)(struct musb_hw_ep *hw_ep, u16 len, u8 *buf); 33 void (*write_fifo)(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf);
|
H A D | cppi_dma.h | 80 struct musb_hw_ep *hw_ep; member 130 struct musb_hw_ep *hw_ep; member
|
H A D | tusb6010.c | 220 static void tusb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf) in tusb_write_fifo() argument 222 struct musb *musb = hw_ep->musb; in tusb_write_fifo() 223 void __iomem *ep_conf = hw_ep->conf; in tusb_write_fifo() 224 void __iomem *fifo = hw_ep->fifo; in tusb_write_fifo() 225 u8 epnum = hw_ep->epnum; in tusb_write_fifo() 270 static void tusb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *buf) in tusb_read_fifo() argument 272 struct musb *musb = hw_ep->musb; in tusb_read_fifo() 273 void __iomem *ep_conf = hw_ep->conf; in tusb_read_fifo() 274 void __iomem *fifo = hw_ep->fifo; in tusb_read_fifo() 275 u8 epnum = hw_ep in tusb_read_fifo() [all...] |
H A D | mediatek.c | 355 struct musb *musb = qh->hw_ep->musb; in mtk_musb_get_toggle() 356 u8 epnum = qh->hw_ep->epnum; in mtk_musb_get_toggle() 365 struct musb *musb = qh->hw_ep->musb; in mtk_musb_set_toggle() 366 u8 epnum = qh->hw_ep->epnum; in mtk_musb_set_toggle()
|
H A D | musb_gadget.h | 77 struct musb_hw_ep *hw_ep; member
|
/kernel/linux/linux-6.6/drivers/usb/musb/ |
H A D | musb_host.c | 203 struct musb_hw_ep *hw_ep = qh->hw_ep; in musb_start_urb() local 204 int epnum = hw_ep->epnum; in musb_start_urb() 234 musb_ep_set_qh(hw_ep, is_in, qh); in musb_start_urb() 267 hw_ep->tx_channel ? "dma" : "pio"); in musb_start_urb() 269 if (!hw_ep->tx_channel) in musb_start_urb() 270 musb_h_tx_start(hw_ep); in musb_start_urb() 272 musb_h_tx_dma_start(hw_ep); in musb_start_urb() 297 struct musb_hw_ep *hw_ep, int is_in) in musb_advance_schedule() 299 struct musb_qh *qh = musb_ep_get_qh(hw_ep, is_i in musb_advance_schedule() 296 musb_advance_schedule(struct musb *musb, struct urb *urb, struct musb_hw_ep *hw_ep, int is_in) musb_advance_schedule() argument 390 musb_h_flush_rxfifo(struct musb_hw_ep *hw_ep, u16 csr) musb_h_flush_rxfifo() argument 421 struct musb_hw_ep *hw_ep = musb->endpoints + epnum; musb_host_packet_rx() local 572 musb_tx_dma_set_mode_mentor(struct musb_hw_ep *hw_ep, struct musb_qh *qh, u32 *length, u8 *mode) musb_tx_dma_set_mode_mentor() argument 610 musb_tx_dma_set_mode_cppi_tusb(struct musb_hw_ep *hw_ep, struct urb *urb, u8 *mode) musb_tx_dma_set_mode_cppi_tusb() argument 625 musb_tx_dma_program(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, u32 offset, u32 length) musb_tx_dma_program() argument 677 struct musb_hw_ep *hw_ep = musb->endpoints + epnum; musb_ep_program() local 983 struct musb_hw_ep *hw_ep = musb->control_ep; musb_h_ep0_continue() local 1060 struct musb_hw_ep *hw_ep = musb->control_ep; musb_h_ep0_irq() local 1202 struct musb_hw_ep *hw_ep = musb->endpoints + epnum; musb_host_tx() local 1464 musb_rx_dma_iso_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len) musb_rx_dma_iso_cppi41() argument 1489 musb_rx_dma_iso_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len) musb_rx_dma_iso_cppi41() argument 1535 musb_rx_dma_inventra_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len) musb_rx_dma_inventra_cppi41() argument 1605 musb_rx_dma_in_inventra_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len, u8 iso_err) musb_rx_dma_in_inventra_cppi41() argument 1705 musb_rx_dma_inventra_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len) musb_rx_dma_inventra_cppi41() argument 1714 musb_rx_dma_in_inventra_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len, u8 iso_err) musb_rx_dma_in_inventra_cppi41() argument 1732 struct musb_hw_ep *hw_ep = musb->endpoints + epnum; musb_host_rx() local 2001 struct musb_hw_ep *hw_ep = NULL; musb_schedule() local [all...] |
H A D | musb_cppi41.c | 64 csr = musb_readw(cppi41_channel->hw_ep->regs, MUSB_RXCSR); in save_rx_toggle() 72 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep; in update_rx_toggle() local 73 struct musb *musb = hw_ep->musb; in update_rx_toggle() 82 musb_ep_select(musb->mregs, hw_ep->epnum); in update_rx_toggle() 83 csr = musb_readw(hw_ep->regs, MUSB_RXCSR); in update_rx_toggle() 93 musb_writew(cppi41_channel->hw_ep->regs, MUSB_RXCSR, csr); in update_rx_toggle() 100 static bool musb_is_tx_fifo_empty(struct musb_hw_ep *hw_ep) in musb_is_tx_fifo_empty() argument 102 u8 epnum = hw_ep->epnum; in musb_is_tx_fifo_empty() 103 struct musb *musb = hw_ep in musb_is_tx_fifo_empty() 119 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep; cppi41_trans_done() local 201 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep; cppi41_recheck_tx_req() local 225 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep; cppi41_dma_callback() local 482 cppi41_dma_channel_allocate(struct dma_controller *c, struct musb_hw_ep *hw_ep, u8 is_tx) cppi41_dma_channel_allocate() argument [all...] |
H A D | tusb6010_omap.c | 35 struct musb_hw_ep *hw_ep; member 104 struct musb_hw_ep *hw_ep = chdat->hw_ep; in tusb_omap_dma_cb() local 105 void __iomem *ep_conf = hw_ep->conf; in tusb_omap_dma_cb() 143 musb_write_fifo(hw_ep, pio, buf); in tusb_omap_dma_cb() 148 musb_read_fifo(hw_ep, pio, buf); in tusb_omap_dma_cb() 171 csr = musb_readw(hw_ep->regs, MUSB_TXCSR); in tusb_omap_dma_cb() 174 musb_writew(hw_ep->regs, MUSB_TXCSR, csr); in tusb_omap_dma_cb() 188 struct musb_hw_ep *hw_ep = chdat->hw_ep; in tusb_omap_dma_program() local 422 tusb_omap_dma_allocate(struct dma_controller *c, struct musb_hw_ep *hw_ep, u8 tx) tusb_omap_dma_allocate() argument [all...] |
H A D | ux500_dma.c | 33 struct musb_hw_ep *hw_ep; member 55 struct musb_hw_ep *hw_ep = ux500_channel->hw_ep; in ux500_dma_callback() local 56 struct musb *musb = hw_ep->musb; in ux500_dma_callback() 59 dev_dbg(musb->controller, "DMA rx transfer done on hw_ep=%d\n", in ux500_dma_callback() 60 hw_ep->epnum); in ux500_dma_callback() 65 musb_dma_completion(musb, hw_ep->epnum, ux500_channel->is_tx); in ux500_dma_callback() 75 struct musb_hw_ep *hw_ep = ux500_channel->hw_ep; in ux500_configure_channel() local 83 dma_addr_t usb_fifo_addr = (musb->io.fifo_offset(hw_ep in ux500_configure_channel() 128 ux500_dma_channel_allocate(struct dma_controller *c, struct musb_hw_ep *hw_ep, u8 is_tx) ux500_dma_channel_allocate() argument [all...] |
H A D | musb_core.c | 280 void __iomem *epio = qh->hw_ep->regs; in musb_default_get_toggle() 313 static void musb_default_write_fifo(struct musb_hw_ep *hw_ep, u16 len, in musb_default_write_fifo() argument 316 struct musb *musb = hw_ep->musb; in musb_default_write_fifo() 317 void __iomem *fifo = hw_ep->fifo; in musb_default_write_fifo() 325 'T', hw_ep->epnum, fifo, len, src); in musb_default_write_fifo() 358 static void musb_default_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) in musb_default_read_fifo() argument 360 struct musb *musb = hw_ep->musb; in musb_default_read_fifo() 361 void __iomem *fifo = hw_ep->fifo; in musb_default_read_fifo() 367 'R', hw_ep->epnum, fifo, len, dst); in musb_default_read_fifo() 446 void musb_read_fifo(struct musb_hw_ep *hw_ep, u1 argument 451 musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *src) musb_write_fifo() argument 1379 fifo_setup(struct musb *musb, struct musb_hw_ep *hw_ep, const struct musb_fifo_cfg *cfg, u16 offset) fifo_setup() argument 1458 struct musb_hw_ep *hw_ep = musb->endpoints; ep_config_from_table() local 1546 struct musb_hw_ep *hw_ep; ep_config_from_hw() local 1665 struct musb_hw_ep *hw_ep = musb->endpoints + i; musb_core_init() local [all...] |
H A D | musb_core.h | 175 void (*read_fifo)(struct musb_hw_ep *hw_ep, u16 len, u8 *buf); 176 void (*write_fifo)(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf); 241 static inline struct musb_request *next_in_request(struct musb_hw_ep *hw_ep) in next_in_request() argument 243 return next_request(&hw_ep->ep_in); in next_in_request() 246 static inline struct musb_request *next_out_request(struct musb_hw_ep *hw_ep) in next_out_request() argument 248 return next_request(&hw_ep->ep_out); in next_out_request() 453 struct musb_hw_ep *hw_ep, u8 epnum) in musb_read_fifosize() 467 hw_ep->max_packet_sz_tx = 1 << (reg & 0x0f); in musb_read_fifosize() 471 hw_ep->max_packet_sz_rx = hw_ep in musb_read_fifosize() 452 musb_read_fifosize(struct musb *musb, struct musb_hw_ep *hw_ep, u8 epnum) musb_read_fifosize() argument [all...] |
H A D | musb_gadget.c | 211 return ep->hw_ep->max_packet_sz_tx; in max_ep_writesize() 266 musb_dbg(musb, "hw_ep%d, maxpacket %d, fifo count %d, txcsr %03x", in txstate() 385 musb_write_fifo(musb_ep->hw_ep, fifo_count, in txstate() 527 struct musb_hw_ep *hw_ep = &musb->endpoints[epnum]; in rxstate() local 530 if (hw_ep->is_shared_fifo) in rxstate() 531 musb_ep = &hw_ep->ep_in; in rxstate() 533 musb_ep = &hw_ep->ep_out; in rxstate() 654 musb_ep->hw_ep->rx_double_buffered) in rxstate() 766 musb_read_fifo(musb_ep->hw_ep, fifo_count, (u8 *) in rxstate() 799 struct musb_hw_ep *hw_ep in musb_g_rx() local 913 struct musb_hw_ep *hw_ep; musb_gadget_enable() local 1697 struct musb_hw_ep *hw_ep = musb->endpoints + epnum; init_peripheral_ep() local 1746 struct musb_hw_ep *hw_ep; musb_g_init_endpoints() local [all...] |
H A D | musb_io.h | 32 void (*read_fifo)(struct musb_hw_ep *hw_ep, u16 len, u8 *buf); 33 void (*write_fifo)(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf);
|
H A D | cppi_dma.h | 80 struct musb_hw_ep *hw_ep; member 127 struct musb_hw_ep *hw_ep; member
|
H A D | tusb6010.c | 225 static void tusb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf) in tusb_write_fifo() argument 227 struct musb *musb = hw_ep->musb; in tusb_write_fifo() 228 void __iomem *ep_conf = hw_ep->conf; in tusb_write_fifo() 229 void __iomem *fifo = hw_ep->fifo; in tusb_write_fifo() 230 u8 epnum = hw_ep->epnum; in tusb_write_fifo() 275 static void tusb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *buf) in tusb_read_fifo() argument 277 struct musb *musb = hw_ep->musb; in tusb_read_fifo() 278 void __iomem *ep_conf = hw_ep->conf; in tusb_read_fifo() 279 void __iomem *fifo = hw_ep->fifo; in tusb_read_fifo() 280 u8 epnum = hw_ep in tusb_read_fifo() [all...] |
H A D | mediatek.c | 305 struct musb *musb = qh->hw_ep->musb; in mtk_musb_get_toggle() 306 u8 epnum = qh->hw_ep->epnum; in mtk_musb_get_toggle() 315 struct musb *musb = qh->hw_ep->musb; in mtk_musb_set_toggle() 316 u8 epnum = qh->hw_ep->epnum; in mtk_musb_set_toggle()
|
H A D | musb_gadget.h | 77 struct musb_hw_ep *hw_ep; member
|