Searched refs:fg_params (Results 1 – 3 of 3) sorted by relevance
366 if (curr > -di->bm->fg_params->high_curr_threshold) in ab8500_fg_is_low_curr()1196 max(capacity, di->bm->fg_params->maint_thres); in ab8500_fg_calculate_scaled_capacity()1258 di->bm->fg_params->maint_thres); in ab8500_fg_update_cap_scalers()1439 di->bm->fg_params->accu_charging); in ab8500_fg_algorithm_charging()1501 lower = di->bat_cap.permille - di->bm->fg_params->user_cap_limit * 10; in check_sysfs_capacity()1502 upper = di->bat_cap.permille + di->bm->fg_params->user_cap_limit * 10; in check_sysfs_capacity()1542 di->fg_samples = SEC_TO_SAMPLE(di->bm->fg_params->init_timer); in ab8500_fg_algorithm_discharging()1555 sleep_time = di->bm->fg_params->init_timer; in ab8500_fg_algorithm_discharging()1558 if (di->init_cnt > di->bm->fg_params->init_discard_time) { in ab8500_fg_algorithm_discharging()1565 if (di->init_cnt > di->bm->fg_params->init_total_time) in ab8500_fg_algorithm_discharging()[all …]
530 const struct ab8500_fg_parameters *fg_params; member
486 .fg_params = &fg,