Home
last modified time | relevance | path

Searched refs:W1_F14_SCRATCH_SIZE (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/w1/slaves/
H A Dw1_ds2430.c30 #define W1_F14_SCRATCH_SIZE (1 << W1_F14_SCRATCH_BITS) macro
31 #define W1_F14_SCRATCH_MASK (W1_F14_SCRATCH_SIZE-1)
41 #define W1_F14_READ_MAXLEN W1_F14_SCRATCH_SIZE
149 u8 rdbuf[W1_F14_SCRATCH_SIZE + 3]; in w1_f14_write()
224 if (len < W1_F14_SCRATCH_SIZE || addr & W1_F14_SCRATCH_MASK) { in eeprom_write()
225 char tmp[W1_F14_SCRATCH_SIZE]; in eeprom_write()
229 W1_F14_SCRATCH_SIZE, tmp)) { in eeprom_write()
235 copy = W1_F14_SCRATCH_SIZE - in eeprom_write()
243 W1_F14_SCRATCH_SIZE, tmp) < 0) { in eeprom_write()
249 copy = W1_F14_SCRATCH_SIZE; in eeprom_write()