Lines Matching refs:ci
25 struct platform_device *ci; member
61 struct ci_hdrc_pci *ci; in ci_hdrc_pci_probe() local
70 ci = devm_kzalloc(&pdev->dev, sizeof(*ci), GFP_KERNEL); in ci_hdrc_pci_probe()
71 if (!ci) in ci_hdrc_pci_probe()
87 ci->phy = usb_phy_generic_register(); in ci_hdrc_pci_probe()
88 if (!ci->phy) in ci_hdrc_pci_probe()
98 ci->ci = ci_hdrc_add_device(&pdev->dev, res, nres, platdata); in ci_hdrc_pci_probe()
99 if (IS_ERR(ci->ci)) { in ci_hdrc_pci_probe()
101 usb_phy_generic_unregister(ci->phy); in ci_hdrc_pci_probe()
102 return PTR_ERR(ci->ci); in ci_hdrc_pci_probe()
105 pci_set_drvdata(pdev, ci); in ci_hdrc_pci_probe()
120 struct ci_hdrc_pci *ci = pci_get_drvdata(pdev); in ci_hdrc_pci_remove() local
122 ci_hdrc_remove_device(ci->ci); in ci_hdrc_pci_remove()
123 usb_phy_generic_unregister(ci->phy); in ci_hdrc_pci_remove()