| /kernel/linux/linux-6.6/drivers/phy/mediatek/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Phy drivers for Mediatek devices 6 tristate "MediaTek PCIe-PHY Driver" 11 Say 'Y' here to add support for MediaTek PCIe PHY driver. 12 This driver create the basic PHY instance and provides initialize 17 tristate "MediaTek T-PHY Driver" 23 Say 'Y' here to add support for MediaTek T-PHY driver, 25 SATA, and meanwhile supports two version T-PHY which have 26 different banks layout, the T-PHY with shared banks between 27 multi-ports is first version, otherwise is second version, [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/phy/ |
| D | mediatek,tphy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/phy/mediatek,tphy.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: MediaTek T-PHY Controller 11 - Chunfeng Yun <chunfeng.yun@mediatek.com> 14 The T-PHY controller supports physical layer functionality for a number of 17 Layout differences of banks between T-PHY V1 (mt8173/mt2701) and 18 T-PHY V2 (mt2712) / V3 (mt8195) when works on USB mode: 19 ----------------------------------- [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| D | phy-gpio-vbus-usb.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * gpio-vbus.c - simple GPIO VBUS sensing driver for B peripheral devices 33 struct usb_phy phy; member 60 struct regulator *vbus_draw = gpio_vbus->vbus_draw; in set_vbus_draw() 67 enabled = gpio_vbus->vbus_draw_enabled; in set_vbus_draw() 74 gpio_vbus->vbus_draw_enabled = 1; in set_vbus_draw() 81 gpio_vbus->vbus_draw_enabled = 0; in set_vbus_draw() 84 gpio_vbus->mA = mA; in set_vbus_draw() 89 return gpiod_get_value(gpio_vbus->vbus_gpiod); in is_vbus_powered() 98 if (!gpio_vbus->phy.otg->gadget) in gpio_vbus_work() [all …]
|
| D | phy-isp1301-omap.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * isp1301_omap - ISP 1301 USB transceiver, talking to OMAP OTG controller 24 #include <asm/mach-types.h> 40 struct usb_phy phy; member 59 # define WORK_STOP 7 /* don't resubmit */ 78 /*-------------------------------------------------------------------------*/ 80 /* board-specific PM hooks */ 111 * unless the OTG port is used only in B-peripheral mode. in enable_vbus_draw() 119 /* this board won't supply more than 8mA vbus power. in enable_vbus_source() 132 /*-------------------------------------------------------------------------*/ [all …]
|
| /kernel/linux/linux-5.10/arch/mips/boot/dts/cavium-octeon/ |
| D | octeon_68xx.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 7 * use. Because of this, it contains a super-set of the available 11 compatible = "cavium,octeon-6880"; 12 #address-cells = <2>; 13 #size-cells = <2>; 14 interrupt-parent = <&ciu2>; 17 compatible = "simple-bus"; 18 #address-cells = <2>; 19 #size-cells = <2>; [all …]
|
| /kernel/linux/linux-6.6/arch/mips/boot/dts/cavium-octeon/ |
| D | octeon_68xx.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 7 * use. Because of this, it contains a super-set of the available 11 compatible = "cavium,octeon-6880"; 12 #address-cells = <2>; 13 #size-cells = <2>; 14 interrupt-parent = <&ciu2>; 17 compatible = "simple-bus"; 18 #address-cells = <2>; 19 #size-cells = <2>; [all …]
|
| /kernel/linux/linux-5.10/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" 11 Say 'Y' here to add support for MediaTek T-PHY driver, 13 SATA, and meanwhile supports two version T-PHY which have 14 different banks layout, the T-PHY with shared banks between 15 multi-ports is first version, otherwise is second version, 19 tristate "MediaTek UFS M-PHY driver" 24 Support for UFS M-PHY on MediaTek chipsets. 25 Enable this to provide vendor-specific probing, [all …]
|
| /kernel/linux/linux-6.6/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' 32 tristate "Keystone USB PHY Driver" 36 Enable this to support Keystone USB phy. This driver provides 37 interface to interact with USB 2.0 and USB 3.0 PHY that is part 42 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, NOP can't be built-in 46 built-in with usb ip or which are autonomous and doesn't require any 47 phy programming such as ISP1x04 etc. 53 tristate "AM335x USB PHY Driver" 60 This driver provides PHY support for that phy which part for the [all …]
|
| D | phy-gpio-vbus-usb.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * gpio-vbus.c - simple GPIO VBUS sensing driver for B peripheral devices 33 struct usb_phy phy; member 60 struct regulator *vbus_draw = gpio_vbus->vbus_draw; in set_vbus_draw() 67 enabled = gpio_vbus->vbus_draw_enabled; in set_vbus_draw() 74 gpio_vbus->vbus_draw_enabled = 1; in set_vbus_draw() 81 gpio_vbus->vbus_draw_enabled = 0; in set_vbus_draw() 84 gpio_vbus->mA = mA; in set_vbus_draw() 89 return gpiod_get_value(gpio_vbus->vbus_gpiod); in is_vbus_powered() 98 if (!gpio_vbus->phy.otg->gadget) in gpio_vbus_work() [all …]
|
| /kernel/linux/linux-6.6/net/mac80211/ |
| D | debugfs_sta.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2003-2005 Devicescape Software, Inc. 6 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2018 - 2022 Intel Corporation 17 #include "driver-ops.h" 26 struct sta_info *sta = file->private_data; \ 28 format_string, sta->field); \ 90 char *end = buf + sizeof(buf) - 1; in sta_flags_read() 91 struct sta_info *sta = file->private_data; in sta_flags_read() 98 pos += scnprintf(pos, end - pos, "%s\n", in sta_flags_read() [all …]
|
| /kernel/linux/linux-5.10/drivers/phy/ralink/ |
| D | phy-ralink-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 #include <linux/phy/phy.h> 56 struct phy *phy; member 61 static void u2_phy_w32(struct ralink_usb_phy *phy, u32 val, u32 reg) in u2_phy_w32() argument 63 writel(val, phy->base + reg); in u2_phy_w32() 66 static u32 u2_phy_r32(struct ralink_usb_phy *phy, u32 reg) in u2_phy_r32() argument 68 return readl(phy->base + reg); in u2_phy_r32() 71 static void ralink_usb_phy_init(struct ralink_usb_phy *phy) in ralink_usb_phy_init() argument 73 u2_phy_r32(phy, OFS_U2_PHY_AC2); in ralink_usb_phy_init() 74 u2_phy_r32(phy, OFS_U2_PHY_ACR0); in ralink_usb_phy_init() [all …]
|
| /kernel/linux/linux-6.6/drivers/phy/ralink/ |
| D | phy-ralink-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 #include <linux/phy/phy.h> 56 struct phy *phy; member 61 static void u2_phy_w32(struct ralink_usb_phy *phy, u32 val, u32 reg) in u2_phy_w32() argument 63 writel(val, phy->base + reg); in u2_phy_w32() 66 static u32 u2_phy_r32(struct ralink_usb_phy *phy, u32 reg) in u2_phy_r32() argument 68 return readl(phy->base + reg); in u2_phy_r32() 71 static void ralink_usb_phy_init(struct ralink_usb_phy *phy) in ralink_usb_phy_init() argument 73 u2_phy_r32(phy, OFS_U2_PHY_AC2); in ralink_usb_phy_init() 74 u2_phy_r32(phy, OFS_U2_PHY_ACR0); in ralink_usb_phy_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/pm8001/ |
| D | pm8001_sas.c | 2 * PMC-Sierra PM8001/8081/8088/8089 SAS/SATA based host adapters driver 4 * Copyright (c) 2008-2009 USI Co., Ltd. 18 * 3. Neither the names of the above-listed copyright holders nor the names 45 * pm8001_find_tag - from sas task to find out tag that belongs to this task 51 if (task->lldd_task) { in pm8001_find_tag() 53 ccb = task->lldd_task; in pm8001_find_tag() 54 *tag = ccb->ccb_tag; in pm8001_find_tag() 61 * pm8001_tag_free - free the no more needed tag 67 void *bitmap = pm8001_ha->tags; in pm8001_tag_free() 72 * pm8001_tag_alloc - allocate a empty tag for task used. [all …]
|
| D | pm8001_hwi.c | 2 * PMC-Sierra SPC 8001 SAS/SATA based host adapters driver 4 * Copyright (c) 2008-2009 USI Co., Ltd. 18 * 3. Neither the names of the above-listed copyright holders nor the names 47 * read_main_config_table - read the configure table and save it. 52 void __iomem *address = pm8001_ha->main_cfg_tbl_addr; in read_main_config_table() 53 pm8001_ha->main_cfg_tbl.pm8001_tbl.signature = in read_main_config_table() 55 pm8001_ha->main_cfg_tbl.pm8001_tbl.interface_rev = in read_main_config_table() 57 pm8001_ha->main_cfg_tbl.pm8001_tbl.firmware_rev = in read_main_config_table() 59 pm8001_ha->main_cfg_tbl.pm8001_tbl.max_out_io = in read_main_config_table() 61 pm8001_ha->main_cfg_tbl.pm8001_tbl.max_sgl = in read_main_config_table() [all …]
|
| /kernel/linux/linux-5.10/net/mac80211/ |
| D | debugfs_sta.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2003-2005 Devicescape Software, Inc. 6 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2018 - 2020 Intel Corporation 17 #include "driver-ops.h" 26 struct sta_info *sta = file->private_data; \ 28 format_string, sta->field); \ 89 char *end = buf + sizeof(buf) - 1; in sta_flags_read() 90 struct sta_info *sta = file->private_data; in sta_flags_read() 97 pos += scnprintf(pos, end - pos, "%s\n", in sta_flags_read() [all …]
|
| /kernel/linux/linux-6.6/drivers/phy/rockchip/ |
| D | phy-rockchip-emmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Rockchip emmc PHY driver 5 * Copyright (C) 2016 Shawn Lin <shawn.lin@rock-chips.com> 15 #include <linux/phy/phy.h> 20 * The higher 16-bit of this register is used for write protection 93 static int rockchip_emmc_phy_power(struct phy *phy, bool on_off) in rockchip_emmc_phy_power() argument 95 struct rockchip_emmc_phy *rk_phy = phy_get_drvdata(phy); in rockchip_emmc_phy_power() 106 regmap_write(rk_phy->reg_base, in rockchip_emmc_phy_power() 107 rk_phy->reg_offset + GRF_EMMCPHY_CON6, in rockchip_emmc_phy_power() 111 regmap_write(rk_phy->reg_base, in rockchip_emmc_phy_power() [all …]
|
| /kernel/linux/linux-5.10/drivers/phy/rockchip/ |
| D | phy-rockchip-emmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Rockchip emmc PHY driver 5 * Copyright (C) 2016 Shawn Lin <shawn.lin@rock-chips.com> 15 #include <linux/phy/phy.h> 20 * The higher 16-bit of this register is used for write protection 85 static int rockchip_emmc_phy_power(struct phy *phy, bool on_off) in rockchip_emmc_phy_power() argument 87 struct rockchip_emmc_phy *rk_phy = phy_get_drvdata(phy); in rockchip_emmc_phy_power() 98 regmap_write(rk_phy->reg_base, in rockchip_emmc_phy_power() 99 rk_phy->reg_offset + GRF_EMMCPHY_CON6, in rockchip_emmc_phy_power() 103 regmap_write(rk_phy->reg_base, in rockchip_emmc_phy_power() [all …]
|
| /kernel/linux/linux-5.10/drivers/phy/ti/ |
| D | phy-ti-pipe3.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * phy-ti-pipe3 - PIPE3 PHY driver. 5 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com 12 #include <linux/phy/phy.h> 19 #include <linux/phy/omap_control_phy.h> 215 /* DRA75x TRM Table 26-17 Preferred USB3_PHY_RX SCP Register Settings */ 241 /* DRA75x TRM Table 26-9 Preferred SATA_PHY_RX SCP Register Settings */ 266 /* DRA75x TRM Table 26-62 Preferred PCIe_PHY_RX SCP Register Settings */ 299 static struct pipe3_dpll_params *ti_pipe3_get_dpll_params(struct ti_pipe3 *phy) in ti_pipe3_get_dpll_params() argument 302 struct pipe3_dpll_map *dpll_map = phy->dpll_map; in ti_pipe3_get_dpll_params() [all …]
|
| /kernel/linux/linux-6.6/drivers/phy/ti/ |
| D | phy-ti-pipe3.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * phy-ti-pipe3 - PIPE3 PHY driver. 5 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com 12 #include <linux/phy/phy.h> 19 #include <linux/phy/omap_control_phy.h> 215 /* DRA75x TRM Table 26-17 Preferred USB3_PHY_RX SCP Register Settings */ 241 /* DRA75x TRM Table 26-9 Preferred SATA_PHY_RX SCP Register Settings */ 266 /* DRA75x TRM Table 26-62 Preferred PCIe_PHY_RX SCP Register Settings */ 299 static struct pipe3_dpll_params *ti_pipe3_get_dpll_params(struct ti_pipe3 *phy) in ti_pipe3_get_dpll_params() argument 302 struct pipe3_dpll_map *dpll_map = phy->dpll_map; in ti_pipe3_get_dpll_params() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/hdmi/ |
| D | hdmi_phy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 static int msm_hdmi_phy_resource_init(struct hdmi_phy *phy) in msm_hdmi_phy_resource_init() argument 13 struct hdmi_phy_cfg *cfg = phy->cfg; in msm_hdmi_phy_resource_init() 14 struct device *dev = &phy->pdev->dev; in msm_hdmi_phy_resource_init() 17 phy->regs = devm_kcalloc(dev, cfg->num_regs, sizeof(phy->regs[0]), in msm_hdmi_phy_resource_init() 19 if (!phy->regs) in msm_hdmi_phy_resource_init() 20 return -ENOMEM; in msm_hdmi_phy_resource_init() 22 phy->clks = devm_kcalloc(dev, cfg->num_clks, sizeof(phy->clks[0]), in msm_hdmi_phy_resource_init() 24 if (!phy->clks) in msm_hdmi_phy_resource_init() 25 return -ENOMEM; in msm_hdmi_phy_resource_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/ |
| D | hdmi_phy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 static int msm_hdmi_phy_resource_init(struct hdmi_phy *phy) in msm_hdmi_phy_resource_init() argument 12 struct hdmi_phy_cfg *cfg = phy->cfg; in msm_hdmi_phy_resource_init() 13 struct device *dev = &phy->pdev->dev; in msm_hdmi_phy_resource_init() 16 phy->regs = devm_kcalloc(dev, cfg->num_regs, sizeof(phy->regs[0]), in msm_hdmi_phy_resource_init() 18 if (!phy->regs) in msm_hdmi_phy_resource_init() 19 return -ENOMEM; in msm_hdmi_phy_resource_init() 21 phy->clks = devm_kcalloc(dev, cfg->num_clks, sizeof(phy->clks[0]), in msm_hdmi_phy_resource_init() 23 if (!phy->clks) in msm_hdmi_phy_resource_init() 24 return -ENOMEM; in msm_hdmi_phy_resource_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/oki-semi/pch_gbe/ |
| D | pch_gbe_phy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 1999 - 2010 Intel Corporation. 12 #define PHY_MAX_REG_ADDRESS 0x1F /* 5 bit address bus (0-0x1F) */ 14 /* PHY 1000 MII Register/Bit Definitions */ 15 /* PHY Registers defined by IEEE */ 18 #define PHY_ID1 0x02 /* Phy Id Register (word 1) */ 19 #define PHY_ID2 0x03 /* Phy Id Register (word 2) */ 25 #define PHY_1000T_CTRL 0x09 /* 1000Base-T Control Register */ 26 #define PHY_1000T_STATUS 0x0A /* 1000Base-T Status Register */ 28 #define PHY_PHYSP_CONTROL 0x10 /* PHY Specific Control Register */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/oki-semi/pch_gbe/ |
| D | pch_gbe_phy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 1999 - 2010 Intel Corporation. 12 #define PHY_MAX_REG_ADDRESS 0x1F /* 5 bit address bus (0-0x1F) */ 14 /* PHY 1000 MII Register/Bit Definitions */ 15 /* PHY Registers defined by IEEE */ 18 #define PHY_ID1 0x02 /* Phy Id Register (word 1) */ 19 #define PHY_ID2 0x03 /* Phy Id Register (word 2) */ 25 #define PHY_1000T_CTRL 0x09 /* 1000Base-T Control Register */ 26 #define PHY_1000T_STATUS 0x0A /* 1000Base-T Status Register */ 28 #define PHY_PHYSP_CONTROL 0x10 /* PHY Specific Control Register */ [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/ata/ |
| D | ahci-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ata/ahci-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Hans de Goede <hdegoede@redhat.com> 11 - Damien Le Moal <dlemoal@kernel.org> 18 document doesn't constitute a DT-node binding by itself but merely 19 defines a set of common properties for the AHCI-compatible devices. 24 - $ref: sata-common.yaml# 32 reg-names: [all …]
|