Lines Matching refs:actual

88 	pkt->actual	= 0;  in usbhs_pkt_push()
420 pkt->actual = pkt->length; in usbhs_dcp_dir_switch_done()
532 buf = pkt->buf + pkt->actual; in usbhsf_pio_try_push()
533 len = pkt->length - pkt->actual; in usbhsf_pio_try_push()
556 pkt->actual += total_len; in usbhsf_pio_try_push()
558 if (pkt->actual < pkt->length) in usbhsf_pio_try_push()
577 pkt->length, pkt->actual, *is_done, pkt->zero); in usbhsf_pio_try_push()
665 buf = pkt->buf + pkt->actual; in usbhsf_pio_try_pop()
666 len = pkt->length - pkt->actual; in usbhsf_pio_try_pop()
675 pkt->actual += total_len; in usbhsf_pio_try_pop()
677 if ((pkt->actual == pkt->length) || /* receive all data */ in usbhsf_pio_try_pop()
726 pkt->length, pkt->actual, *is_done, pkt->zero); in usbhsf_pio_try_pop()
820 desc = dmaengine_prep_slave_single(chan, pkt->dma + pkt->actual, in xfer_work()
853 int len = pkt->length - pkt->actual; in usbhsf_dma_prepare_push()
872 if ((uintptr_t)(pkt->buf + pkt->actual) & align_mask) in usbhsf_dma_prepare_push()
915 pkt->actual += pkt->trans; in usbhsf_dma_push_done()
917 if (pkt->actual < pkt->length) in usbhsf_dma_push_done()
1043 if ((uintptr_t)(pkt->buf + pkt->actual) & 0x7) /* 8byte alignment */ in usbhsf_dma_try_pop_with_rx_irq()
1052 len = min(pkt->length - pkt->actual, len); in usbhsf_dma_try_pop_with_rx_irq()
1112 pkt->actual += pkt->trans; in usbhsf_dma_pop_done_with_rx_irq()
1114 if ((pkt->actual == pkt->length) || /* receive all data */ in usbhsf_dma_pop_done_with_rx_irq()
1165 pkt->actual = usbhs_dma_calc_received_size(pkt, chan, rcv_len); in usbhsf_dma_pop_done_with_usb_dmac()