Lines Matching +full:powered +full:- +full:on

2  * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
3 * Written by Jean-Jacques Hiblot <jjhiblot@ti.com>
5 * SPDX-License-Identifier: GPL-2.0+
11 #include <generic-phy-dp.h>
12 #include <generic-phy-mipi-dphy.h>
13 #include <generic-phy-pcie.h>
21 * union phy_configure_opts - Opaque generic phy configuration
35 * struct phy_attrs - represents phy attributes
47 * struct phy - A handle to (allowing control of) a single phy port.
65 * struct udevice_ops - set of function pointers for phy operations
69 * @power_on: powering on the phy (optional)
75 * of_xlate - Translate a client's device-tree (OF) phy specifier.
81 * default implementation, which assumes #phy-cells = <0> or
82 * #phy-cells = <1>, and in the later case that the DT cell
92 * init - initialize the hardware.
106 * exit - de-initialize the PHY device
108 * Hardware de-intialization should be done here. Every step done in
115 * @phy: PHY port to be de-initialized
121 * reset - resets a PHY device without shutting down
126 * re-establish connection etc without being shut down or exit.
138 * been called on the phy.
164 * power_on - power on a PHY device
166 * @phy: PHY port to be powered on
168 * During runtime, the PHY may need to be powered on or off several
169 * times. This function is used to power on the PHY. It relies on the
178 * power_off - power off a PHY device
180 * @phy: PHY port to be powered off
182 * During runtime, the PHY may need to be powered on or off several
184 * init()/deinit() are not implemented, it must not de-initialize
197 * generic_phy_init() - initialize the PHY port
205 * generic_phy_init() - de-initialize the PHY device
207 * @phy: PHY port to be de-initialized
213 * generic_phy_reset() - resets a PHY device without shutting down
221 * generic_phy_configure() - change the PHY parameters
229 * generic_phy_validate() - validate the PHY parameters
238 * generic_phy_power_on() - power on a PHY device
240 * @phy: PHY port to be powered on
246 * generic_phy_power_off() - power off a PHY device
248 * @phy: PHY port to be powered off
259 return phy->attrs.mode; in generic_phy_get_mode()
263 * generic_phy_get_by_index() - Get a PHY device by integer index.
269 * This looks up a PHY device for a client device based on its position in the
291 * generic_phy_get_by_name() - Get a PHY device by its name.
298 * list of the possible PHYs based on its name.
307 * phy-names = "usb2phy", "usb3phy";
382 * generic_phy_valid() - check if PHY port is valid
389 return phy && phy->dev; in generic_phy_valid()