Searched refs:W1_PAGE_SIZE (Results 1 – 2 of 2) sorted by relevance
| /Linux-v4.19/drivers/w1/slaves/ |
| D | w1_ds2433.c | 31 #define W1_PAGE_SIZE 32 macro 67 int off = block * W1_PAGE_SIZE; in w1_f23_refresh_block() 81 w1_read_block(sl->master, &data->memory[off], W1_PAGE_SIZE); in w1_f23_refresh_block() 84 if (crc16(CRC16_INIT, &data->memory[off], W1_PAGE_SIZE) == CRC16_VALID) in w1_f23_refresh_block() 160 u8 rdbuf[W1_PAGE_SIZE + 3]; in w1_f23_write() 224 for (idx = 0; idx < count; idx += W1_PAGE_SIZE) { in eeprom_write() 225 if (crc16(CRC16_INIT, &buf[idx], W1_PAGE_SIZE) != CRC16_VALID) { in eeprom_write() 238 len = W1_PAGE_SIZE - (addr & W1_PAGE_MASK); in eeprom_write()
|
| D | w1_ds28e04.c | 41 #define W1_PAGE_SIZE 32 macro 77 int off = block * W1_PAGE_SIZE; in w1_f1C_refresh_block() 91 w1_read_block(sl->master, &data->memory[off], W1_PAGE_SIZE); in w1_f1C_refresh_block() 94 if (crc16(CRC16_INIT, &data->memory[off], W1_PAGE_SIZE) == CRC16_VALID) in w1_f1C_refresh_block() 165 u8 rdbuf[W1_PAGE_SIZE + 3]; in w1_f1C_write() 245 for (idx = 0; idx < count; idx += W1_PAGE_SIZE) { in eeprom_write() 246 if (crc16(CRC16_INIT, &buf[idx], W1_PAGE_SIZE) in eeprom_write() 261 len = W1_PAGE_SIZE - (addr & W1_PAGE_MASK); in eeprom_write()
|