Searched refs:num_voltages (Results 1 – 1 of 1) sorted by relevance
22 u16 num_voltages; member100 if (selector >= data->num_voltages) in cros_ec_regulator_list_voltage()168 data->num_voltages = in cros_ec_regulator_init_info()169 min_t(u16, ARRAY_SIZE(resp.voltages_mv), resp.num_voltages); in cros_ec_regulator_init_info()172 sizeof(u16) * data->num_voltages, GFP_KERNEL); in cros_ec_regulator_init_info()176 data->desc.n_voltages = data->num_voltages; in cros_ec_regulator_init_info()