Searched refs:typec_switch (Results 1 – 5 of 5) sorted by relevance
58 struct typec_switch *typec_switch; member275 ret = typec_switch_set(retimer->typec_switch, orientation); in ps883x_sw_set()402 retimer->typec_switch = typec_switch_get(dev); in ps883x_retimer_probe()403 if (IS_ERR(retimer->typec_switch)) in ps883x_retimer_probe()404 return dev_err_probe(dev, PTR_ERR(retimer->typec_switch), in ps883x_retimer_probe()492 typec_switch_put(retimer->typec_switch); in ps883x_retimer_probe()511 typec_switch_put(retimer->typec_switch); in ps883x_retimer_remove()
22 struct typec_switch { struct80 struct typec_switch *fwnode_typec_switch_get(struct fwnode_handle *fwnode) in fwnode_typec_switch_get()83 struct typec_switch *sw; in fwnode_typec_switch_get()136 void typec_switch_put(struct typec_switch *sw) in typec_switch_put()213 int typec_switch_set(struct typec_switch *sw, in typec_switch_set()
250 struct typec_switch_dev *typec_switch; member1070 ctx->typec.typec_switch = typec_switch_register(dev, &sw_desc); in anx7411_register_switch()1071 if (IS_ERR(ctx->typec.typec_switch)) { in anx7411_register_switch()1073 return PTR_ERR(ctx->typec.typec_switch); in anx7411_register_switch()1110 if (ctx->typec.typec_switch) { in anx7411_unregister_switch()1111 typec_switch_unregister(ctx->typec.typec_switch); in anx7411_unregister_switch()1112 ctx->typec.typec_switch = NULL; in anx7411_unregister_switch()
189 struct typec_switch *typec_switch;3158 if (!wcd939x->typec_analog_mux || !wcd939x->typec_switch) in wcd939x_typec_mux_set() 3162 typec_switch_set(wcd939x->typec_switch,3303 * typec_switch is fetched now to avoid a probe deadlock since3307 wcd939x->typec_switch = fwnode_typec_switch_get(dev->fwnode); in wcd939x_bind() 3308 if (IS_ERR(wcd939x->typec_switch)) in wcd939x_bind() 3309 return dev_err_probe(dev, PTR_ERR(wcd939x->typec_switch), in wcd939x_bind() 3420 typec_switch_put(wcd939x->typec_switch); in wcd939x_bind() 188 struct typec_switch *typec_switch; global() member
61 struct typec_switch *orient_sw;