Searched refs:typec_switch (Results 1 – 10 of 10) sorted by relevance
| /OK3568_Linux_fs/kernel/include/linux/usb/ |
| H A D | typec_mux.h | 11 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);
|
| /OK3568_Linux_fs/kernel/drivers/usb/typec/ |
| H A D | mux.c | 60 struct typec_switch *fwnode_typec_switch_get(struct fwnode_handle *fwnode) in fwnode_typec_switch_get() 62 struct typec_switch *sw; in fwnode_typec_switch_get() 79 void typec_switch_put(struct typec_switch *sw) in typec_switch_put() 108 struct typec_switch * 112 struct typec_switch *sw; in typec_switch_register() 147 int typec_switch_set(struct typec_switch *sw, in typec_switch_set() 163 void typec_switch_unregister(struct typec_switch *sw) in typec_switch_unregister() 170 void typec_switch_set_drvdata(struct typec_switch *sw, void *data) in typec_switch_set_drvdata() 176 void *typec_switch_get_drvdata(struct typec_switch *sw) in typec_switch_get_drvdata()
|
| H A D | bus.h | 38 struct typec_switch { struct 48 #define to_typec_switch(_dev_) container_of(_dev_, struct typec_switch, dev) argument
|
| H A D | class.c | 62 struct typec_switch *sw;
|
| /OK3568_Linux_fs/kernel/drivers/usb/typec/mux/ |
| H A D | pi3usb30532.c | 26 struct typec_switch *sw; 48 static int pi3usb30532_sw_set(struct typec_switch *sw, in pi3usb30532_sw_set()
|
| H A D | intel_pmc_mux.c | 125 struct typec_switch *typec_sw; 466 static int pmc_usb_set_orientation(struct typec_switch *sw, in pmc_usb_set_orientation()
|
| /OK3568_Linux_fs/kernel/drivers/phy/rockchip/ |
| H A D | phy-rockchip-usbdp.c | 110 struct typec_switch *sw; 586 static int udphy_orien_sw_set(struct typec_switch *sw, in udphy_orien_sw_set()
|
| H A D | phy-rockchip-typec.c | 425 struct typec_switch *sw; 1350 static int tcphy_orien_sw_set(struct typec_switch *sw, in tcphy_orien_sw_set()
|
| H A D | phy-rockchip-inno-usb2.c | 298 struct typec_switch *sw; 2004 static int rockchip_usb2phy_orien_sw_set(struct typec_switch *sw, in rockchip_usb2phy_orien_sw_set()
|
| /OK3568_Linux_fs/kernel/drivers/platform/chrome/ |
| H A D | cros_ec_typec.c | 41 struct typec_switch *ori_sw;
|