Searched refs:conv_table (Results 1 – 8 of 8) sorted by relevance
64 .conv_table = omap4430_adc_to_temp,194 .conv_table = omap4460_adc_to_temp,225 .conv_table = omap4460_adc_to_temp,
72 .conv_table = omap34xx_adc_to_temp,140 .conv_table = omap36xx_adc_to_temp,
273 .conv_table = omap5430_adc_to_temp,
323 const int *conv_table; member
327 .conv_table = dra752_adc_to_temp,
300 *t = bgp->conf->conv_table[adc_val - conf->adc_start_val]; in ti_bandgap_adc_to_mcelsius()
167 static const u32 conv_table[9][3] = { variable200 if (freq < conv_table[i][0] && freq >= conv_table[i + 1][0]) { in qm1d1c0042_set_params()201 val |= conv_table[i][1] << 7; in qm1d1c0042_set_params()202 val |= conv_table[i][2] << 4; in qm1d1c0042_set_params()
90 static const struct lkg_conversion_table conv_table[] = { variable466 high = ARRAY_SIZE(conv_table) - 1; in temp_to_conversion_rate()470 if (temp <= conv_table[low].temp) in temp_to_conversion_rate()471 return conv_table[low].conv; in temp_to_conversion_rate()472 if (temp >= conv_table[high].temp) in temp_to_conversion_rate()473 return conv_table[high].conv; in temp_to_conversion_rate()476 if (temp <= conv_table[mid].temp && temp > in temp_to_conversion_rate()477 conv_table[mid - 1].temp) { in temp_to_conversion_rate()478 return conv_table[mid - 1].conv + in temp_to_conversion_rate()479 (conv_table[mid].conv - conv_table[mid - 1].conv) * in temp_to_conversion_rate()[all …]