Symbol: ab8500_fg
drivers/power/supply/ab8500-bm.h
264
struct ab8500_fg;
drivers/power/supply/ab8500-bm.h
407
struct ab8500_fg;
drivers/power/supply/ab8500-bm.h
412
struct ab8500_fg *ab8500_fg_get(void);
drivers/power/supply/ab8500-bm.h
413
int ab8500_fg_inst_curr_blocking(struct ab8500_fg *dev);
drivers/power/supply/ab8500-bm.h
414
int ab8500_fg_inst_curr_start(struct ab8500_fg *di);
drivers/power/supply/ab8500-bm.h
415
int ab8500_fg_inst_curr_finalize(struct ab8500_fg *di, int *res);
drivers/power/supply/ab8500-bm.h
416
int ab8500_fg_inst_curr_started(struct ab8500_fg *di);
drivers/power/supply/ab8500-bm.h
417
int ab8500_fg_inst_curr_done(struct ab8500_fg *di);
drivers/power/supply/ab8500_btemp.c
104
struct ab8500_fg *fg;
drivers/power/supply/ab8500_fg.c
1000
static int ab8500_fg_convert_mah_to_permille(struct ab8500_fg *di, int cap_mah)
drivers/power/supply/ab8500_fg.c
1012
static int ab8500_fg_convert_permille_to_mah(struct ab8500_fg *di, int cap_pm)
drivers/power/supply/ab8500_fg.c
1024
static int ab8500_fg_convert_mah_to_uwh(struct ab8500_fg *di, int cap_mah)
drivers/power/supply/ab8500_fg.c
1051
static int ab8500_fg_calc_cap_charging(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
1091
static int ab8500_fg_calc_cap_discharge_voltage(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
1114
static int ab8500_fg_calc_cap_discharge_fg(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
1165
static int ab8500_fg_capacity_level(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
1194
static int ab8500_fg_calculate_scaled_capacity(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
1252
static void ab8500_fg_update_cap_scalers(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
1287
static void ab8500_fg_check_capacity_limits(struct ab8500_fg *di, bool init)
drivers/power/supply/ab8500_fg.c
1409
static void ab8500_fg_charge_state_to(struct ab8500_fg *di,
drivers/power/supply/ab8500_fg.c
1421
static void ab8500_fg_discharge_state_to(struct ab8500_fg *di,
drivers/power/supply/ab8500_fg.c
1439
static void ab8500_fg_algorithm_charging(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
1487
static void force_capacity(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
1504
static bool check_sysfs_capacity(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
1543
static void ab8500_fg_algorithm_discharging(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
1711
static void ab8500_fg_algorithm_calibrate(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
1763
static void ab8500_fg_algorithm(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
1803
struct ab8500_fg *di = container_of(work, struct ab8500_fg,
drivers/power/supply/ab8500_fg.c
1841
struct ab8500_fg *di = container_of(work, struct ab8500_fg,
drivers/power/supply/ab8500_fg.c
1881
struct ab8500_fg *di = container_of(work, struct ab8500_fg,
drivers/power/supply/ab8500_fg.c
1923
static int ab8500_fg_battok_calc(struct ab8500_fg *di, int target)
drivers/power/supply/ab8500_fg.c
1939
static int ab8500_fg_battok_init_hw_register(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
1983
struct ab8500_fg *di = container_of(work, struct ab8500_fg, fg_work);
drivers/power/supply/ab8500_fg.c
1997
struct ab8500_fg *di = _di;
drivers/power/supply/ab8500_fg.c
2017
struct ab8500_fg *di = _di;
drivers/power/supply/ab8500_fg.c
2032
struct ab8500_fg *di = _di;
drivers/power/supply/ab8500_fg.c
2048
struct ab8500_fg *di = _di;
drivers/power/supply/ab8500_fg.c
2067
struct ab8500_fg *di = _di;
drivers/power/supply/ab8500_fg.c
2105
struct ab8500_fg *di = power_supply_get_drvdata(psy);
drivers/power/supply/ab8500_fg.c
2181
struct ab8500_fg *di;
drivers/power/supply/ab8500_fg.c
2297
static int ab8500_fg_init_hw_registers(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
2417
struct ab8500_fg *di = container_of(work, struct ab8500_fg,
drivers/power/supply/ab8500_fg.c
244
struct ab8500_fg *ab8500_fg_get(void)
drivers/power/supply/ab8500_fg.c
2441
ssize_t (*show)(struct ab8500_fg *, char *);
drivers/power/supply/ab8500_fg.c
2442
ssize_t (*store)(struct ab8500_fg *, const char *, size_t);
drivers/power/supply/ab8500_fg.c
2445
static ssize_t charge_full_show(struct ab8500_fg *di, char *buf)
drivers/power/supply/ab8500_fg.c
2450
static ssize_t charge_full_store(struct ab8500_fg *di, const char *buf,
drivers/power/supply/ab8500_fg.c
246
return list_first_entry_or_null(&ab8500_fg_list, struct ab8500_fg,
drivers/power/supply/ab8500_fg.c
2464
static ssize_t charge_now_show(struct ab8500_fg *di, char *buf)
drivers/power/supply/ab8500_fg.c
2469
static ssize_t charge_now_store(struct ab8500_fg *di, const char *buf,
drivers/power/supply/ab8500_fg.c
2495
struct ab8500_fg *di;
drivers/power/supply/ab8500_fg.c
2498
di = container_of(kobj, struct ab8500_fg, fg_kobject);
drivers/power/supply/ab8500_fg.c
2510
struct ab8500_fg *di;
drivers/power/supply/ab8500_fg.c
2513
di = container_of(kobj, struct ab8500_fg, fg_kobject);
drivers/power/supply/ab8500_fg.c
2531
ATTRIBUTE_GROUPS(ab8500_fg);
drivers/power/supply/ab8500_fg.c
2544
static void ab8500_fg_sysfs_exit(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
2556
static int ab8500_fg_sysfs_init(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
2578
struct ab8500_fg *di = power_supply_get_drvdata(psy);
drivers/power/supply/ab8500_fg.c
2601
struct ab8500_fg *di = power_supply_get_drvdata(psy);
drivers/power/supply/ab8500_fg.c
2628
struct ab8500_fg *di = power_supply_get_drvdata(psy);
drivers/power/supply/ab8500_fg.c
2652
struct ab8500_fg *di = power_supply_get_drvdata(psy);
drivers/power/supply/ab8500_fg.c
2679
struct ab8500_fg *di = power_supply_get_drvdata(psy);
drivers/power/supply/ab8500_fg.c
2702
struct ab8500_fg *di = power_supply_get_drvdata(psy);
drivers/power/supply/ab8500_fg.c
2730
struct ab8500_fg *di = power_supply_get_drvdata(psy);
drivers/power/supply/ab8500_fg.c
2753
struct ab8500_fg *di = power_supply_get_drvdata(psy);
drivers/power/supply/ab8500_fg.c
2776
struct ab8500_fg *di = power_supply_get_drvdata(psy);
drivers/power/supply/ab8500_fg.c
2797
struct ab8500_fg *di = power_supply_get_drvdata(psy);
drivers/power/supply/ab8500_fg.c
2825
struct ab8500_fg *di = power_supply_get_drvdata(psy);
drivers/power/supply/ab8500_fg.c
2848
struct ab8500_fg *di = power_supply_get_drvdata(psy);
drivers/power/supply/ab8500_fg.c
2871
struct ab8500_fg *di = power_supply_get_drvdata(psy);
drivers/power/supply/ab8500_fg.c
2898
struct ab8500_fg *di = power_supply_get_drvdata(psy);
drivers/power/supply/ab8500_fg.c
2933
static int ab8500_fg_sysfs_psy_create_attrs(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
2953
static void ab8500_fg_sysfs_psy_remove_attrs(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
2968
struct ab8500_fg *di = dev_get_drvdata(dev);
drivers/power/supply/ab8500_fg.c
2984
struct ab8500_fg *di = dev_get_drvdata(dev);
drivers/power/supply/ab8500_fg.c
3029
struct ab8500_fg *di = dev_get_drvdata(dev);
drivers/power/supply/ab8500_fg.c
3046
struct ab8500_fg *di = dev_get_drvdata(dev);
drivers/power/supply/ab8500_fg.c
3066
struct ab8500_fg *di;
drivers/power/supply/ab8500_fg.c
3225
struct ab8500_fg *di = platform_get_drvdata(pdev);
drivers/power/supply/ab8500_fg.c
359
static int ab8500_fg_is_low_curr(struct ab8500_fg *di, int curr_ua)
drivers/power/supply/ab8500_fg.c
378
static int ab8500_fg_add_cap_sample(struct ab8500_fg *di, int sample)
drivers/power/supply/ab8500_fg.c
412
static void ab8500_fg_clear_cap_samples(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
435
static void ab8500_fg_fill_cap_sample(struct ab8500_fg *di, int sample)
drivers/power/supply/ab8500_fg.c
462
static int ab8500_fg_coulomb_counter(struct ab8500_fg *di, bool enable)
drivers/power/supply/ab8500_fg.c
531
int ab8500_fg_inst_curr_start(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
583
int ab8500_fg_inst_curr_started(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
594
int ab8500_fg_inst_curr_done(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
608
int ab8500_fg_inst_curr_finalize(struct ab8500_fg *di, int *curr_ua)
drivers/power/supply/ab8500_fg.c
703
int ab8500_fg_inst_curr_blocking(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
757
struct ab8500_fg *di = container_of(work,
drivers/power/supply/ab8500_fg.c
758
struct ab8500_fg, fg_acc_cur_work);
drivers/power/supply/ab8500_fg.c
826
static int ab8500_fg_bat_voltage(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
852
static int ab8500_fg_volt_to_capacity(struct ab8500_fg *di, int voltage_uv)
drivers/power/supply/ab8500_fg.c
867
static int ab8500_fg_uncomp_volt_to_capacity(struct ab8500_fg *di)
drivers/power/supply/ab8500_fg.c
882
static int ab8500_fg_battery_resistance(struct ab8500_fg *di, int vbat_uncomp_uv)
drivers/power/supply/ab8500_fg.c
932
static int ab8500_load_comp_fg_bat_voltage(struct ab8500_fg *di, bool always)
drivers/power/supply/ab8500_fg.c
984
static int ab8500_fg_load_comp_volt_to_capacity(struct ab8500_fg *di)