Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/thermal/ti-soc-thermal/
H A Domap4-thermal-data.c64 .conv_table = omap4430_adc_to_temp,
194 .conv_table = omap4460_adc_to_temp,
225 .conv_table = omap4460_adc_to_temp,
H A Domap3-thermal-data.c72 .conv_table = omap34xx_adc_to_temp,
140 .conv_table = omap36xx_adc_to_temp,
H A Domap5-thermal-data.c273 .conv_table = omap5430_adc_to_temp,
H A Dti-bandgap.h323 const int *conv_table; member
H A Ddra752-thermal-data.c327 .conv_table = dra752_adc_to_temp,
H A Dti-bandgap.c300 *t = bgp->conf->conv_table[adc_val - conf->adc_start_val]; in ti_bandgap_adc_to_mcelsius()
/OK3568_Linux_fs/kernel/drivers/media/tuners/
H A Dqm1d1c0042.c167 static const u32 conv_table[9][3] = { variable
200 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()
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/
H A Drockchip_opp_select.c90 static const struct lkg_conversion_table conv_table[] = { variable
466 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 …]