| /linux/drivers/scsi/isci/ |
| H A D | phy.h | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 63 /* This is the timeout value for the SATA phy to wait for a SIGNATURE FIS 80 * isci_phy - hba local phy infrastructure 83 * @phy_index: physical index relative to the controller (0-3) 120 * to 0 if the PHY CAPABILITIES were either not 162 * struct sci_phy_properties - This structure defines the properties common to 170 * supplied phy. This field may be set to NULL 171 * if the phy is not currently contained in a port. [all …]
|
| /linux/Documentation/translations/zh_CN/driver-api/phy/ |
| H A D | phy.rst | 1 .. SPDX-License-Identifier: GPL-2.0 2 .. include:: ../../disclaimer-zh_CN.rst 4 :Original: Documentation/driver-api/phy/phy.rst 16 本文档解释了 PHY 的通用框架和提供的API,以及使用方法。 21 *PHY* 是物理层的缩写,它被用来把设备连接到一个物理媒介,例如USB控制器 22 有一个提供序列化、反序列化、编码、解码和负责获取所需的数据传输速率的 PHY。 23 注意,有些USB控制器内嵌了 PHY 的功能,其它的则使用了一个外置的PHY,此外 24 使用 PHY 的设备还有无线网、以太网、SATA等(控制器)。 26 创建这个框架的目的是将遍布 Linux 内核的 PHY 驱动程序融入到 drivers/phy, 29 该框架仅适用于使用外部 PHY(PHY 功能未嵌入控制器内)的设备。 [all …]
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | phy_common.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 Common PHY routines 7 Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, 8 Copyright (c) 2005-2007 Stefano Brivio <stefano.brivio@polimi.it> 9 Copyright (c) 2005-2008 Michael Buesch <m@bues.ch> 10 Copyright (c) 2005, 2006 Danny van Dyk <kugelfang@gentoo.org> 11 Copyright (c) 2005, 2006 Andreas Jaggi <andreas.jaggi@waterwave.ch> 30 struct b43_phy *phy = &(dev->phy); in b43_phy_allocate() local 33 phy->ops = NULL; in b43_phy_allocate() 35 switch (phy->type) { in b43_phy_allocate() [all …]
|
| H A D | lo.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 G PHY LO (LocalOscillator) Measuring and Control routines 8 Copyright (c) 2005 Martin Langer <martin-langer@gmx.de>, 9 Copyright (c) 2005, 2006 Stefano Brivio <stefano.brivio@polimi.it> 10 Copyright (c) 2005-2007 Michael Buesch <m@bues.ch> 11 Copyright (c) 2005, 2006 Danny van Dyk <kugelfang@gentoo.org> 12 Copyright (c) 2005, 2006 Andreas Jaggi <andreas.jaggi@waterwave.ch> 31 struct b43_lo_calib *c; in b43_find_lo_calib() local 33 list_for_each_entry(c, &lo->calib_list, list) { in b43_find_lo_calib() 34 if (!b43_compare_bbatt(&c->bbatt, bbatt)) in b43_find_lo_calib() [all …]
|
| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | phy-rockchip-usbdp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/phy-rockchip-usbdp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip USBDP Combo PHY with Samsung IP block 10 - Frank Wang <frank.wang@rock-chips.com> 11 - Zhang Yubing <yubing.zhang@rock-chips.com> 16 - rockchip,rk3576-usbdp-phy 17 - rockchip,rk3588-usbdp-phy 22 "#phy-cells": [all …]
|
| /linux/drivers/phy/allwinner/ |
| H A D | phy-sun50i-usb3.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Allwinner sun50i(H6) USB 3.0 phy driver 5 * Copyright (C) 2017 Icenowy Zheng <icenowy@aosc.io> 7 * Based on phy-sun9i-usb.c, which is: 9 * Copyright (C) 2014-2015 Chen-Yu Tsai <wens@csie.org> 13 * Copyright (c) 2010-2015 Allwinner Technology Co., Ltd. 21 #include <linux/phy/phy.h> 38 /* PHY External Control Register */ 43 /* PHY Tune High Register */ 56 struct phy *phy; member [all …]
|
| H A D | phy-sun9i-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Allwinner sun9i USB phy driver 5 * Copyright (C) 2014-2015 Chen-Yu Tsai <wens@csie.org> 7 * Based on phy-sun4i-usb.c from 18 #include <linux/phy/phy.h> 36 struct phy *phy; member 44 static void sun9i_usb_phy_passby(struct sun9i_usb_phy *phy, int enable) in sun9i_usb_phy_passby() argument 52 if (phy->type == USBPHY_INTERFACE_MODE_HSIC) in sun9i_usb_phy_passby() 56 reg_value = readl(phy->pmu); in sun9i_usb_phy_passby() 63 writel(reg_value, phy->pmu); in sun9i_usb_phy_passby() [all …]
|
| /linux/arch/powerpc/boot/dts/fsl/ |
| H A D | t2081qds.dts | 4 * Copyright 2013 - 2015 Freescale Semiconductor Inc. 35 /include/ "t208xsi-pre.dtsi" 41 #address-cells = <2>; 42 #size-cells = <2>; 43 interrupt-parent = <&mpic>; 58 phy-handle = <&phy_sgmii_s7_1c>; 59 phy-connection-type = "sgmii"; 63 phy-handle = <&phy_sgmii_s7_1d>; 64 phy-connection-type = "sgmii"; 68 phy-handle = <&rgmii_phy1>; [all …]
|
| H A D | t2080qds.dts | 4 * Copyright 2013 - 2015 Freescale Semiconductor Inc. 35 /include/ "t208xsi-pre.dtsi" 41 #address-cells = <2>; 42 #size-cells = <2>; 43 interrupt-parent = <&mpic>; 66 phy-handle = <&phy_sgmii_s3_1e>; 67 phy-connection-type = "xgmii"; 71 phy-handle = <&phy_sgmii_s3_1f>; 72 phy-connection-type = "xgmii"; 76 phy-handle = <&rgmii_phy1>; [all …]
|
| H A D | t4240qds.dts | 4 * Copyright 2012 - 2015 Freescale Semiconductor Inc. 35 /include/ "t4240si-pre.dtsi" 40 #address-cells = <2>; 41 #size-cells = <2>; 42 interrupt-parent = <&mpic>; 89 #address-cells = <1>; 90 #size-cells = <1>; 91 compatible = "cfi-flash"; 94 bank-width = <2>; 95 device-width = <1>; [all …]
|
| /linux/Documentation/networking/ |
| H A D | phy-link-topology.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 PHY link topology 11 The PHY link topology representation in the networking stack aims at representing 15 :c:type:`struct net_device <net_device>`, which exposes configuration options 19 +-----------------------+ +----------+ +--------------+ 21 | MAC | ------ | PHY | ---- | Port | ---... to LP 22 +-----------------------+ +----------+ +--------------+ 25 Commands that needs to configure the PHY will go through the net_device.phydev 26 field to reach the PHY and perform the relevant configuration. 37 +-----+ SGMII +------------+ [all …]
|
| H A D | sfp-phylink.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 phylink is a mechanism to support hot-pluggable networking modules 11 directly connected to a MAC without needing to re-initialise the 12 adapter on hot-plug events. 14 phylink supports conventional phylib-based setups, fixed link setups 23 1. PHY mode 25 In PHY mode, we use phylib to read the current link settings from 26 the PHY, and pass them to the MAC driver. We expect the MAC driver 32 Fixed mode is the same as PHY mode as far as the MAC driver is 35 3. In-band mode [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | tqmls104xa-mbls10xxa-fman.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright (c) 2019,2023 TQ-Systems GmbH <linux@ew.tq-group.com>, 4 * D-82229 Seefeld, Germany. 10 #include <dt-bindings/net/ti-dp83867.h> 21 phy-handle = <&rgmii_phy1>; 22 phy-connection-type = "rgmii"; 23 phy-mode = "rgmii-id"; 28 phy-handle = <&rgmii_phy2>; 29 phy-connection-type = "rgmii"; 30 phy-mode = "rgmii-id"; [all …]
|
| H A D | tqmls1088a-mbls10xxa-mc.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright (c) 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>, 4 * D-82229 Seefeld, Germany. 10 #include <dt-bindings/net/ti-dp83867.h> 17 pcs-handle = <&pcs1>; 21 pcs-handle = <&pcs2>; 25 pcs-handle = <&pcs3_0>; 29 pcs-handle = <&pcs3_1>; 33 pcs-handle = <&pcs3_2>; 37 pcs-handle = <&pcs3_3>; [all …]
|
| H A D | fsl-ls1043a-qds.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for Freescale Layerscape-1043A family SoC. 5 * Copyright 2014-2015 Freescale Semiconductor, Inc. 6 * Copyright 2018-2021 NXP 11 /dts-v1/; 12 #include "fsl-ls1043a.dtsi" 16 compatible = "fsl,ls1043a-qds", "fsl,ls1043a"; 27 sgmii-riser-s1-p1 = &sgmii_phy_s1_p1; 28 sgmii-riser-s2-p1 = &sgmii_phy_s2_p1; 29 sgmii-riser-s3-p1 = &sgmii_phy_s3_p1; [all …]
|
| /linux/drivers/scsi/libsas/ |
| H A D | sas_phy.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Serial Attached SCSI (SAS) Phy class 5 * Copyright (C) 2005 Adaptec, Inc. All rights reserved. 6 * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com> 15 /* ---------- Phy events ---------- */ 20 struct asd_sas_phy *phy = ev->phy; in sas_phye_loss_of_signal() local 22 phy->error = 0; in sas_phye_loss_of_signal() 23 sas_deform_port(phy, true); in sas_phye_loss_of_signal() 29 struct asd_sas_phy *phy = ev->phy; in sas_phye_oob_done() local 31 phy->error = 0; in sas_phye_oob_done() [all …]
|
| /linux/drivers/net/ethernet/ibm/emac/ |
| H A D | phy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/net/ethernet/ibm/emac/phy.c 5 * Driver for PowerPC 4xx on-chip ethernet controller, PHY support. 6 * Borrowed from sungem_phy.c, though I only kept the generic MII 17 * (c) 2003, Benjamin Herrenscmidt (benh@kernel.crashing.org) 18 * (c) 2004-2005, Eugene Surovegin <ebs@ebshome.net> 30 #include "phy.h" 35 static inline int _phy_read(struct mii_phy *phy, int reg) in _phy_read() argument 37 return phy->mdio_read(phy->dev, phy->address, reg); in _phy_read() 40 static inline void _phy_write(struct mii_phy *phy, int reg, int val) in _phy_write() argument [all …]
|
| /linux/drivers/phy/broadcom/ |
| H A D | phy-bcm63xx-usbh.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * BCM6328 USBH PHY Controller Driver 5 * Copyright (C) 2020 Álvaro Fernández Rojas <noltari@gmail.com> 6 * Copyright (C) 2015 Simon Arlott 8 * Derived from bcm963xx_4.12L.06B_consumer/kernel/linux/arch/mips/bcm963xx/setup.c: 9 * Copyright (C) 2002 Broadcom Corporation 12 * Copyright (C) 2013 Jonas Gorski <jonas.gorski@gmail.com> 13 * Copyright (C) 2013 Florian Fainelli <f.fainelli@gmail.com> 14 * Copyright (C) 2008 Maxime Bizon <mbizon@freebox.fr> 21 #include <linux/phy/phy.h> [all …]
|
| H A D | phy-bcm-kona-usb2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * phy-bcm-kona-usb2.c - Broadcom Kona USB2 Phy Driver 5 * Copyright (C) 2013 Linaro Limited 15 #include <linux/phy/phy.h> 34 static void bcm_kona_usb_phy_power(struct bcm_kona_usb *phy, int on) in bcm_kona_usb_phy_power() argument 38 val = readl(phy->regs + OTGCTL); in bcm_kona_usb_phy_power() 40 /* Configure and power PHY */ in bcm_kona_usb_phy_power() 47 writel(val, phy->regs + OTGCTL); in bcm_kona_usb_phy_power() 50 static int bcm_kona_usb_phy_init(struct phy *gphy) in bcm_kona_usb_phy_init() 52 struct bcm_kona_usb *phy = phy_get_drvdata(gphy); in bcm_kona_usb_phy_init() local [all …]
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | stm32mp151c-mect1s.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) Protonic Holland 6 /dts-v1/; 10 #include "stm32mp15-pinctrl.dtsi" 11 #include "stm32mp15xxaa-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/leds/common.h> 21 stdout-path = "serial0:1500000n8"; 33 v3v3: regulator-v3v3 { [all …]
|
| /linux/drivers/nfc/pn533/ |
| H A D | i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for NXP PN533 NFC Chip - I2C transport layer 5 * Copyright (C) 2011 Instituto Nokia de Tecnologia 6 * Copyright (C) 2012-2013 Tieto Poland 7 * Copyright (C) 2016 HALE electronic 39 struct pn533_i2c_phy *phy = dev->phy; in pn533_i2c_send_ack() local 40 struct i2c_client *client = phy->i2c_dev; in pn533_i2c_send_ack() 50 struct pn533_i2c_phy *phy = dev->phy; in pn533_i2c_send_frame() local 51 struct i2c_client *client = phy->i2c_dev; in pn533_i2c_send_frame() 54 if (phy->hard_fault != 0) in pn533_i2c_send_frame() [all …]
|
| /linux/drivers/gpu/drm/msm/hdmi/ |
| H A D | hdmi_phy_8x60.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Red Hat 11 static void hdmi_phy_8x60_powerup(struct hdmi_phy *phy, in hdmi_phy_8x60_powerup() argument 14 /* De-serializer delay D/C for non-lbk mode: */ in hdmi_phy_8x60_powerup() 15 hdmi_phy_write(phy, REG_HDMI_8x60_PHY_REG0, in hdmi_phy_8x60_powerup() 20 hdmi_phy_write(phy, REG_HDMI_8x60_PHY_REG1, in hdmi_phy_8x60_powerup() 24 hdmi_phy_write(phy, REG_HDMI_8x60_PHY_REG1, in hdmi_phy_8x60_powerup() 30 hdmi_phy_write(phy, REG_HDMI_8x60_PHY_REG2, in hdmi_phy_8x60_powerup() 40 hdmi_phy_write(phy, REG_HDMI_8x60_PHY_REG2, in hdmi_phy_8x60_powerup() 49 hdmi_phy_write(phy, REG_HDMI_8x60_PHY_REG2, in hdmi_phy_8x60_powerup() [all …]
|
| /linux/rust/kernel/net/ |
| H A D | phy.rs | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2023 FUJITA Tomonori <fujita.tomonori@gmail.com> 5 //! Network PHY device. 7 //! C headers: [`include/linux/phy.h`](srctree/include/linux/phy.h). 14 /// PHY state machine states. 18 /// Some of PHY driver [all...] |
| /linux/drivers/usb/renesas_usbhs/ |
| H A D | rcar2.c | 1 // SPDX-License-Identifier: GPL-1.0+ 3 * Renesas USB driver R-Car Gen. 2 initialization and power control 5 * Copyright (C) 2014 Ulrich Hecht 6 * Copyright (C) 2019 Renesas Electronics Corporation 9 #include <linux/phy/phy.h> 18 struct phy *phy = phy_get(&pdev->dev, "usb"); in usbhs_rcar2_hardware_init() local 20 if (IS_ERR(phy)) in usbhs_rcar2_hardware_init() 21 return PTR_ERR(phy); in usbhs_rcar2_hardware_init() 23 priv->phy = phy; in usbhs_rcar2_hardware_init() 27 return -ENXIO; in usbhs_rcar2_hardware_init() [all …]
|
| /linux/drivers/media/platform/ti/omap3isp/ |
| H A D | ispcsiphy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ispcsiphy.c 5 * TI OMAP3 ISP - CSI PHY module 7 * Copyright (C) 2010 Nokia Corporation 8 * Copyright (C) 2009 Texas Instruments, Inc. 23 static void csiphy_routing_cfg_3630(struct isp_csiphy *phy, in csiphy_routing_cfg_3630() argument 30 regmap_read(phy->isp->syscon, phy->isp->syscon_offset, ®); in csiphy_routing_cfg_3630() 66 regmap_write(phy->isp->syscon, phy->isp->syscon_offset, reg); in csiphy_routing_cfg_3630() 69 static void csiphy_routing_cfg_3430(struct isp_csiphy *phy, u32 iface, bool on, in csiphy_routing_cfg_3430() argument 80 regmap_write(phy->isp->syscon, phy->isp->syscon_offset, 0); in csiphy_routing_cfg_3430() [all …]
|