Lines Matching refs:buf
677 ehci_hub_status_data (struct usb_hcd *hcd, char *buf) in ehci_hub_status_data() argument
685 buf [0] = 0; in ehci_hub_status_data()
688 buf [1] = 0; in ehci_hub_status_data()
873 buf [0] |= 1 << (i + 1); in ehci_hub_status_data()
972 buf [1] |= 1 << (i - 7); in ehci_hub_status_data()
1257 char *buf, in ehci_hub_control() argument
1484 buf); in ehci_hub_control()
1488 memset (buf, 0, 4); in ehci_hub_control()
1697 *((U32 *) buf) = CPUToLE32(status); in ehci_hub_control()
1699 *buf = CPUToLE32(status); in ehci_hub_control()
1700 *(buf+1) = CPUToLE32(status) >> 8; in ehci_hub_control()
1701 *(buf+2) = CPUToLE32(status) >> 16; in ehci_hub_control()
1702 *(buf+3) = CPUToLE32(status) >> 24; in ehci_hub_control()
1942 qtd_fill (struct ehci_qtd *qtd, dma_addr_t buf, size_t len, in qtd_fill() argument
1947 cyg_uint64 addr = buf; in qtd_fill()
2005 count = 0x1000 - (buf & 0x0fff); /* rest of that page */ in qtd_fill()
2009 buf += 0x1000; in qtd_fill()
2010 buf &= ~0x0fff; in qtd_fill()
2014 addr = buf; in qtd_fill()
2018 buf += 0x1000; in qtd_fill()
3564 dma_addr_t buf; in qh_urb_transaction() local
3842 buf = urb->transfer_dma; in qh_urb_transaction()
3844 buf = 0; in qh_urb_transaction()
3846 if (!buf || is_input) in qh_urb_transaction()
3921 this_qtd_len = qtd_fill (qtd, buf, len, token, maxpacket); in qh_urb_transaction()
3923 buf += this_qtd_len; in qh_urb_transaction()
4092 if (likely (buf != 0)) { in qh_urb_transaction()
9438 extern int ehci_hub_status_data (struct usb_hcd *hcd, char *buf);
9439 …t usb_hcd *hcd, U16 typeReq, U16 wValue, U16 wIndex, char *buf, U16 wLength) ;
9859 dma_addr_t buf; in qh_urb_transaction_EHSET() local
9989 buf = urb->transfer_dma; in qh_urb_transaction_EHSET()
9991 buf = 0; in qh_urb_transaction_EHSET()
9993 if (!buf || is_input) in qh_urb_transaction_EHSET()
10061 this_qtd_len = qtd_fill (qtd, buf, len, token, maxpacket); in qh_urb_transaction_EHSET()
10063 buf += this_qtd_len; in qh_urb_transaction_EHSET()
10230 if (likely (buf != 0)) { in qh_urb_transaction_EHSET()