Lines Matching refs:c_desc
3826 struct coupling_desc *c_desc = &rdev->coupling_desc; in regulator_get_optimal_voltage() local
3827 struct regulator_dev **c_rdevs = c_desc->coupled_rdevs; in regulator_get_optimal_voltage()
3968 struct coupling_desc *c_desc = &rdev->coupling_desc; in regulator_do_balance_voltage() local
3974 c_rdevs = c_desc->coupled_rdevs; in regulator_do_balance_voltage()
3975 n_coupled = skip_coupled ? 1 : c_desc->n_coupled; in regulator_do_balance_voltage()
4049 struct coupling_desc *c_desc = &rdev->coupling_desc; in regulator_balance_voltage() local
4050 struct regulator_coupler *coupler = c_desc->coupler; in regulator_balance_voltage()
4060 if (c_desc->n_resolved < c_desc->n_coupled) { in regulator_balance_voltage()
5254 struct coupling_desc *c_desc = &rdev->coupling_desc; in regulator_resolve_coupling() local
5255 int n_coupled = c_desc->n_coupled; in regulator_resolve_coupling()
5261 if (c_desc->coupled_rdevs[i]) in regulator_resolve_coupling()
5275 c_desc->coupled_rdevs[i] = c_rdev; in regulator_resolve_coupling()
5276 c_desc->n_resolved++; in regulator_resolve_coupling()
5285 struct coupling_desc *__c_desc, *c_desc = &rdev->coupling_desc; in regulator_remove_coupling() local
5291 n_coupled = c_desc->n_coupled; in regulator_remove_coupling()
5294 c_rdev = c_desc->coupled_rdevs[i]; in regulator_remove_coupling()
5316 c_desc->coupled_rdevs[i] = NULL; in regulator_remove_coupling()
5317 c_desc->n_resolved--; in regulator_remove_coupling()