Home
last modified time | relevance | path

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

12345678910>>...43

/Linux-v6.1/drivers/gpu/drm/i915/display/
Dintel_combo_phy.c1 // SPDX-License-Identifier: MIT
16 for ((__phy) = I915_MAX_PHYS; (__phy)-- > PHY_A;) \
32 .name = "0.85V dot0 (low-voltage)",
54 icl_get_procmon_ref_values(struct drm_i915_private *dev_priv, enum phy phy) in icl_get_procmon_ref_values() argument
59 val = intel_de_read(dev_priv, ICL_PORT_COMP_DW3(phy)); in icl_get_procmon_ref_values()
85 enum phy phy) in icl_set_procmon_ref_values() argument
90 procmon = icl_get_procmon_ref_values(dev_priv, phy); in icl_set_procmon_ref_values()
92 val = intel_de_read(dev_priv, ICL_PORT_COMP_DW1(phy)); in icl_set_procmon_ref_values()
94 val |= procmon->dw1; in icl_set_procmon_ref_values()
95 intel_de_write(dev_priv, ICL_PORT_COMP_DW1(phy), val); in icl_set_procmon_ref_values()
[all …]
/Linux-v6.1/drivers/scsi/isci/
Dphy.h7 * 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-v6.1/drivers/net/wireless/broadcom/b43/
Dphy_common.c1 // 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 …]
Dlo.c1 // 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-v6.1/drivers/phy/allwinner/
Dphy-sun50i-usb3.c1 // 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.
20 #include <linux/phy/phy.h>
37 /* PHY External Control Register */
42 /* PHY Tune High Register */
55 struct phy *phy; member
[all …]
Dphy-sun9i-usb.c1 // 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-v6.1/Documentation/networking/
Dkapi.rst9 ---------------------
11 .. kernel-doc:: include/linux/net.h
15 -----------------------
17 .. kernel-doc:: include/linux/skbuff.h
20 .. kernel-doc:: include/net/sock.h
23 .. kernel-doc:: net/socket.c
26 .. kernel-doc:: net/core/skbuff.c
29 .. kernel-doc:: net/core/sock.c
32 .. kernel-doc:: net/core/datagram.c
35 .. kernel-doc:: net/core/stream.c
[all …]
Dsfp-phylink.rst1 .. 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-v6.1/drivers/net/wireless/mediatek/mt76/mt7915/
Dinit.c1 // SPDX-License-Identifier: ISC
2 /* Copyright (C) 2020 MediaTek Inc. */
6 #include <linux/hwmon-sysfs.h>
49 struct mt7915_phy *phy = dev_get_drvdata(dev); in mt7915_thermal_temp_show() local
50 int i = to_sensor_dev_attr(attr)->index; in mt7915_thermal_temp_show()
55 temperature = mt7915_mcu_get_temperature(phy); in mt7915_thermal_temp_show()
63 phy->throttle_temp[i - 1] * 1000); in mt7915_thermal_temp_show()
65 return sprintf(buf, "%hhu\n", phy->throttle_state); in mt7915_thermal_temp_show()
67 return -EINVAL; in mt7915_thermal_temp_show()
75 struct mt7915_phy *phy = dev_get_drvdata(dev); in mt7915_thermal_temp_store() local
[all …]
/Linux-v6.1/arch/powerpc/boot/dts/fsl/
Dt2081qds.dts4 * 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 …]
Dt2080qds.dts4 * 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 …]
Dt4240qds.dts4 * 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-v6.1/drivers/scsi/libsas/
Dsas_phy.c1 // 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, 1); 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-v6.1/drivers/nfc/s3fwrn5/
Dphy_common.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2015 Samsung Electrnoics
7 * Copyright (C) 2020 Samsung Electrnoics
19 struct phy_common *phy = phy_id; in s3fwrn5_phy_set_wake() local
21 mutex_lock(&phy->mutex); in s3fwrn5_phy_set_wake()
22 gpio_set_value(phy->gpio_fw_wake, wake); in s3fwrn5_phy_set_wake()
25 mutex_unlock(&phy->mutex); in s3fwrn5_phy_set_wake()
29 bool s3fwrn5_phy_power_ctrl(struct phy_common *phy, enum s3fwrn5_mode mode) in s3fwrn5_phy_power_ctrl() argument
31 if (phy->mode == mode) in s3fwrn5_phy_power_ctrl()
34 phy->mode = mode; in s3fwrn5_phy_power_ctrl()
[all …]
/Linux-v6.1/drivers/net/ethernet/ibm/emac/
Dphy.c1 // 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-v6.1/arch/arm64/boot/dts/freescale/
Dfsl-ls1043a-qds.dts1 // 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 …]
Dfsl-ls1088a-rdb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 * Copyright 2017-2020 NXP
11 /dts-v1/;
13 #include "fsl-ls1088a.dtsi"
17 compatible = "fsl,ls1088a-rdb", "fsl,ls1088a";
21 phy-handle = <&mdio2_aquantia_phy>;
22 phy-connection-type = "10gbase-r";
23 pcs-handle = <&pcs2>;
27 phy-handle = <&mdio1_phy5>;
28 phy-connection-type = "qsgmii";
[all …]
/Linux-v6.1/drivers/gpu/drm/msm/hdmi/
Dhdmi_phy_8x60.c1 // 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-v6.1/drivers/phy/broadcom/
Dphy-bcm-kona-usb2.c1 // 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 …]
Dphy-bcm63xx-usbh.c1 // 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>
20 #include <linux/phy/phy.h>
[all …]
/Linux-v6.1/drivers/dma/
Dk3dma.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2013 - 2015 Linaro Ltd.
4 * Copyright (c) 2013 HiSilicon Limited.
8 #include <linux/dma-mapping.h>
23 #include "virt-dma.h"
25 #define DRIVER_NAME "k3-dma"
83 struct k3_dma_phy *phy; member
105 struct k3_dma_phy *phy; member
134 static void k3_dma_pause_dma(struct k3_dma_phy *phy, bool on) in k3_dma_pause_dma() argument
139 val = readl_relaxed(phy->base + CX_CFG); in k3_dma_pause_dma()
[all …]
/Linux-v6.1/drivers/nfc/pn533/
Di2c.c1 // 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-v6.1/drivers/usb/renesas_usbhs/
Drcar2.c1 // 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 …]
Drza2.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2019 Chris Brandt
6 * Copyright (C) 2019 Renesas Electronics Corporation
12 #include <linux/phy/phy.h>
19 struct phy *phy = phy_get(&pdev->dev, "usb"); in usbhs_rza2_hardware_init() local
21 if (IS_ERR(phy)) in usbhs_rza2_hardware_init()
22 return PTR_ERR(phy); in usbhs_rza2_hardware_init()
24 priv->phy = phy; in usbhs_rza2_hardware_init()
32 phy_put(&pdev->dev, priv->phy); in usbhs_rza2_hardware_exit()
33 priv->phy = NULL; in usbhs_rza2_hardware_exit()
[all …]
/Linux-v6.1/drivers/media/platform/ti/omap3isp/
Dispcsiphy.c1 // 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, &reg); 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 …]

12345678910>>...43