Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/usb/
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);
/linux-6.1.9/drivers/usb/typec/
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()
Dmux.h8 struct typec_switch_dev { struct
18 #define to_typec_switch_dev(_dev_) container_of(_dev_, struct typec_switch_dev, dev) argument
Danx7411.c249 struct typec_switch_dev *typec_switch;
1038 static int anx7411_usb_set_orientation(struct typec_switch_dev *sw, in anx7411_usb_set_orientation()
/linux-6.1.9/drivers/usb/typec/mux/
Dpi3usb30532.c26 struct typec_switch_dev *sw;
48 static int pi3usb30532_sw_set(struct typec_switch_dev *sw, in pi3usb30532_sw_set()
Dfsa4480.c44 struct typec_switch_dev *sw;
61 static int fsa4480_switch_set(struct typec_switch_dev *sw, in fsa4480_switch_set()
Dintel_pmc_mux.c125 struct typec_switch_dev *typec_sw;
483 static int pmc_usb_set_orientation(struct typec_switch_dev *sw, in pmc_usb_set_orientation()