generic_phy 69 drivers/phy/mediatek/phy-mtk-ufs.c static struct ufs_mtk_phy *get_ufs_mtk_phy(struct phy *generic_phy) generic_phy 71 drivers/phy/mediatek/phy-mtk-ufs.c return (struct ufs_mtk_phy *)phy_get_drvdata(generic_phy); generic_phy 148 drivers/phy/mediatek/phy-mtk-ufs.c static int ufs_mtk_phy_power_on(struct phy *generic_phy) generic_phy 150 drivers/phy/mediatek/phy-mtk-ufs.c struct ufs_mtk_phy *phy = get_ufs_mtk_phy(generic_phy); generic_phy 175 drivers/phy/mediatek/phy-mtk-ufs.c static int ufs_mtk_phy_power_off(struct phy *generic_phy) generic_phy 177 drivers/phy/mediatek/phy-mtk-ufs.c struct ufs_mtk_phy *phy = get_ufs_mtk_phy(generic_phy); generic_phy 196 drivers/phy/mediatek/phy-mtk-ufs.c struct phy *generic_phy; generic_phy 217 drivers/phy/mediatek/phy-mtk-ufs.c generic_phy = devm_phy_create(dev, NULL, &ufs_mtk_phy_ops); generic_phy 218 drivers/phy/mediatek/phy-mtk-ufs.c if (IS_ERR(generic_phy)) generic_phy 219 drivers/phy/mediatek/phy-mtk-ufs.c return PTR_ERR(generic_phy); generic_phy 221 drivers/phy/mediatek/phy-mtk-ufs.c phy_set_drvdata(generic_phy, phy); generic_phy 583 drivers/phy/motorola/phy-cpcap-usb.c struct phy *generic_phy; generic_phy 625 drivers/phy/motorola/phy-cpcap-usb.c generic_phy = devm_phy_create(ddata->dev, NULL, &ops); generic_phy 626 drivers/phy/motorola/phy-cpcap-usb.c if (IS_ERR(generic_phy)) { generic_phy 627 drivers/phy/motorola/phy-cpcap-usb.c error = PTR_ERR(generic_phy); generic_phy 628 drivers/phy/motorola/phy-cpcap-usb.c return PTR_ERR(generic_phy); generic_phy 631 drivers/phy/motorola/phy-cpcap-usb.c phy_set_drvdata(generic_phy, ddata); generic_phy 92 drivers/phy/motorola/phy-mapphone-mdm6600.c struct phy *generic_phy; generic_phy 610 drivers/phy/motorola/phy-mapphone-mdm6600.c ddata->generic_phy = devm_phy_create(ddata->dev, NULL, &gpio_usb_ops); generic_phy 611 drivers/phy/motorola/phy-mapphone-mdm6600.c if (IS_ERR(ddata->generic_phy)) { generic_phy 612 drivers/phy/motorola/phy-mapphone-mdm6600.c error = PTR_ERR(ddata->generic_phy); generic_phy 616 drivers/phy/motorola/phy-mapphone-mdm6600.c phy_set_drvdata(ddata->generic_phy, ddata); generic_phy 89 drivers/phy/qualcomm/phy-qcom-apq8064-sata.c static int qcom_apq8064_sata_phy_init(struct phy *generic_phy) generic_phy 91 drivers/phy/qualcomm/phy-qcom-apq8064-sata.c struct qcom_apq8064_sata_phy *phy = phy_get_drvdata(generic_phy); generic_phy 184 drivers/phy/qualcomm/phy-qcom-apq8064-sata.c static int qcom_apq8064_sata_phy_exit(struct phy *generic_phy) generic_phy 186 drivers/phy/qualcomm/phy-qcom-apq8064-sata.c struct qcom_apq8064_sata_phy *phy = phy_get_drvdata(generic_phy); generic_phy 211 drivers/phy/qualcomm/phy-qcom-apq8064-sata.c struct phy *generic_phy; generic_phy 223 drivers/phy/qualcomm/phy-qcom-apq8064-sata.c generic_phy = devm_phy_create(dev, NULL, &qcom_apq8064_sata_phy_ops); generic_phy 224 drivers/phy/qualcomm/phy-qcom-apq8064-sata.c if (IS_ERR(generic_phy)) { generic_phy 226 drivers/phy/qualcomm/phy-qcom-apq8064-sata.c return PTR_ERR(generic_phy); generic_phy 230 drivers/phy/qualcomm/phy-qcom-apq8064-sata.c phy_set_drvdata(generic_phy, phy); generic_phy 53 drivers/phy/qualcomm/phy-qcom-ipq806x-sata.c static int qcom_ipq806x_sata_phy_init(struct phy *generic_phy) generic_phy 55 drivers/phy/qualcomm/phy-qcom-ipq806x-sata.c struct qcom_ipq806x_sata_phy *phy = phy_get_drvdata(generic_phy); generic_phy 108 drivers/phy/qualcomm/phy-qcom-ipq806x-sata.c static int qcom_ipq806x_sata_phy_exit(struct phy *generic_phy) generic_phy 110 drivers/phy/qualcomm/phy-qcom-ipq806x-sata.c struct qcom_ipq806x_sata_phy *phy = phy_get_drvdata(generic_phy); generic_phy 133 drivers/phy/qualcomm/phy-qcom-ipq806x-sata.c struct phy *generic_phy; generic_phy 145 drivers/phy/qualcomm/phy-qcom-ipq806x-sata.c generic_phy = devm_phy_create(dev, NULL, &qcom_ipq806x_sata_phy_ops); generic_phy 146 drivers/phy/qualcomm/phy-qcom-ipq806x-sata.c if (IS_ERR(generic_phy)) { generic_phy 148 drivers/phy/qualcomm/phy-qcom-ipq806x-sata.c return PTR_ERR(generic_phy); generic_phy 152 drivers/phy/qualcomm/phy-qcom-ipq806x-sata.c phy_set_drvdata(generic_phy, phy); generic_phy 1865 drivers/phy/qualcomm/phy-qcom-qmp.c struct phy *generic_phy; generic_phy 1957 drivers/phy/qualcomm/phy-qcom-qmp.c generic_phy = devm_phy_create(dev, np, ops); generic_phy 1958 drivers/phy/qualcomm/phy-qcom-qmp.c if (IS_ERR(generic_phy)) { generic_phy 1959 drivers/phy/qualcomm/phy-qcom-qmp.c ret = PTR_ERR(generic_phy); generic_phy 1964 drivers/phy/qualcomm/phy-qcom-qmp.c qphy->phy = generic_phy; generic_phy 1968 drivers/phy/qualcomm/phy-qcom-qmp.c phy_set_drvdata(generic_phy, qphy); generic_phy 794 drivers/phy/qualcomm/phy-qcom-qusb2.c struct phy *generic_phy; generic_phy 897 drivers/phy/qualcomm/phy-qcom-qusb2.c generic_phy = devm_phy_create(dev, NULL, &qusb2_phy_gen_ops); generic_phy 898 drivers/phy/qualcomm/phy-qcom-qusb2.c if (IS_ERR(generic_phy)) { generic_phy 899 drivers/phy/qualcomm/phy-qcom-qusb2.c ret = PTR_ERR(generic_phy); generic_phy 904 drivers/phy/qualcomm/phy-qcom-qusb2.c qphy->phy = generic_phy; generic_phy 907 drivers/phy/qualcomm/phy-qcom-qusb2.c phy_set_drvdata(generic_phy, qphy); generic_phy 116 drivers/phy/qualcomm/phy-qcom-ufs-i.h struct ufs_qcom_phy *get_ufs_qcom_phy(struct phy *generic_phy); generic_phy 117 drivers/phy/qualcomm/phy-qcom-ufs-i.h int ufs_qcom_phy_power_on(struct phy *generic_phy); generic_phy 118 drivers/phy/qualcomm/phy-qcom-ufs-i.h int ufs_qcom_phy_power_off(struct phy *generic_phy); generic_phy 121 drivers/phy/qualcomm/phy-qcom-ufs-i.h int ufs_qcom_phy_remove(struct phy *generic_phy, generic_phy 37 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c int ufs_qcom_phy_qmp_14nm_set_mode(struct phy *generic_phy, generic_phy 40 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c struct ufs_qcom_phy *phy_common = get_ufs_qcom_phy(generic_phy); generic_phy 113 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c struct phy *generic_phy; generic_phy 125 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c generic_phy = ufs_qcom_phy_generic_probe(pdev, phy_common, generic_phy 128 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c if (!generic_phy) { generic_phy 146 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c phy_set_drvdata(generic_phy, phy); generic_phy 56 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c int ufs_qcom_phy_qmp_20nm_set_mode(struct phy *generic_phy, generic_phy 59 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c struct ufs_qcom_phy *phy_common = get_ufs_qcom_phy(generic_phy); generic_phy 171 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c struct phy *generic_phy; generic_phy 183 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c generic_phy = ufs_qcom_phy_generic_probe(pdev, phy_common, generic_phy 186 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c if (!generic_phy) { generic_phy 201 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c phy_set_drvdata(generic_phy, phy); generic_phy 68 drivers/phy/qualcomm/phy-qcom-ufs.c struct ufs_qcom_phy *get_ufs_qcom_phy(struct phy *generic_phy) generic_phy 70 drivers/phy/qualcomm/phy-qcom-ufs.c return (struct ufs_qcom_phy *)phy_get_drvdata(generic_phy); generic_phy 109 drivers/phy/qualcomm/phy-qcom-ufs.c struct phy *generic_phy = NULL; generic_phy 125 drivers/phy/qualcomm/phy-qcom-ufs.c generic_phy = devm_phy_create(dev, NULL, ufs_qcom_phy_gen_ops); generic_phy 126 drivers/phy/qualcomm/phy-qcom-ufs.c if (IS_ERR(generic_phy)) { generic_phy 127 drivers/phy/qualcomm/phy-qcom-ufs.c err = PTR_ERR(generic_phy); generic_phy 129 drivers/phy/qualcomm/phy-qcom-ufs.c generic_phy = NULL; generic_phy 137 drivers/phy/qualcomm/phy-qcom-ufs.c return generic_phy; generic_phy 492 drivers/phy/qualcomm/phy-qcom-ufs.c int ufs_qcom_phy_set_tx_lane_enable(struct phy *generic_phy, u32 tx_lanes) generic_phy 494 drivers/phy/qualcomm/phy-qcom-ufs.c struct ufs_qcom_phy *ufs_qcom_phy = get_ufs_qcom_phy(generic_phy); generic_phy 510 drivers/phy/qualcomm/phy-qcom-ufs.c void ufs_qcom_phy_save_controller_version(struct phy *generic_phy, generic_phy 513 drivers/phy/qualcomm/phy-qcom-ufs.c struct ufs_qcom_phy *ufs_qcom_phy = get_ufs_qcom_phy(generic_phy); generic_phy 533 drivers/phy/qualcomm/phy-qcom-ufs.c int ufs_qcom_phy_power_on(struct phy *generic_phy) generic_phy 535 drivers/phy/qualcomm/phy-qcom-ufs.c struct ufs_qcom_phy *phy_common = get_ufs_qcom_phy(generic_phy); generic_phy 626 drivers/phy/qualcomm/phy-qcom-ufs.c int ufs_qcom_phy_power_off(struct phy *generic_phy) generic_phy 628 drivers/phy/qualcomm/phy-qcom-ufs.c struct ufs_qcom_phy *phy_common = get_ufs_qcom_phy(generic_phy); generic_phy 334 drivers/phy/rockchip/phy-rockchip-emmc.c struct phy *generic_phy; generic_phy 366 drivers/phy/rockchip/phy-rockchip-emmc.c generic_phy = devm_phy_create(dev, dev->of_node, &ops); generic_phy 367 drivers/phy/rockchip/phy-rockchip-emmc.c if (IS_ERR(generic_phy)) { generic_phy 369 drivers/phy/rockchip/phy-rockchip-emmc.c return PTR_ERR(generic_phy); generic_phy 372 drivers/phy/rockchip/phy-rockchip-emmc.c phy_set_drvdata(generic_phy, rk_phy); generic_phy 233 drivers/phy/samsung/phy-exynos-pcie.c struct phy *generic_phy; generic_phy 258 drivers/phy/samsung/phy-exynos-pcie.c generic_phy = devm_phy_create(dev, dev->of_node, drv_data->ops); generic_phy 259 drivers/phy/samsung/phy-exynos-pcie.c if (IS_ERR(generic_phy)) { generic_phy 261 drivers/phy/samsung/phy-exynos-pcie.c return PTR_ERR(generic_phy); generic_phy 264 drivers/phy/samsung/phy-exynos-pcie.c phy_set_drvdata(generic_phy, exynos_phy); generic_phy 73 drivers/phy/tegra/phy-tegra194-p2u.c struct phy *generic_phy; generic_phy 88 drivers/phy/tegra/phy-tegra194-p2u.c generic_phy = devm_phy_create(dev, NULL, &ops); generic_phy 89 drivers/phy/tegra/phy-tegra194-p2u.c if (IS_ERR(generic_phy)) generic_phy 90 drivers/phy/tegra/phy-tegra194-p2u.c return PTR_ERR(generic_phy); generic_phy 92 drivers/phy/tegra/phy-tegra194-p2u.c phy_set_drvdata(generic_phy, phy); generic_phy 188 drivers/phy/ti/phy-dm816x-usb.c struct phy *generic_phy; generic_phy 248 drivers/phy/ti/phy-dm816x-usb.c generic_phy = devm_phy_create(phy->dev, NULL, &ops); generic_phy 249 drivers/phy/ti/phy-dm816x-usb.c if (IS_ERR(generic_phy)) generic_phy 250 drivers/phy/ti/phy-dm816x-usb.c return PTR_ERR(generic_phy); generic_phy 252 drivers/phy/ti/phy-dm816x-usb.c phy_set_drvdata(generic_phy, phy); generic_phy 283 drivers/phy/ti/phy-omap-usb2.c struct phy *generic_phy; generic_phy 406 drivers/phy/ti/phy-omap-usb2.c generic_phy = devm_phy_create(phy->dev, NULL, &ops); generic_phy 407 drivers/phy/ti/phy-omap-usb2.c if (IS_ERR(generic_phy)) { generic_phy 409 drivers/phy/ti/phy-omap-usb2.c return PTR_ERR(generic_phy); generic_phy 412 drivers/phy/ti/phy-omap-usb2.c phy_set_drvdata(generic_phy, phy); generic_phy 413 drivers/phy/ti/phy-omap-usb2.c omap_usb_power_off(generic_phy); generic_phy 784 drivers/phy/ti/phy-ti-pipe3.c struct phy *generic_phy; generic_phy 839 drivers/phy/ti/phy-ti-pipe3.c generic_phy = devm_phy_create(dev, NULL, &ops); generic_phy 840 drivers/phy/ti/phy-ti-pipe3.c if (IS_ERR(generic_phy)) generic_phy 841 drivers/phy/ti/phy-ti-pipe3.c return PTR_ERR(generic_phy); generic_phy 843 drivers/phy/ti/phy-ti-pipe3.c phy_set_drvdata(generic_phy, phy); generic_phy 845 drivers/phy/ti/phy-ti-pipe3.c ti_pipe3_power_off(generic_phy); generic_phy 252 drivers/scsi/ufs/ufs-qcom.c struct phy *phy = host->generic_phy; generic_phy 532 drivers/scsi/ufs/ufs-qcom.c struct phy *phy = host->generic_phy; generic_phy 554 drivers/scsi/ufs/ufs-qcom.c struct phy *phy = host->generic_phy; generic_phy 1121 drivers/scsi/ufs/ufs-qcom.c host->generic_phy = devm_phy_get(dev, "ufsphy"); generic_phy 1123 drivers/scsi/ufs/ufs-qcom.c if (host->generic_phy == ERR_PTR(-EPROBE_DEFER)) { generic_phy 1132 drivers/scsi/ufs/ufs-qcom.c } else if (IS_ERR(host->generic_phy)) { generic_phy 1134 drivers/scsi/ufs/ufs-qcom.c host->generic_phy = NULL; generic_phy 1136 drivers/scsi/ufs/ufs-qcom.c err = PTR_ERR(host->generic_phy); generic_phy 1216 drivers/scsi/ufs/ufs-qcom.c phy_power_off(host->generic_phy); generic_phy 1217 drivers/scsi/ufs/ufs-qcom.c phy_exit(host->generic_phy); generic_phy 216 drivers/scsi/ufs/ufs-qcom.h struct phy *generic_phy;