Home
last modified time | relevance | path

Searched +full:phy +full:- +full:device (Results 1 – 25 of 1182) sorted by relevance

12345678910>>...48

/openbmc/linux/include/linux/phy/
H A Dphy.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * phy.h -- generic phy header file
5 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com
15 #include <linux/device.h>
19 #include <linux/phy/phy-dp.h>
20 #include <linux/phy/phy-lvds.h>
21 #include <linux/phy/phy-mipi-dphy.h>
23 struct phy;
55 * union phy_configure_opts - Opaque generic phy configuration
58 * the MIPI_DPHY phy mode.
[all …]
/openbmc/linux/drivers/phy/
H A Dphy-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * phy-core.c -- Generic Phy framewor
32 struct phy *phy = *(struct phy **)res; devm_phy_release() local
46 struct phy *phy = *(struct phy **)res; devm_phy_consume() local
53 struct phy **phy = res; devm_phy_match() local
66 phy_create_lookup(struct phy * phy,const char * con_id,const char * dev_id) phy_create_lookup() argument
98 phy_remove_lookup(struct phy * phy,const char * con_id,const char * dev_id) phy_remove_lookup() argument
150 phy_pm_runtime_get(struct phy * phy) phy_pm_runtime_get() argument
168 phy_pm_runtime_get_sync(struct phy * phy) phy_pm_runtime_get_sync() argument
186 phy_pm_runtime_put(struct phy * phy) phy_pm_runtime_put() argument
198 phy_pm_runtime_put_sync(struct phy * phy) phy_pm_runtime_put_sync() argument
210 phy_pm_runtime_allow(struct phy * phy) phy_pm_runtime_allow() argument
222 phy_pm_runtime_forbid(struct phy * phy) phy_pm_runtime_forbid() argument
245 phy_init(struct phy * phy) phy_init() argument
285 phy_exit(struct phy * phy) phy_exit() argument
322 phy_power_on(struct phy * phy) phy_power_on() argument
372 phy_power_off(struct phy * phy) phy_power_off() argument
399 phy_set_mode_ext(struct phy * phy,enum phy_mode mode,int submode) phy_set_mode_ext() argument
416 phy_set_media(struct phy * phy,enum phy_media media) phy_set_media() argument
431 phy_set_speed(struct phy * phy,int speed) phy_set_speed() argument
446 phy_reset(struct phy * phy) phy_reset() argument
477 phy_calibrate(struct phy * phy) phy_calibrate() argument
503 phy_configure(struct phy * phy,union phy_configure_opts * opts) phy_configure() argument
537 phy_validate(struct phy * phy,enum phy_mode mode,int submode,union phy_configure_opts * opts) phy_validate() argument
571 struct phy *phy = NULL; _of_phy_get() local
619 struct phy *phy = NULL; of_phy_get() local
644 of_phy_put(struct phy * phy) of_phy_put() argument
666 phy_put(struct device * dev,struct phy * phy) phy_put() argument
681 devm_phy_put(struct device * dev,struct phy * phy) devm_phy_put() argument
706 struct phy *phy; of_phy_simple_xlate() local
737 struct phy *phy; phy_get() local
783 struct phy **ptr, *phy; devm_phy_get() local
816 struct phy *phy = devm_phy_get(dev, string); devm_phy_optional_get() local
838 struct phy **ptr, *phy; devm_of_phy_get() local
880 struct phy *phy = devm_of_phy_get(dev, np, con_id); devm_of_phy_optional_get() local
908 struct phy **ptr, *phy; devm_of_phy_get_by_index() local
953 struct phy *phy; phy_create() local
1029 struct phy **ptr, *phy; devm_phy_create() local
1053 phy_destroy(struct phy * phy) phy_destroy() argument
1068 devm_phy_destroy(struct device * dev,struct phy * phy) devm_phy_destroy() argument
1229 struct phy *phy; phy_release() local
[all...]
/openbmc/u-boot/include/
H A Dgeneric-phy.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
4 * Written by Jean-Jacques Hiblot <jjhiblot@ti.com>
13 * struct phy - A handle to (allowing control of) a single phy port.
15 * Clients provide storage for phy handles. The content of the structure is
16 * managed solely by the PHY API and PHY drivers. A phy struct is
17 * initialized by "get"ing the phy struct. The phy struct is passed to all
18 * other phy APIs to identify which PHY port to operate upon.
20 * @dev: The device which implements the PHY port.
21 * @id: The PHY ID within the provider.
[all …]
/openbmc/linux/Documentation/driver-api/phy/
H A Dphy.rst2 PHY subsystem
7 This document explains the Generic PHY Framework along with the APIs provided,
8 and how-to-use.
13 *PHY* is the abbreviation for physical layer. It is used to connect a device
14 to the physical medium e.g., the USB controller has a PHY to provide functions
15 such as serialization, de-serialization, encoding, decoding and is responsible
17 controllers have PHY functionality embedded into it and others use an external
18 PHY. Other peripherals that use PHY include Wireless LAN, Ethernet,
21 The intention of creating this framework is to bring the PHY drivers spread
22 all over the Linux kernel to drivers/phy to increase code re-use and for
[all …]
/openbmc/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 ((!dev) || (dev->dev_type == SAS_PHY_UNUSED))
13 static int hisi_sas_softreset_ata_disk(struct domain_device *device);
17 struct domain_device *device);
18 static void hisi_sas_dev_gone(struct domain_device *device);
26 switch (fis->command) { in hisi_sas_get_ata_protocol()
79 switch (fis->features) { in hisi_sas_get_ata_protocol()
105 struct task_status_struct *ts = &task->task_status; in hisi_sas_sata_done()
106 struct ata_task_resp *resp = (struct ata_task_resp *)ts->buf; in hisi_sas_sata_done()
109 u8 *iu = &status_buf->iu[0]; in hisi_sas_sata_done()
[all …]
/openbmc/linux/drivers/scsi/
H A Dscsi_transport_sas.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2005-2006 Dell Inc.
13 * introduces two additional intermediate objects: The SAS PHY
14 * as represented by struct sas_phy defines an "outgoing" PHY on
15 * a SAS HBA or Expander, and the SAS remote PHY represented by
16 * struct sas_rphy defines an "incoming" PHY on a SAS Expander or
17 * end device. Note that this is purely a software concept, the
18 * underlying hardware for a PHY and a remote PHY is the exactly
51 #define to_sas_host_attrs(host) ((struct sas_host_attrs *)(host)->shost_data)
100 return -EINVAL; \
[all …]
/openbmc/linux/drivers/usb/phy/
H A Dphy.c1 // SPDX-License-Identifier: GPL-2.0+
3 * phy.c -- USB phy handling
5 * Copyright (C) 2004-2013 Texas Instruments
10 #include <linux/device.h>
15 #include <linux/usb/phy.h>
33 struct usb_phy *phy; member
54 struct usb_phy *phy = NULL; in __usb_find_phy() local
56 list_for_each_entry(phy, list, head) { in __usb_find_phy()
57 if (phy->type != type) in __usb_find_phy()
60 return phy; in __usb_find_phy()
[all …]
H A Dphy-tahvo.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2005-2006 Nokia Corporation
18 #include <linux/extcon-provider.h>
26 #define DRIVER_NAME "tahvo-usb"
46 struct usb_phy phy; member
62 static ssize_t vbus_show(struct device *device, in vbus_show() argument
65 struct tahvo_usb *tu = dev_get_drvdata(device); in vbus_show()
66 return sprintf(buf, "%s\n", tu->vbus_state ? "on" : "off"); in vbus_show()
72 struct retu_dev *rdev = dev_get_drvdata(tu->pt_dev->dev.parent); in check_vbus_state()
77 switch (tu->phy.otg->state) { in check_vbus_state()
[all …]
/openbmc/linux/drivers/net/mdio/
H A Dof_mdio.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * OF helpers for the MDIO (Ethernet PHY) API
7 * This file provides helper functions for extracting PHY device information
8 * out of the OpenFirmware device tree and using it to populate an mii_bus.
11 #include <linux/device.h>
21 #include <linux/phy.h>
29 /* Extract the clause 22 phy ID from the compatible string of the form
30 * ethernet-phy-idAAAA.BBBB */
31 static int of_get_phy_id(struct device_node *device, u32 *phy_id) in of_get_phy_id() argument
33 return fwnode_get_phy_id(of_fwnode_handle(device), phy_id); in of_get_phy_id()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/phy/
H A Dphy-hisi-inno-usb2.txt1 Device tree bindings for HiSilicon INNO USB2 PHY
4 - compatible: Should be one of the following strings:
5 "hisilicon,inno-usb2-phy",
6 "hisilicon,hi3798cv200-usb2-phy".
7 - reg: Should be the address space for PHY configuration register in peripheral
9 - clocks: The phandle and clock specifier pair for INNO USB2 PHY device
11 - resets: The phandle and reset specifier pair for INNO USB2 PHY device reset
13 - #address-cells: Must be 1.
14 - #size-cells: Must be 0.
16 The INNO USB2 PHY device should be a child node of peripheral controller that
[all …]
H A Dphy-bindings.txt1 This document explains only the device tree data binding. For general
2 information about PHY subsystem refer to Documentation/driver-api/phy/phy.rst
4 PHY device node
8 #phy-cells: Number of cells in a PHY specifier; The meaning of all those
9 cells is defined by the binding for the phy node. The PHY
11 PHY.
14 phy-supply: Phandle to a regulator that provides power to the PHY. This
15 regulator will be managed during the PHY power on/off sequence.
19 phys: phy {
24 #phy-cells = <1>;
[all …]
H A Dmarvell,armada-cp110-utmi-phy.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/phy/marvell,armada-cp110-utmi-phy.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Marvell Armada CP110/CP115 UTMI PHY
11 - Konstantin Porotchkin <kostap@marvell.com>
14 On Armada 7k/8k and CN913x, there are two host and one device USB controllers.
15 Each of two exiting UTMI PHYs could be connected to either USB host or USB device
17 The USB device controller can only be connected to a single UTMI PHY port
18 0.H----- USB HOST0
[all …]
/openbmc/linux/drivers/staging/greybus/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
8 Select this option if you have a device that follows the
12 will be called gb-audio.ko
18 Select this option if you have a Toshiba APB device that has I2S
19 ports and acts as a Greybus "Dummy codec". This device is a
20 bridge from an APB-I2S port to a Unipro network.
23 will be called gb-audio-codec.ko
29 Select this option if you have a device that follows the
33 will be called gb-bootrom.ko
39 Select this option if you have a device that follows the
[all …]
/openbmc/linux/Documentation/networking/
H A Dphy.rst2 PHY Abstraction Layer
10 PHY. The PHY concerns itself with negotiating link parameters with the link
17 the PHY management code with the network driver. This has resulted in large
23 accessed are, in fact, busses, the PHY Abstraction Layer treats them as such.
26 #. Increase code-reuse
27 #. Increase overall code-maintainability
30 Basically, this layer is meant to provide an interface to PHY devices which
37 Most network devices are connected to a PHY by means of a management bus.
40 registered as a distinct device.
47 mii_id is the address on the bus for the PHY, and regnum is the register
[all …]
/openbmc/linux/drivers/scsi/smartpqi/
H A Dsmartpqi_sas_transport.c1 // SPDX-License-Identifier: GPL-2.0
3 * driver for Microchip PQI-based storage controllers
4 * Copyright (c) 2019-2023 Microchip Technology Inc. and its subsidiaries
5 * Copyright (c) 2016-2018 Microsemi Corporation
6 * Copyright (c) 2016 PMC-Sierra, Inc.
13 #include <linux/bsg-lib.h>
23 struct sas_phy *phy; in pqi_alloc_sas_phy() local
29 phy = sas_phy_alloc(pqi_sas_port->parent_node->parent_dev, in pqi_alloc_sas_phy()
30 pqi_sas_port->next_phy_index); in pqi_alloc_sas_phy()
31 if (!phy) { in pqi_alloc_sas_phy()
[all …]
/openbmc/linux/drivers/phy/broadcom/
H A Dphy-bcm-cygnus-pcie.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/phy/phy.h>
24 * struct cygnus_pcie_phy - Cygnus PCIe PHY device
25 * @core: pointer to the Cygnus PCIe PHY core control
26 * @id: internal ID to identify the Cygnus PCIe PHY
27 * @phy: pointer to the kernel PHY device
32 struct phy *phy; member
36 * struct cygnus_pcie_phy_core - Cygnus PCIe PHY core control
37 * @dev: pointer to device
40 * @phys: pointer to Cygnus PHY device
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-net-phydev1 What: /sys/class/mdio_bus/<bus>/<device>/attached_dev
6 Symbolic link to the network device this PHY device is
9 What: /sys/class/mdio_bus/<bus>/<device>/phy_has_fixups
14 This attribute contains the boolean value whether a given PHY
15 device has had any "fixup" workaround running on it, encoded as
17 PHY configurations.
19 What: /sys/class/mdio_bus/<bus>/<device>/phy_id
24 This attribute contains the 32-bit PHY Identifier as reported
25 by the device during bus enumeration, encoded in hexadecimal.
26 This ID is used to match the device with the appropriate
[all …]
/openbmc/u-boot/doc/device-tree-bindings/net/
H A Dfsl-tsec-phy.txt1 * TSEC-compatible ethernet nodes
5 - compatible : Should be "fsl,tsec"
6 - reg : Offset and length of the register set for the device
7 - phy-handle : See ethernet.txt file in the same directory.
8 - phy-connection-type : See ethernet.txt file in the same directory. This
9 property is only really needed if the connection is of type "rgmii-id",
10 "rgmii-rxid" and "rgmii-txid" as all other connection types are detected
17 phy-handle = <&phy0>;
18 phy-connection-type = "sgmii";
21 Child nodes of the TSEC controller are typically the individual PHY devices
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dfsl-enetc.txt1 * ENETC ethernet device tree bindings
5 below device tree bindings.
9 - reg : Specifies PCIe Device Number and Function
10 Number of the ENETC endpoint device, according
12 - compatible : Should be "fsl,enetc".
14 1. The ENETC external port is connected to a MDIO configurable phy
18 In this case, the ENETC node should include a "mdio" sub-node
19 that in turn should contain the "ethernet-phy" node describing the
20 external phy. Below properties are required, their bindings
22 Documentation/devicetree/bindings/net/phy.txt.
[all …]
H A Dcpsw.txt1 TI SoC Ethernet Switch Controller Device Tree Bindings
2 ------------------------------------------------------
5 - compatible : Should be one of the below:-
7 "ti,am335x-cpsw" for AM335x controllers
8 "ti,am4372-cpsw" for AM437x controllers
9 "ti,dra7-cpsw" for DRA7x controllers
10 - reg : physical base address and size of the cpsw
12 - interrupts : property with a value describing the interrupt
14 - cpdma_channels : Specifies number of channels in CPDMA
15 - ale_entries : Specifies No of entries ALE can hold
[all …]
H A Dibm,emac.txt8 correct clock-frequency property.
13 - device_type : "network"
15 - compatible : compatible list, contains 2 entries, first is
16 "ibm,emac-CHIP" where CHIP is the host ASIC (440gx,
18 "ibm,emac4". For Axon, thus, we have: "ibm,emac-axon",
20 - interrupts : <interrupt mapping for EMAC IRQ and WOL IRQ>
21 - reg : <registers mapping>
22 - local-mac-address : 6 bytes, MAC address
23 - mal-device : phandle of the associated McMAL node
24 - mal-tx-channel : 1 cell, index of the tx channel on McMAL associated
[all …]
H A Drenesas,ether.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - $ref: ethernet-controller.yaml#
13 - Sergei Shtylyov <sergei.shtylyov@gmail.com>
18 - items:
19 - enum:
20 - renesas,gether-r8a7740 # device is a part of R8A7740 SoC
21 - renesas,gether-r8a77980 # device is a part of R8A77980 SoC
22 - renesas,ether-r7s72100 # device is a part of R7S72100 SoC
[all …]
/openbmc/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_transport.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2017-2023 Broadcom Inc.
6 * (mailto: mpi3mr-linuxdrv.pdl@broadcom.com)
13 * mpi3mr_post_transport_req - Issue transport requests and wait
31 * Return: 0 on success, non-zero on failure.
39 mutex_lock(&mrioc->transport_cmds.mutex); in mpi3mr_post_transport_req()
40 if (mrioc->transport_cmds.state & MPI3MR_CMD_PENDING) { in mpi3mr_post_transport_req()
41 retval = -1; in mpi3mr_post_transport_req()
43 mutex_unlock(&mrioc->transport_cmds.mutex); in mpi3mr_post_transport_req()
46 mrioc->transport_cmds.state = MPI3MR_CMD_PENDING; in mpi3mr_post_transport_req()
[all …]
/openbmc/linux/drivers/dma/
H A Dmmp_pdma.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/dma-mapping.h>
15 #include <linux/device.h>
33 #define DCSR_NODESC BIT(30) /* No-Descriptor Fetch (read / write) */
35 #define DCSR_REQPEND BIT(8) /* Request Pending (read-only) */
36 #define DCSR_STOPSTATE BIT(3) /* Stop State (read-only) */
62 #define DCMD_ENDIAN BIT(18) /* Device Endian-ness. */
69 #define DCMD_LENGTH 0x01fff /* length mask (max = 8K - 1) */
90 struct device *dev;
93 struct mmp_pdma_phy *phy; member
[all …]
/openbmc/linux/drivers/usb/core/
H A Dphy.c1 // SPDX-License-Identifier: GPL-2.0+
4 * multiple (actual) PHY devices. This is comes handy when initializing
10 #include <linux/device.h>
12 #include <linux/phy/phy.h>
15 #include "phy.h"
18 struct phy *phy; member
22 static int usb_phy_roothub_add_phy(struct device *dev, int index, in usb_phy_roothub_add_phy()
26 struct phy *phy; in usb_phy_roothub_add_phy() local
28 phy = devm_of_phy_get_by_index(dev, dev->of_node, index); in usb_phy_roothub_add_phy()
29 if (IS_ERR(phy)) { in usb_phy_roothub_add_phy()
[all …]

12345678910>>...48