Home
last modified time | relevance | path

Searched refs:sc27xx_fgu_data (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dsc27xx_fuel_gauge.c97 struct sc27xx_fgu_data { struct
124 static int sc27xx_fgu_cap_to_clbcnt(struct sc27xx_fgu_data *data, int capacity); argument
125 static void sc27xx_fgu_capacity_calibration(struct sc27xx_fgu_data *data,
127 static void sc27xx_fgu_adjust_cap(struct sc27xx_fgu_data *data, int cap);
128 static int sc27xx_fgu_get_temp(struct sc27xx_fgu_data *data, int *temp);
137 static int sc27xx_fgu_adc_to_current(struct sc27xx_fgu_data *data, s64 adc) in sc27xx_fgu_adc_to_current()
142 static int sc27xx_fgu_adc_to_voltage(struct sc27xx_fgu_data *data, s64 adc) in sc27xx_fgu_adc_to_voltage()
147 static int sc27xx_fgu_voltage_to_adc(struct sc27xx_fgu_data *data, int vol) in sc27xx_fgu_voltage_to_adc()
152 static bool sc27xx_fgu_is_first_poweron(struct sc27xx_fgu_data *data) in sc27xx_fgu_is_first_poweron()
179 static int sc27xx_fgu_save_boot_mode(struct sc27xx_fgu_data *data, in sc27xx_fgu_save_boot_mode()
[all …]