Searched refs:typec_mux (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/include/linux/usb/ |
D | typec_mux.h | 10 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.10/drivers/usb/typec/ |
D | mux.c | 254 struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode, in fwnode_typec_mux_get() 257 struct typec_mux *mux; in fwnode_typec_mux_get() 274 void typec_mux_put(struct typec_mux *mux) in typec_mux_put() 283 int typec_mux_set(struct typec_mux *mux, struct typec_mux_state *state) in typec_mux_set() 312 struct typec_mux * 315 struct typec_mux *mux; in typec_mux_register() 353 void typec_mux_unregister(struct typec_mux *mux) in typec_mux_unregister() 360 void typec_mux_set_drvdata(struct typec_mux *mux, void *data) in typec_mux_set_drvdata() 366 void *typec_mux_get_drvdata(struct typec_mux *mux) in typec_mux_get_drvdata()
|
D | bus.h | 14 struct typec_mux *mux; 43 struct typec_mux { struct 49 #define to_typec_mux(_dev_) container_of(_dev_, struct typec_mux, dev) argument
|
D | class.c | 53 struct typec_mux *mux; 1609 struct typec_mux *mux; in typec_port_register_altmode()
|
/Linux-v5.10/drivers/usb/typec/mux/ |
D | intel_pmc_mux.c | 126 struct typec_mux *typec_mux; member 395 pmc_usb_mux_set(struct typec_mux *mux, struct typec_mux_state *state) in pmc_usb_mux_set() 503 port->typec_mux = typec_mux_register(pmc->dev, &mux_desc); in pmc_usb_register_port() 504 if (IS_ERR(port->typec_mux)) { in pmc_usb_register_port() 505 ret = PTR_ERR(port->typec_mux); in pmc_usb_register_port() 523 typec_mux_unregister(port->typec_mux); in pmc_usb_register_port() 626 typec_mux_unregister(pmc->port[i].typec_mux); in pmc_usb_probe() 642 typec_mux_unregister(pmc->port[i].typec_mux); in pmc_usb_remove()
|
D | pi3usb30532.c | 27 struct typec_mux *mux; 77 pi3usb30532_mux_set(struct typec_mux *mux, struct typec_mux_state *state) in pi3usb30532_mux_set()
|
/Linux-v5.10/drivers/platform/chrome/ |
D | cros_ec_typec.c | 42 struct typec_mux *mux;
|