Home
last modified time | relevance | path

Searched refs:c_desc (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/soc/samsung/
Dexynos-regulator-coupler.c24 struct coupling_desc *c_desc = &rdev->coupling_desc; in regulator_get_optimal_voltage() local
25 struct regulator_dev **c_rdevs = c_desc->coupled_rdevs; in regulator_get_optimal_voltage()
30 int i, ret, max_spread, n_coupled = c_desc->n_coupled; in regulator_get_optimal_voltage()
125 struct coupling_desc *c_desc = &rdev->coupling_desc; in exynos_coupler_balance_voltage() local
131 c_rdevs = c_desc->coupled_rdevs; in exynos_coupler_balance_voltage()
132 n_coupled = c_desc->n_coupled; in exynos_coupler_balance_voltage()
/linux-6.1.9/drivers/platform/chrome/
Dcros_ec_typec.c828 struct typec_cable_desc c_desc = {}; in cros_typec_handle_sop_prime_disc() local
852 c_desc.type = USB_PLUG_TYPE_A; in cros_typec_handle_sop_prime_disc()
855 c_desc.type = USB_PLUG_TYPE_B; in cros_typec_handle_sop_prime_disc()
858 c_desc.type = USB_PLUG_TYPE_C; in cros_typec_handle_sop_prime_disc()
861 c_desc.type = USB_PLUG_CAPTIVE; in cros_typec_handle_sop_prime_disc()
864 c_desc.type = USB_PLUG_NONE; in cros_typec_handle_sop_prime_disc()
866 c_desc.active = PD_IDH_PTYPE(port->c_identity.id_header) == IDH_PTYPE_ACABLE; in cros_typec_handle_sop_prime_disc()
869 c_desc.identity = &port->c_identity; in cros_typec_handle_sop_prime_disc()
870 c_desc.pd_revision = pd_revision; in cros_typec_handle_sop_prime_disc()
872 port->cable = typec_register_cable(port->port, &c_desc); in cros_typec_handle_sop_prime_disc()
/linux-6.1.9/drivers/soc/tegra/
Dregulators-tegra20.c95 struct coupling_desc *c_desc = &core_rdev->coupling_desc; in tegra20_core_rtc_max_spread() local
100 for (i = 1; i < c_desc->n_coupled; i++) { in tegra20_core_rtc_max_spread()
102 rdev = c_desc->coupled_rdevs[i]; in tegra20_core_rtc_max_spread()
/linux-6.1.9/drivers/regulator/
Dcore.c3834 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()
[all …]