Lines Matching defs:wrbuf
70 u8 wrbuf[3];
81 wrbuf[0] = W1_F23_READ_EEPROM;
82 wrbuf[1] = off & 0xff;
83 wrbuf[2] = off >> 8;
84 w1_write_block(sl->master, wrbuf, 3);
104 u8 wrbuf[3];
132 wrbuf[0] = W1_F23_READ_EEPROM;
133 wrbuf[1] = off & 0xff;
134 wrbuf[2] = off >> 8;
135 w1_write_block(sl->master, wrbuf, 3);
163 u8 wrbuf[4];
171 wrbuf[0] = W1_F23_WRITE_SCRATCH;
172 wrbuf[1] = addr & 0xff;
173 wrbuf[2] = addr >> 8;
175 w1_write_block(sl->master, wrbuf, 3);
186 if ((rdbuf[0] != wrbuf[1]) || (rdbuf[1] != wrbuf[2]) ||
194 wrbuf[0] = W1_F23_COPY_SCRATCH;
195 wrbuf[3] = es;
196 w1_write_block(sl->master, wrbuf, 4);