Searched refs:w1_buf (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/drivers/w1/slaves/ |
H A D | w1_ds2406.c | 36 u8 w1_buf[6]={W1_F12_FUNC_READ_STATUS, 7, 0, 0, 0, 0}; w1_f12_read_state() local 54 w1_write_block(sl->master, w1_buf, 3); w1_f12_read_state() 55 w1_read_block(sl->master, w1_buf+3, 3); w1_f12_read_state() 57 crc=crc16_byte(crc, w1_buf[i]); w1_f12_read_state() 59 *buf=((w1_buf[3]>>5)&3)|0x30; w1_f12_read_state() 74 u8 w1_buf[6]={W1_F12_FUNC_WRITE_STATUS, 7, 0, 0, 0, 0}; w1_f12_write_output() local 89 w1_buf[3] = (((*buf)&3)<<5)|0x1F; w1_f12_write_output() 90 w1_write_block(sl->master, w1_buf, 4); w1_f12_write_output() 91 w1_read_block(sl->master, w1_buf+4, 2); w1_f12_write_output() 93 crc=crc16_byte(crc, w1_buf[i]); w1_f12_write_output()
|
H A D | w1_ds2408.c | 152 u8 w1_buf[3]; output_write() local 167 w1_buf[0] = W1_F29_FUNC_CHANN_ACCESS_WRITE; output_write() 168 w1_buf[1] = *buf; output_write() 169 w1_buf[2] = ~(*buf); output_write() 170 w1_write_block(sl->master, w1_buf, 3); output_write() 192 w1_buf[0] = W1_F29_FUNC_READ_PIO_REGS; output_write() 193 w1_buf[1] = W1_F29_REG_OUTPUT_LATCH_STATE; output_write() 194 w1_buf[2] = 0; output_write() 195 w1_write_block(sl->master, w1_buf, 3); output_write() 253 u8 w1_buf[4]; status_control_write() local 265 w1_buf[0] = W1_F29_FUNC_WRITE_COND_SEARCH_REG; status_control_write() 266 w1_buf[1] = W1_F29_REG_CONTROL_AND_STATUS; status_control_write() 267 w1_buf[2] = 0; status_control_write() 268 w1_buf[3] = *buf; status_control_write() 270 w1_write_block(sl->master, w1_buf, 4); status_control_write() 274 w1_buf[0] = W1_F29_FUNC_READ_PIO_REGS; status_control_write() 275 w1_buf[1] = W1_F29_REG_CONTROL_AND_STATUS; status_control_write() 276 w1_buf[2] = 0; status_control_write() 278 w1_write_block(sl->master, w1_buf, 3); status_control_write()
|
H A D | w1_ds2413.c | 75 u8 w1_buf[3]; output_write() local 93 w1_buf[0] = W1_F3A_FUNC_PIO_ACCESS_WRITE; output_write() 94 w1_buf[1] = *buf; output_write() 95 w1_buf[2] = ~(*buf); output_write() 96 w1_write_block(sl->master, w1_buf, 3); output_write()
|
Completed in 281 milliseconds