Searched refs:W1_F2D_SCRATCH_SIZE (Results 1 – 1 of 1) sorted by relevance
30 #define W1_F2D_SCRATCH_SIZE (1<<W1_F2D_SCRATCH_BITS) macro31 #define W1_F2D_SCRATCH_MASK (W1_F2D_SCRATCH_SIZE-1)151 u8 rdbuf[W1_F2D_SCRATCH_SIZE + 3]; in w1_f2d_write()152 u8 es = (addr + len - 1) % W1_F2D_SCRATCH_SIZE; in w1_f2d_write()225 if (len < W1_F2D_SCRATCH_SIZE || addr & W1_F2D_SCRATCH_MASK) { in eeprom_write()226 char tmp[W1_F2D_SCRATCH_SIZE]; in eeprom_write()230 W1_F2D_SCRATCH_SIZE, tmp)) { in eeprom_write()236 copy = W1_F2D_SCRATCH_SIZE - in eeprom_write()244 W1_F2D_SCRATCH_SIZE, tmp) < 0) { in eeprom_write()250 copy = W1_F2D_SCRATCH_SIZE; in eeprom_write()