Home
last modified time | relevance | path

Searched refs:typec_mux (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/include/linux/usb/
Dtypec_mux.h10 struct typec_mux;
63 struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode,
65 void typec_mux_put(struct typec_mux *mux);
66 int typec_mux_set(struct typec_mux *mux, struct typec_mux_state *state);
77 static inline struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode, in fwnode_typec_mux_get()
83 static inline void typec_mux_put(struct typec_mux *mux) {} in typec_mux_put()
85 static inline int typec_mux_set(struct typec_mux *mux, struct typec_mux_state *state) in typec_mux_set()
105 static inline struct typec_mux *
/linux-6.1.9/drivers/usb/typec/
Dbus.h9 struct typec_mux;
14 struct typec_mux *mux;
Dmux.c252 struct typec_mux { struct
338 struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode, in fwnode_typec_mux_get()
342 struct typec_mux *mux; in fwnode_typec_mux_get()
394 void typec_mux_put(struct typec_mux *mux) in typec_mux_put()
411 int typec_mux_set(struct typec_mux *mux, struct typec_mux_state *state) in typec_mux_set()
Dclass.h9 struct typec_mux;
57 struct typec_mux *mux;
Danx7411.c248 struct typec_mux_dev *typec_mux; member
1077 ctx->typec.typec_mux = typec_mux_register(dev, &mux_desc); in anx7411_register_mux()
1078 if (IS_ERR(ctx->typec.typec_mux)) { in anx7411_register_mux()
1080 return PTR_ERR(ctx->typec.typec_mux); in anx7411_register_mux()
1088 if (ctx->typec.typec_mux) { in anx7411_unregister_mux()
1089 typec_mux_unregister(ctx->typec.typec_mux); in anx7411_unregister_mux()
1090 ctx->typec.typec_mux = NULL; in anx7411_unregister_mux()
Dclass.c2091 struct typec_mux *mux; in typec_port_register_altmode()
/linux-6.1.9/drivers/usb/typec/mux/
Dintel_pmc_mux.c124 struct typec_mux_dev *typec_mux; member
555 port->typec_mux = typec_mux_register(pmc->dev, &mux_desc); in pmc_usb_register_port()
556 if (IS_ERR(port->typec_mux)) { in pmc_usb_register_port()
557 ret = PTR_ERR(port->typec_mux); in pmc_usb_register_port()
575 typec_mux_unregister(port->typec_mux); in pmc_usb_register_port()
699 typec_mux_unregister(pmc->port[i].typec_mux); in pmc_usb_probe()
715 typec_mux_unregister(pmc->port[i].typec_mux); in pmc_usb_remove()
/linux-6.1.9/drivers/platform/chrome/
Dcros_ec_typec.c59 struct typec_mux *mux;