Lines Matching refs:packet_sz
97 musb_ep->packet_sz, request->request.buf, in map_dma_buffer()
268 return ep->packet_sz; in max_ep_writesize()
357 epnum, musb_ep->packet_sz, fifo_count, in txstate()
375 if (request_size < musb_ep->packet_sz) in txstate()
381 musb_ep->dma, musb_ep->packet_sz, in txstate()
436 musb_ep->dma, musb_ep->packet_sz, in txstate()
449 musb_ep->dma, musb_ep->packet_sz, in txstate()
554 && (request->length % musb_ep->packet_sz == 0) in musb_g_tx()
559 (musb_ep->packet_sz - 1)))) in musb_g_tx()
651 len = musb_ep->packet_sz; in rxstate()
682 musb_ep->packet_sz, in rxstate()
708 if (request->short_not_ok && len == musb_ep->packet_sz) in rxstate()
782 musb_ep->packet_sz, in rxstate()
804 if (len < musb_ep->packet_sz) in rxstate()
821 if (transfer_size <= musb_ep->packet_sz) { in rxstate()
831 musb_ep->packet_sz, in rxstate()
845 musb_ep->packet_sz); in rxstate()
857 musb_ep->packet_sz, in rxstate()
897 if (request->actual == request->length || len < musb_ep->packet_sz) in rxstate()
981 & (musb_ep->packet_sz - 1))) { in musb_g_rx()
990 == musb_ep->packet_sz)) { in musb_g_rx()
1081 musb_ep->packet_sz = tmp & 0x7ff; in musb_gadget_enable()
1082 tmp = musb_ep->packet_sz * (musb_ep->hb_mult + 1); in musb_gadget_enable()
1113 musb_writew(regs, MUSB_TXMAXP, musb_ep->packet_sz in musb_gadget_enable()
1153 musb_writew(regs, MUSB_RXMAXP, musb_ep->packet_sz in musb_gadget_enable()
1199 musb_ep->packet_sz); in musb_gadget_enable()