Searched refs:typec_mux (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/include/linux/usb/ |
D | typec_mux.h | 10 struct typec_mux; 63 struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode); 64 void typec_mux_put(struct typec_mux *mux); 65 int typec_mux_set(struct typec_mux *mux, struct typec_mux_state *state); 76 static inline struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode) in fwnode_typec_mux_get() 81 static inline void typec_mux_put(struct typec_mux *mux) {} in typec_mux_put() 83 static inline int typec_mux_set(struct typec_mux *mux, struct typec_mux_state *state) in typec_mux_set() 103 static inline struct typec_mux *typec_mux_get(struct device *dev) in typec_mux_get()
|
/Linux-v6.6/drivers/soc/qcom/ |
D | pmic_glink_altmode.c | 71 struct typec_mux *typec_mux; member 161 ret = typec_mux_set(port->typec_mux, &port->state); in pmic_glink_altmode_enable_dp() 183 ret = typec_mux_set(port->typec_mux, &port->state); in pmic_glink_altmode_enable_usb() 205 ret = typec_mux_set(port->typec_mux, &port->state); in pmic_glink_altmode_safe() 478 alt_port->typec_mux = fwnode_typec_mux_get(fwnode); in pmic_glink_altmode_probe() 479 if (IS_ERR(alt_port->typec_mux)) in pmic_glink_altmode_probe() 480 return dev_err_probe(dev, PTR_ERR(alt_port->typec_mux), in pmic_glink_altmode_probe() 485 alt_port->typec_mux); in pmic_glink_altmode_probe()
|
/Linux-v6.6/drivers/usb/typec/ |
D | bus.h | 9 struct typec_mux; 15 struct typec_mux *mux;
|
D | mux.c | 252 struct typec_mux { struct 296 struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode) in fwnode_typec_mux_get() 299 struct typec_mux *mux; in fwnode_typec_mux_get() 351 void typec_mux_put(struct typec_mux *mux) in typec_mux_put() 368 int typec_mux_set(struct typec_mux *mux, struct typec_mux_state *state) in typec_mux_set()
|
D | class.h | 9 struct typec_mux; 57 struct typec_mux *mux;
|
D | anx7411.c | 248 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()
|
D | class.c | 2109 struct typec_mux *mux; in typec_port_register_altmode()
|
/Linux-v6.6/drivers/usb/typec/mux/ |
D | intel_pmc_mux.c | 137 struct typec_mux_dev *typec_mux; member 592 port->typec_mux = typec_mux_register(pmc->dev, &mux_desc); in pmc_usb_register_port() 593 if (IS_ERR(port->typec_mux)) { in pmc_usb_register_port() 594 ret = PTR_ERR(port->typec_mux); in pmc_usb_register_port() 612 typec_mux_unregister(port->typec_mux); in pmc_usb_register_port() 768 typec_mux_unregister(pmc->port[i].typec_mux); in pmc_usb_probe() 786 typec_mux_unregister(pmc->port[i].typec_mux); in pmc_usb_remove()
|
/Linux-v6.6/drivers/platform/chrome/ |
D | cros_ec_typec.h | 59 struct typec_mux *mux;
|