Home
last modified time | relevance | path

Searched refs:typec_sw (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/usb/typec/mux/
Dintel_pmc_mux.c137 struct typec_switch_dev *typec_sw; member
606 port->typec_sw = typec_switch_register(pmc->dev, &sw_desc); in pmc_usb_register_port()
607 if (IS_ERR(port->typec_sw)) in pmc_usb_register_port()
608 return PTR_ERR(port->typec_sw); in pmc_usb_register_port()
639 typec_switch_unregister(port->typec_sw); in pmc_usb_register_port()
791 typec_switch_unregister(pmc->port[i].typec_sw); in pmc_usb_probe()
809 typec_switch_unregister(pmc->port[i].typec_sw); in pmc_usb_remove()
/linux-6.12.1/sound/soc/codecs/
Dwcd939x.c3529 struct typec_switch_dev *typec_sw = data; in wcd939x_typec_switch_unregister() local
3531 typec_switch_unregister(typec_sw); in wcd939x_typec_switch_unregister()
3539 struct typec_switch_dev *typec_sw; in wcd939x_add_typec() local
3568 typec_sw = typec_switch_register(dev, &sw_desc); in wcd939x_add_typec()
3569 if (IS_ERR(typec_sw)) in wcd939x_add_typec()
3570 return dev_err_probe(dev, PTR_ERR(typec_sw), in wcd939x_add_typec()
3574 typec_sw); in wcd939x_add_typec()