Searched refs:W1_PAGE_SIZE (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/w1/slaves/ |
H A D | w1_ds2433.c | 36 #define W1_PAGE_SIZE 32 macro 72 int off = block * W1_PAGE_SIZE; w1_f23_refresh_block() 86 w1_read_block(sl->master, &data->memory[off], W1_PAGE_SIZE); w1_f23_refresh_block() 89 if (crc16(CRC16_INIT, &data->memory[off], W1_PAGE_SIZE) == CRC16_VALID) w1_f23_refresh_block() 155 * @param len length must be <= (W1_PAGE_SIZE - (addr & W1_PAGE_MASK)) 165 u8 rdbuf[W1_PAGE_SIZE + 3]; w1_f23_write() 229 for (idx = 0; idx < count; idx += W1_PAGE_SIZE) { eeprom_write() 230 if (crc16(CRC16_INIT, &buf[idx], W1_PAGE_SIZE) != CRC16_VALID) { eeprom_write() 243 len = W1_PAGE_SIZE - (addr & W1_PAGE_MASK); eeprom_write()
|
H A D | w1_ds28e04.c | 46 #define W1_PAGE_SIZE 32 macro 82 int off = block * W1_PAGE_SIZE; w1_f1C_refresh_block() 96 w1_read_block(sl->master, &data->memory[off], W1_PAGE_SIZE); w1_f1C_refresh_block() 99 if (crc16(CRC16_INIT, &data->memory[off], W1_PAGE_SIZE) == CRC16_VALID) w1_f1C_refresh_block() 163 * @param len length must be <= (W1_PAGE_SIZE - (addr & W1_PAGE_MASK)) 170 u8 rdbuf[W1_PAGE_SIZE + 3]; w1_f1C_write() 250 for (idx = 0; idx < count; idx += W1_PAGE_SIZE) { eeprom_write() 251 if (crc16(CRC16_INIT, &buf[idx], W1_PAGE_SIZE) eeprom_write() 266 len = W1_PAGE_SIZE - (addr & W1_PAGE_MASK); eeprom_write()
|
Completed in 163 milliseconds