Lines Matching refs:sg_miter
808 sg_miter_start(&qh->sg_miter, urb->sg, 1, in musb_ep_program()
811 if (!sg_miter_next(&qh->sg_miter)) { in musb_ep_program()
815 sg_miter_stop(&qh->sg_miter); in musb_ep_program()
818 buf = qh->sg_miter.addr + urb->sg->offset + in musb_ep_program()
821 qh->sg_miter.length); in musb_ep_program()
823 qh->sg_miter.consumed = load_count; in musb_ep_program()
824 sg_miter_stop(&qh->sg_miter); in musb_ep_program()
1435 if (!sg_miter_next(&qh->sg_miter)) { in musb_host_tx()
1437 sg_miter_stop(&qh->sg_miter); in musb_host_tx()
1441 length = min_t(u32, length, qh->sg_miter.length); in musb_host_tx()
1442 musb_write_fifo(hw_ep, length, qh->sg_miter.addr); in musb_host_tx()
1443 qh->sg_miter.consumed = length; in musb_host_tx()
1444 sg_miter_stop(&qh->sg_miter); in musb_host_tx()
1937 sg_miter_start(&qh->sg_miter, urb->sg, 1, in musb_host_rx()
1942 if (!sg_miter_next(&qh->sg_miter)) { in musb_host_rx()
1944 sg_miter_stop(&qh->sg_miter); in musb_host_rx()
1949 urb->transfer_buffer = qh->sg_miter.addr; in musb_host_rx()
1957 qh->sg_miter.consumed = received_len; in musb_host_rx()
1958 sg_miter_stop(&qh->sg_miter); in musb_host_rx()