/openbmc/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 - Piyush Mehta <piyush.mehta@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 …]
|
/openbmc/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 22 #define DRV_NAME "xgene-ahci" 93 dev_dbg(ctx->dev, "Release memory from shutdown\n"); in xgene_ahci_init_memram() 94 writel(0x0, ctx->csr_diag + CFG_MEM_RAM_SHUTDOWN); in xgene_ahci_init_memram() 95 readl(ctx->csr_diag + CFG_MEM_RAM_SHUTDOWN); /* Force a barrier */ in xgene_ahci_init_memram() 97 if (readl(ctx->csr_diag + BLOCK_MEM_RDY) != 0xFFFFFFFF) { in xgene_ahci_init_memram() 98 dev_err(ctx->dev, "failed to release memory from shutdown\n"); in xgene_ahci_init_memram() 99 return -ENODEV; in xgene_ahci_init_memram() 105 * xgene_ahci_poll_reg_val- Poll a register on a specific value. [all …]
|
/openbmc/u-boot/drivers/pci/ |
H A D | pcie_imx.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Freescale i.MX6 PCI Express Root-Complex driver 8 * pci-imx6.c: Sean Cross <xobs@kosagi.com> 9 * pcie-designware.c: Jingoo Han <jg1.han@samsung.com> 42 /* PCIe Port Logic registers (memory-mapped) */ 63 /* PHY registers (not memory-mapped) */ 115 return -ETIMEDOUT; in pcie_phy_poll_ack() 143 /* Read from the 16-bit PCIe PHY control registers (not memory-mapped) */ 200 /* wait for ack de-assertion */ in pcie_phy_write() 218 /* wait for ack de-assertion */ in pcie_phy_write() [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/queue/ |
H A D | tx.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2020-2023 Intel Corporation 8 #include "iwl-debug.h" 9 #include "iwl-io.h" 15 #include "iwl-fh.h" 16 #include "iwl-scd.h" 20 * iwl_txq_update_byte_tbl - Set up entry in Tx byte-count array 26 int idx = iwl_txq_get_cmd_index(txq, txq->write_ptr); in iwl_pcie_gen2_update_byte_tbl() 31 if (WARN(idx >= txq->n_window, "%d >= %d\n", idx, txq->n_window)) in iwl_pcie_gen2_update_byte_tbl() 39 * to SRAM- 0 for one chunk, 1 for 2 and so on. in iwl_pcie_gen2_update_byte_tbl() [all …]
|
/openbmc/linux/drivers/thermal/ |
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 …]
|
/openbmc/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> 33 #include "pcie-rcar.h" 64 ret = -EINVAL; in rcar_pcie_wakeup() 108 " .arch armv7-a\n" \ [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/icelakex/ |
H A D | uncore-io.json | 94 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-7", 100 "PublicDescription": "PCIe Completion Buffer Inserts of completions with data : Part 0-7", 193 "BriefDescription": "PCIe Completion Buffer Occupancy of completions with data : Part 0-7", 198 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 203 "BriefDescription": "PCIe Completion Buffer Occupancy of completions with data : Part 0-7", 208 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 299 …e. Includes all requests initiated by the main die, including reads and writes. : IOMMU - Type 0", 310 …e. Includes all requests initiated by the main die, including reads and writes. : IOMMU - Type 1", 409 …e. Includes all requests initiated by the main die, including reads and writes. : IOMMU - Type 0", 420 …e. Includes all requests initiated by the main die, including reads and writes. : IOMMU - Type 1", [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/snowridgex/ |
H A D | uncore-io.json | 123 "BriefDescription": "PCIe Completion Buffer Inserts of completions with data: Part 0-7", 129 "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", 227 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 232 "BriefDescription": "PCIe Completion Buffer Occupancy of completions with data : Part 0-7", 237 "PublicDescription": "PCIe Completion Buffer Occupancy : Part 0-7", 328 …e. Includes all requests initiated by the main die, including reads and writes. : IOMMU - Type 0", 339 …e. Includes all requests initiated by the main die, including reads and writes. : IOMMU - Type 1", 438 …e. Includes all requests initiated by the main die, including reads and writes. : IOMMU - Type 0", 449 …e. Includes all requests initiated by the main die, including reads and writes. : IOMMU - Type 1", [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_driver.c | 1 /* i915_drv.c -- i830,i845,i855,i865,i915 driver -*- linux-c -*- 22 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 117 * need high-priority retirement, such as waiting for an explicit in i915_workqueues_init() 120 * It is also used for periodic low-priority events, such as in i915_workqueues_init() 121 * idle-timers and recording error state. in i915_workqueues_init() 127 dev_priv->wq = alloc_ordered_workqueue("i915", 0); in i915_workqueues_init() 128 if (dev_priv->wq == NULL) in i915_workqueues_init() 131 dev_priv->display.hotplug.dp_wq = alloc_ordered_workqueue("i915-dp", 0); in i915_workqueues_init() 132 if (dev_priv->display.hotplug.dp_wq == NULL) in i915_workqueues_init() 141 dev_priv->unordered_wq = alloc_workqueue("i915-unordered", 0, 0); in i915_workqueues_init() [all …]
|
/openbmc/qemu/hw/scsi/ |
H A D | megasas.c | 5 * Copyright (c) 2009-2012 Hannes Reinecke, SUSE Labs 23 #include "hw/qdev-properties.h" 25 #include "sysemu/block-backend.h" 31 #include "qemu/hw-version.h" 135 #define TYPE_MEGASAS_BASE "megasas-base" 137 #define TYPE_MEGASAS_GEN2 "megasas-gen2" 147 if ((s->intr_mask & MEGASAS_INTR_DISABLED_MASK) != in DECLARE_OBJ_CHECKERS() 156 return s->flags & MEGASAS_MASK_USE_QUEUE64; in megasas_use_queue64() 161 return s->msix != ON_OFF_AUTO_OFF; in megasas_use_msix() 166 return s->flags & MEGASAS_MASK_USE_JBOD; in megasas_is_jbod() [all …]
|
/openbmc/linux/drivers/media/platform/renesas/rcar-vin/ |
H A D | rcar-dma.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for Renesas R-Car VIN 6 * Copyright (C) 2011-2013 Renesas Solutions Corp. 10 * Based on the soc-camera rcar_vin driver 17 #include <media/videobuf2-dma-contig.h> 19 #include "rcar-vin.h" 21 /* ----------------------------------------------------------------------------- 25 /* Register offsets for R-Car VIN */ 29 #define VNSLPRC_REG 0x0C /* Video n Start Line Pre-Clip Register */ 30 #define VNELPRC_REG 0x10 /* Video n End Line Pre-Clip Register */ [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_display.c | 2 * Copyright © 2006-2007 Intel Corporation 27 #include <linux/dma-resv.h> 148 drm_WARN(&dev_priv->drm, (val & CCK_FREQUENCY_STATUS) != in vlv_get_cck_clock() 162 if (dev_priv->hpll_freq == 0) in vlv_get_cck_clock_hpll() 163 dev_priv->hpll_freq = vlv_get_hpll_vco(dev_priv); in vlv_get_cck_clock_hpll() 165 hpll = vlv_get_cck_clock(dev_priv, name, reg, dev_priv->hpll_freq); in vlv_get_cck_clock_hpll() 177 dev_priv->czclk_freq = vlv_get_cck_clock_hpll(dev_priv, "czclk", in intel_update_czclk() 180 drm_dbg(&dev_priv->drm, "CZ clock rate: %d kHz\n", in intel_update_czclk() 181 dev_priv->czclk_freq); in intel_update_czclk() 186 return (crtc_state->active_planes & in is_hdr_mode() [all …]
|
H A D | intel_color.c | 34 * Program non-arming double buffered color management registers 90 #define CTM_COEFF_LIMITED_RANGE ((235ULL - 16ULL) * CTM_COEFF_1_0 / 255) 93 #define CTM_COEFF_ABS(coeff) ((coeff) & (CTM_COEFF_SIGN - 1)) 106 * CSC_MODE_YUV_TO_RGB=0 + CSC_BLACK_SCREEN_OFFSET=0 -> 1/2, 0, 1/2 107 * CSC_MODE_YUV_TO_RGB=0 + CSC_BLACK_SCREEN_OFFSET=1 -> 1/2, 1/16, 1/2 108 * CSC_MODE_YUV_TO_RGB=1 + CSC_BLACK_SCREEN_OFFSET=0 -> 0, 0, 0 109 * CSC_MODE_YUV_TO_RGB=1 + CSC_BLACK_SCREEN_OFFSET=1 -> 1/16, 1/16, 1/16 122 (clamp_val(((coeff) >> (32 - (fbits) - 3)) + 4, 0, 0xfff) & 0xff8) 125 #define ILK_CSC_COEFF_LIMITED_RANGE ((235 - 16) << (12 - 8)) /* exponent 0 */ 126 #define ILK_CSC_POSTOFF_LIMITED_RANGE (16 << (12 - 8)) [all …]
|
/openbmc/linux/sound/pci/hda/ |
H A D | patch_realtek.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 34 /* extra amp-initialization sequence types */ 145 struct alc_spec *spec = codec->spec; in coef_mutex_lock() 148 mutex_lock(&spec->coef_mutex); in coef_mutex_lock() 153 struct alc_spec *spec = codec->spec; in coef_mutex_unlock() 155 mutex_unlock(&spec->coef_mutex); in coef_mutex_unlock() 207 if (val != -1) in __alc_update_coefex_idx() 227 struct alc_spec *spec = codec->spec; in alc_get_coef0() 229 if (!spec->coef0) in alc_get_coef0() 230 spec->coef0 = alc_read_coef_idx(codec, 0); in alc_get_coef0() [all …]
|
/openbmc/linux/drivers/platform/x86/ |
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 …]
|
/openbmc/linux/ |
H A D | opengrok1.0.log | 1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' 2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms) 3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa [all...] |
H A D | opengrok0.0.log | 1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz' 2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz' 3 2024-12-2 [all...] |