Lines Matching defs:buf
57 static inline int get_hub_status_data(struct uhci_hcd *uhci, char *buf)
71 *buf = 0;
75 *buf |= (1 << (port + 1));
77 return !!*buf;
186 static int uhci_hub_status_data(struct usb_hcd *hcd, char *buf)
199 status = get_hub_status_data(uhci, buf);
244 u16 wIndex, char *buf, u16 wLength)
260 *(__le32 *)buf = cpu_to_le32(0);
313 *(__le16 *)buf = cpu_to_le16(wPortStatus);
314 *(__le16 *)(buf + 2) = cpu_to_le16(wPortChange);
410 memcpy(buf, root_hub_hub_des, retval);
412 buf[2] = uhci->rh_numports;