Searched refs:W1_PAGE_SIZE (Results 1 - 1 of 1) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/w1/slaves/
H A Dw1_ds2433.c35 #define W1_PAGE_SIZE 32 macro
71 int off = block * W1_PAGE_SIZE;
85 w1_read_block(sl->master, &data->memory[off], W1_PAGE_SIZE);
88 if (crc16(CRC16_INIT, &data->memory[off], W1_PAGE_SIZE) == CRC16_VALID)
154 * @param len length must be <= (W1_PAGE_SIZE - (addr & W1_PAGE_MASK))
164 u8 rdbuf[W1_PAGE_SIZE + 3];
228 for (idx = 0; idx < count; idx += W1_PAGE_SIZE) {
229 if (crc16(CRC16_INIT, &buf[idx], W1_PAGE_SIZE) != CRC16_VALID) {
242 len = W1_PAGE_SIZE - (addr & W1_PAGE_MASK);

Completed in 66 milliseconds