Lines Matching refs:table_len
105 int table_len; member
318 *cap = power_supply_ocv2cap_simple(data->cap_table, data->table_len, in sc27xx_fgu_get_boot_capacity()
719 } else if (ocv <= data->cap_table[data->table_len - 1].ocv) { in sc27xx_fgu_capacity_calibration()
725 } else if ((ocv > data->cap_table[data->table_len - 1].ocv && cap <= 0) || in sc27xx_fgu_capacity_calibration()
733 data->table_len, ocv); in sc27xx_fgu_capacity_calibration()
754 data->table_len, in sc27xx_fgu_capacity_calibration()
766 data->min_volt = data->cap_table[data->table_len - 1].ocv; in sc27xx_fgu_capacity_calibration()
768 data->table_len, in sc27xx_fgu_capacity_calibration()
914 table = power_supply_find_ocv2cap_table(&info, 20, &data->table_len); in sc27xx_fgu_hw_init()
919 data->table_len * sizeof(*table), in sc27xx_fgu_hw_init()
927 data->table_len, in sc27xx_fgu_hw_init()