Home
last modified time | relevance | path

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

/openbmc/linux/drivers/w1/slaves/
H A Dw1_ds2438.c29 #define DS2438_PAGE_SIZE 8 macro
82 if (count == DS2438_PAGE_SIZE + 1) { in w1_ds2438_get_page()
83 crc = w1_calc_crc8(buf, DS2438_PAGE_SIZE); in w1_ds2438_get_page()
86 if ((u8)buf[DS2438_PAGE_SIZE] == crc) in w1_ds2438_get_page()
96 u8 w1_buf[DS2438_PAGE_SIZE + 1 /*for CRC*/]; in w1_ds2438_get_temperature()
226 u8 w1_buf[DS2438_PAGE_SIZE + 1 /*for CRC*/]; in w1_ds2438_get_voltage()
349 if (count > DS2438_PAGE_SIZE) in page0_read()
350 count = DS2438_PAGE_SIZE; in page0_read()
379 if (count > DS2438_PAGE_SIZE) in page1_read()
380 count = DS2438_PAGE_SIZE; in page1_read()
[all …]