Searched refs:typec_switch (Results 1 – 5 of 5) sorted by relevance
12 struct typec_switch;27 struct typec_switch *fwnode_typec_switch_get(struct fwnode_handle *fwnode);28 void typec_switch_put(struct typec_switch *sw);29 int typec_switch_set(struct typec_switch *sw,32 static inline struct typec_switch *typec_switch_get(struct device *dev) in typec_switch_get()
22 struct typec_switch { struct71 struct typec_switch *fwnode_typec_switch_get(struct fwnode_handle *fwnode) in fwnode_typec_switch_get()74 struct typec_switch *sw; in fwnode_typec_switch_get()126 void typec_switch_put(struct typec_switch *sw) in typec_switch_put()203 int typec_switch_set(struct typec_switch *sw, in typec_switch_set()
10 struct typec_switch;56 struct typec_switch *sw;
249 struct typec_switch_dev *typec_switch; member1057 ctx->typec.typec_switch = typec_switch_register(dev, &sw_desc); in anx7411_register_switch()1058 if (IS_ERR(ctx->typec.typec_switch)) { in anx7411_register_switch()1060 return PTR_ERR(ctx->typec.typec_switch); in anx7411_register_switch()1096 if (ctx->typec.typec_switch) { in anx7411_unregister_switch()1097 typec_switch_unregister(ctx->typec.typec_switch); in anx7411_unregister_switch()1098 ctx->typec.typec_switch = NULL; in anx7411_unregister_switch()
58 struct typec_switch *ori_sw;