Home
last modified time | relevance | path

Searched refs:typec_switch (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/include/linux/usb/
Dtypec_mux.h10 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);
Dtypec.h198 struct typec_switch *sw;
/Linux-v5.4/drivers/usb/typec/
Dmux.c70 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()
Dbus.h40 struct typec_switch { struct
50 #define to_typec_switch(_dev_) container_of(_dev_, struct typec_switch, dev) argument
Dclass.c52 struct typec_switch *sw;
/Linux-v5.4/drivers/usb/typec/mux/
Dpi3usb30532.c26 struct typec_switch *sw;
48 static int pi3usb30532_sw_set(struct typec_switch *sw, in pi3usb30532_sw_set()