Searched refs:W1_F2D_SCRATCH_SIZE (Results 1 – 1 of 1) sorted by relevance
28 #define W1_F2D_SCRATCH_SIZE (1<<W1_F2D_SCRATCH_BITS) macro29 #define W1_F2D_SCRATCH_MASK (W1_F2D_SCRATCH_SIZE-1)149 u8 rdbuf[W1_F2D_SCRATCH_SIZE + 3]; in w1_f2d_write()150 u8 es = (addr + len - 1) % W1_F2D_SCRATCH_SIZE; in w1_f2d_write()223 if (len < W1_F2D_SCRATCH_SIZE || addr & W1_F2D_SCRATCH_MASK) { in eeprom_write()224 char tmp[W1_F2D_SCRATCH_SIZE]; in eeprom_write()228 W1_F2D_SCRATCH_SIZE, tmp)) { in eeprom_write()234 copy = W1_F2D_SCRATCH_SIZE - in eeprom_write()242 W1_F2D_SCRATCH_SIZE, tmp) < 0) { in eeprom_write()248 copy = W1_F2D_SCRATCH_SIZE; in eeprom_write()
Completed in 3 milliseconds