Lines Matching refs:sg_miter
820 sg_miter_start(&qh->sg_miter, urb->sg, 1, in musb_ep_program()
823 if (!sg_miter_next(&qh->sg_miter)) { in musb_ep_program()
827 sg_miter_stop(&qh->sg_miter); in musb_ep_program()
830 buf = qh->sg_miter.addr + urb->sg->offset + in musb_ep_program()
833 qh->sg_miter.length); in musb_ep_program()
835 qh->sg_miter.consumed = load_count; in musb_ep_program()
836 sg_miter_stop(&qh->sg_miter); in musb_ep_program()
1447 if (!sg_miter_next(&qh->sg_miter)) { in musb_host_tx()
1449 sg_miter_stop(&qh->sg_miter); in musb_host_tx()
1453 length = min_t(u32, length, qh->sg_miter.length); in musb_host_tx()
1454 musb_write_fifo(hw_ep, length, qh->sg_miter.addr); in musb_host_tx()
1455 qh->sg_miter.consumed = length; in musb_host_tx()
1456 sg_miter_stop(&qh->sg_miter); in musb_host_tx()
1949 sg_miter_start(&qh->sg_miter, urb->sg, 1, in musb_host_rx()
1954 if (!sg_miter_next(&qh->sg_miter)) { in musb_host_rx()
1956 sg_miter_stop(&qh->sg_miter); in musb_host_rx()
1961 urb->transfer_buffer = qh->sg_miter.addr; in musb_host_rx()
1969 qh->sg_miter.consumed = received_len; in musb_host_rx()
1970 sg_miter_stop(&qh->sg_miter); in musb_host_rx()