Searched refs:gti (Results 1 – 1 of 1) sorted by relevance
31 if (!gti->lookup_table) in gadc_thermal_adc_to_temp()40 temp = gti->lookup_table[0]; in gadc_thermal_adc_to_temp()42 temp = gti->lookup_table[2 * (gti->nlookup_table - 1)]; in gadc_thermal_adc_to_temp()102 if (!gti->lookup_table) in gadc_thermal_read_linear_lookup_table()129 gti = devm_kzalloc(dev, sizeof(*gti), GFP_KERNEL); in gadc_thermal_probe()130 if (!gti) in gadc_thermal_probe()134 if (IS_ERR(gti->channel)) in gadc_thermal_probe()141 gti->dev = dev; in gadc_thermal_probe()143 gti->tz_dev = devm_thermal_of_zone_register(dev, 0, gti, in gadc_thermal_probe()145 if (IS_ERR(gti->tz_dev)) { in gadc_thermal_probe()[all …]