Home
last modified time | relevance | path

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

/Linux-v6.6/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.c584 int len, this_sg_len, maxpacket; in qh_urb_transaction() local
637 this_sg_len = min_t(int, sg_dma_len(sg), len); in qh_urb_transaction()
641 this_sg_len = len; in qh_urb_transaction()
658 this_qtd_len = qtd_fill(ehci, qtd, buf, this_sg_len, token, in qh_urb_transaction()
660 this_sg_len -= this_qtd_len; in qh_urb_transaction()
676 if (likely(this_sg_len <= 0)) { in qh_urb_transaction()
681 this_sg_len = min_t(int, sg_dma_len(sg), len); in qh_urb_transaction()
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()
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()
/Linux-v6.6/drivers/usb/fotg210/
Dfotg210-hcd.c2534 int len, this_sg_len, maxpacket; in qh_urb_transaction() local
2587 this_sg_len = min_t(int, sg_dma_len(sg), len); in qh_urb_transaction()
2591 this_sg_len = len; in qh_urb_transaction()
2608 this_qtd_len = qtd_fill(fotg210, qtd, buf, this_sg_len, token, in qh_urb_transaction()
2610 this_sg_len -= this_qtd_len; in qh_urb_transaction()
2626 if (likely(this_sg_len <= 0)) { in qh_urb_transaction()
2631 this_sg_len = min_t(int, sg_dma_len(sg), len); in qh_urb_transaction()