Lines Matching +full:pm +full:- +full:api
1 .. SPDX-License-Identifier: GPL-2.0
2 .. include:: ../../disclaimer-zh_CN.rst
4 :Original: Documentation/driver-api/phy/phy.rst
77 提供了 2 个 API 来创建 PHY。
87 PHY 驱动程序可以使用上述两个 API 之一,通过传递设备指针和 phy_ops
99 控制器必须先获取对 PHY 的引用,然后才能使用 PHY。此框架提供以下 API
122 的时,应使用 _optional_get 变体。这些函数永远不会返回 -ENODEV,而
156 当控制器不再需要 PHY 时,它必须使用上一节中提到的 API 释放对已获得
157 的 PHY 的引用。PHY 框架提供了 2 个 API 来释放对 PHY 的引用。
164 这两个 API 都用于释放对 PHY 的引用,并且 devm_phy_put 会销毁与此
170 当创建 PHY 的驱动程序被卸载时,它应该使用以下 2 个 API 之一销毁其创
176 这两个 API 都会销毁 PHY,并且 devm_phy_destroy 会销毁与此 PHY 关
179 PM Runtime
190 phy_pm_runtime_put。有导出的 API,如 phy_pm_runtime_get、
192 phy_pm_runtime_allow 和 phy_pm_runtime_forbid,用于执行 PM 操作。
201 该框架提供以下 API 用于注册和注销查找::
212 Documentation/devicetree/bindings/phy/phy-bindings.txt