Lines Matching refs:transfer_len
53 u32 transfer_len; member
142 if (unlikely(remaining > chdat->transfer_len)) { in tusb_omap_dma_cb()
149 channel->actual_len = chdat->transfer_len - remaining; in tusb_omap_dma_cb()
152 dev_dbg(musb->controller, "DMA remaining %lu/%u\n", remaining, chdat->transfer_len); in tusb_omap_dma_cb()
159 buf = phys_to_virt((u32)chdat->dma_addr) + chdat->transfer_len; in tusb_omap_dma_cb()
162 chdat->transfer_len, in tusb_omap_dma_cb()
167 chdat->transfer_len, in tusb_omap_dma_cb()
191 if ((chdat->transfer_len < chdat->packet_sz) in tusb_omap_dma_cb()
192 || (chdat->transfer_len % chdat->packet_sz != 0)) { in tusb_omap_dma_cb()
258 chdat->transfer_len = len & ~0x1f; in tusb_omap_dma_program()
261 chdat->transfer_packet_sz = chdat->transfer_len; in tusb_omap_dma_program()
312 dma_params.frame_count = chdat->transfer_len / 32; /* Burst sz frame */ in tusb_omap_dma_program()
316 ch, dma_addr, chdat->transfer_len, len, in tusb_omap_dma_program()
401 TUSB_EP_CONFIG_XFR_SIZE(chdat->transfer_len)); in tusb_omap_dma_program()
410 TUSB_EP_CONFIG_XFR_SIZE(chdat->transfer_len)); in tusb_omap_dma_program()