Lines Matching refs:unx_len
3464 uint32_t unx_len, ecpp_reattempts = 0; in ecpp_softintr() local
3505 unx_len = pp->last_byte - pp->next_byte; in ecpp_softintr()
3508 (void *)pp->msg->b_rptr, unx_len); in ecpp_softintr()
3510 "ecpp_softintr:e1:unx_len=%d\n", unx_len); in ecpp_softintr()
3516 pp->next_byte, unx_len); in ecpp_softintr()
3518 "ecpp_softintr:e2:unx_len=%d\n", unx_len); in ecpp_softintr()
3616 size_t unx_len, xferd; in ecpp_xfer_timeout() local
3644 unx_len = pp->last_byte - pp->next_byte; in ecpp_xfer_timeout()
3645 ecpp_error(pp->dip, "xfer_timeout: unx_len=%d\n", unx_len); in ecpp_xfer_timeout()
3647 if (unx_len > 0) { in ecpp_xfer_timeout()
3662 if (ECPP_DMA_STOP(pp, &unx_len) == FAILURE) { in ecpp_xfer_timeout()
3667 ecpp_error(pp->dip, "xfer_timeout: unx_len=%d\n", unx_len); in ecpp_xfer_timeout()
3679 if (unx_len == 0) { in ecpp_xfer_timeout()
3684 xferd = pp->dma_cookie.dmac_size - unx_len; in ecpp_xfer_timeout()
3686 unx_len = pp->resid; in ecpp_xfer_timeout()
3693 unx_addr = (caddr_t)pp->msg->b_wptr - unx_len; in ecpp_xfer_timeout()
3696 (pp->xfercnt - unx_len); in ecpp_xfer_timeout()
3703 ecpp_putback_untransfered(pp, (caddr_t)unx_addr, unx_len); in ecpp_xfer_timeout()
4625 size_t xfer_len, unx_len; in ecpp_ecp_read_completion() local
4636 if (ECPP_DMA_STOP(pp, &unx_len) == FAILURE) { in ecpp_ecp_read_completion()
4637 unx_len = pp->resid; in ecpp_ecp_read_completion()
4642 xfer_len = pp->resid - unx_len; /* how much data was transferred */ in ecpp_ecp_read_completion()