Lines Matching refs:addr
144 * @addr: Address for the write
145 * @len: length must be <= (W1_PAGE_SIZE - (addr & W1_PAGE_MASK))
154 static int w1_f23_write(struct w1_slave *sl, int addr, int len, const u8 *data)
161 u8 es = (addr + len - 1) & 0x1f;
168 wrbuf[1] = addr & 0xff;
169 wrbuf[2] = addr >> 8;
200 f23->validcrc &= ~(1 << (addr >> W1_PAGE_BITS));
210 int addr, len, idx;
238 addr = off + idx;
239 len = W1_PAGE_SIZE - (addr & W1_PAGE_MASK);
243 if (w1_f23_write(sl, addr, len, &buf[idx]) < 0) {