Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/chipidea/
H A Dci_hdrc_usb2.c22 struct platform_device *ci_pdev; member
86 priv->ci_pdev = ci_hdrc_add_device(dev, pdev->resource, in ci_hdrc_usb2_probe()
88 if (IS_ERR(priv->ci_pdev)) { in ci_hdrc_usb2_probe()
89 ret = PTR_ERR(priv->ci_pdev); in ci_hdrc_usb2_probe()
114 ci_hdrc_remove_device(priv->ci_pdev); in ci_hdrc_usb2_remove()
H A Dci_hdrc_imx.c97 struct platform_device *ci_pdev; member
466 data->ci_pdev = ci_hdrc_add_device(dev, in ci_hdrc_imx_probe()
469 if (IS_ERR(data->ci_pdev)) { in ci_hdrc_imx_probe()
470 ret = PTR_ERR(data->ci_pdev); in ci_hdrc_imx_probe()
486 ci_hdrc_query_available_role(data->ci_pdev); in ci_hdrc_imx_probe()
505 ci_hdrc_remove_device(data->ci_pdev); in ci_hdrc_imx_probe()
514 data->ci_pdev = NULL; in ci_hdrc_imx_probe()
527 if (data->ci_pdev) in ci_hdrc_imx_remove()
528 ci_hdrc_remove_device(data->ci_pdev); in ci_hdrc_imx_remove()
531 if (data->ci_pdev) { in ci_hdrc_imx_remove()