Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dcpcap-adc.c75 #define CPCAP_MAX_TEMP_LVL 27 macro
304 static const int temp_map[CPCAP_MAX_TEMP_LVL][2] = {
717 if (value <= temp_map[CPCAP_MAX_TEMP_LVL - 1][0]) in cpcap_adc_table_to_millicelcius()
718 return temp_map[CPCAP_MAX_TEMP_LVL - 1][1]; in cpcap_adc_table_to_millicelcius()
723 for (i = 0; i < CPCAP_MAX_TEMP_LVL - 1; i++) { in cpcap_adc_table_to_millicelcius()