Searched refs:typec_switch_dev (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/include/linux/usb/ |
H A D | typec_mux.h | 13 struct typec_switch_dev; 17 typedef int (*typec_switch_set_fn_t)(struct typec_switch_dev *sw, 37 struct typec_switch_dev * 40 void typec_switch_unregister(struct typec_switch_dev *sw); 42 void typec_switch_set_drvdata(struct typec_switch_dev *sw, void *data); 43 void *typec_switch_get_drvdata(struct typec_switch_dev *sw);
|
/openbmc/linux/drivers/usb/typec/ |
H A D | mux.c | 23 struct typec_switch_dev *sw_devs[TYPEC_MUX_MAX_DEVS]; 73 struct typec_switch_dev *sw_devs[TYPEC_MUX_MAX_DEVS]; in fwnode_typec_switch_get() 128 struct typec_switch_dev *sw_dev; in typec_switch_put() 164 struct typec_switch_dev * 168 struct typec_switch_dev *sw_dev; in typec_switch_register() 206 struct typec_switch_dev *sw_dev; in typec_switch_set() 231 void typec_switch_unregister(struct typec_switch_dev *sw_dev) in typec_switch_unregister() 238 void typec_switch_set_drvdata(struct typec_switch_dev *sw_dev, void *data) in typec_switch_set_drvdata() 244 void *typec_switch_get_drvdata(struct typec_switch_dev *sw_dev) in typec_switch_get_drvdata()
|
H A D | mux.h | 8 struct typec_switch_dev { struct 18 #define to_typec_switch_dev(_dev_) container_of(_dev_, struct typec_switch_dev, dev) argument
|
H A D | anx7411.c | 249 struct typec_switch_dev *typec_switch; 1050 static int anx7411_usb_set_orientation(struct typec_switch_dev *sw, in anx7411_usb_set_orientation()
|
/openbmc/linux/drivers/usb/typec/mux/ |
H A D | gpio-sbu-mux.c | 18 struct typec_switch_dev *sw; 26 static int gpio_sbu_switch_set(struct typec_switch_dev *sw, in gpio_sbu_switch_set()
|
H A D | pi3usb30532.c | 26 struct typec_switch_dev *sw; 48 static int pi3usb30532_sw_set(struct typec_switch_dev *sw, in pi3usb30532_sw_set()
|
H A D | fsa4480.c | 53 struct typec_switch_dev *sw; 140 static int fsa4480_switch_set(struct typec_switch_dev *sw, in fsa4480_switch_set()
|
H A D | nb7vpq904m.c | 67 struct typec_switch_dev *sw; 255 static int nb7vpq904m_sw_set(struct typec_switch_dev *sw, enum typec_orientation orientation) in nb7vpq904m_sw_set()
|
H A D | intel_pmc_mux.c | 138 struct typec_switch_dev *typec_sw; 520 static int pmc_usb_set_orientation(struct typec_switch_dev *sw, in pmc_usb_set_orientation()
|
/openbmc/linux/drivers/phy/qualcomm/ |
H A D | phy-qcom-qmp-combo.c | 1429 struct typec_switch_dev *sw; 3140 static int qmp_combo_typec_switch_set(struct typec_switch_dev *sw, in qmp_combo_typec_switch_set()
|