Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/usb/
Dtypec_mux.h10 struct typec_mux;
49 typedef int (*typec_mux_set_fn_t)(struct typec_mux *mux,
59 struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode,
61 void typec_mux_put(struct typec_mux *mux);
62 int typec_mux_set(struct typec_mux *mux, struct typec_mux_state *state);
64 static inline struct typec_mux *
70 struct typec_mux *
72 void typec_mux_unregister(struct typec_mux *mux);
74 void typec_mux_set_drvdata(struct typec_mux *mux, void *data);
75 void *typec_mux_get_drvdata(struct typec_mux *mux);
/Linux-v5.15/drivers/usb/typec/
Dmux.c262 struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode, in fwnode_typec_mux_get()
265 struct typec_mux *mux; in fwnode_typec_mux_get()
282 void typec_mux_put(struct typec_mux *mux) in typec_mux_put()
291 int typec_mux_set(struct typec_mux *mux, struct typec_mux_state *state) in typec_mux_set()
320 struct typec_mux *
323 struct typec_mux *mux; in typec_mux_register()
361 void typec_mux_unregister(struct typec_mux *mux) in typec_mux_unregister()
368 void typec_mux_set_drvdata(struct typec_mux *mux, void *data) in typec_mux_set_drvdata()
374 void *typec_mux_get_drvdata(struct typec_mux *mux) in typec_mux_get_drvdata()
Dbus.h9 struct typec_mux;
14 struct typec_mux *mux;
Dmux.h13 struct typec_mux { struct
19 #define to_typec_mux(_dev_) container_of(_dev_, struct typec_mux, dev) argument
Dclass.h9 struct typec_mux;
53 struct typec_mux *mux;
Dclass.c1912 struct typec_mux *mux; in typec_port_register_altmode()
/Linux-v5.15/drivers/usb/typec/mux/
Dintel_pmc_mux.c124 struct typec_mux *typec_mux; member
419 pmc_usb_mux_set(struct typec_mux *mux, struct typec_mux_state *state) in pmc_usb_mux_set()
527 port->typec_mux = typec_mux_register(pmc->dev, &mux_desc); in pmc_usb_register_port()
528 if (IS_ERR(port->typec_mux)) { in pmc_usb_register_port()
529 ret = PTR_ERR(port->typec_mux); in pmc_usb_register_port()
547 typec_mux_unregister(port->typec_mux); in pmc_usb_register_port()
675 typec_mux_unregister(pmc->port[i].typec_mux); in pmc_usb_probe()
691 typec_mux_unregister(pmc->port[i].typec_mux); in pmc_usb_remove()
Dpi3usb30532.c27 struct typec_mux *mux;
77 pi3usb30532_mux_set(struct typec_mux *mux, struct typec_mux_state *state) in pi3usb30532_mux_set()
/Linux-v5.15/drivers/platform/chrome/
Dcros_ec_typec.c55 struct typec_mux *mux;