Searched refs:btemp (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/hwmon/
H A Dab8500.c44 struct ab8500_btemp *btemp; member in struct:ab8500_temp
86 *temp = ab8500_btemp_get_batctrl_temp(ab8500_data->btemp); ab8500_read_sensor()
88 *temp = ab8500_btemp_get_temp(ab8500_data->btemp); ab8500_read_sensor()
171 ab8500_data->btemp = ab8500_btemp_get(); abx500_hwmon_init()
172 if (IS_ERR(ab8500_data->btemp)) abx500_hwmon_init()
173 return PTR_ERR(ab8500_data->btemp); abx500_hwmon_init()
/linux-4.4.14/drivers/power/
H A Dab8500_btemp.c126 struct ab8500_btemp *btemp; ab8500_btemp_get() local
127 btemp = list_first_entry(&ab8500_btemp_list, struct ab8500_btemp, node); ab8500_btemp_get()
129 return btemp; ab8500_btemp_get()
706 dev_dbg(di->dev, "Ignore false btemp low irq" ab8500_btemp_templow_handler()
856 * @btemp: pointer to the btemp structure
860 int ab8500_btemp_get_batctrl_temp(struct ab8500_btemp *btemp) ab8500_btemp_get_batctrl_temp() argument
862 return btemp->bat_temp * 1000; ab8500_btemp_get_batctrl_temp()
867 * ab8500_btemp_get_property() - get the btemp properties
872 * This function gets called when an application tries to get the btemp
984 * supply to the btemp.
994 /* ab8500 btemp driver interrupts and their respective isr */
1101 /* Create a work queue for the btemp */ ab8500_btemp_probe()
1186 { .compatible = "stericsson,ab8500-btemp", },
1196 .name = "ab8500-btemp",
1216 MODULE_ALIAS("platform:ab8500-btemp");
H A Daxp288_fuel_gauge.c503 static int fuel_gauge_get_btemp(struct axp288_fg_info *info, int *btemp) fuel_gauge_get_btemp() argument
511 *btemp = adc_to_temp(info, raw_val); fuel_gauge_get_btemp()
/linux-4.4.14/include/linux/mfd/abx500/
H A Dab8500-bm.h466 int ab8500_btemp_get_batctrl_temp(struct ab8500_btemp *btemp);
467 int ab8500_btemp_get_temp(struct ab8500_btemp *btemp);
/linux-4.4.14/drivers/mfd/
H A Dab8500-core.c1028 .name = "ab8500-btemp",
1029 .of_compatible = "stericsson,ab8500-btemp",

Completed in 230 milliseconds