Searched refs:typec_switch (Results 1 – 9 of 9) sorted by relevance
| /drivers/usb/typec/mux/ |
| A D | ptn36502.c | 69 struct typec_switch *typec_switch; member 219 ret = typec_switch_set(ptn->typec_switch, orientation); in ptn36502_sw_set() 328 ptn->typec_switch = fwnode_typec_switch_get(dev->fwnode); in ptn36502_probe() 329 if (IS_ERR(ptn->typec_switch)) in ptn36502_probe() 330 return dev_err_probe(dev, PTR_ERR(ptn->typec_switch), in ptn36502_probe() 388 typec_switch_put(ptn->typec_switch); in ptn36502_probe() 403 typec_switch_put(ptn->typec_switch); in ptn36502_remove()
|
| A D | ps883x.c | 51 struct typec_switch *typec_switch; member 143 ret = typec_switch_set(retimer->typec_switch, orientation); in ps883x_sw_set() 340 retimer->typec_switch = typec_switch_get(dev); in ps883x_retimer_probe() 341 if (IS_ERR(retimer->typec_switch)) in ps883x_retimer_probe() 342 return dev_err_probe(dev, PTR_ERR(retimer->typec_switch), in ps883x_retimer_probe() 426 typec_switch_put(retimer->typec_switch); in ps883x_retimer_probe() 445 typec_switch_put(retimer->typec_switch); in ps883x_retimer_remove()
|
| A D | nb7vpq904m.c | 71 struct typec_switch *typec_switch; member 259 ret = typec_switch_set(nb7->typec_switch, orientation); in nb7vpq904m_sw_set() 420 nb7->typec_switch = fwnode_typec_switch_get(dev->fwnode); in nb7vpq904m_probe() 421 if (IS_ERR(nb7->typec_switch)) in nb7vpq904m_probe() 422 return dev_err_probe(dev, PTR_ERR(nb7->typec_switch), in nb7vpq904m_probe() 481 typec_switch_put(nb7->typec_switch); in nb7vpq904m_probe() 498 typec_switch_put(nb7->typec_switch); in nb7vpq904m_remove()
|
| A D | wcd939x-usbss.c | 195 struct typec_switch *codec_switch;
|
| /drivers/soc/qcom/ |
| A D | pmic_glink_altmode.c | 71 struct typec_switch *typec_switch; member 223 typec_switch_set(alt_port->typec_switch, alt_port->orientation); in pmic_glink_altmode_worker() 504 alt_port->typec_switch = fwnode_typec_switch_get(fwnode); in pmic_glink_altmode_probe() 505 if (IS_ERR(alt_port->typec_switch)) { in pmic_glink_altmode_probe() 507 return dev_err_probe(dev, PTR_ERR(alt_port->typec_switch), in pmic_glink_altmode_probe() 513 alt_port->typec_switch); in pmic_glink_altmode_probe()
|
| /drivers/usb/typec/ |
| A D | mux.c | 22 struct typec_switch { struct 71 struct typec_switch *fwnode_typec_switch_get(struct fwnode_handle *fwnode) in fwnode_typec_switch_get() 74 struct typec_switch *sw; in fwnode_typec_switch_get() 126 void typec_switch_put(struct typec_switch *sw) in typec_switch_put() 203 int typec_switch_set(struct typec_switch *sw, in typec_switch_set()
|
| A D | class.h | 10 struct typec_switch; 65 struct typec_switch *sw;
|
| A D | anx7411.c | 250 struct typec_switch_dev *typec_switch; member 1070 ctx->typec.typec_switch = typec_switch_register(dev, &sw_desc); in anx7411_register_switch() 1071 if (IS_ERR(ctx->typec.typec_switch)) { in anx7411_register_switch() 1073 return PTR_ERR(ctx->typec.typec_switch); in anx7411_register_switch() 1110 if (ctx->typec.typec_switch) { in anx7411_unregister_switch() 1111 typec_switch_unregister(ctx->typec.typec_switch); in anx7411_unregister_switch() 1112 ctx->typec.typec_switch = NULL; in anx7411_unregister_switch()
|
| /drivers/platform/chrome/ |
| A D | cros_ec_typec.h | 60 struct typec_switch *ori_sw;
|
Completed in 18 milliseconds