Home
last modified time | relevance | path

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

12345678910>>...45

/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
Dintel_combo_phy.c1 // SPDX-License-Identifier: MIT
17 for ((__phy) = I915_MAX_PHYS; (__phy)-- > PHY_A;) \
33 .name = "0.85V dot0 (low-voltage)",
55 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()
78 enum phy phy) in icl_set_procmon_ref_values() argument
82 procmon = icl_get_procmon_ref_values(dev_priv, phy); in icl_set_procmon_ref_values()
84 intel_de_rmw(dev_priv, ICL_PORT_COMP_DW1(phy), in icl_set_procmon_ref_values()
85 (0xff << 16) | 0xff, procmon->dw1); in icl_set_procmon_ref_values()
87 intel_de_write(dev_priv, ICL_PORT_COMP_DW9(phy), procmon->dw9); in icl_set_procmon_ref_values()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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.
21 #include <linux/phy/phy.h>
38 /* PHY External Control Register */
43 /* PHY Tune High Register */
56 struct phy *phy; member
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_combo_phy.c1 // SPDX-License-Identifier: MIT
14 for ((__phy) = I915_MAX_PHYS; (__phy)-- > PHY_A;) \
41 * CNL has just one set of registers, while gen11 has a set for each combo PHY.
42 * The CNL registers are equivalent to the gen11 PHY A registers, that's why we
46 cnl_get_procmon_ref_values(struct drm_i915_private *dev_priv, enum phy phy) in cnl_get_procmon_ref_values() argument
51 val = intel_de_read(dev_priv, ICL_PORT_COMP_DW3(phy)); in cnl_get_procmon_ref_values()
77 enum phy phy) in cnl_set_procmon_ref_values() argument
82 procmon = cnl_get_procmon_ref_values(dev_priv, phy); in cnl_set_procmon_ref_values()
84 val = intel_de_read(dev_priv, ICL_PORT_COMP_DW1(phy)); in cnl_set_procmon_ref_values()
86 val |= procmon->dw1; in cnl_set_procmon_ref_values()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/
Dinit.c1 // SPDX-License-Identifier: ISC
2 /* Copyright (C) 2020 MediaTek Inc. */
6 #include <linux/hwmon-sysfs.h>
50 struct mt7915_phy *phy = dev_get_drvdata(dev); in mt7915_thermal_temp_show() local
51 int i = to_sensor_dev_attr(attr)->index; in mt7915_thermal_temp_show()
56 temperature = mt7915_mcu_get_temperature(phy); in mt7915_thermal_temp_show()
64 phy->throttle_temp[i - 1] * 1000); in mt7915_thermal_temp_show()
66 return sprintf(buf, "%hhu\n", phy->throttle_state); in mt7915_thermal_temp_show()
68 return -EINVAL; in mt7915_thermal_temp_show()
76 struct mt7915_phy *phy = dev_get_drvdata(dev); in mt7915_thermal_temp_store() local
[all …]
/kernel/linux/linux-6.6/Documentation/driver-api/phy/
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 …]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7996/
Dinit.c1 // SPDX-License-Identifier: ISC
3 * Copyright (C) 2022 MediaTek Inc.
54 dev = container_of(mphy->dev, struct mt7996_dev, mt76); in mt7996_led_set_config()
69 if (mphy->leds.al) in mt7996_led_set_config()
107 int i, nss = hweight8(dev->mphy.antenna_mask); in mt7996_init_txpower()
109 int pwr_delta = mt7996_eeprom_get_power_delta(dev, sband->band); in mt7996_init_txpower()
112 for (i = 0; i < sband->n_channels; i++) { in mt7996_init_txpower()
113 struct ieee80211_channel *chan = &sband->channels[i]; in mt7996_init_txpower()
117 target_power = mt76_get_rate_power_limits(&dev->mphy, chan, in mt7996_init_txpower()
122 chan->max_power = min_t(int, chan->max_reg_power, in mt7996_init_txpower()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/
Dinit.c1 // SPDX-License-Identifier: ISC
2 /* Copyright (C) 2020 MediaTek Inc. */
48 /* disable hardware de-agg */ in mt7915_mac_init()
57 mt7915_mcu_set_rts_thresh(&dev->phy, 0x92b); in mt7915_mac_init()
83 int i, n_chains = hweight8(dev->mphy.antenna_mask); in mt7915_init_txpower_band()
85 for (i = 0; i < sband->n_channels; i++) { in mt7915_init_txpower_band()
86 struct ieee80211_channel *chan = &sband->channels[i]; in mt7915_init_txpower_band()
97 chan->max_power = min_t(int, chan->max_reg_power, in mt7915_init_txpower_band()
99 chan->orig_mpwr = target_power / 2; in mt7915_init_txpower_band()
105 mt7915_init_txpower_band(dev, &dev->mphy.sband_2g.sband); in mt7915_init_txpower()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/dma/
Dzx_dma.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/dma-mapping.h>
22 #include "virt-dma.h"
24 #define DRIVER_NAME "zx-dma"
26 #define DMA_MAX_SIZE (0x10000 - 512)
99 int id; /* Request phy chan id */
103 struct zx_dma_phy *phy; member
120 spinlock_t lock; /* lock for ch and phy */
122 struct zx_dma_phy *phy; member
138 static void zx_dma_terminate_chan(struct zx_dma_phy *phy, struct zx_dma_dev *d) in zx_dma_terminate_chan() argument
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]

12345678910>>...45