Home
last modified time | relevance | path

Searched refs:phy_provider (Results 1 – 25 of 124) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/phy/
Dphy-core.c37 struct phy_provider *phy_provider = *(struct phy_provider **)res; in devm_phy_provider_release() local
39 of_phy_provider_unregister(phy_provider); in devm_phy_provider_release()
131 static struct phy_provider *of_phy_provider_lookup(struct device_node *node) in of_phy_provider_lookup()
133 struct phy_provider *phy_provider; in of_phy_provider_lookup() local
136 list_for_each_entry(phy_provider, &phy_provider_list, list) { in of_phy_provider_lookup()
137 if (phy_provider->dev->of_node == node) in of_phy_provider_lookup()
138 return phy_provider; in of_phy_provider_lookup()
140 for_each_child_of_node(phy_provider->children, child) in of_phy_provider_lookup()
142 return phy_provider; in of_phy_provider_lookup()
500 struct phy_provider *phy_provider; in _of_phy_get() local
[all …]
Dphy-lpc18xx-usb-otg.c95 struct phy_provider *phy_provider; in lpc18xx_usb_otg_phy_probe() local
122 phy_provider = devm_of_phy_provider_register(&pdev->dev, in lpc18xx_usb_otg_phy_probe()
125 return PTR_ERR_OR_ZERO(phy_provider); in lpc18xx_usb_otg_phy_probe()
/kernel/linux/linux-5.10/include/linux/phy/
Dphy.h157 struct phy_provider { struct
256 struct phy_provider *__of_phy_provider_register(struct device *dev,
260 struct phy_provider *__devm_of_phy_provider_register(struct device *dev,
264 void of_phy_provider_unregister(struct phy_provider *phy_provider);
266 struct phy_provider *phy_provider);
475 static inline struct phy_provider *__of_phy_provider_register( in __of_phy_provider_register()
483 static inline struct phy_provider *__devm_of_phy_provider_register(struct device in __devm_of_phy_provider_register()
491 static inline void of_phy_provider_unregister(struct phy_provider *phy_provider) in of_phy_provider_unregister() argument
496 struct phy_provider *phy_provider) in devm_of_phy_provider_unregister() argument
/kernel/linux/linux-5.10/drivers/phy/tegra/
Dphy-tegra194-p2u.c71 struct phy_provider *phy_provider; in tegra_p2u_probe() local
94 phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in tegra_p2u_probe()
95 if (IS_ERR(phy_provider)) in tegra_p2u_probe()
96 return PTR_ERR(phy_provider); in tegra_p2u_probe()
/kernel/linux/linux-5.10/drivers/phy/broadcom/
Dphy-bcm-ns-usb3.c202 struct phy_provider *phy_provider; in bcm_ns_usb3_mdio_probe() local
242 phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in bcm_ns_usb3_mdio_probe()
244 return PTR_ERR_OR_ZERO(phy_provider); in bcm_ns_usb3_mdio_probe()
309 struct phy_provider *phy_provider; in bcm_ns_usb3_probe() local
353 phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in bcm_ns_usb3_probe()
354 if (!IS_ERR(phy_provider)) in bcm_ns_usb3_probe()
357 return PTR_ERR_OR_ZERO(phy_provider); in bcm_ns_usb3_probe()
Dphy-bcm-ns-usb2.c87 struct phy_provider *phy_provider; in bcm_ns_usb2_probe() local
114 phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in bcm_ns_usb2_probe()
115 return PTR_ERR_OR_ZERO(phy_provider); in bcm_ns_usb2_probe()
Dphy-bcm-kona-usb2.c99 struct phy_provider *phy_provider; in bcm_kona_usb2_probe() local
121 phy_provider = devm_of_phy_provider_register(dev, in bcm_kona_usb2_probe()
124 return PTR_ERR_OR_ZERO(phy_provider); in bcm_kona_usb2_probe()
/kernel/linux/linux-5.10/drivers/phy/marvell/
Dphy-mvebu-sata.c82 struct phy_provider *phy_provider; in phy_mvebu_sata_probe() local
106 phy_provider = devm_of_phy_provider_register(&pdev->dev, in phy_mvebu_sata_probe()
108 if (IS_ERR(phy_provider)) in phy_mvebu_sata_probe()
109 return PTR_ERR(phy_provider); in phy_mvebu_sata_probe()
Dphy-armada375-usb2.c106 struct phy_provider *phy_provider; in armada375_usb_phy_probe() local
132 phy_provider = devm_of_phy_provider_register(&pdev->dev, in armada375_usb_phy_probe()
134 return PTR_ERR_OR_ZERO(phy_provider); in armada375_usb_phy_probe()
/kernel/linux/linux-5.10/drivers/phy/st/
Dphy-stih407-usb.c93 struct phy_provider *phy_provider; in stih407_usb2_picophy_probe() local
148 phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in stih407_usb2_picophy_probe()
149 if (IS_ERR(phy_provider)) in stih407_usb2_picophy_probe()
150 return PTR_ERR(phy_provider); in stih407_usb2_picophy_probe()
Dphy-spear1340-miphy.c245 struct phy_provider *phy_provider; in spear1340_miphy_probe() local
267 phy_provider = in spear1340_miphy_probe()
269 if (IS_ERR(phy_provider)) { in spear1340_miphy_probe()
271 return PTR_ERR(phy_provider); in spear1340_miphy_probe()
Dphy-spear1310-miphy.c208 struct phy_provider *phy_provider; in spear1310_miphy_probe() local
235 phy_provider = in spear1310_miphy_probe()
237 if (IS_ERR(phy_provider)) { in spear1310_miphy_probe()
239 return PTR_ERR(phy_provider); in spear1310_miphy_probe()
/kernel/linux/linux-5.10/drivers/phy/samsung/
Dphy-exynos-dp-video.c79 struct phy_provider *phy_provider; in exynos_dp_video_phy_probe() local
102 phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in exynos_dp_video_phy_probe()
104 return PTR_ERR_OR_ZERO(phy_provider); in exynos_dp_video_phy_probe()
/kernel/linux/linux-5.10/drivers/phy/qualcomm/
Dphy-qcom-ipq4019-usb.c99 struct phy_provider *phy_provider; in ipq4019_usb_phy_probe() local
132 phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in ipq4019_usb_phy_probe()
134 return PTR_ERR_OR_ZERO(phy_provider); in ipq4019_usb_phy_probe()
Dphy-qcom-ipq806x-sata.c132 struct phy_provider *phy_provider; in qcom_ipq806x_sata_phy_probe() local
165 phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in qcom_ipq806x_sata_phy_probe()
166 if (IS_ERR(phy_provider)) { in qcom_ipq806x_sata_phy_probe()
169 return PTR_ERR(phy_provider); in qcom_ipq806x_sata_phy_probe()
Dphy-qcom-apq8064-sata.c205 struct phy_provider *phy_provider; in qcom_apq8064_sata_phy_probe() local
238 phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in qcom_apq8064_sata_phy_probe()
239 if (IS_ERR(phy_provider)) { in qcom_apq8064_sata_phy_probe()
242 return PTR_ERR(phy_provider); in qcom_apq8064_sata_phy_probe()
/kernel/linux/linux-5.10/drivers/phy/rockchip/
Dphy-rockchip-dp.c78 struct phy_provider *phy_provider; in rockchip_dp_phy_probe() local
127 phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in rockchip_dp_phy_probe()
129 return PTR_ERR_OR_ZERO(phy_provider); in rockchip_dp_phy_probe()
/kernel/linux/linux-5.10/drivers/phy/ti/
Dphy-da8xx-usb.c22 struct phy_provider *phy_provider; member
189 d_phy->phy_provider = devm_of_phy_provider_register(dev, in da8xx_usb_phy_probe()
191 if (IS_ERR(d_phy->phy_provider)) { in da8xx_usb_phy_probe()
193 return PTR_ERR(d_phy->phy_provider); in da8xx_usb_phy_probe()
Dphy-dm816x-usb.c188 struct phy_provider *phy_provider; in dm816x_usb_phy_probe() local
252 phy_provider = devm_of_phy_provider_register(phy->dev, in dm816x_usb_phy_probe()
254 if (IS_ERR(phy_provider)) { in dm816x_usb_phy_probe()
255 error = PTR_ERR(phy_provider); in dm816x_usb_phy_probe()
/kernel/linux/linux-5.10/drivers/phy/hisilicon/
Dphy-hi6220-usb.c119 struct phy_provider *phy_provider; in hi6220_phy_probe() local
143 phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in hi6220_phy_probe()
144 return PTR_ERR_OR_ZERO(phy_provider); in hi6220_phy_probe()
Dphy-hix5hd2-sata.c135 struct phy_provider *phy_provider; in hix5hd2_sata_phy_probe() local
165 phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in hix5hd2_sata_phy_probe()
166 return PTR_ERR_OR_ZERO(phy_provider); in hix5hd2_sata_phy_probe()
/kernel/linux/linux-5.10/drivers/phy/mediatek/
Dphy-mtk-hdmi.c112 struct phy_provider *phy_provider; in mtk_hdmi_phy_probe() local
182 phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in mtk_hdmi_phy_probe()
183 if (IS_ERR(phy_provider)) { in mtk_hdmi_phy_probe()
185 return PTR_ERR(phy_provider); in mtk_hdmi_phy_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_mipi_tx.c142 struct phy_provider *phy_provider; in mtk_mipi_tx_probe() local
209 phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in mtk_mipi_tx_probe()
210 if (IS_ERR(phy_provider)) { in mtk_mipi_tx_probe()
211 ret = PTR_ERR(phy_provider); in mtk_mipi_tx_probe()
/kernel/linux/linux-5.10/drivers/phy/allwinner/
Dphy-sun50i-usb3.c136 struct phy_provider *phy_provider; in sun50i_usb3_phy_probe() local
168 phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in sun50i_usb3_phy_probe()
170 return PTR_ERR_OR_ZERO(phy_provider); in sun50i_usb3_phy_probe()
Dphy-sun9i-usb.c119 struct phy_provider *phy_provider; in sun9i_usb_phy_probe() local
171 phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate); in sun9i_usb_phy_probe()
173 return PTR_ERR_OR_ZERO(phy_provider); in sun9i_usb_phy_probe()

12345