Home
last modified time | relevance | path

Searched refs:this_sg_len (Results 1 – 5 of 5) sorted by relevance

/drivers/usb/host/
Dohci-q.c603 int i, this_sg_len, n; in td_submit_urb() local
627 this_sg_len = min_t(int, sg_dma_len(sg), data_len); in td_submit_urb()
634 this_sg_len = data_len; in td_submit_urb()
657 n = min(this_sg_len, 4096); in td_submit_urb()
660 if (n >= data_len || (i == 1 && n >= this_sg_len)) { in td_submit_urb()
665 this_sg_len -= n; in td_submit_urb()
670 if (this_sg_len <= 0) { in td_submit_urb()
675 this_sg_len = min_t(int, sg_dma_len(sg), in td_submit_urb()
Dehci-q.c583 int len, this_sg_len, maxpacket; in qh_urb_transaction() local
636 this_sg_len = min_t(int, sg_dma_len(sg), len); in qh_urb_transaction()
640 this_sg_len = len; in qh_urb_transaction()
657 this_qtd_len = qtd_fill(ehci, qtd, buf, this_sg_len, token, in qh_urb_transaction()
659 this_sg_len -= this_qtd_len; in qh_urb_transaction()
675 if (likely(this_sg_len <= 0)) { in qh_urb_transaction()
680 this_sg_len = min_t(int, sg_dma_len(sg), len); in qh_urb_transaction()
Duhci-q.c922 int this_sg_len; in uhci_submit_common() local
953 this_sg_len = min_t(int, sg_dma_len(sg), len); in uhci_submit_common()
957 this_sg_len = len; in uhci_submit_common()
989 this_sg_len -= pktsze; in uhci_submit_common()
991 if (this_sg_len <= 0) { in uhci_submit_common()
996 this_sg_len = min_t(int, sg_dma_len(sg), len); in uhci_submit_common()
Dohci-hcd.c119 int len, i, num, this_sg_len; in number_of_tds() local
129 this_sg_len = min_t(int, sg_dma_len(sg), len); in number_of_tds()
130 num += DIV_ROUND_UP(this_sg_len, 4096); in number_of_tds()
131 len -= this_sg_len; in number_of_tds()
Dfotg210-hcd.c2530 int len, this_sg_len, maxpacket; in qh_urb_transaction() local
2583 this_sg_len = min_t(int, sg_dma_len(sg), len); in qh_urb_transaction()
2587 this_sg_len = len; in qh_urb_transaction()
2604 this_qtd_len = qtd_fill(fotg210, qtd, buf, this_sg_len, token, in qh_urb_transaction()
2606 this_sg_len -= this_qtd_len; in qh_urb_transaction()
2622 if (likely(this_sg_len <= 0)) { in qh_urb_transaction()
2627 this_sg_len = min_t(int, sg_dma_len(sg), len); in qh_urb_transaction()