Lines Matching refs:table_len
115 int table_len; member
333 *cap = power_supply_ocv2cap_simple(data->cap_table, data->table_len, in sc27xx_fgu_get_boot_capacity()
816 } else if (ocv <= data->cap_table[data->table_len - 1].ocv) { in sc27xx_fgu_capacity_calibration()
822 } else if ((ocv > data->cap_table[data->table_len - 1].ocv && cap <= 0) || in sc27xx_fgu_capacity_calibration()
830 data->table_len, ocv); in sc27xx_fgu_capacity_calibration()
851 data->table_len, in sc27xx_fgu_capacity_calibration()
863 data->min_volt = data->cap_table[data->table_len - 1].ocv; in sc27xx_fgu_capacity_calibration()
865 data->table_len, in sc27xx_fgu_capacity_calibration()
1013 table = power_supply_find_ocv2cap_table(&info, 20, &data->table_len); in sc27xx_fgu_hw_init()
1018 data->table_len * sizeof(*table), in sc27xx_fgu_hw_init()
1026 data->table_len, in sc27xx_fgu_hw_init()