Lines Matching defs:buf
20 unsigned char buf[32], *bp;
26 else if (len > sizeof(buf))
27 len = sizeof(buf);
28 memset(buf, 0, sizeof buf);
30 status = read(fd, buf, len);
41 buf[0], buf[1]);
43 bp = buf + 2;
52 unsigned char buf[32], *bp;
56 memset(buf, 0, sizeof buf);
58 if (len > sizeof buf)
59 len = sizeof buf;
61 buf[0] = 0xaa;
62 xfer[0].tx_buf = (unsigned long)buf;
65 xfer[1].rx_buf = (unsigned long) buf;
75 for (bp = buf; len; len--)