Searched refs:typec_mux_dev (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/include/linux/usb/ |
H A D | typec_mux.h | 11 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 D | mux.c | 253 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 D | mux.h | 13 struct typec_mux_dev { struct 19 #define to_typec_mux_dev(_dev_) container_of(_dev_, struct typec_mux_dev, dev) argument
|
H A D | anx7411.c | 248 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 D | gpio-sbu-mux.c | 19 struct typec_mux_dev *mux; 64 static int gpio_sbu_mux_set(struct typec_mux_dev *mux, in gpio_sbu_mux_set()
|
H A D | pi3usb30532.c | 27 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 D | fsa4480.c | 54 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 D | intel_pmc_mux.c | 137 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 D | cros_typec_switch.c | 24 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()
|