/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | g84.c | 37 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in g84_chan_bind() 39 nvkm_wr32(device, 0x002600 + (chan->id * 4), chan->ramfc->addr >> 8); in g84_chan_bind() 45 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in g84_chan_ramfc_write() 49 ret = nvkm_gpuobj_new(device, 0x0200, 0, true, chan->inst, &chan->eng); in g84_chan_ramfc_write() 53 ret = nvkm_gpuobj_new(device, 0x4000, 0, false, chan->inst, &chan->pgd); in g84_chan_ramfc_write() 57 ret = nvkm_gpuobj_new(device, 0x1000, 0x400, true, chan->inst, &chan->cache); in g84_chan_ramfc_write() 61 ret = nvkm_gpuobj_new(device, 0x100, 0x100, true, chan->inst, &chan->ramfc); in g84_chan_ramfc_write() 65 ret = nvkm_ramht_new(device, 0x8000, 16, chan->inst, &chan->ramht); in g84_chan_ramfc_write() 69 nvkm_kmap(chan->ramfc); in g84_chan_ramfc_write() 70 nvkm_wo32(chan->ramfc, 0x3c, 0x403f6078); in g84_chan_ramfc_write() [all …]
|
D | nv50.c | 38 nvkm_ramht_remove(chan->ramht, hash); in nv50_eobj_ramht_del() 44 return nvkm_ramht_insert(chan->ramht, eobj, 0, 4, eobj->handle, engn->id << 20); in nv50_eobj_ramht_add() 50 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in nv50_chan_stop() 52 nvkm_mask(device, 0x002600 + (chan->id * 4), 0x80000000, 0x00000000); in nv50_chan_stop() 58 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in nv50_chan_start() 60 nvkm_mask(device, 0x002600 + (chan->id * 4), 0x80000000, 0x80000000); in nv50_chan_start() 66 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in nv50_chan_unbind() 68 nvkm_wr32(device, 0x002600 + (chan->id * 4), 0x00000000); in nv50_chan_unbind() 74 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in nv50_chan_bind() 76 nvkm_wr32(device, 0x002600 + (chan->id * 4), chan->ramfc->addr >> 12); in nv50_chan_bind() [all …]
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | gk104.c | 43 struct gk104_clk_info eng[16]; member 52 struct nvkm_device *device = clk->base.subdev.device; in read_vco() 62 struct nvkm_device *device = clk->base.subdev.device; in read_pll() 77 sclk = device->crystal; in read_pll() 78 P = 1; in read_pll() 82 P = (coef & 0x10000000) ? 2 : 1; in read_pll() 99 P = 1; in read_pll() 108 struct nvkm_device *device = clk->base.subdev.device; in read_div() 115 return device->crystal; in read_div() 135 struct nvkm_device *device = clk->base.subdev.device; in read_mem() [all …]
|
D | gf100.c | 43 struct gf100_clk_info eng[16]; member 51 struct nvkm_device *device = clk->base.subdev.device; in read_vco() 54 return nvkm_clk_read(&clk->base, nv_clk_src_sppll0); in read_vco() 55 return nvkm_clk_read(&clk->base, nv_clk_src_sppll1); in read_vco() 61 struct nvkm_device *device = clk->base.subdev.device; in read_pll() 75 sclk = device->crystal; in read_pll() 76 P = 1; in read_pll() 79 sclk = nvkm_clk_read(&clk->base, nv_clk_src_mpllsrc); in read_pll() 82 sclk = nvkm_clk_read(&clk->base, nv_clk_src_mpllsrcref); in read_pll() 100 struct nvkm_device *device = clk->base.subdev.device; in read_div() [all …]
|
D | gt215.c | 36 struct gt215_clk_info eng[nv_clk_src_max]; member 45 struct nvkm_device *device = clk->base.subdev.device; in read_vco() 50 return device->crystal; in read_vco() 63 struct nvkm_device *device = clk->base.subdev.device; in read_clk() 68 if (device->chipset == 0xaf) { in read_clk() 73 return device->crystal; in read_clk() 88 return device->crystal; in read_clk() 110 struct nvkm_device *device = clk->base.subdev.device; in read_pll() 112 u32 sclk = 0, P = 1, N = 1, M = 1; in read_pll() 122 /* no post-divider on these.. in read_pll() [all …]
|
/Linux-v6.6/drivers/mtd/nand/ |
D | ecc-mxic.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/dma-mapping.h> 19 #include <linux/mtd/nand-ecc-mxic.h> 33 #define SDMA_MAIN BIT(1) 68 #define READ_NAND BIT(1) 114 static struct mxic_ecc_engine *ext_ecc_eng_to_mxic(struct nand_ecc_engine *eng) in ext_ecc_eng_to_mxic() argument 116 return container_of(eng, struct mxic_ecc_engine, external_engine); in ext_ecc_eng_to_mxic() 119 static struct mxic_ecc_engine *pip_ecc_eng_to_mxic(struct nand_ecc_engine *eng) in pip_ecc_eng_to_mxic() argument 121 return container_of(eng, struct mxic_ecc_engine, pipelined_engine); in pip_ecc_eng_to_mxic() 126 struct nand_ecc_engine *eng = nand->ecc.engine; in nand_to_mxic() local [all …]
|
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/ |
D | gmc_v11_0.c | 74 if (!adev->in_s0ix) in gmc_v11_0_vm_fault_interrupt_state() 86 if (!adev->in_s0ix) in gmc_v11_0_vm_fault_interrupt_state() 100 uint32_t vmhub_index = entry->client_id == SOC21_IH_CLIENTID_VMC ? in gmc_v11_0_process_interrupt() 102 struct amdgpu_vmhub *hub = &adev->vmhub[vmhub_index]; in gmc_v11_0_process_interrupt() 106 addr = (u64)entry->src_data[0] << 12; in gmc_v11_0_process_interrupt() 107 addr |= ((u64)entry->src_data[1] & 0xf) << 44; in gmc_v11_0_process_interrupt() 115 if (entry->vmid_src == AMDGPU_GFXHUB(0)) in gmc_v11_0_process_interrupt() 116 RREG32(hub->vm_l2_pro_fault_status); in gmc_v11_0_process_interrupt() 118 status = RREG32(hub->vm_l2_pro_fault_status); in gmc_v11_0_process_interrupt() 119 WREG32_P(hub->vm_l2_pro_fault_cntl, 1, ~1); in gmc_v11_0_process_interrupt() [all …]
|
D | gmc_v10_0.c | 79 if (!adev->in_s0ix) in gmc_v10_0_vm_fault_interrupt_state() 91 if (!adev->in_s0ix) in gmc_v10_0_vm_fault_interrupt_state() 105 uint32_t vmhub_index = entry->client_id == SOC15_IH_CLIENTID_VMC ? in gmc_v10_0_process_interrupt() 107 struct amdgpu_vmhub *hub = &adev->vmhub[vmhub_index]; in gmc_v10_0_process_interrupt() 108 bool retry_fault = !!(entry->src_data[1] & 0x80); in gmc_v10_0_process_interrupt() 109 bool write_fault = !!(entry->src_data[1] & 0x20); in gmc_v10_0_process_interrupt() 114 addr = (u64)entry->src_data[0] << 12; in gmc_v10_0_process_interrupt() 115 addr |= ((u64)entry->src_data[1] & 0xf) << 44; in gmc_v10_0_process_interrupt() 118 /* Returning 1 here also prevents sending the IV to the KFD */ in gmc_v10_0_process_interrupt() 121 if (entry->ih != &adev->irq.ih_soft && in gmc_v10_0_process_interrupt() [all …]
|
D | gmc_v9_0.c | 102 [1][0] = "MP0", 111 [0][1] = "MP1", 112 [1][1] = "MP0", 113 [2][1] = "VCN", 114 [3][1] = "VCNU", 115 [4][1] = "HDP", 116 [5][1] = "XDP", 117 [6][1] = "DBGU0", 118 [7][1] = "DCE", 119 [8][1] = "DCEDWB0", [all …]
|
D | amdgpu_gmc.c | 15 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 27 #include <linux/io-64-nonatomic-lo-hi.h> 41 * amdgpu_gmc_pdb0_alloc - allocate vram for pdb0 52 u64 vram_size = adev->gmc.xgmi.node_segment_size * adev->gmc.xgmi.num_physical_nodes; in amdgpu_gmc_pdb0_alloc() 53 uint32_t pde0_page_shift = adev->gmc.vmid0_page_table_block_size + 21; in amdgpu_gmc_pdb0_alloc() 54 uint32_t npdes = (vram_size + (1ULL << pde0_page_shift) -1) >> pde0_page_shift; in amdgpu_gmc_pdb0_alloc() 57 bp.size = PAGE_ALIGN((npdes + 1) * 8); in amdgpu_gmc_pdb0_alloc() 66 r = amdgpu_bo_create(adev, &bp, &adev->gmc.pdb0_bo); in amdgpu_gmc_pdb0_alloc() 70 r = amdgpu_bo_reserve(adev->gmc.pdb0_bo, false); in amdgpu_gmc_pdb0_alloc() 74 r = amdgpu_bo_pin(adev->gmc.pdb0_bo, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_gmc_pdb0_alloc() [all …]
|
/Linux-v6.6/include/linux/ |
D | via-core.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright 1998-2009 VIA Technologies, Inc. All Rights Reserved. 4 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved. 5 * Copyright 2009-2010 Jonathan Corbet <corbet@lwn.net> 112 #define VDE_I_DMA1DDONE 0x00000040 /* DMA 1 descr done */ 113 #define VDE_I_DMA1TDONE 0x00000080 /* DMA 1 transfer done */ 114 #define VDE_I_C1AV 0x00000100 /* Cap Eng 1 act vid end */ 118 #define VDE_I_C0AV 0x00001000 /* Cap Eng 0 act vid end */ 119 #define VDE_I_C0VBI 0x00002000 /* Cap Eng 0 VBI end */ 120 #define VDE_I_C1VBI 0x00004000 /* Cap Eng 1 VBI end */ [all …]
|
/Linux-v6.6/drivers/spi/ |
D | spi-mxic.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/mtd/nand-ecc-mxic.h> 20 #include <linux/spi/spi-mem.h> 29 #define HC_CFG_TYPE_SPI_NAND 1 40 #define HC_CFG_MAN_CS_EN BIT(1) 58 #define INT_TX_NOT_FULL BIT(1) 74 #define OP_CMD_BYTES(x) (((x) - 1) << 13) 86 #define OP_BUSW_2 1 92 #define OCTA_CRC_CHUNK(s, x) ((fls((x) / 32)) << (1 + ((s) * 16))) 117 #define DMAC_CFG_QE(x) (((x) + 1) << 16) [all …]
|
/Linux-v6.6/drivers/cpufreq/ |
D | sti-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Match running platform with pre-defined OPP values for CPUFreq 24 #define HW_INFO_INDEX 1 25 #define MAJOR_ID_INDEX 1 43 * struct sti_cpufreq_ddata - ST CPUFreq Driver Data 56 struct device_node *np = ddata.cpu->of_node; in sti_cpufreq_fetch_major() 77 return ((socid >> VERSION_SHIFT) & 0xf) + 1; in sti_cpufreq_fetch_major() 83 struct device_node *np = dev->of_node; in sti_cpufreq_fetch_minor() 88 ret = of_property_read_u32_index(np, "st,syscfg-eng", in sti_cpufreq_fetch_minor() 154 struct device_node *np = dev->of_node; in sti_cpufreq_set_opp_info() [all …]
|
/Linux-v6.6/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_capture.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2021-2022 Intel Corporation 27 * NOTE: For engine-registers, GuC only needs the register offsets 28 * from the engine-mmio-base 76 { GEN8_RING_PDP_LDW(0, 1), 0, 0, "PDP1_LDW" }, \ 77 { GEN8_RING_PDP_UDW(0, 1), 0, 0, "PDP1_UDW" }, \ 95 { GEN12_SFC_DONE(1), 0, 0, "SFC_DONE[1]" }, \ 106 /* XE_LP Render / Compute Per-Class */ 113 /* GEN8+ Render / Compute Per-Engine-Instance */ 118 /* GEN8+ Media Decode/Encode Per-Engine-Instance */ [all …]
|
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_cpt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 #define CPT_CTX_ILEN 1ULL 31 busy_sts |= 1ULL << i; \ 34 free_sts |= 1ULL << i; \ 36 (_rsp)->busy_sts_##etype = busy_sts; \ 37 (_rsp)->free_sts_##etype = free_sts; \ 43 struct rvu *rvu = block->rvu; in cpt_af_flt_intr_handler() 44 int blkaddr = block->addr; in cpt_af_flt_intr_handler() 46 int i, eng; in cpt_af_flt_intr_handler() local 50 dev_err_ratelimited(rvu->dev, "Received CPTAF FLT%d irq : 0x%llx", vec, reg); in cpt_af_flt_intr_handler() [all …]
|
/Linux-v6.6/drivers/infiniband/hw/hfi1/ |
D | sdma.h | 1 /* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */ 3 * Copyright(c) 2015 - 2018 Intel Corporation. 22 #define MAX_SDMA_PKT_SIZE ((16 * 1024) - 1) 25 #define SDMA_MAP_SINGLE 1 48 #define SDMA_AHG_COPY 1 61 ((1ULL << SDMA_DESC0_BYTE_COUNT_WIDTH) - 1) 67 ((1ULL << SDMA_DESC0_PHY_ADDR_WIDTH) - 1) 74 ((1ULL << SDMA_DESC1_HEADER_UPDATE1_WIDTH) - 1) 80 ((1ULL << SDMA_DESC1_HEADER_MODE_WIDTH) - 1) 86 ((1ULL << SDMA_DESC1_HEADER_INDEX_WIDTH) - 1) [all …]
|
/Linux-v6.6/drivers/net/ethernet/cavium/liquidio/ |
D | cn23xx_pf_regs.h | 7 * Copyright (c) 2003-2016 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 74 /* 2 scatch registers (64-bit) */ 80 /* 1 registers (64-bit) - SLI_CTL_STATUS */ 117 /* 4 registers (64-bit) for mapping IOQs to MACs(PEMs)- 118 * SLI_PKT_MAC(0..3)_PF(0..1)_RINFO 122 /*1 register (64-bit) to determine whether IOQs are in reset. */ 125 /* Each Input Queue register is at a 16-byte Offset in BAR0 */ 152 /* 64 registers for Input Queue Instr Count - SLI_PKT_IN_DONE0_CNTS */ 155 /* 64 registers for Input Queues Start Addr - SLI_PKT0_INSTR_BADDR */ [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/iio/accel/ |
D | memsensing,msa311.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MEMSensing digital 3-Axis accelerometer 10 - Dmitry Rokosov <ddrokosov@sberdevices.ru> 13 MSA311 is a tri-axial, low-g accelerometer with I2C digital output for 15 scales range of +-2g/+-4g/+-8g/+-16g and allows acceleration measurements 16 with output data rates from 1Hz to 1000Hz. 18 https://cdn-shop.adafruit.com/product-files/5309/MSA311-V1.1-ENG.pdf 25 maxItems: 1 [all …]
|
/Linux-v6.6/drivers/soc/tegra/fuse/ |
D | speedo-tegra124.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2013-2014, NVIDIA CORPORATION. All rights reserved. 53 int sku = sku_info->sku_id; in rev_sku_to_speedo_ids() 56 sku_info->cpu_speedo_id = 0; in rev_sku_to_speedo_ids() 57 sku_info->soc_speedo_id = 0; in rev_sku_to_speedo_ids() 58 sku_info->gpu_speedo_id = 0; in rev_sku_to_speedo_ids() 62 case 0x00: /* Eng sku */ in rev_sku_to_speedo_ids() 68 sku_info->cpu_speedo_id = 2; in rev_sku_to_speedo_ids() 74 sku_info->cpu_speedo_id = 2; in rev_sku_to_speedo_ids() 75 sku_info->soc_speedo_id = 0; in rev_sku_to_speedo_ids() [all …]
|
/Linux-v6.6/arch/sparc/include/uapi/asm/ |
D | envctrl.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 8 * Copyright (C) 2000 Vinh Truong (vinh.truong@eng.sun.com) 9 * VT - Add all ioctl commands and environment status definitions 10 * VT - Add application note 13 #define _SPARC64_ENVCTRL_H 1 79 * if (read(fd, rslt, 1) <= 0) {
|
/Linux-v6.6/Documentation/fb/ |
D | sh7760fb.rst | 6 ----------- 8 supports (in theory) resolutions ranging from 1x1 to 1024x1024, 9 with color depths ranging from 1 to 16 bits, on STN, DSTN and TFT Panels. 29 - drivers/video/sh7760fb.c 30 - include/asm-sh/sh7760fb.h 31 - Documentation/fb/sh7760fb.rst 33 1. Platform setup 34 ----------------- 47 -------------------- 53 (http://documentation.renesas.com/eng/products/mpumcu/e602291_sh7760.pdf) [all …]
|
/Linux-v6.6/include/uapi/linux/spi/ |
D | spidev.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 6 * Andrea Paterniani <a.paterniani@swapp-eng.it> 35 * struct spi_ioc_transfer - describes a single SPI transfer 52 * cases, such as 32-bit i386 userspace over a 64-bit x86_64 kernel). 53 * Zero-initialize the structure, including currently unused fields, to 65 * in a 16-bit word), the next could read a block of 8-bit data before 67 * could send a different nine bit command (re-selecting the chip), and the 94 /* not all platforms use <asm-generic/ioctl.h> or _IOC_TYPECHECK() ... */ 96 ((((N)*(sizeof (struct spi_ioc_transfer))) < (1 << _IOC_SIZEBITS)) \ 102 #define SPI_IOC_RD_MODE _IOR(SPI_IOC_MAGIC, 1, __u8) [all …]
|
/Linux-v6.6/drivers/net/ethernet/qlogic/qed/ |
D | qed_dev.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2020 Marvell International Ltd. 11 #include <linux/dma-mapping.h> 72 db_entry->db_addr, in qed_db_recovery_dp_entry() 73 db_entry->db_data, in qed_db_recovery_dp_entry() 74 db_entry->db_width == DB_REC_WIDTH_32B ? "32b" : "64b", in qed_db_recovery_dp_entry() 75 db_entry->db_space == DB_REC_USER ? "user" : "kernel", in qed_db_recovery_dp_entry() 76 db_entry->hwfn_idx); in qed_db_recovery_dp_entry() 88 if (db_addr < cdev->doorbells || in qed_db_rec_sanity() [all …]
|
/Linux-v6.6/tools/memory-model/Documentation/ |
D | references.txt | 18 o Intel Corporation (Ed.). 2002. "Intel 64 and IA-32 Architectures 22 and Magnus O. Myreen. 2010. "x86-TSO: A Rigorous and Usable 24 (July, 2010), 89-97. http://doi.acm.org/10.1145/1785414.1785443 42 Implementation (PLDI '12). ACM, New York, NY, USA, 311-322. 45 for ARMv8-A architecture profile)". ARM Ltd. 48 For Programmers, Volume II-A: The MIPS64(R) Instruction, 50 LTD. https://imgtec.com/?do-download=4302. 56 SIGPLAN-SIGACT Symposium on Principles of Programming Languages 61 Sewell. 2017. "Mixed-size Concurrency: ARM, POWER, C/C++11, 68 multicopy-atomic axiomatic and operational models for ARMv8". In [all …]
|
/Linux-v6.6/drivers/crypto/marvell/octeontx/ |
D | otx_cptpf_mbox.c | 1 // SPDX-License-Identifier: GPL-2.0 67 get_mbox_opcode_str(mbox_msg->msg), vf_id, in dump_mbox_msg() 71 get_mbox_opcode_str(mbox_msg->msg), raw_data_str); in dump_mbox_msg() 78 writeq(mbx->data, cpt->reg_base + OTX_CPT_PF_VFX_MBOXX(vf, 1)); in otx_cpt_send_msg_to_vf() 79 writeq(mbx->msg, cpt->reg_base + OTX_CPT_PF_VFX_MBOXX(vf, 0)); in otx_cpt_send_msg_to_vf() 89 mbx->data = 0ull; in otx_cpt_mbox_send_ack() 90 mbx->msg = OTX_CPT_MSG_ACK; in otx_cpt_mbox_send_ack() 98 mbx->data = 0ull; in otx_cptpf_mbox_send_nack() 99 mbx->msg = OTX_CPT_MSG_NACK; in otx_cptpf_mbox_send_nack() 106 writeq(1ull << vf, cpt->reg_base + OTX_CPT_PF_MBOX_INTX(0)); in otx_cpt_clear_mbox_intr() [all …]
|