Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/mux/
H A 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/sound/soc/codecs/
H A Dwcd939x.c3522 struct typec_switch_dev *typec_sw = data; in wcd939x_typec_switch_unregister() local
3524 typec_switch_unregister(typec_sw); in wcd939x_typec_switch_unregister()
3532 struct typec_switch_dev *typec_sw; in wcd939x_add_typec() local
3561 typec_sw = typec_switch_register(dev, &sw_desc); in wcd939x_add_typec()
3562 if (IS_ERR(typec_sw)) in wcd939x_add_typec()
3563 return dev_err_probe(dev, PTR_ERR(typec_sw), in wcd939x_add_typec()
3567 typec_sw); in wcd939x_add_typec()