Lines Matching defs:buf
519 dbg_status_buf(char *buf, unsigned len, const char *label, u32 status)
521 return scnprintf(buf, len, "%s%sstatus %04x%s%s%s%s%s%s%s%s%s%s",
537 dbg_intr_buf(char *buf, unsigned len, const char *label, u32 enable)
539 return scnprintf(buf, len, "%s%sintrenable %02x%s%s%s%s%s%s",
553 static int dbg_command_buf(char *buf, unsigned len,
556 return scnprintf(buf, len,
572 static int dbg_port_buf(char *buf, unsigned len, const char *label,
593 return scnprintf(buf, len,
614 dbg_status_buf(char *buf, unsigned len, const char *label, u32 status)
618 dbg_command_buf(char *buf, unsigned len, const char *label, u32 command)
622 dbg_intr_buf(char *buf, unsigned len, const char *label, u32 enable)
626 dbg_port_buf(char *buf, unsigned len, const char *label, int port, u32 status)
673 char *buf, u16 wLength);
1206 static int qtd_fill(struct ehci_qtd *qtd, dma_addr_t buf, size_t len,
1210 u64 addr = buf;
1215 count = 0x1000 - (buf & 0x0fff); /* rest of that page */
1219 buf += 0x1000;
1220 buf &= ~0x0fff;
1224 addr = buf;
1227 buf += 0x1000;
1619 dma_addr_t buf;
1678 buf = qtd->buffer_dma;
1698 this_qtd_len = qtd_fill(qtd, buf, len, token, maxpacket);
1701 buf += this_qtd_len;
3488 static int oxu_hub_status_data(struct usb_hcd *hcd, char *buf)
3500 buf[0] = 0;
3503 buf[1] = 0;
3537 buf[0] |= 1 << (i + 1);
3539 buf[1] |= 1 << (i - 7);
3565 u16 wValue, u16 wIndex, char *buf, u16 wLength)
3651 buf);
3655 memset(buf, 0, 4);
3769 put_unaligned(cpu_to_le32(status), (__le32 *) buf);