/linux-6.3-rc2/drivers/phy/mediatek/ |
A D | phy-mtk-ufs.c | 44 static struct ufs_mtk_phy *get_ufs_mtk_phy(struct phy *generic_phy) in get_ufs_mtk_phy() argument 46 return (struct ufs_mtk_phy *)phy_get_drvdata(generic_phy); in get_ufs_mtk_phy() 118 static int ufs_mtk_phy_power_on(struct phy *generic_phy) in ufs_mtk_phy_power_on() argument 120 struct ufs_mtk_phy *phy = get_ufs_mtk_phy(generic_phy); in ufs_mtk_phy_power_on() 132 static int ufs_mtk_phy_power_off(struct phy *generic_phy) in ufs_mtk_phy_power_off() argument 134 struct ufs_mtk_phy *phy = get_ufs_mtk_phy(generic_phy); in ufs_mtk_phy_power_off() 152 struct phy *generic_phy; in ufs_mtk_phy_probe() local 171 generic_phy = devm_phy_create(dev, NULL, &ufs_mtk_phy_ops); in ufs_mtk_phy_probe() 172 if (IS_ERR(generic_phy)) in ufs_mtk_phy_probe() 173 return PTR_ERR(generic_phy); in ufs_mtk_phy_probe() [all …]
|
/linux-6.3-rc2/drivers/phy/qualcomm/ |
A D | phy-qcom-ipq806x-sata.c | 53 static int qcom_ipq806x_sata_phy_init(struct phy *generic_phy) in qcom_ipq806x_sata_phy_init() argument 55 struct qcom_ipq806x_sata_phy *phy = phy_get_drvdata(generic_phy); in qcom_ipq806x_sata_phy_init() 108 static int qcom_ipq806x_sata_phy_exit(struct phy *generic_phy) in qcom_ipq806x_sata_phy_exit() argument 110 struct qcom_ipq806x_sata_phy *phy = phy_get_drvdata(generic_phy); in qcom_ipq806x_sata_phy_exit() 132 struct phy *generic_phy; in qcom_ipq806x_sata_phy_probe() local 143 generic_phy = devm_phy_create(dev, NULL, &qcom_ipq806x_sata_phy_ops); in qcom_ipq806x_sata_phy_probe() 144 if (IS_ERR(generic_phy)) { in qcom_ipq806x_sata_phy_probe() 146 return PTR_ERR(generic_phy); in qcom_ipq806x_sata_phy_probe() 150 phy_set_drvdata(generic_phy, phy); in qcom_ipq806x_sata_phy_probe()
|
A D | phy-qcom-apq8064-sata.c | 84 static int qcom_apq8064_sata_phy_init(struct phy *generic_phy) in qcom_apq8064_sata_phy_init() argument 86 struct qcom_apq8064_sata_phy *phy = phy_get_drvdata(generic_phy); in qcom_apq8064_sata_phy_init() 179 static int qcom_apq8064_sata_phy_exit(struct phy *generic_phy) in qcom_apq8064_sata_phy_exit() argument 181 struct qcom_apq8064_sata_phy *phy = phy_get_drvdata(generic_phy); in qcom_apq8064_sata_phy_exit() 205 struct phy *generic_phy; in qcom_apq8064_sata_phy_probe() local 216 generic_phy = devm_phy_create(dev, NULL, &qcom_apq8064_sata_phy_ops); in qcom_apq8064_sata_phy_probe() 217 if (IS_ERR(generic_phy)) { in qcom_apq8064_sata_phy_probe() 219 return PTR_ERR(generic_phy); in qcom_apq8064_sata_phy_probe() 223 phy_set_drvdata(generic_phy, phy); in qcom_apq8064_sata_phy_probe()
|
A D | phy-qcom-snps-femto-v2.c | 549 struct phy *generic_phy; in qcom_snps_hsphy_probe() local 589 generic_phy = devm_phy_create(dev, NULL, &qcom_snps_hsphy_gen_ops); in qcom_snps_hsphy_probe() 590 if (IS_ERR(generic_phy)) { in qcom_snps_hsphy_probe() 591 ret = PTR_ERR(generic_phy); in qcom_snps_hsphy_probe() 595 hsphy->phy = generic_phy; in qcom_snps_hsphy_probe() 598 phy_set_drvdata(generic_phy, hsphy); in qcom_snps_hsphy_probe()
|
A D | phy-qcom-snps-eusb2.c | 372 struct phy *generic_phy; in qcom_snps_eusb2_hsphy_probe() local 407 generic_phy = devm_phy_create(dev, NULL, &qcom_snps_eusb2_hsphy_ops); in qcom_snps_eusb2_hsphy_probe() 408 if (IS_ERR(generic_phy)) { in qcom_snps_eusb2_hsphy_probe() 410 return PTR_ERR(generic_phy); in qcom_snps_eusb2_hsphy_probe() 414 phy_set_drvdata(generic_phy, phy); in qcom_snps_eusb2_hsphy_probe()
|
A D | phy-qcom-ipq806x-usb.c | 485 struct phy *generic_phy; in qcom_ipq806x_usb_phy_probe() local 535 generic_phy = devm_phy_create(phy_dwc3->dev, pdev->dev.of_node, &data->ops); in qcom_ipq806x_usb_phy_probe() 537 if (IS_ERR(generic_phy)) in qcom_ipq806x_usb_phy_probe() 538 return PTR_ERR(generic_phy); in qcom_ipq806x_usb_phy_probe() 540 phy_set_drvdata(generic_phy, phy_dwc3); in qcom_ipq806x_usb_phy_probe()
|
A D | phy-qcom-qmp-pcie-msm8996.c | 713 struct phy *generic_phy; in qmp_pcie_msm8996_create() local 755 generic_phy = devm_phy_create(dev, np, &qmp_pcie_msm8996_ops); in qmp_pcie_msm8996_create() 756 if (IS_ERR(generic_phy)) { in qmp_pcie_msm8996_create() 757 ret = PTR_ERR(generic_phy); in qmp_pcie_msm8996_create() 762 qphy->phy = generic_phy; in qmp_pcie_msm8996_create() 766 phy_set_drvdata(generic_phy, qphy); in qmp_pcie_msm8996_create()
|
A D | phy-qcom-qusb2.c | 960 struct phy *generic_phy; in qusb2_phy_probe() local 1072 generic_phy = devm_phy_create(dev, NULL, &qusb2_phy_gen_ops); in qusb2_phy_probe() 1073 if (IS_ERR(generic_phy)) { in qusb2_phy_probe() 1074 ret = PTR_ERR(generic_phy); in qusb2_phy_probe() 1079 qphy->phy = generic_phy; in qusb2_phy_probe() 1082 phy_set_drvdata(generic_phy, qphy); in qusb2_phy_probe()
|
/linux-6.3-rc2/drivers/phy/tegra/ |
A D | phy-tegra194-p2u.c | 111 struct phy *generic_phy; in tegra_p2u_probe() local 133 generic_phy = devm_phy_create(dev, NULL, &ops); in tegra_p2u_probe() 134 if (IS_ERR(generic_phy)) in tegra_p2u_probe() 135 return PTR_ERR(generic_phy); in tegra_p2u_probe() 137 phy_set_drvdata(generic_phy, phy); in tegra_p2u_probe()
|
/linux-6.3-rc2/drivers/phy/samsung/ |
A D | phy-exynos-pcie.c | 147 struct phy *generic_phy; in exynos_pcie_phy_probe() local 172 generic_phy = devm_phy_create(dev, dev->of_node, &exynos5433_phy_ops); in exynos_pcie_phy_probe() 173 if (IS_ERR(generic_phy)) { in exynos_pcie_phy_probe() 175 return PTR_ERR(generic_phy); in exynos_pcie_phy_probe() 178 phy_set_drvdata(generic_phy, exynos_phy); in exynos_pcie_phy_probe()
|
A D | phy-samsung-ufs.c | 194 static int samsung_ufs_phy_set_mode(struct phy *generic_phy, in samsung_ufs_phy_set_mode() argument 197 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(generic_phy); in samsung_ufs_phy_set_mode()
|
/linux-6.3-rc2/drivers/phy/intel/ |
A D | phy-intel-keembay-emmc.c | 264 struct phy *generic_phy; in keembay_emmc_phy_probe() local 280 generic_phy = devm_phy_create(dev, np, &ops); in keembay_emmc_phy_probe() 281 if (IS_ERR(generic_phy)) in keembay_emmc_phy_probe() 282 return dev_err_probe(dev, PTR_ERR(generic_phy), in keembay_emmc_phy_probe() 285 phy_set_drvdata(generic_phy, priv); in keembay_emmc_phy_probe()
|
A D | phy-intel-lgm-emmc.c | 239 struct phy *generic_phy; in intel_emmc_phy_probe() local 253 generic_phy = devm_phy_create(dev, np, &ops); in intel_emmc_phy_probe() 254 if (IS_ERR(generic_phy)) { in intel_emmc_phy_probe() 256 return PTR_ERR(generic_phy); in intel_emmc_phy_probe() 259 phy_set_drvdata(generic_phy, priv); in intel_emmc_phy_probe()
|
A D | phy-intel-keembay-usb.c | 237 struct phy *generic_phy; in keembay_usb_phy_probe() local 264 generic_phy = devm_phy_create(dev, dev->of_node, &ops); in keembay_usb_phy_probe() 265 if (IS_ERR(generic_phy)) in keembay_usb_phy_probe() 266 return dev_err_probe(dev, PTR_ERR(generic_phy), in keembay_usb_phy_probe() 269 phy_set_drvdata(generic_phy, priv); in keembay_usb_phy_probe()
|
A D | phy-intel-thunderbay-emmc.c | 463 struct phy *generic_phy; in thunderbay_emmc_phy_probe() local 485 generic_phy = devm_phy_create(dev, dev->of_node, id->data); in thunderbay_emmc_phy_probe() 486 if (IS_ERR(generic_phy)) { in thunderbay_emmc_phy_probe() 488 return PTR_ERR(generic_phy); in thunderbay_emmc_phy_probe() 491 phy_set_drvdata(generic_phy, tbh_phy); in thunderbay_emmc_phy_probe()
|
/linux-6.3-rc2/drivers/phy/hisilicon/ |
A D | phy-hi3670-pcie.c | 637 static int hi3670_pcie_phy_init(struct phy *generic_phy) in hi3670_pcie_phy_init() argument 639 struct hi3670_pcie_phy *phy = phy_get_drvdata(generic_phy); in hi3670_pcie_phy_init() 660 static int hi3670_pcie_phy_power_on(struct phy *generic_phy) in hi3670_pcie_phy_power_on() argument 662 struct hi3670_pcie_phy *phy = phy_get_drvdata(generic_phy); in hi3670_pcie_phy_power_on() 715 static int hi3670_pcie_phy_power_off(struct phy *generic_phy) in hi3670_pcie_phy_power_off() argument 717 struct hi3670_pcie_phy *phy = phy_get_drvdata(generic_phy); in hi3670_pcie_phy_power_off() 799 struct phy *generic_phy; in hi3670_pcie_phy_probe() local 812 generic_phy = devm_phy_create(dev, dev->of_node, &hi3670_phy_ops); in hi3670_pcie_phy_probe() 813 if (IS_ERR(generic_phy)) { in hi3670_pcie_phy_probe() 815 return PTR_ERR(generic_phy); in hi3670_pcie_phy_probe() [all …]
|
/linux-6.3-rc2/drivers/phy/ti/ |
A D | phy-dm816x-usb.c | 178 struct phy *generic_phy; in dm816x_usb_phy_probe() local 235 generic_phy = devm_phy_create(phy->dev, NULL, &ops); in dm816x_usb_phy_probe() 236 if (IS_ERR(generic_phy)) { in dm816x_usb_phy_probe() 237 error = PTR_ERR(generic_phy); in dm816x_usb_phy_probe() 241 phy_set_drvdata(generic_phy, phy); in dm816x_usb_phy_probe()
|
A D | phy-omap-usb2.c | 368 struct phy *generic_phy; in omap_usb2_probe() local 488 generic_phy = devm_phy_create(phy->dev, NULL, &ops); in omap_usb2_probe() 489 if (IS_ERR(generic_phy)) { in omap_usb2_probe() 491 return PTR_ERR(generic_phy); in omap_usb2_probe() 494 phy_set_drvdata(generic_phy, phy); in omap_usb2_probe() 495 omap_usb_power_off(generic_phy); in omap_usb2_probe()
|
A D | phy-ti-pipe3.c | 777 struct phy *generic_phy; in ti_pipe3_probe() local 832 generic_phy = devm_phy_create(dev, NULL, &ops); in ti_pipe3_probe() 833 if (IS_ERR(generic_phy)) in ti_pipe3_probe() 834 return PTR_ERR(generic_phy); in ti_pipe3_probe() 836 phy_set_drvdata(generic_phy, phy); in ti_pipe3_probe() 838 ti_pipe3_power_off(generic_phy); in ti_pipe3_probe()
|
/linux-6.3-rc2/drivers/phy/rockchip/ |
A D | phy-rockchip-emmc.c | 351 struct phy *generic_phy; in rockchip_emmc_phy_probe() local 395 generic_phy = devm_phy_create(dev, dev->of_node, &ops); in rockchip_emmc_phy_probe() 396 if (IS_ERR(generic_phy)) { in rockchip_emmc_phy_probe() 398 return PTR_ERR(generic_phy); in rockchip_emmc_phy_probe() 401 phy_set_drvdata(generic_phy, rk_phy); in rockchip_emmc_phy_probe()
|
/linux-6.3-rc2/drivers/phy/ |
A D | phy-can-transceiver.c | 22 struct phy *generic_phy; member 137 can_transceiver_phy->generic_phy = phy; in can_transceiver_phy_probe() 153 phy_set_drvdata(can_transceiver_phy->generic_phy, can_transceiver_phy); in can_transceiver_phy_probe()
|
/linux-6.3-rc2/drivers/phy/motorola/ |
A D | phy-mapphone-mdm6600.c | 92 struct phy *generic_phy; member 611 ddata->generic_phy = devm_phy_create(ddata->dev, NULL, &gpio_usb_ops); in phy_mdm6600_probe() 612 if (IS_ERR(ddata->generic_phy)) { in phy_mdm6600_probe() 613 error = PTR_ERR(ddata->generic_phy); in phy_mdm6600_probe() 617 phy_set_drvdata(ddata->generic_phy, ddata); in phy_mdm6600_probe()
|
A D | phy-cpcap-usb.c | 612 struct phy *generic_phy; in cpcap_usb_phy_probe() local 654 generic_phy = devm_phy_create(ddata->dev, NULL, &ops); in cpcap_usb_phy_probe() 655 if (IS_ERR(generic_phy)) { in cpcap_usb_phy_probe() 656 error = PTR_ERR(generic_phy); in cpcap_usb_phy_probe() 660 phy_set_drvdata(generic_phy, ddata); in cpcap_usb_phy_probe()
|
/linux-6.3-rc2/drivers/ufs/host/ |
A D | ufs-qcom.c | 306 struct phy *phy = host->generic_phy; in ufs_qcom_power_up_sequence() 589 struct phy *phy = host->generic_phy; in ufs_qcom_suspend() 616 struct phy *phy = host->generic_phy; in ufs_qcom_resume() 986 host->generic_phy = devm_phy_get(dev, "ufsphy"); in ufs_qcom_init() 987 if (IS_ERR(host->generic_phy)) { in ufs_qcom_init() 988 err = dev_err_probe(dev, PTR_ERR(host->generic_phy), "Failed to get PHY\n"); in ufs_qcom_init() 1072 phy_power_off(host->generic_phy); in ufs_qcom_exit() 1073 phy_exit(host->generic_phy); in ufs_qcom_exit() 1406 phy_power_off(host->generic_phy); in ufs_qcom_reinit_notify()
|
A D | ufs-exynos.c | 767 struct phy *generic_phy = ufs->phy; in exynos_ufs_pre_pwr_mode() local 795 phy_calibrate(generic_phy); in exynos_ufs_pre_pwr_mode() 815 struct phy *generic_phy = ufs->phy; in exynos_ufs_post_pwr_mode() local 834 phy_calibrate(generic_phy); in exynos_ufs_post_pwr_mode() 890 struct phy *generic_phy = ufs->phy; in exynos_ufs_phy_init() local 903 phy_set_bus_width(generic_phy, ufs->avail_ln_rx); in exynos_ufs_phy_init() 904 ret = phy_init(generic_phy); in exynos_ufs_phy_init() 911 ret = phy_power_on(generic_phy); in exynos_ufs_phy_init() 918 phy_exit(generic_phy); in exynos_ufs_phy_init() 1016 struct phy *generic_phy = ufs->phy; in exynos_ufs_post_link() local [all …]
|