Lines Matching refs:wrbuf
66 u8 wrbuf[3]; in w1_f2d_readblock() local
71 wrbuf[0] = W1_F2D_READ_EEPROM; in w1_f2d_readblock()
72 wrbuf[1] = off & 0xff; in w1_f2d_readblock()
73 wrbuf[2] = off >> 8; in w1_f2d_readblock()
78 w1_write_block(sl->master, wrbuf, 3); in w1_f2d_readblock()
84 w1_write_block(sl->master, wrbuf, 3); in w1_f2d_readblock()
148 u8 wrbuf[4]; in w1_f2d_write() local
158 wrbuf[0] = W1_F2D_WRITE_SCRATCH; in w1_f2d_write()
159 wrbuf[1] = addr & 0xff; in w1_f2d_write()
160 wrbuf[2] = addr >> 8; in w1_f2d_write()
162 w1_write_block(sl->master, wrbuf, 3); in w1_f2d_write()
173 if ((rdbuf[0] != wrbuf[1]) || (rdbuf[1] != wrbuf[2]) || in w1_f2d_write()
190 wrbuf[0] = W1_F2D_COPY_SCRATCH; in w1_f2d_write()
191 wrbuf[3] = es; in w1_f2d_write()
192 w1_write_block(sl->master, wrbuf, 4); in w1_f2d_write()