Searched refs:typec_switch_dev (Results 1 – 7 of 7) sorted by relevance
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);
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()
8 struct typec_switch_dev { struct18 #define to_typec_switch_dev(_dev_) container_of(_dev_, struct typec_switch_dev, dev) argument
249 struct typec_switch_dev *typec_switch;1038 static int anx7411_usb_set_orientation(struct typec_switch_dev *sw, in anx7411_usb_set_orientation()
26 struct typec_switch_dev *sw;48 static int pi3usb30532_sw_set(struct typec_switch_dev *sw, in pi3usb30532_sw_set()
44 struct typec_switch_dev *sw;61 static int fsa4480_switch_set(struct typec_switch_dev *sw, in fsa4480_switch_set()
125 struct typec_switch_dev *typec_sw;483 static int pmc_usb_set_orientation(struct typec_switch_dev *sw, in pmc_usb_set_orientation()