Symbol: typec_switch
drivers/extcon/extcon-ptn5150.c
61
struct typec_switch *orient_sw;
drivers/platform/chrome/cros_ec_typec.h
60
struct typec_switch *ori_sw;
drivers/soc/qcom/pmic_glink_altmode.c
103
struct typec_switch *typec_switch;
drivers/soc/qcom/pmic_glink_altmode.c
354
typec_switch_set(alt_port->typec_switch, alt_port->orientation);
drivers/soc/qcom/pmic_glink_altmode.c
663
alt_port->typec_switch = fwnode_typec_switch_get(fwnode);
drivers/soc/qcom/pmic_glink_altmode.c
664
if (IS_ERR(alt_port->typec_switch)) {
drivers/soc/qcom/pmic_glink_altmode.c
666
return dev_err_probe(dev, PTR_ERR(alt_port->typec_switch),
drivers/soc/qcom/pmic_glink_altmode.c
672
alt_port->typec_switch);
drivers/usb/typec/anx7411.c
1070
ctx->typec.typec_switch = typec_switch_register(dev, &sw_desc);
drivers/usb/typec/anx7411.c
1071
if (IS_ERR(ctx->typec.typec_switch)) {
drivers/usb/typec/anx7411.c
1073
return PTR_ERR(ctx->typec.typec_switch);
drivers/usb/typec/anx7411.c
1110
if (ctx->typec.typec_switch) {
drivers/usb/typec/anx7411.c
1111
typec_switch_unregister(ctx->typec.typec_switch);
drivers/usb/typec/anx7411.c
1112
ctx->typec.typec_switch = NULL;
drivers/usb/typec/anx7411.c
250
struct typec_switch_dev *typec_switch;
drivers/usb/typec/class.h
10
struct typec_switch;
drivers/usb/typec/class.h
68
struct typec_switch *sw;
drivers/usb/typec/mux.c
136
void typec_switch_put(struct typec_switch *sw)
drivers/usb/typec/mux.c
213
int typec_switch_set(struct typec_switch *sw,
drivers/usb/typec/mux.c
80
struct typec_switch *fwnode_typec_switch_get(struct fwnode_handle *fwnode)
drivers/usb/typec/mux.c
83
struct typec_switch *sw;
drivers/usb/typec/mux/nb7vpq904m.c
259
ret = typec_switch_set(nb7->typec_switch, orientation);
drivers/usb/typec/mux/nb7vpq904m.c
420
nb7->typec_switch = fwnode_typec_switch_get(dev->fwnode);
drivers/usb/typec/mux/nb7vpq904m.c
421
if (IS_ERR(nb7->typec_switch))
drivers/usb/typec/mux/nb7vpq904m.c
422
return dev_err_probe(dev, PTR_ERR(nb7->typec_switch),
drivers/usb/typec/mux/nb7vpq904m.c
481
typec_switch_put(nb7->typec_switch);
drivers/usb/typec/mux/nb7vpq904m.c
498
typec_switch_put(nb7->typec_switch);
drivers/usb/typec/mux/nb7vpq904m.c
71
struct typec_switch *typec_switch;
drivers/usb/typec/mux/ps883x.c
275
ret = typec_switch_set(retimer->typec_switch, orientation);
drivers/usb/typec/mux/ps883x.c
402
retimer->typec_switch = typec_switch_get(dev);
drivers/usb/typec/mux/ps883x.c
403
if (IS_ERR(retimer->typec_switch))
drivers/usb/typec/mux/ps883x.c
404
return dev_err_probe(dev, PTR_ERR(retimer->typec_switch),
drivers/usb/typec/mux/ps883x.c
492
typec_switch_put(retimer->typec_switch);
drivers/usb/typec/mux/ps883x.c
511
typec_switch_put(retimer->typec_switch);
drivers/usb/typec/mux/ps883x.c
58
struct typec_switch *typec_switch;
drivers/usb/typec/mux/ptn36502.c
219
ret = typec_switch_set(ptn->typec_switch, orientation);
drivers/usb/typec/mux/ptn36502.c
328
ptn->typec_switch = fwnode_typec_switch_get(dev->fwnode);
drivers/usb/typec/mux/ptn36502.c
329
if (IS_ERR(ptn->typec_switch))
drivers/usb/typec/mux/ptn36502.c
330
return dev_err_probe(dev, PTR_ERR(ptn->typec_switch),
drivers/usb/typec/mux/ptn36502.c
388
typec_switch_put(ptn->typec_switch);
drivers/usb/typec/mux/ptn36502.c
403
typec_switch_put(ptn->typec_switch);
drivers/usb/typec/mux/ptn36502.c
69
struct typec_switch *typec_switch;
drivers/usb/typec/mux/wcd939x-usbss.c
195
struct typec_switch *codec_switch;
include/linux/usb/typec_mux.h
13
struct typec_switch;
include/linux/usb/typec_mux.h
30
struct typec_switch *fwnode_typec_switch_get(struct fwnode_handle *fwnode);
include/linux/usb/typec_mux.h
31
void typec_switch_put(struct typec_switch *sw);
include/linux/usb/typec_mux.h
32
int typec_switch_set(struct typec_switch *sw,
include/linux/usb/typec_mux.h
45
static inline struct typec_switch *
include/linux/usb/typec_mux.h
51
static inline void typec_switch_put(struct typec_switch *sw) {}
include/linux/usb/typec_mux.h
53
static inline int typec_switch_set(struct typec_switch *sw,
include/linux/usb/typec_mux.h
76
static inline struct typec_switch *typec_switch_get(struct device *dev)
sound/soc/codecs/wcd939x.c
188
struct typec_switch *typec_switch;
sound/soc/codecs/wcd939x.c
3164
if (!wcd939x->typec_analog_mux || !wcd939x->typec_switch)
sound/soc/codecs/wcd939x.c
3168
typec_switch_set(wcd939x->typec_switch,
sound/soc/codecs/wcd939x.c
3313
wcd939x->typec_switch = fwnode_typec_switch_get(dev->fwnode);
sound/soc/codecs/wcd939x.c
3314
if (IS_ERR(wcd939x->typec_switch))
sound/soc/codecs/wcd939x.c
3315
return dev_err_probe(dev, PTR_ERR(wcd939x->typec_switch),
sound/soc/codecs/wcd939x.c
3426
typec_switch_put(wcd939x->typec_switch);