Searched refs:DS2438_PAGE_SIZE (Results 1 – 1 of 1) sorted by relevance
31 #define DS2438_PAGE_SIZE 8 macro76 count = w1_read_block(sl->master, buf, DS2438_PAGE_SIZE + 1); in w1_ds2438_get_page()77 if (count == DS2438_PAGE_SIZE + 1) { in w1_ds2438_get_page()78 crc = w1_calc_crc8(buf, DS2438_PAGE_SIZE); in w1_ds2438_get_page()81 if ((u8)buf[DS2438_PAGE_SIZE] == crc) in w1_ds2438_get_page()91 u8 w1_buf[DS2438_PAGE_SIZE + 1 /*for CRC*/]; in w1_ds2438_get_temperature()193 u8 w1_buf[DS2438_PAGE_SIZE + 1 /*for CRC*/]; in w1_ds2438_get_voltage()266 u8 w1_buf[DS2438_PAGE_SIZE + 1 /*for CRC*/]; in page0_read()276 memcpy(buf, &w1_buf, DS2438_PAGE_SIZE); in page0_read()277 ret = DS2438_PAGE_SIZE; in page0_read()[all …]