Searched refs:typec_switch (Results 1 – 6 of 6) sorted by relevance
10 struct typec_switch;13 typedef int (*typec_switch_set_fn_t)(struct typec_switch *sw,22 struct typec_switch *typec_switch_get(struct device *dev);23 void typec_switch_put(struct typec_switch *sw);24 struct typec_switch *27 void typec_switch_unregister(struct typec_switch *sw);29 void typec_switch_set_drvdata(struct typec_switch *sw, void *data);30 void *typec_switch_get_drvdata(struct typec_switch *sw);
198 struct typec_switch *sw;
70 struct typec_switch *typec_switch_get(struct device *dev) in typec_switch_get()72 struct typec_switch *sw; in typec_switch_get()89 void typec_switch_put(struct typec_switch *sw) in typec_switch_put()118 struct typec_switch *122 struct typec_switch *sw; in typec_switch_register()159 void typec_switch_unregister(struct typec_switch *sw) in typec_switch_unregister()166 void typec_switch_set_drvdata(struct typec_switch *sw, void *data) in typec_switch_set_drvdata()172 void *typec_switch_get_drvdata(struct typec_switch *sw) in typec_switch_get_drvdata()
40 struct typec_switch { struct50 #define to_typec_switch(_dev_) container_of(_dev_, struct typec_switch, dev) argument
52 struct typec_switch *sw;
26 struct typec_switch *sw;48 static int pi3usb30532_sw_set(struct typec_switch *sw, in pi3usb30532_sw_set()