Home
last modified time | relevance | path

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

/openbmc/linux/drivers/w1/slaves/
H A Dw1_ds2430.c31 #define W1_F14_SCRATCH_MASK (W1_F14_SCRATCH_SIZE-1) macro
224 if (len < W1_F14_SCRATCH_SIZE || addr & W1_F14_SCRATCH_MASK) { in eeprom_write()
228 if (w1_f14_readblock(sl, addr & ~W1_F14_SCRATCH_MASK, in eeprom_write()
236 (addr & W1_F14_SCRATCH_MASK); in eeprom_write()
241 memcpy(&tmp[addr & W1_F14_SCRATCH_MASK], buf, copy); in eeprom_write()
242 if (w1_f14_write(sl, addr & ~W1_F14_SCRATCH_MASK, in eeprom_write()