Lines Matching defs:buf
147 wrmsg[i].buf = wr_buf;
154 wrmsg[i].buf = rd_buf;
168 u8 *buf, int buflen)
174 crc ^= buf[i];
176 if (crc != buf[buflen-1]) {
179 crc, buf[buflen-1]);
245 u8 *buf = &rdbuf[i * tplen + offset];
247 type = buf[0] >> 6;
256 x = get_unaligned_be16(buf) & 0x0fff;
257 y = get_unaligned_be16(buf + 2) & 0x0fff;
262 id = (buf[2] >> 4) & 0x0f;
377 char *buf)
436 count = scnprintf(buf, PAGE_SIZE, "%d\n", val);
444 const char *buf, size_t count)
462 error = kstrtouint(buf, 0, &val);
698 char __user *buf, size_t count, loff_t *off)
764 if (copy_to_user(buf, tsdata->raw_buffer + *off, read)) {
1076 u8 buf[2] = { 0xfc, 0x00 };
1184 edt_ft5x06_ts_readwrite(tsdata->client, 2, buf, 2, buf);