Home
last modified time | relevance | path

Searched refs:typec_switch_dev (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/include/linux/usb/
H A Dtypec_mux.h13 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 Dmux.c23 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 Dmux.h8 struct typec_switch_dev { struct
18 #define to_typec_switch_dev(_dev_) container_of(_dev_, struct typec_switch_dev, dev) argument
H A Danx7411.c249 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 Dgpio-sbu-mux.c18 struct typec_switch_dev *sw;
26 static int gpio_sbu_switch_set(struct typec_switch_dev *sw, in gpio_sbu_switch_set()
H A Dpi3usb30532.c26 struct typec_switch_dev *sw;
48 static int pi3usb30532_sw_set(struct typec_switch_dev *sw, in pi3usb30532_sw_set()
H A Dfsa4480.c53 struct typec_switch_dev *sw;
140 static int fsa4480_switch_set(struct typec_switch_dev *sw, in fsa4480_switch_set()
H A Dnb7vpq904m.c67 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 Dintel_pmc_mux.c138 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 Dphy-qcom-qmp-combo.c1429 struct typec_switch_dev *sw;
3140 static int qmp_combo_typec_switch_set(struct typec_switch_dev *sw, in qmp_combo_typec_switch_set()