Searched refs:typec_sw (Results 1 – 2 of 2) sorted by relevance
137 struct typec_switch_dev *typec_sw; member606 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()
3529 struct typec_switch_dev *typec_sw = data; in wcd939x_typec_switch_unregister() local3531 typec_switch_unregister(typec_sw); in wcd939x_typec_switch_unregister()3539 struct typec_switch_dev *typec_sw; in wcd939x_add_typec() local3568 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()