Home
last modified time | relevance | path

Searched refs:typec_switch (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/include/linux/usb/
Dtypec_mux.h12 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()
/linux-6.1.9/drivers/usb/typec/
Dmux.c22 struct typec_switch { struct
71 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()
Dclass.h10 struct typec_switch;
56 struct typec_switch *sw;
Danx7411.c249 struct typec_switch_dev *typec_switch; member
1057 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()
/linux-6.1.9/drivers/platform/chrome/
Dcros_ec_typec.c58 struct typec_switch *ori_sw;