Lines Matching refs:wrbuf
64 u8 wrbuf[3]; in w1_f23_refresh_block() local
75 wrbuf[0] = W1_F23_READ_EEPROM; in w1_f23_refresh_block()
76 wrbuf[1] = off & 0xff; in w1_f23_refresh_block()
77 wrbuf[2] = off >> 8; in w1_f23_refresh_block()
78 w1_write_block(sl->master, wrbuf, 3); in w1_f23_refresh_block()
98 u8 wrbuf[3]; in eeprom_read() local
126 wrbuf[0] = W1_F23_READ_EEPROM; in eeprom_read()
127 wrbuf[1] = off & 0xff; in eeprom_read()
128 wrbuf[2] = off >> 8; in eeprom_read()
129 w1_write_block(sl->master, wrbuf, 3); in eeprom_read()
157 u8 wrbuf[4]; in w1_f23_write() local
165 wrbuf[0] = W1_F23_WRITE_SCRATCH; in w1_f23_write()
166 wrbuf[1] = addr & 0xff; in w1_f23_write()
167 wrbuf[2] = addr >> 8; in w1_f23_write()
169 w1_write_block(sl->master, wrbuf, 3); in w1_f23_write()
180 if ((rdbuf[0] != wrbuf[1]) || (rdbuf[1] != wrbuf[2]) || in w1_f23_write()
188 wrbuf[0] = W1_F23_COPY_SCRATCH; in w1_f23_write()
189 wrbuf[3] = es; in w1_f23_write()
190 w1_write_block(sl->master, wrbuf, 4); in w1_f23_write()