/linux-6.14.4/lib/zstd/compress/ |
D | clevels.h | 5 * This source code is licensed under both the BSD-style license (found in the 8 * You may select, at your option, one of the above-listed licenses. 17 /*-===== Pre-defined compression levels =====-*/ 24 { /* "default" - for any srcSize > 256 KB */ 27 { 19, 13, 14, 1, 7, 0, ZSTD_fast }, /* level 1 */ 28 { 20, 15, 16, 1, 6, 0, ZSTD_fast }, /* level 2 */ 29 { 21, 16, 17, 1, 5, 0, ZSTD_dfast }, /* level 3 */ 30 { 21, 18, 18, 1, 5, 0, ZSTD_dfast }, /* level 4 */ 31 { 21, 18, 19, 3, 5, 2, ZSTD_greedy }, /* level 5 */ 32 { 21, 18, 19, 3, 5, 4, ZSTD_lazy }, /* level 6 */ [all …]
|
/linux-6.14.4/drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_1.0/ |
D | ia_css_ynr.host.c | 1 // SPDX-License-Identifier: GPL-2.0 37 to->threshold = in ia_css_nr_encode() 39 to->gain_all = in ia_css_nr_encode() 40 uDIGIT_FITTING(from->ynr_gain, 16, SH_CSS_YNR_GAIN_SHIFT); in ia_css_nr_encode() 41 to->gain_dir = in ia_css_nr_encode() 42 uDIGIT_FITTING(from->ynr_gain, 16, SH_CSS_YNR_GAIN_SHIFT); in ia_css_nr_encode() 43 to->threshold_cb = in ia_css_nr_encode() 44 uDIGIT_FITTING(from->threshold_cb, 16, SH_CSS_BAYER_BITS); in ia_css_nr_encode() 45 to->threshold_cr = in ia_css_nr_encode() 46 uDIGIT_FITTING(from->threshold_cr, 16, SH_CSS_BAYER_BITS); in ia_css_nr_encode() [all …]
|
/linux-6.14.4/drivers/platform/x86/intel/speed_select_if/ |
D | isst_tpmi_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 49 #define SST_REG_SIZE 8 52 * struct sst_header - SST main header 56 * Bit[8]= SST_CP enable (1), disable (0) 59 * @cp_offset: Qword (8 bytes) offset to the SST_CP register bank 60 * @pp_offset: Qword (8 bytes) offset to the SST_PP register bank 63 * This register allows SW to discover SST capability and the offsets to SST-CP 64 * and SST-PP register banks. 75 * struct cp_header - SST-CP (core-power) header 76 * @feature_id: 0=SST-CP, 1=SST-PP, 2=SST-BF, 3=SST-TF [all …]
|
/linux-6.14.4/drivers/gpu/drm/amd/include/ivsrcid/dcn/ |
D | irqsrcs_dcn_1_0.h | 30 …C_I2C_SW_DONE 1 // DC_I2C SW done DC_I2C_SW_DONE_INTERRUPT DISP_INTERRUPT_STATUS Level 33 … // DC_I2C DDC1 HW done DOUT_IHC_I2C_DDC1_HW_DONE_INTERRUPT DISP_INTERRUPT_STATUS_CONTINUE21 Level 36 … // DC_I2C DDC2 HW done DOUT_IHC_I2C_DDC2_HW_DONE_INTERRUPT DISP_INTERRUPT_STATUS_CONTINUE21 Level 39 … // DC_I2C DDC3 HW done DOUT_IHC_I2C_DDC3_HW_DONE_INTERRUPT DISP_INTERRUPT_STATUS_CONTINUE21 Level 42 … // DC_I2C_DDC4 HW done DOUT_IHC_I2C_DDC4_HW_DONE_INTERRUPT DISP_INTERRUPT_STATUS_CONTINUE21 Level 45 … // DC_I2C_DDC5 HW done DOUT_IHC_I2C_DDC5_HW_DONE_INTERRUPT DISP_INTERRUPT_STATUS_CONTINUE21 Level 48 … // DC_I2C_DDC6 HW done DOUT_IHC_I2C_DDC6_HW_DONE_INTERRUPT DISP_INTERRUPT_STATUS_CONTINUE21 Level 51 …DC_I2C_DDCVGA HW done DOUT_IHC_I2C_DDCVGA_HW_DONE_INTERRUPT DISP_INTERRUPT_STATUS_CONTINUE21 Level 54 …DC1 read request DC_I2C_DDC1_READ_REQUEST_INTERRUPT DISP_INTERRUPT_STATUS_CONTINUE21 Level / Pulse 55 #define DCN_1_0__CTXID__DC_I2C_DDC1_READ_REQUEST 8 [all …]
|
/linux-6.14.4/drivers/staging/media/atomisp/pci/isp/kernels/dp/dp_1.0/ |
D | ia_css_dp.host.c | 1 // SPDX-License-Identifier: GPL-2.0 42 int gain = from->gain; in ia_css_dp_encode() 43 int gr = from->gr; in ia_css_dp_encode() 44 int r = from->r; in ia_css_dp_encode() 45 int b = from->b; in ia_css_dp_encode() 46 int gb = from->gb; in ia_css_dp_encode() 49 to->threshold_single = in ia_css_dp_encode() 51 to->threshold_2adjacent = in ia_css_dp_encode() 52 uDIGIT_FITTING(from->threshold, 16, SH_CSS_BAYER_BITS); in ia_css_dp_encode() 53 to->gain = in ia_css_dp_encode() [all …]
|
/linux-6.14.4/net/netfilter/ |
D | nf_conntrack_h323_asn1.c | 1 // SPDX-License-Identifier: GPL-2.0-only 51 #define BMPSTR 8 60 /* #define BITS 1-8 */ 72 #define OPEN 8 100 #define INC_BIT(bs) if((++(bs)->bit)>7){(bs)->cur++;(bs)->bit=0;} 101 #define INC_BITS(bs,b) if(((bs)->bit+=(b))>7){(bs)->cur+=(bs)->bit>>3;(bs)->bit&=7;} 102 #define BYTE_ALIGN(bs) if((bs)->bit){(bs)->cur++;(bs)->bit=0;} 110 static int decode_nul(struct bitstr *bs, const struct field_t *f, char *base, int level); 111 static int decode_bool(struct bitstr *bs, const struct field_t *f, char *base, int level); 112 static int decode_oid(struct bitstr *bs, const struct field_t *f, char *base, int level); [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/rockchip/ |
D | rockchip-pinconf.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /omit-if-no-ref/ 8 pcfg_pull_up: pcfg-pull-up { 9 bias-pull-up; 12 /omit-if-no-ref/ 13 pcfg_pull_down: pcfg-pull-down { 14 bias-pull-down; 17 /omit-if-no-ref/ 18 pcfg_pull_none: pcfg-pull-none { 19 bias-disable; [all …]
|
/linux-6.14.4/drivers/staging/media/atomisp/pci/isp/kernels/csc/csc_1.0/ |
D | ia_css_csc.host.c | 1 // SPDX-License-Identifier: GPL-2.0 17 8, 18 {255, 29, 120, 0, -374, -342, 0, -672, 301}, 32 to->m_shift = (int16_t)from->fraction_bits; in ia_css_encode_cc() 33 to->m00 = (int16_t)from->matrix[0]; in ia_css_encode_cc() 34 to->m01 = (int16_t)from->matrix[1]; in ia_css_encode_cc() 35 to->m02 = (int16_t)from->matrix[2]; in ia_css_encode_cc() 36 to->m10 = (int16_t)from->matrix[3]; in ia_css_encode_cc() 37 to->m11 = (int16_t)from->matrix[4]; in ia_css_encode_cc() 38 to->m12 = (int16_t)from->matrix[5]; in ia_css_encode_cc() [all …]
|
/linux-6.14.4/arch/powerpc/include/asm/ |
D | exception-64e.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Definitions for use by exception code on Book3-E 24 * the above re-entrancy issue. 27 * SPRGs are user-readable though, thus we might have to change some of 41 #define EX_R1 (0 * 8) 42 #define EX_CR (1 * 8) 43 #define EX_R10 (2 * 8) 44 #define EX_R11 (3 * 8) 45 #define EX_R14 (4 * 8) 46 #define EX_R15 (5 * 8) [all …]
|
/linux-6.14.4/drivers/gpu/drm/i915/display/ |
D | i9xx_wm.c | 1 // SPDX-License-Identifier: MIT 47 {1, 0, 800, 400, 3382, 33382, 3983, 33983}, /* DDR2-400 SC */ 48 {1, 0, 800, 667, 3354, 33354, 3807, 33807}, /* DDR2-667 SC */ 49 {1, 0, 800, 800, 3347, 33347, 3763, 33763}, /* DDR2-800 SC */ 50 {1, 1, 800, 667, 6420, 36420, 6873, 36873}, /* DDR3-667 SC */ 51 {1, 1, 800, 800, 5902, 35902, 6318, 36318}, /* DDR3-800 SC */ 53 {1, 0, 667, 400, 3400, 33400, 4021, 34021}, /* DDR2-400 SC */ 54 {1, 0, 667, 667, 3372, 33372, 3845, 33845}, /* DDR2-667 SC */ 55 {1, 0, 667, 800, 3386, 33386, 3822, 33822}, /* DDR2-800 SC */ 56 {1, 1, 667, 667, 6438, 36438, 6911, 36911}, /* DDR3-667 SC */ [all …]
|
/linux-6.14.4/drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ |
D | ctrl90f1.h | 4 /* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */ 7 …* SPDX-FileCopyrightText: Copyright (c) 2014-2021 NVIDIA CORPORATION & AFFILIATES. All rights rese… 8 * SPDX-License-Identifier: MIT 31 …06U) /* finn: Evaluated from "(FINN_FERMI_VASPACE_A_VASPACE_INTERFACE_ID << 8) | NV90F1_CTRL_VASPA… 35 * [in] GPU sub-device handle - this API only supports unicast. 41 * [in] GPU sub-device ID. Ignored if hSubDevice is non-zero. 46 * [in] Page size (VA coverage) of the level to reserve. 47 * This need not be a leaf (page table) page size - it can be 48 * the coverage of an arbitrary level (including root page directory). 50 NV_DECLARE_ALIGNED(NvU64 pageSize, 8); [all …]
|
/linux-6.14.4/arch/arc/include/asm/ |
D | pgtable-levels.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 16 * 2 level paging setup for software walked MMUv3 (ARC700) and MMUv4 (HS) 19 * ------------------------------------------------------- 20 * | | <---------- PGDIR_SHIFT ----------> | 21 * | | | <-- PAGE_SHIFT --> | 22 * ------------------------------------------------------- 24 * | | --> off in page frame 25 * | ---> index into Page Table 26 * ----> index into Page Directory 28 * Given software walk, the vaddr split is arbitrary set to 11:8:13 [all …]
|
/linux-6.14.4/tools/testing/selftests/kvm/lib/riscv/ |
D | processor.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * RISC-V code 31 return (v + vm->page_size) & ~(vm->page_size - 1); in page_align() 59 static uint64_t pte_index(struct kvm_vm *vm, vm_vaddr_t gva, int level) in pte_index() argument 61 TEST_ASSERT(level > -1, in pte_index() 62 "Negative page table level (%d) not possible", level); in pte_index() 63 TEST_ASSERT(level < vm->pgtable_levels, in pte_index() 64 "Invalid page table level (%d)", level); in pte_index() 66 return (gva & pte_index_mask[level]) >> pte_index_shift[level]; in pte_index() 71 size_t nr_pages = page_align(vm, ptrs_per_pte(vm) * 8) / vm->page_size; in virt_arch_pgd_alloc() [all …]
|
/linux-6.14.4/arch/mips/include/asm/ |
D | pgtable-64.h | 21 #include <asm-generic/pgtable-nopmd.h> 23 #include <asm-generic/pgtable-nopud.h> 25 #include <asm-generic/pgtable-nop4d.h> 30 * (== PTRS_PER_PGD) 8 byte pointers to pmd tables. Each pmd table is a 31 * single 4K page, giving 512 (== PTRS_PER_PMD) 8 byte pointers to page 33 * PTRS_PER_PTE) 8 byte ptes. Each pud entry is initialized to point to 39 * fault address - VMALLOC_START. 43 /* PGDIR_SHIFT determines what a third-level page table entry can map */ 45 #define PGDIR_SHIFT (PAGE_SHIFT + PAGE_SHIFT - 3) 48 /* PMD_SHIFT determines the size of the area a second-level page table can map */ [all …]
|
/linux-6.14.4/tools/power/x86/intel-speed-select/ |
D | isst-core-mbox.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Intel Speed Select -- Enumerate and control features for Mailbox Interface 26 static char *mbox_get_trl_level_name(int level) in mbox_get_trl_level_name() argument 31 if (level >= MAX_TRL_LEVELS_EMR) in mbox_get_trl_level_name() 34 snprintf(level_str, sizeof(level_str), "level-%d", level); in mbox_get_trl_level_name() 38 switch (level) { in mbox_get_trl_level_name() 66 if (id->cpu < 0) in mbox_is_punit_valid() 69 if (id->pkg < 0 || id->die < 0 || id->punit) in mbox_is_punit_valid() 88 err(-1, "%s open failed", pathname); in _send_mmio_command() 101 if (ioctl(fd, cmd, &io_regs) == -1) { in _send_mmio_command() [all …]
|
D | isst-core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Intel Speed Select -- Enumerate and control features 13 if (!isst_ops || !isst_ops->_name) { \ 35 return -1; in isst_set_platform_ops() 43 isst_ops->update_platform_param(param, value); in isst_update_platform_param() 49 return isst_ops->get_disp_freq_multiplier(); in isst_get_disp_freq_multiplier() 55 return isst_ops->get_trl_max_levels(); in isst_get_trl_max_levels() 58 char *isst_get_trl_level_name(int level) in isst_get_trl_level_name() argument 61 return isst_ops->get_trl_level_name(level); in isst_get_trl_level_name() 67 return isst_ops->is_punit_valid(id); in isst_is_punit_valid() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/interrupt-controller/ |
D | img,pdc-intc.txt | 10 - compatible: Specifies the compatibility list for the interrupt controller. 11 The type shall be <string> and the value shall include "img,pdc-intc". 13 - reg: Specifies the base PDC physical address(s) and size(s) of the 14 addressable register space. The type shall be <prop-encoded-array>. 16 - interrupt-controller: The presence of this property identifies the node 19 - #interrupt-cells: Specifies the number of cells needed to encode an 22 - num-perips: Number of waking peripherals. 24 - num-syswakes: Number of SysWake inputs. 26 - interrupts: List of interrupt specifiers. The first specifier shall be the 34 - <1st-cell>: The interrupt-number that identifies the interrupt source. [all …]
|
/linux-6.14.4/drivers/block/drbd/ |
D | drbd_vli.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 -*- linux-c -*- 7 Copyright (C) 2001-2008, LINBIT Information Technologies GmbH. 8 Copyright (C) 1999-2008, Philipp Reisner <[email protected]>. 9 Copyright (C) 2002-2008, Lars Ellenberg <[email protected]>. 19 * and possibly small-bandwidth replication, 55 * * simple byte-based 72 * starts as unary encoding the level, then modified so that 73 * 10 levels can be described in 8bit, with minimal overhead 77 * last level (+1 data bit, so it makes 64bit total). The only worse code when [all …]
|
/linux-6.14.4/drivers/s390/net/ |
D | ctcm_dbug.c | 1 // SPDX-License-Identifier: GPL-2.0 25 [CTCM_DBF_SETUP] = {"ctc_setup", 8, 1, 64, CTC_DBF_INFO, NULL}, 26 [CTCM_DBF_ERROR] = {"ctc_error", 8, 1, 64, CTC_DBF_ERROR, NULL}, 27 [CTCM_DBF_TRACE] = {"ctc_trace", 8, 1, 64, CTC_DBF_ERROR, NULL}, 28 [CTCM_DBF_MPC_SETUP] = {"mpc_setup", 8, 1, 80, CTC_DBF_INFO, NULL}, 29 [CTCM_DBF_MPC_ERROR] = {"mpc_error", 8, 1, 80, CTC_DBF_ERROR, NULL}, 30 [CTCM_DBF_MPC_TRACE] = {"mpc_trace", 8, 1, 80, CTC_DBF_ERROR, NULL}, 53 return -ENOMEM; in ctcm_register_dbf_views() 58 /* set a passing level */ in ctcm_register_dbf_views() 59 debug_set_level(ctcm_dbf[x].id, ctcm_dbf[x].level); in ctcm_register_dbf_views() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/phy/ |
D | realtek,usb2phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Stanley Chang <[email protected]> 23 XHCI controller#0 -- usb2phy -- phy#0 24 |- usb3phy -- phy#0 25 XHCI controller#1 -- usb2phy -- phy#0 26 XHCI controller#2 -- usb2phy -- phy#0 27 |- usb3phy -- phy#0 33 XHCI controller#0 -- usb2phy -- phy#0 [all …]
|
/linux-6.14.4/scripts/gdb/linux/ |
D | pgtable.py | 1 # SPDX-License-Identifier: GPL-2.0-only 18 def page_mask(level=1): argument 20 if level == 1: 23 elif level == 2: 26 elif level == 3: 29 raise Exception(f'Unknown page level: {level}') 44 return (bit_start, bit_end), data >> bit_start & ((1 << (1 + bit_end - bit_start)) - 1) 46 def entry_va(level, phys_addr, translating_va): argument 47 def start_bit(level): argument 48 if level == 5: [all …]
|
/linux-6.14.4/arch/mips/include/asm/sn/ |
D | fru.h | 8 * Copyright (C) 1992 - 1997, 1999 Silcon Graphics, Inc. 9 * Copyright (C) 1999, 2006 Ralf Baechle (ralf@linux-mips) 14 #define MAX_DIMMS 8 /* max # of dimm banks */ 15 #define MAX_PCIDEV 8 /* max # of pci devices on a pci bus */ 20 confidence_t km_confidence; /* confidence level that the memory is bad 24 /* confidence level that dimm[i] is bad 31 confidence_t kc_confidence; /* confidence level that cpu is bad */ 32 confidence_t kc_icache; /* confidence level that instr. cache is bad */ 33 confidence_t kc_dcache; /* confidence level that data cache is bad */ 34 confidence_t kc_scache; /* confidence level that sec. cache is bad */ [all …]
|
/linux-6.14.4/arch/s390/kernel/ |
D | lgr.c | 1 // SPDX-License-Identifier: GPL-2.0 20 #define VM_LEVEL_MAX 2 /* Maximum is 8, but we only record two levels */ 28 /* Level of system (1 = CEC, 2 = LPAR, 3 = z/VM */ 29 u32 level; member 30 /* Level 1: CEC info (stsi 1.1.1) */ 36 /* Level 2: LPAR info (stsi 2.2.2) */ 38 char name[8]; 39 /* Level 3: VM info (stsi 3.2.2) */ 42 char name[8]; 45 } __packed __aligned(8); [all …]
|
/linux-6.14.4/include/linux/ |
D | pxa2xx_ssp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * This driver supports the following PXA CPU/SSP ports:- 50 #define SSCR0_DataSize(x) ((x) - 1) /* Data Size Select [4..16] */ 57 #define SSCR0_SCR(x) ((x) << 8) /* Serial Clock Rate (mask) */ 65 #define SSCR0_SlotsPerFrm(x) (((x) - 1) << 24) /* Time slots per frame [1..8] */ 72 #define SSCR1_LBM BIT(2) /* Loop-Back Mode */ 85 #define RX_THRESH_DFLT 8 86 #define TX_THRESH_DFLT 8 88 #define SSSR_TFL_MASK GENMASK(11, 8) /* Transmit FIFO Level mask */ 89 #define SSSR_RFL_MASK GENMASK(15, 12) /* Receive FIFO Level mask */ [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/power/supply/ |
D | dlg,da9150-fuel-gauge.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/dlg,da9150-fuel-gauge.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Dialog Semiconductor DA9150 Fuel-Gauge Power Supply 10 - Sebastian Reichel <[email protected]> 13 - $ref: power-supply.yaml# 17 const: dlg,da9150-fuel-gauge 19 dlg,update-interval: 21 description: Interval time (milliseconds) between battery level checks. [all …]
|