Searched refs:DS2438_PAGE_SIZE (Results 1 – 1 of 1) sorted by relevance
29 #define DS2438_PAGE_SIZE 8 macro83 count = w1_read_block(sl->master, buf, DS2438_PAGE_SIZE + 1); in w1_ds2438_get_page()84 if (count == DS2438_PAGE_SIZE + 1) { in w1_ds2438_get_page()85 crc = w1_calc_crc8(buf, DS2438_PAGE_SIZE); in w1_ds2438_get_page()88 if ((u8)buf[DS2438_PAGE_SIZE] == crc) in w1_ds2438_get_page()98 u8 w1_buf[DS2438_PAGE_SIZE + 1 /*for CRC*/]; in w1_ds2438_get_temperature()200 u8 w1_page1_buf[DS2438_PAGE_SIZE + 1 /*for CRC*/]; in w1_ds2438_change_offset_register()203 memcpy(&w1_buf[2], w1_page1_buf, DS2438_PAGE_SIZE - 1); /* last register reserved */ in w1_ds2438_change_offset_register()228 u8 w1_buf[DS2438_PAGE_SIZE + 1 /*for CRC*/]; in w1_ds2438_get_voltage()275 u8 w1_buf[DS2438_PAGE_SIZE + 1 /*for CRC*/]; in w1_ds2438_get_current()[all …]