Lines Matching defs:ab8500_btemp
75 * struct ab8500_btemp - ab8500 BTEMP device information
93 struct ab8500_btemp {
126 struct ab8500_btemp *ab8500_btemp_get(void)
128 return list_first_entry(&ab8500_btemp_list, struct ab8500_btemp, node);
134 * @di: pointer to the ab8500_btemp structure
142 static int ab8500_btemp_batctrl_volt_to_res(struct ab8500_btemp *di,
176 * @di: pointer to the ab8500_btemp structure
180 static int ab8500_btemp_read_batctrl_voltage(struct ab8500_btemp *di)
198 * @di: pointer to the ab8500_btemp structure
203 static int ab8500_btemp_curr_source_enable(struct ab8500_btemp *di,
347 * @di: pointer to the ab8500_btemp structure
352 static int ab8500_btemp_get_batctrl_res(struct ab8500_btemp *di)
419 * @di: pointer to the ab8500_btemp structure
427 static int ab8500_btemp_res_to_temp(struct ab8500_btemp *di,
454 * @di: pointer to the ab8500_btemp structure
458 static int ab8500_btemp_measure_temp(struct ab8500_btemp *di)
509 * @di: pointer to the ab8500_btemp structure
515 static int ab8500_btemp_id(struct ab8500_btemp *di)
575 struct ab8500_btemp *di = container_of(work,
576 struct ab8500_btemp, btemp_periodic_work.work);
620 * @_di: void pointer that has to address of ab8500_btemp
626 struct ab8500_btemp *di = _di;
638 * @_di: void pointer that has to address of ab8500_btemp
644 struct ab8500_btemp *di = _di;
665 * @_di: void pointer that has to address of ab8500_btemp
671 struct ab8500_btemp *di = _di;
687 * @_di: void pointer that has to address of ab8500_btemp
693 struct ab8500_btemp *di = _di;
709 * @_di: void pointer that has to address of ab8500_btemp
715 struct ab8500_btemp *di = _di;
730 * @di: pointer to the ab8500_btemp structure
736 static void ab8500_btemp_periodic(struct ab8500_btemp *di,
753 * @di: pointer to the ab8500_btemp structure
757 int ab8500_btemp_get_temp(struct ab8500_btemp *di)
801 int ab8500_btemp_get_batctrl_temp(struct ab8500_btemp *btemp)
825 struct ab8500_btemp *di = power_supply_get_drvdata(psy);
852 struct ab8500_btemp *di;
940 struct ab8500_btemp *di = platform_get_drvdata(pdev);
950 struct ab8500_btemp *di = platform_get_drvdata(pdev);
963 struct ab8500_btemp *di = platform_get_drvdata(pdev);
987 .name = "ab8500_btemp",
1000 struct ab8500_btemp *di;
1006 dev_err(&pdev->dev, "%s no mem for ab8500_btemp\n", __func__);