Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/w1/slaves/
H A Dw1_ds2438.c29 #define DS2438_PAGE_SIZE 8 macro
74 count = w1_read_block(sl->master, buf, DS2438_PAGE_SIZE + 1); in w1_ds2438_get_page()
75 if (count == DS2438_PAGE_SIZE + 1) { in w1_ds2438_get_page()
76 crc = w1_calc_crc8(buf, DS2438_PAGE_SIZE); in w1_ds2438_get_page()
79 if ((u8)buf[DS2438_PAGE_SIZE] == crc) in w1_ds2438_get_page()
89 u8 w1_buf[DS2438_PAGE_SIZE + 1 /*for CRC*/]; in w1_ds2438_get_temperature()
191 u8 w1_buf[DS2438_PAGE_SIZE + 1 /*for CRC*/]; in w1_ds2438_get_voltage()
238 u8 w1_buf[DS2438_PAGE_SIZE + 1 /*for CRC*/]; in w1_ds2438_get_current()
304 u8 w1_buf[DS2438_PAGE_SIZE + 1 /*for CRC*/]; in page0_read()
314 if (count > DS2438_PAGE_SIZE) in page0_read()
[all …]