Home
last modified time | relevance | path

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

/openbmc/linux/drivers/w1/slaves/
H A Dw1_ds2805.c25 #define W1_F0D_SCRATCH_SIZE (1<<W1_F0D_SCRATCH_BITS) macro
26 #define W1_F0D_SCRATCH_MASK (W1_F0D_SCRATCH_SIZE-1)
148 u8 rdbuf[W1_F0D_SCRATCH_SIZE]; in w1_f0d_write()
222 if (len < W1_F0D_SCRATCH_SIZE || addr & W1_F0D_SCRATCH_MASK) { in w1_f0d_write_bin()
223 char tmp[W1_F0D_SCRATCH_SIZE]; in w1_f0d_write_bin()
227 W1_F0D_SCRATCH_SIZE, tmp)) { in w1_f0d_write_bin()
233 copy = W1_F0D_SCRATCH_SIZE - in w1_f0d_write_bin()
241 W1_F0D_SCRATCH_SIZE, tmp) < 0) { in w1_f0d_write_bin()
247 copy = W1_F0D_SCRATCH_SIZE; in w1_f0d_write_bin()