Symbol: typec_switch_dev
drivers/phy/apple/atc.c
2049
static int atcphy_sw_set(struct typec_switch_dev *sw, enum typec_orientation orientation)
drivers/phy/freescale/phy-fsl-imx8mq-usb.c
108
struct typec_switch_dev *sw;
drivers/phy/freescale/phy-fsl-imx8mq-usb.c
134
static int tca_blk_typec_switch_set(struct typec_switch_dev *sw,
drivers/phy/freescale/phy-fsl-imx8mq-usb.c
154
static struct typec_switch_dev *tca_blk_get_typec_switch(struct platform_device *pdev,
drivers/phy/freescale/phy-fsl-imx8mq-usb.c
158
struct typec_switch_dev *sw;
drivers/phy/freescale/phy-fsl-imx8mq-usb.c
176
static void tca_blk_put_typec_switch(struct typec_switch_dev *sw)
drivers/phy/phy-google-usb.c
60
struct typec_switch_dev *sw;
drivers/phy/phy-google-usb.c
79
static int google_usb_set_orientation(struct typec_switch_dev *sw,
drivers/phy/qualcomm/phy-qcom-qmp-combo.c
2313
struct typec_switch_dev *sw;
drivers/phy/qualcomm/phy-qcom-qmp-combo.c
4424
static int qmp_combo_typec_switch_set(struct typec_switch_dev *sw,
drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
1703
static int qmp_usbc_typec_switch_set(struct typec_switch_dev *sw,
drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
473
struct typec_switch_dev *sw;
drivers/phy/rockchip/phy-rockchip-usbdp.c
161
struct typec_switch_dev *sw;
drivers/phy/rockchip/phy-rockchip-usbdp.c
654
static int rk_udphy_orien_sw_set(struct typec_switch_dev *sw,
drivers/phy/samsung/phy-exynos5-usbdrd.c
1841
static int exynos5_usbdrd_orien_sw_set(struct typec_switch_dev *sw,
drivers/phy/samsung/phy-exynos5-usbdrd.c
532
struct typec_switch_dev *sw;
drivers/usb/typec/anx7411.c
1051
static int anx7411_usb_set_orientation(struct typec_switch_dev *sw,
drivers/usb/typec/anx7411.c
250
struct typec_switch_dev *typec_switch;
drivers/usb/typec/mux.c
128
struct typec_switch_dev *sw_dev;
drivers/usb/typec/mux.c
164
struct typec_switch_dev *
drivers/usb/typec/mux.c
168
struct typec_switch_dev *sw_dev;
drivers/usb/typec/mux.c
206
struct typec_switch_dev *sw_dev;
drivers/usb/typec/mux.c
23
struct typec_switch_dev *sw_devs[TYPEC_MUX_MAX_DEVS];
drivers/usb/typec/mux.c
231
void typec_switch_unregister(struct typec_switch_dev *sw_dev)
drivers/usb/typec/mux.c
238
void typec_switch_set_drvdata(struct typec_switch_dev *sw_dev, void *data)
drivers/usb/typec/mux.c
244
void *typec_switch_get_drvdata(struct typec_switch_dev *sw_dev)
drivers/usb/typec/mux.c
73
struct typec_switch_dev *sw_devs[TYPEC_MUX_MAX_DEVS];
drivers/usb/typec/mux.h
18
#define to_typec_switch_dev(_dev_) container_of(_dev_, struct typec_switch_dev, dev)
drivers/usb/typec/mux/fsa4480.c
149
static int fsa4480_switch_set(struct typec_switch_dev *sw,
drivers/usb/typec/mux/fsa4480.c
58
struct typec_switch_dev *sw;
drivers/usb/typec/mux/gpio-sbu-mux.c
18
struct typec_switch_dev *sw;
drivers/usb/typec/mux/gpio-sbu-mux.c
26
static int gpio_sbu_switch_set(struct typec_switch_dev *sw,
drivers/usb/typec/mux/intel_pmc_mux.c
137
struct typec_switch_dev *typec_sw;
drivers/usb/typec/mux/intel_pmc_mux.c
543
static int pmc_usb_set_orientation(struct typec_switch_dev *sw,
drivers/usb/typec/mux/it5205.c
65
struct typec_switch_dev *sw;
drivers/usb/typec/mux/it5205.c
69
static int it5205_switch_set(struct typec_switch_dev *sw, enum typec_orientation orientation)
drivers/usb/typec/mux/nb7vpq904m.c
254
static int nb7vpq904m_sw_set(struct typec_switch_dev *sw, enum typec_orientation orientation)
drivers/usb/typec/mux/nb7vpq904m.c
67
struct typec_switch_dev *sw;
drivers/usb/typec/mux/pi3usb30532.c
26
struct typec_switch_dev *sw;
drivers/usb/typec/mux/pi3usb30532.c
48
static int pi3usb30532_sw_set(struct typec_switch_dev *sw,
drivers/usb/typec/mux/ps883x.c
177
static int ps883x_sw_set(struct typec_switch_dev *sw,
drivers/usb/typec/mux/ps883x.c
48
struct typec_switch_dev *sw;
drivers/usb/typec/mux/ptn36502.c
214
static int ptn36502_sw_set(struct typec_switch_dev *sw, enum typec_orientation orientation)
drivers/usb/typec/mux/ptn36502.c
66
struct typec_switch_dev *sw;
drivers/usb/typec/mux/tusb1046.c
34
struct typec_switch_dev *sw;
drivers/usb/typec/mux/tusb1046.c
91
static int tusb1046_switch_set(struct typec_switch_dev *sw,
drivers/usb/typec/mux/wcd939x-usbss.c
189
struct typec_switch_dev *sw;
drivers/usb/typec/mux/wcd939x-usbss.c
534
static int wcd939x_usbss_switch_set(struct typec_switch_dev *sw,
include/linux/usb/typec_mux.h
14
struct typec_switch_dev;
include/linux/usb/typec_mux.h
18
typedef int (*typec_switch_set_fn_t)(struct typec_switch_dev *sw,
include/linux/usb/typec_mux.h
35
struct typec_switch_dev *
include/linux/usb/typec_mux.h
38
void typec_switch_unregister(struct typec_switch_dev *sw);
include/linux/usb/typec_mux.h
40
void typec_switch_set_drvdata(struct typec_switch_dev *sw, void *data);
include/linux/usb/typec_mux.h
41
void *typec_switch_get_drvdata(struct typec_switch_dev *sw);
include/linux/usb/typec_mux.h
59
static inline struct typec_switch_dev *
include/linux/usb/typec_mux.h
66
static inline void typec_switch_unregister(struct typec_switch_dev *sw) {}
include/linux/usb/typec_mux.h
68
static inline void typec_switch_set_drvdata(struct typec_switch_dev *sw, void *data) {}
include/linux/usb/typec_mux.h
69
static inline void *typec_switch_get_drvdata(struct typec_switch_dev *sw)
sound/soc/codecs/wcd939x.c
3132
static int wcd939x_typec_switch_set(struct typec_switch_dev *sw,
sound/soc/codecs/wcd939x.c
3464
struct typec_switch_dev *typec_sw = data;
sound/soc/codecs/wcd939x.c
3474
struct typec_switch_dev *typec_sw;