Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/w1/slaves/
H A Dw1_ds2438.c29 #define DS2438_PAGE_SIZE 8 macro
81 count = w1_read_block(sl->master, buf, DS2438_PAGE_SIZE + 1); in w1_ds2438_get_page()
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()
198 u8 w1_page1_buf[DS2438_PAGE_SIZE + 1 /*for CRC*/]; in w1_ds2438_change_offset_register()
201 memcpy(&w1_buf[2], w1_page1_buf, DS2438_PAGE_SIZE - 1); /* last register reserved */ in w1_ds2438_change_offset_register()
226 u8 w1_buf[DS2438_PAGE_SIZE + 1 /*for CRC*/]; in w1_ds2438_get_voltage()
273 u8 w1_buf[DS2438_PAGE_SIZE in w1_ds2438_get_current()
[all...]
/kernel/linux/linux-5.10/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...]

Completed in 2 milliseconds