Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/w1/slaves/
H A Dw1_therm.c115 #define SLAVE_RESOLUTION(sl) \ macro
541 switch (SLAVE_RESOLUTION(sl)) { in w1_DS18B20_convert_time()
967 SLAVE_RESOLUTION(sl) = in w1_therm_add_slave()
969 if (SLAVE_RESOLUTION(sl) < 0) { in w1_therm_add_slave()
973 __func__, SLAVE_RESOLUTION(sl)); in w1_therm_add_slave()
1611 SLAVE_RESOLUTION(sl) = val; in w1_slave_store()
1690 SLAVE_RESOLUTION(sl) = SLAVE_SPECIFIC_FUNC(sl)->get_resolution(sl); in resolution_show()
1691 if (SLAVE_RESOLUTION(sl) < 0) { in resolution_show()
1694 __func__, SLAVE_RESOLUTION(sl)); in resolution_show()
1697 return sprintf(buf, "%d\n", SLAVE_RESOLUTION(sl)); in resolution_show()
[all …]