/linux/Documentation/devicetree/bindings/ata/ |
H A D | ceva,ahci-1v84.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ata/ceva,ahci-1v84.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Radhey Shyam Pandey <radhey.shyam.pandey@amd.com> 14 special extensions to add functionality, is a high-performance dual-port 21 const: ceva,ahci-1v84 29 dma-coherent: true 37 power-domains: 40 ceva,p0-cominit-params: [all …]
|
/linux/drivers/ata/ |
H A D | ahci_ceva.c | 1 // SPDX-License-Identifier: GPL-2.0-only 73 #define DRV_NAME "ahci-ceva" 78 MODULE_PARM_DESC(rx_watermark, "RxWaterMark value (0 - 0x80)"); 124 void __iomem *mmio = hpriv->mmio; in ahci_ceva_setup() 125 struct ceva_ahci_priv *cevapriv = hpriv->plat_data; in ahci_ceva_setup() 142 * Set Mem Addr Read ID, Write ID for non-data transfers in ahci_ceva_setup() 150 if (cevapriv->is_cci_enabled) { in ahci_ceva_setup() 164 writel(cevapriv->pp2c[i], mmio + AHCI_VEND_PP2C); in ahci_ceva_setup() 167 writel(cevapriv->pp3c[i], mmio + AHCI_VEND_PP3C); in ahci_ceva_setup() 170 writel(cevapriv->pp4c[i], mmio + AHCI_VEND_PP4C); in ahci_ceva_setup() [all …]
|
H A D | ahci_xgene.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * AppliedMicro X-Gene SoC SATA Host Controller Driver 20 #define DRV_NAME "xgene-ahci" 91 dev_dbg(ctx->dev, "Release memory from shutdown\n"); in xgene_ahci_init_memram() 92 writel(0x0, ctx->csr_diag + CFG_MEM_RAM_SHUTDOWN); in xgene_ahci_init_memram() 93 readl(ctx->csr_diag + CFG_MEM_RAM_SHUTDOWN); /* Force a barrier */ in xgene_ahci_init_memram() 95 if (readl(ctx->csr_diag + BLOCK_MEM_RDY) != 0xFFFFFFFF) { in xgene_ahci_init_memram() 96 dev_err(ctx->dev, "failed to release memory from shutdown\n"); in xgene_ahci_init_memram() 97 return -ENODEV; in xgene_ahci_init_memram() 103 * xgene_ahci_poll_reg_val- Poll a register on a specific value. [all …]
|
/linux/drivers/watchdog/ |
H A D | renesas_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015-17 Wolfram Sang, Sang Engineering <wsa@sang-engineering.com> 6 * Copyright (C) 2015-17 Renesas Electronics Corporation 37 DIV_ROUND_UP((d) * (p)->clk_rate, clk_divs[(p)->cks]) 39 /* d is 16 bit, clk_divs 12 bit -> no 32 bit overflow */ 40 #define DIV_BY_CLKS_PER_SEC(p, d) ((d) * clk_divs[(p)->cks] / (p)->clk_rate) 64 writel_relaxed(val, priv->base + reg); in rwdt_write() 71 rwdt_write(priv, 65536 - MUL_BY_CLKS_PER_SEC(priv, wdev->timeout), RWTCNT); in rwdt_init_timeout() 80 delay = DIV_ROUND_UP(cycles * 1000000, priv->clk_rate); in rwdt_wait_cycles() 90 pm_runtime_get_sync(wdev->parent); in rwdt_start() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/ |
H A D | tx.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2003-2014, 2018-2021, 2023-2025 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 19 #include "iwl-fh.h" 20 #include "iwl-debug.h" 21 #include "iwl-csr.h" 22 #include "iwl-prph.h" 23 #include "iwl-io.h" 24 #include "iwl-scd.h" [all …]
|
/linux/drivers/thermal/renesas/ |
H A D | rcar_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * R-Car THS/TSC thermal sensor driver 101 list_for_each_entry(pos, &common->head, list) 104 #define rcar_priv_to_dev(priv) ((priv)->common->dev) 105 #define rcar_has_irq_support(priv) ((priv)->common->base) 106 #define rcar_id_to_shift(priv) ((priv)->id * 8) 110 .compatible = "renesas,rcar-thermal", 114 .compatible = "renesas,rcar-gen2-thermal", 118 .compatible = "renesas,thermal-r8a774c0", 122 .compatible = "renesas,thermal-r8a77970", [all …]
|
/linux/drivers/pci/controller/ |
H A D | pcie-rcar-host.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * PCIe driver for Renesas R-Car SoCs 4 * Copyright (C) 2014-2020 Renesas Electronics Europe Ltd 7 * arch/sh/drivers/pci/pcie-sh7786.c 8 * arch/sh/drivers/pci/ops-sh7786.c 9 * Copyright (C) 2009 - 2011 Paul Mundt 16 #include <linux/clk-provider.h> 20 #include <linux/irqchip/irq-msi-lib.h> 35 #include "pcie-rcar.h" 66 ret = -EINVAL; in rcar_pcie_wakeup() [all …]
|
/linux/drivers/pci/controller/dwc/ |
H A D | pcie-dw-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * http://www.rock-chips.com 8 * Author: Simon Xue <xxm@rock-chips.com> 26 #include "pcie-designware.h" 36 #define to_rockchip_pcie(x) dev_get_drvdata((x)->dev) 91 return readl_relaxed(rockchip->apb_base + reg); in rockchip_pcie_readl_apb() 97 writel_relaxed(val, rockchip->apb_base + reg); in rockchip_pcie_writel_apb() 111 generic_handle_domain_irq(rockchip->irq_domain, hwirq); in rockchip_pcie_intx_handler() 119 HIWORD_UPDATE_BIT(BIT(data->hwirq)), in rockchip_intx_mask() 126 HIWORD_DISABLE_BIT(BIT(data->hwirq)), in rockchip_intx_unmask() [all …]
|
H A D | pcie-designware.c | 1 // SPDX-License-Identifier: GPL-2.0 20 #include <linux/pcie-dwc.h> 26 #include "pcie-designware.h" 48 [DW_PCIE_NON_STICKY_RST] = "non-sticky", 70 pci->app_clks[i].id = dw_pcie_app_clks[i]; in dw_pcie_get_clocks() 73 pci->core_clks[i].id = dw_pcie_core_clks[i]; in dw_pcie_get_clocks() 75 ret = devm_clk_bulk_get_optional(pci->dev, DW_PCIE_NUM_APP_CLKS, in dw_pcie_get_clocks() 76 pci->app_clks); in dw_pcie_get_clocks() 80 return devm_clk_bulk_get_optional(pci->dev, DW_PCIE_NUM_CORE_CLKS, in dw_pcie_get_clocks() 81 pci->core_clks); in dw_pcie_get_clocks() [all …]
|
/linux/tools/perf/pmu-events/arch/x86/snowridgex/ |
H A D | uncore-io.json | 145 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-7", 152 "PublicDescription": "PCIe Completion Buffer Inserts of completions with data : Part 0-7", 253 "BriefDescription": "PCIe Completion Buffer Occupancy of completions with data : Part 0-7", 260 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 265 "BriefDescription": "PCIe Completion Buffer Occupancy of completions with data : Part 0-7", 271 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 372 …e. Includes all requests initiated by the main die, including reads and writes. : IOMMU - Type 0", 385 …e. Includes all requests initiated by the main die, including reads and writes. : IOMMU - Type 1", 502 …e. Includes all requests initiated by the main die, including reads and writes. : IOMMU - Type 0", 515 …e. Includes all requests initiated by the main die, including reads and writes. : IOMMU - Type 1", [all …]
|
/linux/tools/perf/pmu-events/arch/x86/icelakex/ |
H A D | uncore-io.json | 114 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-7", 121 "PublicDescription": "PCIe Completion Buffer Inserts of completions with data : Part 0-7", 222 "BriefDescription": "PCIe Completion Buffer Occupancy of completions with data : Part 0-7", 229 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 234 "BriefDescription": "PCIe Completion Buffer Occupancy of completions with data : Part 0-7", 240 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 341 …e. Includes all requests initiated by the main die, including reads and writes. : IOMMU - Type 0", 354 …e. Includes all requests initiated by the main die, including reads and writes. : IOMMU - Type 1", 471 …e. Includes all requests initiated by the main die, including reads and writes. : IOMMU - Type 0", 484 …e. Includes all requests initiated by the main die, including reads and writes. : IOMMU - Type 1", [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | tx.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2012-2014, 2018-2025 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 14 #include "iwl-trans.h" 15 #include "iwl-nvm-utils.h" 16 #include "iwl-utils.h" 19 #include "time-sync.h" 28 trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, NULL, FW_DBG_TRIGGER_BA); in iwl_mvm_bar_check_trigger() 32 ba_trig = (void *)trig->data; in iwl_mvm_bar_check_trigger() [all …]
|
/linux/tools/testing/selftests/hid/tests/ |
H A D | test_tablet.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 44 https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/windows-pen-states 67 def from_evdev(cls, evdev, test_button) -> "PenState": 100 ) -> "PenState": 147 def valid_transitions(self) -> Tuple["PenState", ...]: 207 def historically_tolerated_transitions(self) -> Tuple["PenState", ...]: 209 for skipping the in-range state, due to historical reasons. 272 def legal_transitions() -> Dict[str, Tuple["PenState", ...]]: 274 we don't have Invert nor Erase bits, so just move in/out-of-range or proximity. [all …]
|
/linux/drivers/platform/x86/lenovo/ |
H A D | thinkpad_acpi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * thinkpad_acpi.c - ThinkPad ACPI Extras 5 * Copyright (C) 2004-2005 Borislav Deianov <borislav@users.sf.net> 6 * Copyright (C) 2006-2009 Henrique de Moraes Holschuh <hmh@hmh.eng.br> 16 * 2007-10-20 changelog trimmed down 18 * 2007-03-27 0.14 renamed to thinkpad_acpi and moved to 21 * 2006-11-22 0.13 new maintainer 23 * not be updated further in-file. 25 * 2005-03-17 0.11 support for 600e, 770x 28 * 2005-01-16 0.9 use MODULE_VERSION [all …]
|