Lines Matching refs:sg_miter
814 sg_miter_start(&qh->sg_miter, urb->sg, 1, in musb_ep_program()
817 if (!sg_miter_next(&qh->sg_miter)) { in musb_ep_program()
821 sg_miter_stop(&qh->sg_miter); in musb_ep_program()
824 buf = qh->sg_miter.addr + urb->sg->offset + in musb_ep_program()
827 qh->sg_miter.length); in musb_ep_program()
829 qh->sg_miter.consumed = load_count; in musb_ep_program()
830 sg_miter_stop(&qh->sg_miter); in musb_ep_program()
1441 if (!sg_miter_next(&qh->sg_miter)) { in musb_host_tx()
1443 sg_miter_stop(&qh->sg_miter); in musb_host_tx()
1447 length = min_t(u32, length, qh->sg_miter.length); in musb_host_tx()
1448 musb_write_fifo(hw_ep, length, qh->sg_miter.addr); in musb_host_tx()
1449 qh->sg_miter.consumed = length; in musb_host_tx()
1450 sg_miter_stop(&qh->sg_miter); in musb_host_tx()
1943 sg_miter_start(&qh->sg_miter, urb->sg, 1, in musb_host_rx()
1948 if (!sg_miter_next(&qh->sg_miter)) { in musb_host_rx()
1950 sg_miter_stop(&qh->sg_miter); in musb_host_rx()
1955 urb->transfer_buffer = qh->sg_miter.addr; in musb_host_rx()
1963 qh->sg_miter.consumed = received_len; in musb_host_rx()
1964 sg_miter_stop(&qh->sg_miter); in musb_host_rx()