Searched refs:packet_sz (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/drivers/usb/musb/ |
D | musb_cppi41.c | 138 cppi41_channel->packet_sz) == 0) { in cppi41_trans_done() 153 cppi41_channel->buf_addr += cppi41_channel->packet_sz; in cppi41_trans_done() 157 remain_bytes = min(remain_bytes, cppi41_channel->packet_sz); in cppi41_trans_done() 252 transferred < cppi41_channel->packet_sz) in cppi41_dma_callback() 412 u16 packet_sz, u8 mode, in cppi41_configure_channel() argument 426 cppi41_channel->packet_sz = packet_sz; in cppi41_configure_channel() 438 if (len > packet_sz) { in cppi41_configure_channel() 461 len = min_t(u32, packet_sz, len); in cppi41_configure_channel() 524 u16 packet_sz, u8 mode, in cppi41_dma_channel_program() argument 545 packet_sz = hb_mult * (packet_sz & 0x7FF); in cppi41_dma_channel_program() [all …]
|
D | tusb6010_omap.c | 44 u16 packet_sz; member 164 if ((chdat->transfer_len < chdat->packet_sz) in tusb_omap_dma_cb() 165 || (chdat->transfer_len % chdat->packet_sz != 0)) { in tusb_omap_dma_cb() 181 static int tusb_omap_dma_program(struct dma_channel *channel, u16 packet_sz, in tusb_omap_dma_program() argument 202 if (unlikely(dma_addr & 0x1) || (len < 32) || (len > packet_sz)) in tusb_omap_dma_program() 233 if (len < packet_sz) in tusb_omap_dma_program() 236 chdat->transfer_packet_sz = packet_sz; in tusb_omap_dma_program() 253 chdat->packet_sz = packet_sz; in tusb_omap_dma_program() 288 chdat->transfer_len, len, chdat->transfer_packet_sz, packet_sz); in tusb_omap_dma_program()
|
D | musb_gadget.c | 49 musb_ep->packet_sz, request->request.buf, in map_dma_buffer() 213 return ep->packet_sz; in max_ep_writesize() 267 epnum, musb_ep->packet_sz, fifo_count, in txstate() 284 if (request_size < musb_ep->packet_sz) in txstate() 290 musb_ep->dma, musb_ep->packet_sz, in txstate() 358 musb_ep->dma, musb_ep->packet_sz, in txstate() 371 musb_ep->dma, musb_ep->packet_sz, in txstate() 475 && (request->length % musb_ep->packet_sz == 0) in musb_g_tx() 535 fifo_count = musb_ep->packet_sz; in rxstate() 566 musb_ep->packet_sz, in rxstate() [all …]
|
D | musbhsdma.c | 144 u16 packet_sz, u8 mode, in configure_channel() argument 155 channel, packet_sz, &dma_addr, len, mode); in configure_channel() 159 BUG_ON(len < packet_sz); in configure_channel() 182 u16 packet_sz, u8 mode, in dma_channel_program() argument 192 packet_sz, &dma_addr, len, mode); in dma_channel_program() 212 musb_channel->max_packet_sz = packet_sz; in dma_channel_program() 215 configure_channel(channel, packet_sz, mode, dma_addr, len); in dma_channel_program()
|
D | ux500_dma.c | 71 u16 packet_sz, u8 mode, in ux500_configure_channel() argument 88 packet_sz, mode, (unsigned long long) dma_addr, in ux500_configure_channel() 190 u16 packet_sz, u8 mode, in ux500_dma_channel_program() argument 200 ret = ux500_configure_channel(channel, packet_sz, mode, dma_addr, len); in ux500_dma_channel_program()
|
D | cppi_dma.h | 142 u32 packet_sz; member
|
D | musb_gadget.h | 84 u16 packet_sz; member
|
D | musb_host.c | 680 u16 packet_sz = qh->maxpacket; in musb_ep_program() local 784 / packet_sz; in musb_ep_program() 785 musb_writew(epio, MUSB_TXMAXP, packet_sz in musb_ep_program() 804 load_count = min((u32) packet_sz, len); in musb_ep_program() 878 packet_sz, !(urb->transfer_flags & in musb_ep_program()
|