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