/Linux-v5.15/drivers/staging/greybus/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 11 To compile this code as a module, chose M here: the module 12 will be called gb-audio.ko 20 bridge from an APB-I2S port to a Unipro network. 22 To compile this code as a module, chose M here: the module 23 will be called gb-audio-codec.ko 32 To compile this code as a module, chose M here: the module 33 will be called gb-bootrom.ko 42 To compile this code as a module, chose M here: the module 43 will be called gb-camera.ko [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/phy/ |
D | mediatek,ufs-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/phy/mediatek,ufs-phy.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: MediaTek Universal Flash Storage (UFS) M-PHY binding 11 - Stanley Chu <stanley.chu@mediatek.com> 12 - Chunfeng Yun <chunfeng.yun@mediatek.com> 15 UFS M-PHY nodes are defined to describe on-chip UFS M-PHY hardware macro. 16 Each UFS M-PHY node should have its own node. 17 To bind UFS M-PHY with UFS host controller, the controller node should [all …]
|
D | phy-rockchip-inno-usb2.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/phy-rockchip-inno-usb2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip USB2.0 phy with inno IP block 10 - Heiko Stuebner <heiko@sntech.de> 15 - rockchip,px30-usb2phy 16 - rockchip,rk3228-usb2phy 17 - rockchip,rk3308-usb2phy 18 - rockchip,rk3328-usb2phy [all …]
|
D | rockchip-dp-phy.txt | 1 Rockchip specific extensions to the Analogix Display Port PHY 2 ------------------------------------ 5 - compatible : should be one of the following supported values: 6 - "rockchip.rk3288-dp-phy" 7 - clocks: from common clock binding: handle to dp clock. 9 - clock-names: from common clock binding: 10 Required elements: "24m" 11 - #phy-cells : from the generic PHY bindings, must be 0; 16 compatible = "rockchip,rk3288-grf", "syscon", "simple-mfd"; 20 edp_phy: edp-phy { [all …]
|
/Linux-v5.15/drivers/char/tpm/ |
D | tpm_tis_spi_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Christophe Ricard <christophe-h.ricard@st.com> 10 * Maintained by: <tpmdd-devel@lists.sourceforge.net> 46 * [1] https://trustedcomputinggroup.org/resource/pc-client-platform-tpm-profile-ptp-specification/ 48 static int tpm_tis_spi_flow_control(struct tpm_tis_spi_phy *phy, in tpm_tis_spi_flow_control() argument 51 struct spi_message m; in tpm_tis_spi_flow_control() local 54 if ((phy->iobuf[3] & 0x01) == 0) { in tpm_tis_spi_flow_control() 57 spi_xfer->len = 1; in tpm_tis_spi_flow_control() 58 spi_message_init(&m); in tpm_tis_spi_flow_control() 59 spi_message_add_tail(spi_xfer, &m); in tpm_tis_spi_flow_control() [all …]
|
D | tpm_tis_spi_cr50.c | 1 // SPDX-License-Identifier: GPL-2.0 23 * - can go to sleep not earlier than after CR50_SLEEP_DELAY_MSEC. 24 * - needs up to CR50_WAKE_START_DELAY_USEC to wake after sleep. 25 * - requires waiting for "ready" IRQ, if supported; or waiting for at least 27 * - waits for up to CR50_FLOW_CONTROL for flow control 'ready' indication. 52 static inline struct cr50_spi_phy *to_cr50_spi_phy(struct tpm_tis_spi_phy *phy) in to_cr50_spi_phy() argument 54 return container_of(phy, struct cr50_spi_phy, spi_phy); in to_cr50_spi_phy() 66 cr50_phy->irq_confirmed = true; in cr50_spi_irq_handler() 67 complete(&cr50_phy->spi_phy.ready); in cr50_spi_irq_handler() 76 static void cr50_ensure_access_delay(struct cr50_spi_phy *phy) in cr50_ensure_access_delay() argument [all …]
|
/Linux-v5.15/drivers/usb/phy/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 26 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y' 35 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y' 39 USB-On-The-Go transceiver working with the OMAP OTG controller. 45 will be called phy-isp1301-omap. 48 tristate "Keystone USB PHY Driver" 52 Enable this to support Keystone USB phy. This driver provides 53 interface to interact with USB 2.0 and USB 3.0 PHY that is part 58 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, NOP can't be built-in 62 built-in with usb ip or which are autonomous and doesn't require any [all …]
|
/Linux-v5.15/drivers/phy/marvell/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Phy drivers for Marvell platforms 6 bool "Armada 375 USB cluster PHY support" if COMPILE_TEST 12 tristate "Marvell Berlin SATA PHY driver" 17 Enable this to support the SATA PHY on Marvell Berlin SoCs. 20 tristate "Marvell Berlin USB PHY Driver" 25 Enable this to support the USB PHY on Marvell Berlin SoCs. 46 Enable this to support Marvell A3700 UTMI PHY driver. 76 Enable this to support Marvell CP110 UTMI PHY driver. 85 tristate "Marvell USB HSIC 28nm PHY Driver" [all …]
|
/Linux-v5.15/drivers/gpu/drm/sun4i/ |
D | sun8i_hdmi_phy_clk.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <linux/clk-provider.h> 12 struct sun8i_hdmi_phy *phy; member 23 unsigned long rate = req->rate; in sun8i_phy_clk_determine_rate() 49 abs(rate - rounded / i) < in sun8i_phy_clk_determine_rate() 50 abs(rate - best_rate / best_div)) { in sun8i_phy_clk_determine_rate() 61 req->rate = best_rate / best_div; in sun8i_phy_clk_determine_rate() 62 req->best_parent_rate = best_rate; in sun8i_phy_clk_determine_rate() 63 req->best_parent_hw = best_parent; in sun8i_phy_clk_determine_rate() 74 regmap_read(priv->phy->regs, SUN8I_HDMI_PHY_PLL_CFG2_REG, ®); in sun8i_phy_clk_recalc_rate() [all …]
|
/Linux-v5.15/drivers/phy/hisilicon/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Phy drivers for Hisilicon platforms 6 tristate "hi6220 USB PHY support" 12 Enable this to support the HISILICON HI6220 USB PHY. 14 To compile this driver as a module, choose M here. 17 tristate "hi3660 USB PHY support" 22 Enable this to support the HISILICON HI3660 USB PHY. 24 To compile this driver as a module, choose M here. 27 tristate "hi3670 USB PHY support" 32 Enable this to support the HISILICON HI3670 USB PHY. [all …]
|
/Linux-v5.15/drivers/phy/mediatek/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Phy drivers for Mediatek devices 6 tristate "MediaTek T-PHY Driver" 12 Say 'Y' here to add support for MediaTek T-PHY driver, 14 SATA, and meanwhile supports two version T-PHY which have 15 different banks layout, the T-PHY with shared banks between 16 multi-ports is first version, otherwise is second version, 20 tristate "MediaTek UFS M-PHY driver" 25 Support for UFS M-PHY on MediaTek chipsets. 26 Enable this to provide vendor-specific probing, [all …]
|
/Linux-v5.15/drivers/phy/qualcomm/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Phy drivers for Qualcomm and Atheros platforms 6 tristate "Atheros AR71XX/9XXX USB PHY driver" 12 Enable this to support the USB PHY on Atheros AR71XX/9XXX SoCs. 15 tristate "Qualcomm APQ8064 SATA SerDes/PHY driver" 22 tristate "Qualcomm IPQ4019 USB PHY driver" 26 Support for the USB PHY-s on Qualcomm IPQ40xx SoC-s. 29 tristate "Qualcomm IPQ806x SATA SerDes/PHY driver" 36 tristate "Qualcomm PCIe Gen2 PHY Driver" 40 Enable this to support the Qualcomm PCIe PHY, used with the Synopsys [all …]
|
/Linux-v5.15/drivers/net/fddi/skfp/ |
D | smt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 26 #define m_fc(mb) ((mb)->sm_data[0]) 55 static int phy_index(struct s_smc *smc, int phy); 57 static int phy_con_resource_index(struct s_smc *smc, int phy); 82 static void smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy); 111 return(*(short *)(&addr->a[0]) == in is_my_addr() 112 *(short *)(&smc->mib.m[MAC0].fddiMACSMTAddress.a[0]) in is_my_addr() 113 && *(short *)(&addr->a[2]) == in is_my_addr() 114 *(short *)(&smc->mib.m[MAC0].fddiMACSMTAddress.a[2]) in is_my_addr() 115 && *(short *)(&addr->a[4]) == in is_my_addr() [all …]
|
/Linux-v5.15/drivers/scsi/bfa/ |
D | bfa_ioc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 4 * Copyright (c) 2014- QLogic Corporation. 8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter. 31 bfa_timer_begin((__ioc)->timer_mod, &(__ioc)->ioc_timer, \ 33 #define bfa_ioc_timer_stop(__ioc) bfa_timer_stop(&(__ioc)->ioc_timer) 36 bfa_timer_begin((__ioc)->timer_mod, &(__ioc)->hb_timer, \ 38 #define bfa_hb_timer_stop(__ioc) bfa_timer_stop(&(__ioc)->hb_timer) 55 ((__ioc)->ioc_hwif->ioc_firmware_lock(__ioc)) 57 ((__ioc)->ioc_hwif->ioc_firmware_unlock(__ioc)) [all …]
|
/Linux-v5.15/drivers/phy/intel/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # Phy drivers for Intel platforms 6 tristate "Intel Keem Bay EMMC PHY driver" 14 To compile this driver as a module, choose M here: the module 15 will be called phy-keembay-emmc.ko. 18 tristate "Intel Keem Bay USB PHY driver" 26 To compile this driver as a module, choose M here: the module 27 will be called phy-keembay-usb.ko. 44 tristate "Intel Lightning Mountain EMMC PHY driver" 48 Enable this to support the Intel EMMC PHY
|
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mt7915.h | 1 /* SPDX-License-Identifier: ISC */ 15 #define MT7915_WTBL_RESERVED (MT7915_WTBL_SIZE - 1) 16 #define MT7915_WTBL_STA (MT7915_WTBL_RESERVED - \ 37 #define MT7915_CFEND_RATE_DEFAULT 0x49 /* OFDM 24M */ 38 #define MT7915_CFEND_RATE_11B 0x03 /* 11B LP, 11M */ 39 #define MT7915_5G_RATE_DEFAULT 0x4b /* OFDM 6M */ 40 #define MT7915_2G_RATE_DEFAULT 0x0 /* CCK 1M */ 105 struct mt7915_phy *phy; member 183 struct mt7915_phy phy; member 263 struct mt76_phy *phy = hw->priv; in mt7915_hw_phy() local [all …]
|
/Linux-v5.15/drivers/phy/rockchip/ |
D | phy-rockchip-dp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Rockchip DP PHY driver 6 * Author: Yakir Yang <ykk@@rock-chips.com> 13 #include <linux/phy/phy.h> 32 static int rockchip_set_phy_state(struct phy *phy, bool enable) in rockchip_set_phy_state() argument 34 struct rockchip_dp_phy *dp = phy_get_drvdata(phy); in rockchip_set_phy_state() 38 ret = regmap_write(dp->grf, GRF_SOC_CON12, in rockchip_set_phy_state() 42 dev_err(dp->dev, "Can't enable PHY power %d\n", ret); in rockchip_set_phy_state() 46 ret = clk_prepare_enable(dp->phy_24m); in rockchip_set_phy_state() 48 clk_disable_unprepare(dp->phy_24m); in rockchip_set_phy_state() [all …]
|
/Linux-v5.15/drivers/net/ethernet/wiznet/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 27 PHY and hardware TCP/IP stack, but this driver is limited to 28 the MAC and PHY functions only, onchip TCP/IP is unused. 30 To compile this driver as a module, choose M here: the module 40 PHY and hardware TCP/IP stack, but this driver is limited to 41 the MAC and PHY functions only, onchip TCP/IP is unused. 43 To compile this driver as a module, choose M here: the module 55 after mapping to Memory-Mapped I/O space. 62 which are directly mapped to Memory-Mapped I/O space. 84 To compile this driver as a module, choose M here: the module [all …]
|
/Linux-v5.15/drivers/usb/common/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 13 Say Y here if you are working on a system with led-class supported 18 tristate "USB ULPI PHY interface support" 22 USB 2.0 PHY interface. The ULPI specification defines a standard set 28 controllers which support ULPI register access and have ULPI PHY 29 attached to them. The ULPI PHY drivers themselves are normal PHY 35 To compile this driver as a module, choose M here: the module will 50 To compile the driver as a module, choose M here: the module will 51 be called usb-conn-gpio.ko
|
/Linux-v5.15/drivers/gpio/ |
D | gpio-stp-xway.c | 1 // SPDX-License-Identifier: GPL-2.0-only 74 #define xway_stp_r32(m, reg) __raw_readl(m + reg) argument 75 #define xway_stp_w32(m, val, reg) __raw_writel(val, m + reg) argument 76 #define xway_stp_w32_mask(m, clear, set, reg) \ argument 77 xway_stp_w32(m, (xway_stp_r32(m, reg) & ~(clear)) | (set), reg) 84 u8 groups; /* we can drive 1-3 groups of 8bit each */ 94 * xway_stp_get() - gpio_chip->get - get gpios. 104 return (xway_stp_r32(chip->virt, XWAY_STP_CPU0) & BIT(gpio)); in xway_stp_get() 108 * xway_stp_set() - gpio_chip->set - set gpios. 120 chip->shadow |= BIT(gpio); in xway_stp_set() [all …]
|
/Linux-v5.15/drivers/phy/samsung/ |
D | phy-samsung-ufs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * UFS PHY driver for Samsung EXYNOS SoC 13 #include <linux/phy/phy.h> 41 /* UFS PHY registers */ 48 /* description for PHY calibration */ 77 #define PWR_MODE(g, s, m) ((((g) & GR_MASK) << 4) |\ argument 78 (((s) & SR_MASK) << 2) | ((m) & MD_MASK)) 87 /* PHY calibration point/state */ 131 static inline struct samsung_ufs_phy *get_samsung_ufs_phy(struct phy *phy) in get_samsung_ufs_phy() argument 133 return (struct samsung_ufs_phy *)phy_get_drvdata(phy); in get_samsung_ufs_phy() [all …]
|
/Linux-v5.15/drivers/media/platform/ti-vpe/ |
D | cal_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 20 * LDOs on the device are disabled if CSI-2 module is powered on 25 * Errata does not apply when CSI-2 module is powered off 43 #define CAL_HL_IRQSTATUS_RAW(m) (0x20U + (m) * 0x10U) argument 44 #define CAL_HL_IRQSTATUS(m) (0x24U + (m) * 0x10U) argument 45 #define CAL_HL_IRQENABLE_SET(m) (0x28U + (m) * 0x10U) argument 46 #define CAL_HL_IRQENABLE_CLR(m) (0x2cU + (m) * 0x10U) argument 47 #define CAL_PIX_PROC(m) (0xc0U + (m) * 0x4U) argument 63 #define CAL_WR_DMA_CTRL(m) (0x200U + (m) * 0x10U) argument 64 #define CAL_WR_DMA_ADDR(m) (0x204U + (m) * 0x10U) argument [all …]
|
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | mt7921.h | 1 /* SPDX-License-Identifier: ISC */ 15 #define MT7921_WTBL_RESERVED (MT7921_WTBL_SIZE - 1) 16 #define MT7921_WTBL_STA (MT7921_WTBL_RESERVED - \ 39 #define MT7921_CFEND_RATE_DEFAULT 0x49 /* OFDM 24M */ 40 #define MT7921_CFEND_RATE_11B 0x03 /* 11B LP, 11M */ 41 #define MT7921_5G_RATE_DEFAULT 0x4b /* OFDM 6M */ 42 #define MT7921_2G_RATE_DEFAULT 0x0 /* CCK 1M */ 48 #define to_rssi(field, rxv) ((FIELD_GET(field, rxv) - 220) / 2) 107 struct mt7921_phy *phy; member 157 struct mt7921_phy phy; member [all …]
|
/Linux-v5.15/drivers/net/ethernet/ti/ |
D | cpsw_ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/phy.h> 75 #define CPSW_STAT(m) CPSW_STATS, \ argument 76 sizeof_field(struct cpsw_hw_stats, m), \ 77 offsetof(struct cpsw_hw_stats, m) 78 #define CPDMA_RX_STAT(m) CPDMA_RX_STATS, \ argument 79 sizeof_field(struct cpdma_chan_stats, m), \ 80 offsetof(struct cpdma_chan_stats, m) 81 #define CPDMA_TX_STAT(m) CPDMA_TX_STATS, \ argument 82 sizeof_field(struct cpdma_chan_stats, m), \ [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/ufs/ |
D | ufs-mediatek.txt | 3 UFS nodes are defined to describe on-chip UFS hardware macro. 6 To bind UFS PHY with UFS host controller, the controller node should 7 contain a phandle reference to UFS M-PHY node. 10 - compatible : Compatible list, contains the following controller: 11 "mediatek,mt8183-ufshci" for MediaTek UFS host controller 13 "mediatek,mt8192-ufshci" for MediaTek UFS host controller 15 - reg : Address and length of the UFS register set. 16 - phys : phandle to m-phy. 17 - clocks : List of phandle and clock specifier pairs. 18 - clock-names : List of clock input name strings sorted in the same [all …]
|