Home
last modified time | relevance | path

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

/linux/include/linux/usb/
A Dtypec_mux.h11 struct typec_switch;
15 typedef int (*typec_switch_set_fn_t)(struct typec_switch *sw,
25 struct typec_switch *fwnode_typec_switch_get(struct fwnode_handle *fwnode);
26 void typec_switch_put(struct typec_switch *sw);
27 int typec_switch_set(struct typec_switch *sw,
30 static inline struct typec_switch *typec_switch_get(struct device *dev) in typec_switch_get()
35 struct typec_switch *
38 void typec_switch_unregister(struct typec_switch *sw);
40 void typec_switch_set_drvdata(struct typec_switch *sw, void *data);
41 void *typec_switch_get_drvdata(struct typec_switch *sw);
/linux/drivers/usb/typec/
A Dmux.c64 struct typec_switch *fwnode_typec_switch_get(struct fwnode_handle *fwnode) in fwnode_typec_switch_get()
66 struct typec_switch *sw; in fwnode_typec_switch_get()
83 void typec_switch_put(struct typec_switch *sw) in typec_switch_put()
112 struct typec_switch *
116 struct typec_switch *sw; in typec_switch_register()
148 int typec_switch_set(struct typec_switch *sw, in typec_switch_set()
164 void typec_switch_unregister(struct typec_switch *sw) in typec_switch_unregister()
171 void typec_switch_set_drvdata(struct typec_switch *sw, void *data) in typec_switch_set_drvdata()
177 void *typec_switch_get_drvdata(struct typec_switch *sw) in typec_switch_get_drvdata()
A Dmux.h8 struct typec_switch { struct
18 #define to_typec_switch(_dev_) container_of(_dev_, struct typec_switch, dev) argument
A Dclass.h10 struct typec_switch;
52 struct typec_switch *sw;
/linux/drivers/usb/typec/mux/
A Dpi3usb30532.c26 struct typec_switch *sw;
48 static int pi3usb30532_sw_set(struct typec_switch *sw, in pi3usb30532_sw_set()
A Dintel_pmc_mux.c125 struct typec_switch *typec_sw;
455 static int pmc_usb_set_orientation(struct typec_switch *sw, in pmc_usb_set_orientation()
/linux/drivers/platform/chrome/
A Dcros_ec_typec.c54 struct typec_switch *ori_sw;

Completed in 14 milliseconds