/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | gen2_engine_cs.c | 1 // SPDX-License-Identifier: MIT 17 u32 cmd, *cs; in gen2_emit_flush() local 23 cs = intel_ring_begin(rq, 2 + 4 * num_store_dw); in gen2_emit_flush() 24 if (IS_ERR(cs)) in gen2_emit_flush() 25 return PTR_ERR(cs); in gen2_emit_flush() 27 *cs++ = cmd; in gen2_emit_flush() 28 while (num_store_dw--) { in gen2_emit_flush() 29 *cs++ = MI_STORE_DWORD_INDEX; in gen2_emit_flush() 30 *cs++ = I915_GEM_HWS_SCRATCH * sizeof(u32); in gen2_emit_flush() 31 *cs++ = 0; in gen2_emit_flush() [all …]
|
D | gen7_renderclear.c | 1 // SPDX-License-Identifier: MIT 13 #define batch_advance(Y, CS) GEM_BUG_ON((Y)->end != (CS)) argument 53 bv->max_primitives = 280; in batch_get_defaults() 54 bv->max_urb_entries = MAX_URB_ENTRIES; in batch_get_defaults() 55 bv->surface_height = 16 * 16; in batch_get_defaults() 56 bv->surface_width = 32 * 2 * 16; in batch_get_defaults() 58 bv->max_primitives = 128; in batch_get_defaults() 59 bv->max_urb_entries = MAX_URB_ENTRIES / 2; in batch_get_defaults() 60 bv->surface_height = 16 * 8; in batch_get_defaults() 61 bv->surface_width = 32 * 16; in batch_get_defaults() [all …]
|
D | gen6_engine_cs.c | 1 // SPDX-License-Identifier: MIT 17 * Emits a PIPE_CONTROL with a non-zero post-sync operation, for 19 * "PIPE_CONTROL" of the Sandy Bridge PRM volume 2 part 1: 21 * [DevSNB-C+{W/A}] Before any depth stall flush (including those 22 * produced by non-pipelined state commands), software needs to first 23 * send a PIPE_CONTROL with no bits set except Post-Sync Operation != 26 * [Dev-SNB{W/A}]: Before a PIPE_CONTROL with Write Cache Flush Enable 27 * =1, a PIPE_CONTROL with any non-zero post-sync-op is required. 31 * [Dev-SNB{W/A}]: Pipe-control with CS-stall bit set must be sent 32 * BEFORE the pipe-control with a post-sync op and no write-cache [all …]
|
D | selftest_lrc.c | 2 * SPDX-License-Identifier: MIT 24 #define CS_GPR(engine, n) ((engine)->mmio_base + 0x600 + (n) * 4) 26 #define NUM_GPR_DW (NUM_GPR * 2) /* each GPR is 2 dwords */ 34 obj = i915_gem_object_create_internal(gt->i915, PAGE_SIZE); in create_scratch() 40 vma = i915_vma_instance(obj, >->ggtt->vm, NULL); in create_scratch() 82 if (!READ_ONCE(engine->execlists.pending[0]) && is_active(rq)) in wait_for_submit() 86 return -ETIME; in wait_for_submit() 102 if (READ_ONCE(engine->execlists.pending[0])) in wait_for_reset() 108 if (READ_ONCE(rq->fence.error)) in wait_for_reset() 114 if (rq->fence.error != -EIO) { in wait_for_reset() [all …]
|
D | selftest_engine_cs.c | 2 * SPDX-License-Identifier: GPL-2.0 21 return *a - *b; in cmp_u32() 29 atomic_inc(>->rps.num_waiters); in perf_begin() 30 schedule_work(>->rps.work); in perf_begin() 31 flush_work(>->rps.work); in perf_begin() 36 atomic_dec(>->rps.num_waiters); in perf_end() 39 return igt_flush_test(gt->i915); in perf_end() 45 u32 *cs; in write_timestamp() local 47 cs = intel_ring_begin(rq, 4); in write_timestamp() 48 if (IS_ERR(cs)) in write_timestamp() [all …]
|
/linux-5.10/arch/m68k/include/asm/ |
D | m5307sim.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * m5307sim.h -- ColdFire 5307 System Integration Module support. 20 #define MCF_BUSCLK (MCF_CLK / 2) 40 #define MCFSIM_ICR2 (MCF_MBAR + 0x4e) /* Intr Ctrl reg 2 */ 51 #define MCFSIM_CSAR0 (MCF_MBAR + 0x80) /* CS 0 Address reg */ 52 #define MCFSIM_CSMR0 (MCF_MBAR + 0x84) /* CS 0 Mask reg */ 53 #define MCFSIM_CSCR0 (MCF_MBAR + 0x8a) /* CS 0 Control reg */ 54 #define MCFSIM_CSAR1 (MCF_MBAR + 0x8c) /* CS 1 Address reg */ 55 #define MCFSIM_CSMR1 (MCF_MBAR + 0x90) /* CS 1 Mask reg */ 56 #define MCFSIM_CSCR1 (MCF_MBAR + 0x96) /* CS 1 Control reg */ [all …]
|
D | m5407sim.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * m5407sim.h -- ColdFire 5407 System Integration Module support. 20 #define MCF_BUSCLK (MCF_CLK / 2) 40 #define MCFSIM_ICR2 (MCF_MBAR + 0x4e) /* Intr Ctrl reg 2 */ 51 #define MCFSIM_CSAR0 (MCF_MBAR + 0x80) /* CS 0 Address reg */ 52 #define MCFSIM_CSMR0 (MCF_MBAR + 0x84) /* CS 0 Mask reg */ 53 #define MCFSIM_CSCR0 (MCF_MBAR + 0x8a) /* CS 0 Control reg */ 54 #define MCFSIM_CSAR1 (MCF_MBAR + 0x8c) /* CS 1 Address reg */ 55 #define MCFSIM_CSMR1 (MCF_MBAR + 0x90) /* CS 1 Mask reg */ 56 #define MCFSIM_CSCR1 (MCF_MBAR + 0x96) /* CS 1 Control reg */ [all …]
|
D | m5206sim.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * m5206sim.h -- ColdFire 5206 System Integration Module support. 27 #define MCFSIM_ICR2 (MCF_MBAR + 0x15) /* Intr Ctrl reg 2 */ 62 #define MCFSIM_CSAR0 (MCF_MBAR + 0x64) /* CS 0 Address reg */ 63 #define MCFSIM_CSMR0 (MCF_MBAR + 0x68) /* CS 0 Mask reg */ 64 #define MCFSIM_CSCR0 (MCF_MBAR + 0x6e) /* CS 0 Control reg */ 65 #define MCFSIM_CSAR1 (MCF_MBAR + 0x70) /* CS 1 Address reg */ 66 #define MCFSIM_CSMR1 (MCF_MBAR + 0x74) /* CS 1 Mask reg */ 67 #define MCFSIM_CSCR1 (MCF_MBAR + 0x7a) /* CS 1 Control reg */ 68 #define MCFSIM_CSAR2 (MCF_MBAR + 0x7c) /* CS 2 Address reg */ [all …]
|
/linux-5.10/Documentation/devicetree/bindings/memory-controllers/ |
D | ti-aemif.txt | 4 provide a glue-less interface to a variety of asynchronous memory devices like 11 Davinci DM646x - http://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf 12 OMAP-L138 (DA850) - http://www.ti.com/lit/ug/spruh77a/spruh77a.pdf 13 Kestone - http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf 17 - compatible: "ti,davinci-aemif" 18 "ti,keystone-aemif" 19 "ti,da850-aemif" 21 - reg: contains offset/length value for AEMIF control registers 24 - #address-cells: Must be 2. The partition number has to be encoded in the 25 first address cell and it may accept values 0..N-1 [all …]
|
D | st,stm32-fmc2-ebi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/st,stm32-fmc2-ebi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectronics Flexible Memory Controller 2 (FMC2) Bindings 11 asynchronous static devices (such as PSNOR, PSRAM or other memory-mapped 14 - to translate AXI transactions into the appropriate external device 16 - to meet the access time requirements of the external devices 22 - Christophe Kerello <christophe.kerello@st.com> 26 const: st,stm32mp1-fmc2-ebi [all …]
|
D | omap-gpmc.txt | 7 - compatible: Should be set to one of the following: 9 ti,omap2420-gpmc (omap2420) 10 ti,omap2430-gpmc (omap2430) 11 ti,omap3430-gpmc (omap3430 & omap3630) 12 ti,omap4430-gpmc (omap4430 & omap4460 & omap543x) 13 ti,am3352-gpmc (am335x devices) 15 - reg: A resource specifier for the register space 17 - ti,hwmods: Should be set to "ti,gpmc" until the DT transition is 19 - #address-cells: Must be set to 2 to allow memory address translation 20 - #size-cells: Must be set to 1 to allow CS address passing [all …]
|
/linux-5.10/drivers/memory/ |
D | stm32-fmc2-ebi.c | 1 // SPDX-License-Identifier: GPL-2.0 31 #define FMC2_BCR_MTYP GENMASK(3, 2) 146 * struct stm32_fmc2_prop - STM32 FMC2 EBI property 170 const struct stm32_fmc2_prop *prop, int cs); 171 u32 (*calculate)(struct stm32_fmc2_ebi *ebi, int cs, u32 setup); 174 int cs, u32 setup); 179 int cs) in stm32_fmc2_ebi_check_mux() argument 183 regmap_read(ebi->regmap, FMC2_BCR(cs), &bcr); in stm32_fmc2_ebi_check_mux() 188 return -EINVAL; in stm32_fmc2_ebi_check_mux() 193 int cs) in stm32_fmc2_ebi_check_waitcfg() argument [all …]
|
D | omap-gpmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2005-2006 Nokia Corporation 10 * Added OMAP4 support - Santosh Shilimkar <santosh.shilimkar@ti.com> 30 #include <linux/omap-gpmc.h> 34 #include <linux/platform_data/mtd-nand-omap2.h> 36 #define DEVICE_NAME "omap-gpmc" 108 #define DMA_MPU_MODE 2 144 #define GPMC_CONFIG1_CLKACTIVATIONTIME_MAX 2 147 #define GPMC_CONFIG1_ATTACHEDDEVICEPAGELENGTH_MAX 2 152 #define GPMC_CONFIG1_WAITMONITORINGTIME_MAX 2 [all …]
|
/linux-5.10/drivers/gpu/drm/i915/gvt/ |
D | mmio_context.c | 2 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved. 52 {RCS0, RING_FORCE_TO_NONPRIV(RENDER_RING_BASE, 2), 0, false}, /* 0x24d8 */ 84 {RCS0, RING_FORCE_TO_NONPRIV(RENDER_RING_BASE, 2), 0, false}, /* 0x24d8 */ 149 u32 l3cc_table[GEN9_MOCS_SIZE / 2]; 162 struct intel_gvt *gvt = engine->i915->gvt; in load_render_mocs() 163 struct intel_uncore *uncore = engine->uncore; in load_render_mocs() 164 u32 cnt = gvt->engine_mmio_list.mocs_mmio_offset_list_cnt; in load_render_mocs() 165 u32 *regs = gvt->engine_mmio_list.mocs_mmio_offset_list; in load_render_mocs() 174 if (!HAS_ENGINE(engine->gt, ring_id)) in load_render_mocs() 186 for (i = 0; i < GEN9_MOCS_SIZE / 2; i++) { in load_render_mocs() [all …]
|
/linux-5.10/include/linux/mfd/syscon/ |
D | atmel-smc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 18 #define ATMEL_SMC_SETUP(cs) (((cs) * 0x10)) argument 19 #define ATMEL_HSMC_SETUP(layout, cs) \ argument 20 ((layout)->timing_regs_offset + ((cs) * 0x14)) 21 #define ATMEL_SMC_PULSE(cs) (((cs) * 0x10) + 0x4) argument 22 #define ATMEL_HSMC_PULSE(layout, cs) \ argument 23 ((layout)->timing_regs_offset + ((cs) * 0x14) + 0x4) 24 #define ATMEL_SMC_CYCLE(cs) (((cs) * 0x10) + 0x8) argument 25 #define ATMEL_HSMC_CYCLE(layout, cs) \ argument [all …]
|
/linux-5.10/include/linux/ |
D | clocksource.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 34 * struct clocksource - hardware abstraction for a free running counter 35 * Provides mostly state-free accessors to the underlying hardware. 45 * @archdata: Optional arch-specific data 54 * 1-99: Unfit for real use 56 * 100-199: Base level usability. 58 * 200-299: Good. 60 * 300-399: Desired. 62 * 400-499: Perfect 63 * The ideal clocksource. A must-use where [all …]
|
/linux-5.10/drivers/gpu/drm/i915/selftests/ |
D | i915_perf.c | 2 * SPDX-License-Identifier: MIT 17 #define TEST_OA_CONFIG_UUID "12345678-1234-1234-1234-1234567890ab" 26 return -ENOMEM; in alloc_empty_config() 28 oa_config->perf = perf; in alloc_empty_config() 29 kref_init(&oa_config->ref); in alloc_empty_config() 31 strlcpy(oa_config->uuid, TEST_OA_CONFIG_UUID, sizeof(oa_config->uuid)); in alloc_empty_config() 33 mutex_lock(&perf->metrics_lock); in alloc_empty_config() 35 oa_config->id = idr_alloc(&perf->metrics_idr, oa_config, 2, 0, GFP_KERNEL); in alloc_empty_config() 36 if (oa_config->id < 0) { in alloc_empty_config() 37 mutex_unlock(&perf->metrics_lock); in alloc_empty_config() [all …]
|
D | i915_request.c | 73 request = mock_request(rcs0(i915)->kernel_context, HZ / 10); in igt_add_request() 75 return -ENOMEM; in igt_add_request() 87 int err = -EINVAL; in igt_wait_request() 91 request = mock_request(rcs0(i915)->kernel_context, T); in igt_wait_request() 93 return -ENOMEM; in igt_wait_request() 97 if (i915_request_wait(request, 0, 0) != -ETIME) { in igt_wait_request() 102 if (i915_request_wait(request, 0, T) != -ETIME) { in igt_wait_request() 114 if (i915_request_wait(request, 0, 0) != -ETIME) { in igt_wait_request() 124 if (i915_request_wait(request, 0, T / 2) != -ETIME) { in igt_wait_request() 129 if (i915_request_wait(request, 0, T) == -ETIME) { in igt_wait_request() [all …]
|
/linux-5.10/arch/mips/include/asm/netlogic/xlr/ |
D | flash.h | 2 * Copyright (c) 2003-2012 Broadcom Corporation 7 * General Public License (GPL) Version 2, available from the file 17 * 2. Redistributions in binary form must reproduce the above copyright 37 #define FLASH_CSBASE_ADDR(cs) (cs) argument 38 #define FLASH_CSADDR_MASK(cs) (0x10 + (cs)) argument 39 #define FLASH_CSDEV_PARM(cs) (0x20 + (cs)) argument 40 #define FLASH_CSTIME_PARMA(cs) (0x30 + (cs)) argument 41 #define FLASH_CSTIME_PARMB(cs) (0x40 + (cs)) argument 48 #define FLASH_NAND_CLE(cs) (0x90 + (cs)) argument 49 #define FLASH_NAND_ALE(cs) (0xa0 + (cs)) argument
|
/linux-5.10/drivers/scsi/ |
D | myrs.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * This driver supports the newer, SCSI-based firmware interface only. 10 * Copyright 1998-2001 by Leonard N. Zubkoff <lnz@dandelion.com> 91 * myrs_reset_cmd - clears critical fields in struct myrs_cmdblk 95 union myrs_cmd_mbox *mbox = &cmd_blk->mbox; in myrs_reset_cmd() 98 cmd_blk->status = 0; in myrs_reset_cmd() 102 * myrs_qcmd - queues Command for DAC960 V2 Series Controllers. 104 static void myrs_qcmd(struct myrs_hba *cs, struct myrs_cmdblk *cmd_blk) in myrs_qcmd() argument 106 void __iomem *base = cs->io_base; in myrs_qcmd() 107 union myrs_cmd_mbox *mbox = &cmd_blk->mbox; in myrs_qcmd() [all …]
|
/linux-5.10/drivers/spi/ |
D | spi-omap2-mcspi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include <linux/dma-mapping.h> 30 #include <linux/platform_data/spi-omap2-mcspi.h> 47 /* per-channel banks, 0x14 bytes each, first is: */ 54 /* per-register bitmasks: */ 58 #define OMAP2_MCSPI_MODULCTRL_MS BIT(2) 63 #define OMAP2_MCSPI_CHCONF_CLKD_MASK (0x0f << 2) 82 #define OMAP2_MCSPI_CHSTAT_EOT BIT(2) 90 /* We have 2 DMA channels per CS, one for RX and one for TX */ 115 struct list_head cs; member [all …]
|
D | spi-bitbang.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 /*----------------------------------------------------------------------*/ 24 * FIRST PART (OPTIONAL): word-at-a-time spi_transfer support. 25 * Use this for GPIO or shift-register level hardware APIs. 27 * spi_bitbang_cs is in spi_device->controller_state, which is unavailable 29 * used, though maybe they're called from controller-aware code. 31 * chipselect() and friends may use spi_device->controller_data and 41 unsigned nsecs; /* (clock cycle time)/2 */ 64 unsigned bits = t->bits_per_word; in bitbang_txrx_8() 65 unsigned count = t->len; in bitbang_txrx_8() [all …]
|
/linux-5.10/Documentation/devicetree/bindings/bus/ |
D | imx-weim.txt | 5 wireless and mobile applications that use low-power technology. 11 - compatible: Should contain one of the following: 12 "fsl,imx1-weim" 13 "fsl,imx27-weim" 14 "fsl,imx51-weim" 15 "fsl,imx50-weim" 16 "fsl,imx6q-weim" 17 - reg: A resource specifier for the register space 19 - clocks: the clock, see the example below. 20 - #address-cells: Must be set to 2 to allow memory address translation [all …]
|
/linux-5.10/drivers/mfd/ |
D | atmel-smc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 11 #include <linux/mfd/syscon/atmel-smc.h> 15 * atmel_smc_cs_conf_init - initialize a SMC CS conf 16 * @conf: the SMC CS conf to initialize 27 * atmel_smc_cs_encode_ncycles - encode a number of MCK clk cycles in the 40 * If the @ncycles value is too big to be encoded, -ERANGE is returned and 49 unsigned int lsbmask = GENMASK(msbpos - 1, 0); in atmel_smc_cs_encode_ncycles() 50 unsigned int msbmask = GENMASK(msbwidth - 1, 0); in atmel_smc_cs_encode_ncycles() 65 * We still return -ERANGE in case the caller cares. in atmel_smc_cs_encode_ncycles() [all …]
|
/linux-5.10/arch/mips/netlogic/xlr/ |
D | platform-flash.c | 6 * License version 2. This program is licensed "as is" without any 60 .width = 2, 72 .name = "physmap-flash", 88 int cs; member 99 FLASH_NAND_CLE(nand_priv.cs), cmd); in xlr_nand_ctrl() 102 FLASH_NAND_ALE(nand_priv.cs), cmd); in xlr_nand_ctrl() 125 .id = -1, 143 uint64_t flash_map_base, int cs, struct resource *res) in setup_flash_resource() argument 147 base = nlm_read_reg(flash_mmio, FLASH_CSBASE_ADDR(cs)); in setup_flash_resource() 148 mask = nlm_read_reg(flash_mmio, FLASH_CSADDR_MASK(cs)); in setup_flash_resource() [all …]
|