Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/usb/
H A Dtypec_mux.h11 struct typec_mux_dev;
51 typedef int (*typec_mux_set_fn_t)(struct typec_mux_dev *mux,
67 struct typec_mux_dev *
69 void typec_mux_unregister(struct typec_mux_dev *mux);
71 void typec_mux_set_drvdata(struct typec_mux_dev *mux, void *data);
72 void *typec_mux_get_drvdata(struct typec_mux_dev *mux);
88 static inline struct typec_mux_dev *
93 static inline void typec_mux_unregister(struct typec_mux_dev *mux) {} in typec_mux_unregister()
95 static inline void typec_mux_set_drvdata(struct typec_mux_dev *mux, void *data) {} in typec_mux_set_drvdata()
96 static inline void *typec_mux_get_drvdata(struct typec_mux_dev *mux) in typec_mux_get_drvdata()
/openbmc/linux/drivers/usb/typec/
H A Dmux.c253 struct typec_mux_dev *mux_devs[TYPEC_MUX_MAX_DEVS];
298 struct typec_mux_dev *mux_devs[TYPEC_MUX_MAX_DEVS]; in fwnode_typec_mux_get()
353 struct typec_mux_dev *mux_dev; in typec_mux_put()
370 struct typec_mux_dev *mux_dev; in typec_mux_set()
409 struct typec_mux_dev *
412 struct typec_mux_dev *mux_dev; in typec_mux_register()
453 void typec_mux_unregister(struct typec_mux_dev *mux_dev) in typec_mux_unregister()
460 void typec_mux_set_drvdata(struct typec_mux_dev *mux_dev, void *data) in typec_mux_set_drvdata()
466 void *typec_mux_get_drvdata(struct typec_mux_dev *mux_dev) in typec_mux_get_drvdata()
H A Dmux.h13 struct typec_mux_dev { struct
19 #define to_typec_mux_dev(_dev_) container_of(_dev_, struct typec_mux_dev, dev) argument
H A Danx7411.c248 struct typec_mux_dev *typec_mux;
1035 static int anx7411_usb_mux_set(struct typec_mux_dev *mux, in anx7411_usb_mux_set()
/openbmc/linux/drivers/usb/typec/mux/
H A Dgpio-sbu-mux.c19 struct typec_mux_dev *mux;
64 static int gpio_sbu_mux_set(struct typec_mux_dev *mux, in gpio_sbu_mux_set()
H A Dpi3usb30532.c27 struct typec_mux_dev *mux;
77 pi3usb30532_mux_set(struct typec_mux_dev *mux, struct typec_mux_state *state) in pi3usb30532_mux_set()
H A Dfsa4480.c54 struct typec_mux_dev *mux;
159 static int fsa4480_mux_set(struct typec_mux_dev *mux, struct typec_mux_state *state) in fsa4480_mux_set()
H A Dintel_pmc_mux.c137 struct typec_mux_dev *typec_mux;
484 pmc_usb_mux_set(struct typec_mux_dev *mux, struct typec_mux_state *state) in pmc_usb_mux_set()
/openbmc/linux/drivers/platform/chrome/
H A Dcros_typec_switch.c24 struct typec_mux_dev *mode_switch;
151 static int cros_typec_mode_switch_set(struct typec_mux_dev *mode_switch, in cros_typec_mode_switch_set()