/linux-6.8/Documentation/translations/zh_CN/core-api/ |
D | packing.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 3 .. include:: ../disclaimer-zh_CN.rst 5 :Original: Documentation/core-api/packing.rst 22 -------- 42 -------- 46 - 将一个CPU可使用的数字打包到内存缓冲区中(具有硬件约束/特殊性)。 47 - 将内存缓冲区(具有硬件约束/特殊性)解压缩为一个CPU可使用的数字。 61 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 63 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 64 3 2 1 0 [all …]
|
/linux-6.8/Documentation/core-api/ |
D | packing.rst | 6 ----------------- 10 One can memory-map a pointer to a carefully crafted struct over the hardware 23 were performed byte-by-byte. Also the code can easily get cluttered, and the 24 high-level idea might get lost among the many bit shifts required. 25 Many drivers take the bit-shifting approach and then attempt to reduce the 30 ------------ 32 This API deals with 2 basic operations: 34 - Packing a CPU-usable number into a memory buffer (with hardware 36 - Unpacking a memory buffer (which has hardware constraints/quirks) 37 into a CPU-usable number. [all …]
|
/linux-6.8/tools/testing/selftests/hid/tests/ |
D | test_multitouch.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 20 KERNEL_MODULE = ("hid-multitouch", "hid_multitouch") 30 "CYPRESS": BIT(2), 109 input_info=(BusType.USB, 1, 2), argument 222 elif value == 2: 310 Unit Exponent (-1) 335 Unit Exponent (-4) 346 Report ID (2) 378 Unit Exponent (-1) [all …]
|
D | test_tablet.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 42 https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/windows-pen-states 95 def from_evdev(cls, evdev) -> "PenState": 113 raise ValueError("2 tools are not allowed") 127 def apply(self, events: List[libevdev.InputEvent], strict: bool) -> "PenState": 177 def valid_transitions(self) -> Tuple["PenState", ...]: 256 def historically_tolerated_transitions(self) -> Tuple["PenState", ...]: 258 for skipping the in-range state, due to historical reasons. 341 def legal_transitions() -> Dict[str, Tuple["PenState", ...]]: [all …]
|
/linux-6.8/drivers/pinctrl/mediatek/ |
D | pinctrl-mt7629.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include "pinctrl-moore.h" 35 PIN_FIELD(49, 50, 0x5000, 0x10, 0, 1), 45 PIN_FIELD(49, 50, 0x5100, 0x10, 0, 1), 55 PIN_FIELD(49, 50, 0x5400, 0x10, 0, 1), 65 PIN_FIELD(49, 50, 0x5500, 0x10, 0, 1), 75 PIN_FIELD(49, 50, 0x5600, 0x10, 0, 4), 85 PIN_FIELD(49, 50, 0x5200, 0x10, 0, 4), 95 PIN_FIELD(49, 50, 0x5300, 0x10, 0, 4), 117 MT7629_PIN(2, "WF0_5G_HB0", 55), [all …]
|
D | pinctrl-mt8183.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include "pinctrl-mtk-mt8183.h" 10 #include "pinctrl-paris.h" 13 * iocfg[0]:0x10005000, iocfg[1]:0x11F20000, iocfg[2]:0x11E80000, 50 PINS_FIELD_BASE(13, 16, 2, 0x000, 0x10, 2, 1), 51 PINS_FIELD_BASE(17, 20, 2, 0x000, 0x10, 3, 1), 52 PINS_FIELD_BASE(21, 24, 2, 0x000, 0x10, 4, 1), 53 PINS_FIELD_BASE(25, 28, 2, 0x000, 0x10, 5, 1), 54 PIN_FIELD_BASE(29, 29, 2, 0x000, 0x10, 6, 1), 55 PIN_FIELD_BASE(30, 30, 2, 0x000, 0x10, 7, 1), [all …]
|
D | pinctrl-mt7981.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include "pinctrl-moore.h" 41 PIN_FIELD_BASE(2, 2, 5, 0x20, 0x10, 6, 1), 43 PIN_FIELD_BASE(4, 4, 4, 0x20, 0x10, 2, 1), 57 PIN_FIELD_BASE(15, 15, 2, 0x20, 0x10, 0, 1), 58 PIN_FIELD_BASE(16, 16, 2, 0x20, 0x10, 1, 1), 59 PIN_FIELD_BASE(17, 17, 2, 0x20, 0x10, 5, 1), 60 PIN_FIELD_BASE(18, 18, 2, 0x20, 0x10, 4, 1), 61 PIN_FIELD_BASE(19, 19, 2, 0x20, 0x10, 2, 1), 62 PIN_FIELD_BASE(20, 20, 2, 0x20, 0x10, 3, 1), [all …]
|
/linux-6.8/arch/mips/include/asm/octeon/ |
D | cvmx-address.h | 7 * Copyright (c) 2003-2009 Cavium Networks 10 * it under the terms of the GNU General Public License, Version 2, as 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 38 CVMX_MIPS_SPACE_XKPHYS = 2LL, 47 CVMX_MIPS_XKSEG_SPACE_SSEG = 2LL, 56 CVMX_ADD_WIN_UNUSED = 2L, 71 CVMX_ADD_WIN_DMA_SENDDMA = 2L, 76 /* send out a single-tick command on the NCB bus */ 84 * Octeon-I HW never interprets this X (<39:36> reserved [all …]
|
/linux-6.8/drivers/staging/media/ipu3/ |
D | ipu3-tables.c | 1 // SPDX-License-Identifier: GPL-2.0 4 #include "ipu3-tables.h" 18 .sample_patrn_length = 2, 25 { 0, 0, 122, 7, 7, -1, 0 }, 26 { 0, -3, 122, 7, 10, -1, 0 }, 27 { 0, -5, 121, 7, 14, -2, 0 }, 28 { 0, -7, 120, 7, 18, -3, 0 }, 29 { 0, -9, 118, 7, 23, -4, 0 }, 30 { 0, -11, 116, 7, 27, -4, 0 }, 31 { 0, -12, 113, 7, 32, -5, 0 }, [all …]
|
/linux-6.8/include/dt-bindings/clock/ |
D | mt2701-clk.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 12 #define CLK_TOP_SYSPLL_D2 2 59 #define CLK_TOP_TVDPLL_D4 49 176 #define CLK_APMIXED_MAINPLL 2 194 #define CLK_DDRPHY_NR 2 199 #define CLK_INFRA_SMI 2 223 #define CLK_PERI_THERM 2 272 #define CLK_PERI_NR 49 277 #define CLK_AUD_LRCK_DETECT 2 326 #define CLK_AUD_MMIF_DLMCH 49 [all …]
|
D | imx8ulp-clock.h | 1 /* SPDX-License-Identifier: GPL-2.0+ OR MIT */ 56 #define IMX8ULP_CLK_FROSC_DIV2_GATE 49 69 #define IMX8ULP_CLK_PLL4_VCODIV 2 117 #define IMX8ULP_CLK_CGC2_END 49 122 #define IMX8ULP_CLK_LPIT1 2 174 #define IMX8ULP_CLK_TPM7 2 201 #define IMX8ULP_CLK_SAI7 2 248 #define IMX8ULP_CLK_DMA2_CH29 49
|
D | mt7986-clk.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 14 #define CLK_APMIXED_MMPLL 2 25 #define CLK_TOP_RTC_32K 2 72 #define CLK_TOP_A1SYS_SEL 49 92 #define CLK_INFRA_UART1_SEL 2 139 #define CLK_INFRA_IUSB_SYS_CK 49 151 #define CLK_SGMII0_CDR_REF 2 158 #define CLK_SGMII1_CDR_REF 2 165 #define CLK_ETH_GP1_EN 2
|
D | pistachio-clk.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 12 #define CLK_RPU_V_PLL 2 18 /* Fixed-factor clocks */ 40 #define CLK_UART1 49 110 #define PERIPH_CLK_DDR 2 141 #define PERIPH_CLK_I2C2_DIV 49 150 #define SYS_CLK_I2C2 2 178 #define EXT_CLK_NR_CLKS 2
|
D | mediatek,mt8188-clk.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */ 13 #define CLK_TOP_SCP 2 60 #define CLK_TOP_SENINF1 49 221 #define CLK_INFRA_AO_PMIC_MD 2 268 #define CLK_INFRA_AO_AUDIO_26M_BCLK 49 302 #define CLK_APMIXED_TVDPLL1 2 325 #define CLK_PERI_AO_FLASHIF_BUS 2 341 #define CLK_IMP_IIC_WRAP_C_AP_CLOCK_I2C3 2 347 #define CLK_IMP_IIC_WRAP_W_NR_CLK 2 352 #define CLK_IMP_IIC_WRAP_EN_NR_CLK 2 [all …]
|
D | mt6779-clk.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 #define CLK_TOP_MM 2 59 #define CLK_TOP_MAINPLL_D2_D4 49 167 #define CLK_APMIXED_ARMPLL_BL 2 194 #define CLK_CAM_DFP_VAD 2 210 #define CLK_INFRA_PMIC_AP 2 257 #define CLK_INFRA_CCIF_MD 49 320 #define CLK_MFGCFG_NR_CLK 2 324 #define CLK_IMG_MFB 2 332 #define CLK_IPE_LARB8 2 [all …]
|
/linux-6.8/arch/powerpc/crypto/ |
D | chacha-p10le-8x.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 # Copyright 2023- IBM Corp. All rights reserved 15 # 2. c += d; b ^= c; b <<<= 12; 43 #include <asm/asm-offsets.h> 44 #include <asm/asm-compat.h> 81 stdu 1,-752(1) 200 vadduwm 2, 2, 6 209 vpermxor 14, 14, 2, 25 246 vadduwm 2, 2, 6 257 vpermxor 14, 14, 2, 25 [all …]
|
/linux-6.8/drivers/media/v4l2-core/ |
D | v4l2-vp9.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <media/v4l2-vp9.h> 46 { 55, 27, 12, 153, 203, 218, 26, 27, 49 }, /*left = d207*/ 47 { 53, 49, 21, 110, 116, 168, 59, 80, 76 }, /*left = d63 */ 72 { 64, 19, 37, 156, 66, 138, 49, 95, 133 }, /*left = dc */ 80 { 45, 26, 28, 129, 45, 129, 49, 147, 123 }, /*left = d63 */ 92 { 37, 49, 25, 129, 168, 164, 41, 54, 148 }, /*left = tm */ 99 { 49, 30, 35, 141, 70, 168, 82, 40, 115 }, /*left = d117*/ 120 { 49, 50, 35, 144, 95, 205, 63, 78, 59 }, /*left = d135*/ 131 /* 8x8 -> 4x4 */ [all …]
|
/linux-6.8/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_flat_memory.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright 2014-2022 Advanced Micro Devices, Inc. 57 * System Unified Address - SUA 81 * HSA64 - ATC/IOMMU 64b 101 * 64b to 49b Address conversion 106 * to a 49b address. This 49b address is constituted of an “ATC” bit 107 * plus a 48b virtual address. This 49b address is what is passed to the 109 * (max of 2^40 – 1) intended to be translated via GPUVM page tables. 116 * as part of the 64b to 49b conversion. 118 * Where this 64b to 49b conversion is done is a function of the usage. [all …]
|
/linux-6.8/arch/riscv/boot/dts/starfive/ |
D | jh7110-pinfunc.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 12 * | 31 - 24 | 23 - 16 | 15 - 10 | 9 - 8 | 7 - 0 | 19 * gpio nr: gpio number, 0 - 63 32 #define GPOUT_SYS_WAVE511_UART_TX 2 79 #define GPOUT_SYS_CAN1_TST_SAMPLE_POINT 49 140 #define GPOUT_AON_CLK_32K_OUT 2 152 #define GPOEN_SYS_HDMI_CEC_SDA 2 199 #define GPOEN_SYS_SPI6_NSSP 49 202 #define GPOEN_AON_PTC0_OE_N_4 2 212 #define GPI_SYS_USB_OVERCURRENT 2 [all …]
|
/linux-6.8/Documentation/devicetree/bindings/spi/ |
D | sprd,spi-adi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/sprd,spi-adi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Orson Zhai <orsonzhai@gmail.com> 11 - Baolin Wang <baolin.wang7@gmail.com> 12 - Chunyan Zhang <zhang.lyra@gmail.com> 15 ADI is the abbreviation of Anolog-Digital interface, which is used to access 20 ADI controller has 50 channels including 2 software read/write channels and 21 48 hardware channels to access analog chip. For 2 software read/write channels, [all …]
|
/linux-6.8/drivers/video/fbdev/i810/ |
D | i810_gtf.c | 1 /*-*- linux-c -*- 2 * linux/drivers/video/i810_main.h -- Intel 810 Non-discrete Video Timings 20 * FIFO and Watermark tables - based almost wholly on i810_wmark.c in 33 { 40, 0x22007000 }, { 45, 0x22007000 }, { 49, 0x22008000 }, 47 { 40, 0x22007000 }, { 45, 0x22007000 }, { 49, 0x22009000 }, 61 { 40, 0x2210c000 }, { 45, 0x2210c000 }, { 49, 0x22111000 }, 74 { 40, 0x22007000 }, { 45, 0x22007000 }, { 49, 0x22008000 }, 88 { 40, 0x22007000 }, { 45, 0x22007000 }, { 49, 0x22009000 }, 102 { 40, 0x2210c000 }, { 45, 0x2210c000 }, { 49, 0x22111000 }, 116 * i810fb_encode_registers - encode @var to hardware register values [all …]
|
/linux-6.8/arch/arm/boot/dts/hisilicon/ |
D | hi3620.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2012-2013 HiSilicon Ltd. 6 * Copyright (C) 2012-2013 Linaro Ltd. 11 #include <dt-bindings/clock/hi3620-clock.h> 14 #address-cells = <1>; 15 #size-cells = <1>; 26 compatible = "fixed-clock"; 27 #clock-cells = <0>; 28 clock-frequency = <26000000>; 29 clock-output-names = "apb_pclk"; [all …]
|
/linux-6.8/drivers/staging/media/rkvdec/ |
D | rkvdec-h264.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Jeffy Chen <jeffy.chen@rock-chips.com> 12 #include <media/v4l2-h264.h> 13 #include <media/v4l2-mem2mem.h> 16 #include "rkvdec-regs.h" 46 #define CHROMA_FORMAT_IDC PS_FIELD(13, 2) 52 #define PIC_ORDER_CNT_TYPE PS_FIELD(31, 2) 61 #define NUM_VIEWS PS_FIELD(60, 2) 73 #define WEIGHTED_BIPRED_IDC PS_FIELD(154, 2) 93 s8 cabac_table[4][464][2]; [all …]
|
/linux-6.8/drivers/mfd/ |
D | qcom_rpm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 #include <dt-bindings/mfd/qcom-rpm.h> 60 #define RPM_STATUS_REG(rpm, i) ((rpm)->status_regs + (i) * 4) 61 #define RPM_CTRL_REG(rpm, i) ((rpm)->ctrl_regs + (i) * 4) 62 #define RPM_REQ_REG(rpm, i) ((rpm)->req_regs + (i) * 4) 94 [QCOM_RPM_PM8921_SMPS1] = { 116, 31, 30, 2 }, 95 [QCOM_RPM_PM8921_SMPS2] = { 118, 33, 31, 2 }, 96 [QCOM_RPM_PM8921_SMPS3] = { 120, 35, 32, 2 }, 97 [QCOM_RPM_PM8921_SMPS4] = { 122, 37, 33, 2 }, 98 [QCOM_RPM_PM8921_SMPS5] = { 124, 39, 34, 2 }, [all …]
|
/linux-6.8/drivers/crypto/marvell/octeontx2/ |
D | otx2_cpt_hw_types.h | 1 /* SPDX-License-Identifier: GPL-2.0-only 36 #define OTX2_CPT_LF_MSIX_VECTORS 2 153 * OcteonTX2 CPT VF MSI-X Vector Enumeration 154 * Enumerates the MSI-X interrupt vectors. 163 * OcteonTX2 CPT LF MSI-X Vector Enumeration 164 * Enumerates the MSI-X interrupt vectors. 176 * stored in memory as little-endian unless CPT()_PF_Q()_CTL[INST_BE] is set. 188 * Address must be 16-byte aligned. 189 * Bits <63:49> are ignored by hardware; software should use a 190 * sign-extended bit <48> for forward compatibility. [all …]
|