Home
last modified time | relevance | path

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

/linux/drivers/thermal/
A Dthermal-generic-adc.c29 if (!gti->lookup_table) in gadc_thermal_adc_to_temp()
38 temp = gti->lookup_table[0]; in gadc_thermal_adc_to_temp()
40 temp = gti->lookup_table[2 * (gti->nlookup_table - 1)]; in gadc_thermal_adc_to_temp()
101 if (!gti->lookup_table) in gadc_thermal_read_linear_lookup_table()
127 gti = devm_kzalloc(&pdev->dev, sizeof(*gti), GFP_KERNEL); in gadc_thermal_probe()
128 if (!gti) in gadc_thermal_probe()
132 if (IS_ERR(gti->channel)) { in gadc_thermal_probe()
143 gti->dev = &pdev->dev; in gadc_thermal_probe()
146 gti->tz_dev = devm_thermal_zone_of_sensor_register(&pdev->dev, 0, gti, in gadc_thermal_probe()
148 if (IS_ERR(gti->tz_dev)) { in gadc_thermal_probe()
[all …]

Completed in 4 milliseconds