Lines Matching refs:w1_buf
142 u8 w1_buf[3]; in optional_read_back_valid() local
147 w1_buf[0] = W1_F29_FUNC_READ_PIO_REGS; in optional_read_back_valid()
148 w1_buf[1] = W1_F29_REG_OUTPUT_LATCH_STATE; in optional_read_back_valid()
149 w1_buf[2] = 0; in optional_read_back_valid()
151 w1_write_block(sl->master, w1_buf, 3); in optional_read_back_valid()
167 u8 w1_buf[3]; in output_write() local
182 w1_buf[0] = W1_F29_FUNC_CHANN_ACCESS_WRITE; in output_write()
183 w1_buf[1] = *buf; in output_write()
184 w1_buf[2] = ~(*buf); in output_write()
186 w1_write_block(sl->master, w1_buf, 3); in output_write()
247 u8 w1_buf[4]; in status_control_write() local
259 w1_buf[0] = W1_F29_FUNC_WRITE_COND_SEARCH_REG; in status_control_write()
260 w1_buf[1] = W1_F29_REG_CONTROL_AND_STATUS; in status_control_write()
261 w1_buf[2] = 0; in status_control_write()
262 w1_buf[3] = *buf; in status_control_write()
264 w1_write_block(sl->master, w1_buf, 4); in status_control_write()
268 w1_buf[0] = W1_F29_FUNC_READ_PIO_REGS; in status_control_write()
269 w1_buf[1] = W1_F29_REG_CONTROL_AND_STATUS; in status_control_write()
270 w1_buf[2] = 0; in status_control_write()
272 w1_write_block(sl->master, w1_buf, 3); in status_control_write()