Lines Matching full:actual
91 pkt->actual = 0; in usbhs_pkt_push()
393 pkt->actual = pkt->length; in usbhs_dcp_dir_switch_done()
503 buf = pkt->buf + pkt->actual; in usbhsf_pio_try_push()
504 len = pkt->length - pkt->actual; in usbhsf_pio_try_push()
527 pkt->actual += total_len; in usbhsf_pio_try_push()
529 if (pkt->actual < pkt->length) in usbhsf_pio_try_push()
547 pkt->length, pkt->actual, *is_done, pkt->zero); in usbhsf_pio_try_push()
624 buf = pkt->buf + pkt->actual; in usbhsf_pio_try_pop()
625 len = pkt->length - pkt->actual; in usbhsf_pio_try_pop()
630 * update actual length first here to decide disable pipe. in usbhsf_pio_try_pop()
634 pkt->actual += total_len; in usbhsf_pio_try_pop()
636 if ((pkt->actual == pkt->length) || /* receive all data */ in usbhsf_pio_try_pop()
677 pkt->length, pkt->actual, *is_done, pkt->zero); in usbhsf_pio_try_pop()
783 sg_dma_address(&sg) = pkt->dma + pkt->actual; in usbhsf_dma_prepare_tasklet()
816 int len = pkt->length - pkt->actual; in usbhsf_dma_prepare_push()
830 if ((uintptr_t)(pkt->buf + pkt->actual) & 0x7) /* 8byte alignment */ in usbhsf_dma_prepare_push()
870 pkt->actual = pkt->trans; in usbhsf_dma_push_done()
907 if ((uintptr_t)(pkt->buf + pkt->actual) & 0x7) /* 8byte alignment */ in usbhsf_dma_try_pop()
916 len = min(pkt->length - pkt->actual, len); in usbhsf_dma_try_pop()
970 pkt->actual += pkt->trans; in usbhsf_dma_pop_done()
972 if ((pkt->actual == pkt->length) || /* receive all data */ in usbhsf_dma_pop_done()