Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/w1/slaves/
Dw1_ds2431.c29 #define W1_F2D_SCRATCH_MASK (W1_F2D_SCRATCH_SIZE-1) macro
223 if (len < W1_F2D_SCRATCH_SIZE || addr & W1_F2D_SCRATCH_MASK) { in eeprom_write()
227 if (w1_f2d_readblock(sl, addr & ~W1_F2D_SCRATCH_MASK, in eeprom_write()
235 (addr & W1_F2D_SCRATCH_MASK); in eeprom_write()
240 memcpy(&tmp[addr & W1_F2D_SCRATCH_MASK], buf, copy); in eeprom_write()
241 if (w1_f2d_write(sl, addr & ~W1_F2D_SCRATCH_MASK, in eeprom_write()