ab8500_fg 100 drivers/power/supply/ab8500_btemp.c struct ab8500_fg *fg; ab8500_fg 246 drivers/power/supply/ab8500_fg.c struct ab8500_fg *ab8500_fg_get(void) ab8500_fg 248 drivers/power/supply/ab8500_fg.c return list_first_entry_or_null(&ab8500_fg_list, struct ab8500_fg, ab8500_fg 361 drivers/power/supply/ab8500_fg.c static int ab8500_fg_is_low_curr(struct ab8500_fg *di, int curr) ab8500_fg 380 drivers/power/supply/ab8500_fg.c static int ab8500_fg_add_cap_sample(struct ab8500_fg *di, int sample) ab8500_fg 414 drivers/power/supply/ab8500_fg.c static void ab8500_fg_clear_cap_samples(struct ab8500_fg *di) ab8500_fg 437 drivers/power/supply/ab8500_fg.c static void ab8500_fg_fill_cap_sample(struct ab8500_fg *di, int sample) ab8500_fg 464 drivers/power/supply/ab8500_fg.c static int ab8500_fg_coulomb_counter(struct ab8500_fg *di, bool enable) ab8500_fg 533 drivers/power/supply/ab8500_fg.c int ab8500_fg_inst_curr_start(struct ab8500_fg *di) ab8500_fg 585 drivers/power/supply/ab8500_fg.c int ab8500_fg_inst_curr_started(struct ab8500_fg *di) ab8500_fg 596 drivers/power/supply/ab8500_fg.c int ab8500_fg_inst_curr_done(struct ab8500_fg *di) ab8500_fg 610 drivers/power/supply/ab8500_fg.c int ab8500_fg_inst_curr_finalize(struct ab8500_fg *di, int *res) ab8500_fg 706 drivers/power/supply/ab8500_fg.c int ab8500_fg_inst_curr_blocking(struct ab8500_fg *di) ab8500_fg 760 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = container_of(work, ab8500_fg 761 drivers/power/supply/ab8500_fg.c struct ab8500_fg, fg_acc_cur_work); ab8500_fg 830 drivers/power/supply/ab8500_fg.c static int ab8500_fg_bat_voltage(struct ab8500_fg *di) ab8500_fg 854 drivers/power/supply/ab8500_fg.c static int ab8500_fg_volt_to_capacity(struct ab8500_fg *di, int voltage) ab8500_fg 893 drivers/power/supply/ab8500_fg.c static int ab8500_fg_uncomp_volt_to_capacity(struct ab8500_fg *di) ab8500_fg 906 drivers/power/supply/ab8500_fg.c static int ab8500_fg_battery_resistance(struct ab8500_fg *di) ab8500_fg 950 drivers/power/supply/ab8500_fg.c static int ab8500_fg_load_comp_volt_to_capacity(struct ab8500_fg *di) ab8500_fg 986 drivers/power/supply/ab8500_fg.c static int ab8500_fg_convert_mah_to_permille(struct ab8500_fg *di, int cap_mah) ab8500_fg 998 drivers/power/supply/ab8500_fg.c static int ab8500_fg_convert_permille_to_mah(struct ab8500_fg *di, int cap_pm) ab8500_fg 1010 drivers/power/supply/ab8500_fg.c static int ab8500_fg_convert_mah_to_uwh(struct ab8500_fg *di, int cap_mah) ab8500_fg 1032 drivers/power/supply/ab8500_fg.c static int ab8500_fg_calc_cap_charging(struct ab8500_fg *di) ab8500_fg 1073 drivers/power/supply/ab8500_fg.c static int ab8500_fg_calc_cap_discharge_voltage(struct ab8500_fg *di, bool comp) ab8500_fg 1099 drivers/power/supply/ab8500_fg.c static int ab8500_fg_calc_cap_discharge_fg(struct ab8500_fg *di) ab8500_fg 1150 drivers/power/supply/ab8500_fg.c static int ab8500_fg_capacity_level(struct ab8500_fg *di) ab8500_fg 1179 drivers/power/supply/ab8500_fg.c static int ab8500_fg_calculate_scaled_capacity(struct ab8500_fg *di) ab8500_fg 1237 drivers/power/supply/ab8500_fg.c static void ab8500_fg_update_cap_scalers(struct ab8500_fg *di) ab8500_fg 1272 drivers/power/supply/ab8500_fg.c static void ab8500_fg_check_capacity_limits(struct ab8500_fg *di, bool init) ab8500_fg 1394 drivers/power/supply/ab8500_fg.c static void ab8500_fg_charge_state_to(struct ab8500_fg *di, ab8500_fg 1406 drivers/power/supply/ab8500_fg.c static void ab8500_fg_discharge_state_to(struct ab8500_fg *di, ab8500_fg 1424 drivers/power/supply/ab8500_fg.c static void ab8500_fg_algorithm_charging(struct ab8500_fg *di) ab8500_fg 1472 drivers/power/supply/ab8500_fg.c static void force_capacity(struct ab8500_fg *di) ab8500_fg 1489 drivers/power/supply/ab8500_fg.c static bool check_sysfs_capacity(struct ab8500_fg *di) ab8500_fg 1528 drivers/power/supply/ab8500_fg.c static void ab8500_fg_algorithm_discharging(struct ab8500_fg *di) ab8500_fg 1696 drivers/power/supply/ab8500_fg.c static void ab8500_fg_algorithm_calibrate(struct ab8500_fg *di) ab8500_fg 1747 drivers/power/supply/ab8500_fg.c static void ab8500_fg_algorithm(struct ab8500_fg *di) ab8500_fg 1787 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = container_of(work, struct ab8500_fg, ab8500_fg 1825 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = container_of(work, struct ab8500_fg, ab8500_fg 1865 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = container_of(work, struct ab8500_fg, ab8500_fg 1907 drivers/power/supply/ab8500_fg.c static int ab8500_fg_battok_calc(struct ab8500_fg *di, int target) ab8500_fg 1923 drivers/power/supply/ab8500_fg.c static int ab8500_fg_battok_init_hw_register(struct ab8500_fg *di) ab8500_fg 1967 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = container_of(work, struct ab8500_fg, fg_work); ab8500_fg 1981 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = _di; ab8500_fg 2001 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = _di; ab8500_fg 2016 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = _di; ab8500_fg 2032 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = _di; ab8500_fg 2051 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = _di; ab8500_fg 2089 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = power_supply_get_drvdata(psy); ab8500_fg 2166 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di; ab8500_fg 2282 drivers/power/supply/ab8500_fg.c static int ab8500_fg_init_hw_registers(struct ab8500_fg *di) ab8500_fg 2383 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = power_supply_get_drvdata(psy); ab8500_fg 2399 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = container_of(work, struct ab8500_fg, ab8500_fg 2423 drivers/power/supply/ab8500_fg.c ssize_t (*show)(struct ab8500_fg *, char *); ab8500_fg 2424 drivers/power/supply/ab8500_fg.c ssize_t (*store)(struct ab8500_fg *, const char *, size_t); ab8500_fg 2427 drivers/power/supply/ab8500_fg.c static ssize_t charge_full_show(struct ab8500_fg *di, char *buf) ab8500_fg 2432 drivers/power/supply/ab8500_fg.c static ssize_t charge_full_store(struct ab8500_fg *di, const char *buf, ab8500_fg 2446 drivers/power/supply/ab8500_fg.c static ssize_t charge_now_show(struct ab8500_fg *di, char *buf) ab8500_fg 2451 drivers/power/supply/ab8500_fg.c static ssize_t charge_now_store(struct ab8500_fg *di, const char *buf, ab8500_fg 2477 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di; ab8500_fg 2480 drivers/power/supply/ab8500_fg.c di = container_of(kobj, struct ab8500_fg, fg_kobject); ab8500_fg 2492 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di; ab8500_fg 2495 drivers/power/supply/ab8500_fg.c di = container_of(kobj, struct ab8500_fg, fg_kobject); ab8500_fg 2525 drivers/power/supply/ab8500_fg.c static void ab8500_fg_sysfs_exit(struct ab8500_fg *di) ab8500_fg 2537 drivers/power/supply/ab8500_fg.c static int ab8500_fg_sysfs_init(struct ab8500_fg *di) ab8500_fg 2557 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = power_supply_get_drvdata(psy); ab8500_fg 2580 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = power_supply_get_drvdata(psy); ab8500_fg 2607 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = power_supply_get_drvdata(psy); ab8500_fg 2631 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = power_supply_get_drvdata(psy); ab8500_fg 2658 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = power_supply_get_drvdata(psy); ab8500_fg 2681 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = power_supply_get_drvdata(psy); ab8500_fg 2709 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = power_supply_get_drvdata(psy); ab8500_fg 2732 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = power_supply_get_drvdata(psy); ab8500_fg 2755 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = power_supply_get_drvdata(psy); ab8500_fg 2776 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = power_supply_get_drvdata(psy); ab8500_fg 2804 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = power_supply_get_drvdata(psy); ab8500_fg 2827 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = power_supply_get_drvdata(psy); ab8500_fg 2850 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = power_supply_get_drvdata(psy); ab8500_fg 2877 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = power_supply_get_drvdata(psy); ab8500_fg 2912 drivers/power/supply/ab8500_fg.c static int ab8500_fg_sysfs_psy_create_attrs(struct ab8500_fg *di) ab8500_fg 2932 drivers/power/supply/ab8500_fg.c static void ab8500_fg_sysfs_psy_remove_attrs(struct ab8500_fg *di) ab8500_fg 2948 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = platform_get_drvdata(pdev); ab8500_fg 2965 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = platform_get_drvdata(pdev); ab8500_fg 2991 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di = platform_get_drvdata(pdev); ab8500_fg 3040 drivers/power/supply/ab8500_fg.c struct ab8500_fg *di; ab8500_fg 300 include/linux/mfd/abx500/ab8500-bm.h struct ab8500_fg; ab8500_fg 457 include/linux/mfd/abx500/ab8500-bm.h struct ab8500_fg; ab8500_fg 466 include/linux/mfd/abx500/ab8500-bm.h struct ab8500_fg *ab8500_fg_get(void); ab8500_fg 467 include/linux/mfd/abx500/ab8500-bm.h int ab8500_fg_inst_curr_blocking(struct ab8500_fg *dev); ab8500_fg 468 include/linux/mfd/abx500/ab8500-bm.h int ab8500_fg_inst_curr_start(struct ab8500_fg *di); ab8500_fg 469 include/linux/mfd/abx500/ab8500-bm.h int ab8500_fg_inst_curr_finalize(struct ab8500_fg *di, int *res); ab8500_fg 470 include/linux/mfd/abx500/ab8500-bm.h int ab8500_fg_inst_curr_started(struct ab8500_fg *di); ab8500_fg 471 include/linux/mfd/abx500/ab8500-bm.h int ab8500_fg_inst_curr_done(struct ab8500_fg *di);