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()128 gti = devm_kzalloc(&pdev->dev, sizeof(*gti), GFP_KERNEL); in gadc_thermal_probe()129 if (!gti) in gadc_thermal_probe()133 if (IS_ERR(gti->channel)) { in gadc_thermal_probe()144 gti->dev = &pdev->dev; in gadc_thermal_probe()146 gti->tz_dev = devm_thermal_of_zone_register(&pdev->dev, 0, gti, in gadc_thermal_probe()148 if (IS_ERR(gti->tz_dev)) { in gadc_thermal_probe()[all …]