Searched refs:typec_switch (Results 1 – 3 of 3) sorted by relevance
103 struct typec_switch *typec_switch; member354 typec_switch_set(alt_port->typec_switch, alt_port->orientation); in pmic_glink_altmode_worker()663 alt_port->typec_switch = fwnode_typec_switch_get(fwnode); in pmic_glink_altmode_probe()664 if (IS_ERR(alt_port->typec_switch)) { in pmic_glink_altmode_probe()666 return dev_err_probe(dev, PTR_ERR(alt_port->typec_switch), in pmic_glink_altmode_probe()672 alt_port->typec_switch); in pmic_glink_altmode_probe()
188 struct typec_switch *typec_switch; member 3164 if (!wcd939x->typec_analog_mux || !wcd939x->typec_switch)3168 typec_switch_set(wcd939x->typec_switch, in wcd939x_swap_gnd_mic() 3309 * typec_switch is fetched now to avoid a probe deadlock since in wcd939x_bind() 3313 wcd939x->typec_switch = fwnode_typec_switch_get(dev->fwnode); in wcd939x_bind() 3314 if (IS_ERR(wcd939x->typec_switch)) in wcd939x_bind() 3315 return dev_err_probe(dev, PTR_ERR(wcd939x->typec_switch), in wcd939x_bind() 3426 typec_switch_put(wcd939x->typec_switch); in wcd939x_bind()
61 struct typec_switch *orient_sw;