Lines Matching refs:c_desc
3834 struct coupling_desc *c_desc = &rdev->coupling_desc; in regulator_get_optimal_voltage() local
3835 struct regulator_dev **c_rdevs = c_desc->coupled_rdevs; in regulator_get_optimal_voltage()
3976 struct coupling_desc *c_desc = &rdev->coupling_desc; in regulator_do_balance_voltage() local
3982 c_rdevs = c_desc->coupled_rdevs; in regulator_do_balance_voltage()
3983 n_coupled = skip_coupled ? 1 : c_desc->n_coupled; in regulator_do_balance_voltage()
4057 struct coupling_desc *c_desc = &rdev->coupling_desc; in regulator_balance_voltage() local
4058 struct regulator_coupler *coupler = c_desc->coupler; in regulator_balance_voltage()
4068 if (c_desc->n_resolved < c_desc->n_coupled) { in regulator_balance_voltage()
5262 struct coupling_desc *c_desc = &rdev->coupling_desc; in regulator_resolve_coupling() local
5263 int n_coupled = c_desc->n_coupled; in regulator_resolve_coupling()
5269 if (c_desc->coupled_rdevs[i]) in regulator_resolve_coupling()
5283 c_desc->coupled_rdevs[i] = c_rdev; in regulator_resolve_coupling()
5284 c_desc->n_resolved++; in regulator_resolve_coupling()
5293 struct coupling_desc *__c_desc, *c_desc = &rdev->coupling_desc; in regulator_remove_coupling() local
5299 n_coupled = c_desc->n_coupled; in regulator_remove_coupling()
5302 c_rdev = c_desc->coupled_rdevs[i]; in regulator_remove_coupling()
5324 c_desc->coupled_rdevs[i] = NULL; in regulator_remove_coupling()
5325 c_desc->n_resolved--; in regulator_remove_coupling()