Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/drivers/platform/chrome/
Dcros_ec_typec.c825 struct typec_cable_desc c_desc = {}; in cros_typec_handle_sop_prime_disc() local
849 c_desc.type = USB_PLUG_TYPE_A; in cros_typec_handle_sop_prime_disc()
852 c_desc.type = USB_PLUG_TYPE_B; in cros_typec_handle_sop_prime_disc()
855 c_desc.type = USB_PLUG_TYPE_C; in cros_typec_handle_sop_prime_disc()
858 c_desc.type = USB_PLUG_CAPTIVE; in cros_typec_handle_sop_prime_disc()
861 c_desc.type = USB_PLUG_NONE; in cros_typec_handle_sop_prime_disc()
863 c_desc.active = PD_IDH_PTYPE(port->c_identity.id_header) == IDH_PTYPE_ACABLE; in cros_typec_handle_sop_prime_disc()
866 c_desc.identity = &port->c_identity; in cros_typec_handle_sop_prime_disc()
867 c_desc.pd_revision = pd_revision; in cros_typec_handle_sop_prime_disc()
869 port->cable = typec_register_cable(port->port, &c_desc); in cros_typec_handle_sop_prime_disc()
/Linux-v6.1/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-v6.1/drivers/regulator/
Dcore.c3826 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()
[all …]