Lines Matching defs:buf
65 static int w1_f14_readblock(struct w1_slave *sl, int off, int count, char *buf)
79 w1_read_block(sl->master, buf, count);
87 if (!memcmp(cmp, buf, count))
98 struct bin_attribute *bin_attr, char *buf,
119 if (w1_f14_readblock(sl, off, block_read, buf) < 0)
123 buf += W1_F14_READ_MAXLEN;
205 struct bin_attribute *bin_attr, char *buf,
241 memcpy(&tmp[addr & W1_F14_SCRATCH_MASK], buf, copy);
250 if (w1_f14_write(sl, addr, copy, buf) < 0) {
255 buf += copy;