/linux/drivers/clk/xilinx/ |
H A D | xlnx_vcu.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016 - 2017 Xilinx, Inc. 11 #include <linux/clk-provider.h> 16 #include <linux/mfd/syscon/xlnx-vcu.h> 22 #include <dt-bindings/clock/xlnx-vcu.h> 24 #define VCU_PLL_CTRL 0x24 25 #define VCU_PLL_CTRL_RESET BIT(0) 32 #define VCU_PLL_CFG 0x28 33 #define VCU_PLL_CFG_RES GENMASK(3, 0) 38 #define VCU_ENC_CORE_CTRL 0x30 [all …]
|
/linux/arch/arm64/tools/ |
H A D | sysreg | 1 # SPDX-License-Identifier: GPL-2.0-only 44 # NI - Not implemented 45 # IMP - Implemented 51 Sysreg OSDTRRX_EL1 2 0 0 0 2 52 Res0 63:32 53 Field 31:0 DTRRX 56 Sysreg MDCCINT_EL1 2 0 0 2 0 57 Res0 63:31 60 Res0 28:0 63 Sysreg MDSCR_EL1 2 0 0 2 2 [all …]
|
/linux/drivers/misc/cxl/ |
H A D | cxl.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 21 #include <misc/cxl-base.h> 64 /* Configuration and Control area - CAIA 1&2 */ 65 static const cxl_p1_reg_t CXL_PSL_CtxTime = {0x0000}; 66 static const cxl_p1_reg_t CXL_PSL_ErrIVTE = {0x0008}; 67 static const cxl_p1_reg_t CXL_PSL_KEY1 = {0x0010}; 68 static const cxl_p1_reg_t CXL_PSL_KEY2 = {0x0018}; 69 static const cxl_p1_reg_t CXL_PSL_Control = {0x0020}; 71 static const cxl_p1_reg_t CXL_PSL_DLCNTL = {0x0060}; 72 static const cxl_p1_reg_t CXL_PSL_DLADDR = {0x0068}; [all …]
|
/linux/arch/s390/include/asm/ |
H A D | ctlreg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #define CR0_TRANSACTIONAL_EXECUTION_BIT (63 - 8) 14 #define CR0_CLOCK_COMPARATOR_SIGN_BIT (63 - 10) 15 #define CR0_CRYPTOGRAPHY_COUNTER_BIT (63 - 13) 16 #define CR0_PAI_EXTENSION_BIT (63 - 14) 17 #define CR0_CPUMF_EXTRACTION_AUTH_BIT (63 - 15) 18 #define CR0_WARNING_TRACK_BIT (63 - 30) 19 #define CR0_LOW_ADDRESS_PROTECTION_BIT (63 - 35) 20 #define CR0_FETCH_PROTECTION_OVERRIDE_BIT (63 - 38) 21 #define CR0_STORAGE_PROTECTION_OVERRIDE_BIT (63 - 39) [all …]
|
H A D | nmi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 #define MCIC_SUBCLASS_MASK (1ULL<<63 | 1ULL<<62 | 1ULL<<61 | \ 22 #define MCCK_CODE_SYSTEM_DAMAGE BIT(63) 23 #define MCCK_CODE_EXT_DAMAGE BIT(63 - 5) 24 #define MCCK_CODE_CP BIT(63 - 9) 25 #define MCCK_CODE_STG_ERROR BIT(63 - 16) 26 #define MCCK_CODE_STG_KEY_ERROR BIT(63 - 18) 27 #define MCCK_CODE_STG_DEGRAD BIT(63 - 19) 28 #define MCCK_CODE_PSW_MWP_VALID BIT(63 - 20) 29 #define MCCK_CODE_PSW_IA_VALID BIT(63 - 23) [all …]
|
/linux/drivers/infiniband/hw/irdma/ |
H A D | defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 2 /* Copyright (c) 2015 - 2021 Intel Corporation */ 17 #define IRDMA_IRD_HW_SIZE_4 0 24 IRDMA_ANY_PROTOCOL = 0, 29 #define IRDMA_QP_STATE_INVALID 0 55 #define RDMA_OPCODE_M 0x0f 58 #define CQE_MAJOR_DRV 0x8000 69 #define IRDMA_AE_SOURCE_RSVD 0x0 70 #define IRDMA_AE_SOURCE_RQ 0x1 71 #define IRDMA_AE_SOURCE_RQ_0011 0x3 [all …]
|
H A D | uda_d.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 2 /* Copyright (c) 2016 - 2021 Intel Corporation */ 7 #define IRDMA_E_UDA_SQ_L4T_UNKNOWN 0 13 #define IRDMA_E_UDA_SQ_IIPT_UNKNOWN 0 25 #define IRDMA_UDA_QPSQ_AHIDX GENMASK_ULL(16, 0) 28 #define IRDMA_UDA_QPSQ_MULTICAST BIT_ULL(63) 41 #define IRDMA_UDA_QPSQ_IMMDATA GENMASK_ULL(63, 0) 43 /* Byte Offset 0 */ 73 #define IRDMA_UDAQPC_STATISTICS_INSTANCE_INDEX GENMASK_ULL(6, 0) 74 #define IRDMA_UDAQPC_PRIVHDRGENENABLE BIT_ULL(0) [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_masking.c | 1 // SPDX-License-Identifier: GPL-2.0 10 __success __success_unpriv __retval(0) 16 r2 -= r1; \ in test_out_of_bounds_1() 18 r2 = -r2; \ in test_out_of_bounds_1() 19 r2 s>>= 63; \ in test_out_of_bounds_1() 24 : __imm_const(__imm_0, 5 - 1) in test_out_of_bounds_1() 30 __success __success_unpriv __retval(0) 36 r2 -= r1; \ in test_out_of_bounds_2() 38 r2 = -r2; \ in test_out_of_bounds_2() 39 r2 s>>= 63; \ in test_out_of_bounds_2() [all …]
|
/linux/arch/powerpc/include/asm/ |
H A D | hvcall.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #define HVSC .long 0x44000022 8 #define H_SUCCESS 0 9 #define H_BUSY 1 /* Hardware busy -- retry later */ 37 #define H_HARDWARE -1 /* Hardware error */ 38 #define H_FUNCTION -2 /* Function not supported */ 39 #define H_PRIVILEGE -3 /* Caller not privileged */ 40 #define H_PARAMETER -4 /* Parameter invalid, out-of-range or conflicting */ 41 #define H_BAD_MODE -5 /* Illegal msr value */ 42 #define H_PTEG_FULL -6 /* PTEG is full */ [all …]
|
/linux/include/linux/ |
H A D | papr_scm.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 #define PAPR_PMEM_UNARMED (1ULL << (63 - 0)) 9 #define PAPR_PMEM_SHUTDOWN_DIRTY (1ULL << (63 - 1)) 11 #define PAPR_PMEM_SHUTDOWN_CLEAN (1ULL << (63 - 2)) 13 #define PAPR_PMEM_EMPTY (1ULL << (63 - 3)) 15 #define PAPR_PMEM_HEALTH_CRITICAL (1ULL << (63 - 4)) 17 #define PAPR_PMEM_HEALTH_FATAL (1ULL << (63 - 5)) 19 #define PAPR_PMEM_HEALTH_UNHEALTHY (1ULL << (63 - 6)) 21 #define PAPR_PMEM_HEALTH_NON_CRITICAL (1ULL << (63 - 7)) 23 #define PAPR_PMEM_ENCRYPTED (1ULL << (63 - 8)) [all …]
|
/linux/Documentation/sound/cards/ |
H A D | audigy-mixer.rst | 5 This is based on sb-live-mixer.rst. 20 functionality. Only the default built-in code in the ALSA driver is described 34 one-way three wire serial bus for digital sound by Philips Semiconductors 42 FX-bus 47 name='PCM Front Playback Volume',index=0 48 ---------------------------------------- 49 This control is used to attenuate samples from left and right front PCM FX-bus 53 name='PCM Surround Playback Volume',index=0 54 ------------------------------------------- 55 This control is used to attenuate samples from left and right surround PCM FX-bus [all …]
|
/linux/drivers/clk/starfive/ |
H A D | clk-starfive-jh7100.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/clk-provider.h> 16 #include <dt-bindings/clock/starfive-jh7100.h> 18 #include "clk-starfive-jh71x0.h" 21 #define JH7100_CLK_OSC_SYS (JH7100_CLK_END + 0) 27 JH71X0__MUX(JH7100_CLK_CPUNDBUS_ROOT, "cpundbus_root", 0, 4, 32 JH71X0__MUX(JH7100_CLK_DLA_ROOT, "dla_root", 0, 3, 36 JH71X0__MUX(JH7100_CLK_DSP_ROOT, "dsp_root", 0, 4, 41 JH71X0__MUX(JH7100_CLK_GMACUSB_ROOT, "gmacusb_root", 0, 3, 45 JH71X0__MUX(JH7100_CLK_PERH0_ROOT, "perh0_root", 0, 2, [all …]
|
/linux/arch/x86/include/asm/ |
H A D | sev-common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #define GHCB_MSR_INFO_POS 0 13 #define GHCB_MSR_INFO_MASK (BIT_ULL(GHCB_DATA_LOW) - 1) 19 #define GHCB_MSR_SEV_INFO_RESP 0x001 20 #define GHCB_MSR_SEV_INFO_REQ 0x002 23 /* GHCBData[63:48] */ \ 24 ((((_max) & 0xffff) << 48) | \ 26 (((_min) & 0xffff) << 32) | \ 28 (((_cbit) & 0xff) << 24) | \ 31 #define GHCB_MSR_INFO(v) ((v) & 0xfffUL) [all …]
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc_hash.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #define RVU_NPC_HASH_SECRET_KEY0 0xa9d5af4c9fbc76b1 12 #define RVU_NPC_HASH_SECRET_KEY1 0xa9d5af4c9fbc87b4 13 #define RVU_NPC_HASH_SECRET_KEY2 0x5954c9e7 20 ((ena) << 7) | ((flags_ena) << 6) | ((key_ofs) & 0x3F)) 24 ((ltype_match) << 4) | ((ltype_mask) & 0xF)) 45 /* NPC_AF_INTF(0..1)_LID(0..7)_LT(0..15)_LD(0..1)_CFG */ 47 /* NPC_AF_INTF(0..1)_HASH(0..1)_CFG */ 49 /* NPC_AF_INTF(0..1)_HASH(0..1)_MASK(0..1) */ 51 /* NPC_AF_INTF(0..1)_HASH(0..1)_RESULT_CTRL */ [all …]
|
/linux/drivers/crypto/cavium/cpt/ |
H A D | cpt_hw_types.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 18 CPT_COMP_E_NOTDONE = 0x00, 19 CPT_COMP_E_GOOD = 0x01, 20 CPT_COMP_E_FAULT = 0x02, 21 CPT_COMP_E_SWERR = 0x03, 22 CPT_COMP_E_LAST_ENTRY = 0xFF 30 * stored in memory as little-endian unless CPT()_PF_Q()_CTL[INST_BE] is set. 32 * Word 0 34 * 0 = No interrupts related to this instruction. 42 * Address must be 16-byte aligned. [all …]
|
/linux/drivers/staging/rtl8723bs/hal/ |
H A D | HalHWImg8723B_RF.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 16 ((pDM_Odm->BoardType & BIT4) >> 4) << 0 | /* _GLNA */ in CheckPositive() 17 ((pDM_Odm->BoardType & BIT3) >> 3) << 1 | /* _GPA */ in CheckPositive() 18 ((pDM_Odm->BoardType & BIT7) >> 7) << 2 | /* _ALNA */ in CheckPositive() 19 ((pDM_Odm->BoardType & BIT6) >> 6) << 3 | /* _APA */ in CheckPositive() 20 ((pDM_Odm->BoardType & BIT2) >> 2) << 4; /* _BT */ in CheckPositive() 24 pDM_Odm->CutVersion << 24 | in CheckPositive() 25 pDM_Odm->SupportPlatform << 16 | in CheckPositive() 26 pDM_Odm->PackageType << 12 | in CheckPositive() [all …]
|
/linux/Documentation/translations/zh_CN/core-api/ |
H A 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/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_phyp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 * Jan-Bernd Themann <themann@de.ibm.com> 23 while (((1U << ld) - 1) < queue_entries) in get_order_of_qentries() 25 return ld - 1; in get_order_of_qentries() 47 for (i = 0; i < 5; i++) { in ehea_plpar_hcall_norets() 86 for (i = 0; i < 5; i++) { in ehea_plpar_hcall9() 114 outs[0], outs[1], outs[2], outs[3], outs[4], in ehea_plpar_hcall9() 131 0, 0); in ehea_h_query_ehea_qp() 144 #define H_ALL_RES_QP_RES_TYP EHEA_BMASK_IBM(56, 63) 147 #define H_ALL_RES_QP_TOKEN EHEA_BMASK_IBM(0, 31) [all …]
|
/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-pip-defs.h | 7 * Copyright (c) 2003-2012 Cavium Networks 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 40 CVMX_PIP_PORT_CFG_MODE_NONE = 0ull, 54 #define CVMX_PIP_ALT_SKIP_CFGX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002A00ull) + ((offset) & 3) * 8) 55 #define CVMX_PIP_BCK_PRS (CVMX_ADD_IO_SEG(0x00011800A0000038ull)) 56 #define CVMX_PIP_BIST_STATUS (CVMX_ADD_IO_SEG(0x00011800A0000000ull)) 57 #define CVMX_PIP_BSEL_EXT_CFGX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002800ull) + ((offset) & 3) * 1… 58 #define CVMX_PIP_BSEL_EXT_POSX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002808ull) + ((offset) & 3) * 1… 59 #define CVMX_PIP_BSEL_TBL_ENTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0003000ull) + ((offset) & 511) *… [all …]
|
/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cpt_hw_types.h | 1 /* SPDX-License-Identifier: GPL-2.0 17 #define OTX_CPT_PCI_PF_DEVICE_ID 0xa040 18 #define OTX_CPT_PCI_VF_DEVICE_ID 0xa041 20 #define OTX_CPT_PCI_PF_SUBSYS_ID 0xa340 21 #define OTX_CPT_PCI_VF_SUBSYS_ID 0xa341 24 #define OTX_CPT_PF_PCI_CFG_BAR 0 25 #define OTX_CPT_VF_PCI_CFG_BAR 0 28 (0x000020000000ll + 0x1000000000ll * (a) + 0x100000ll * (b)) 29 #define OTX_CPT_BAR_E_CPTX_VFX_BAR0_SIZE 0x400000 46 #define OTX_CPT_VF_INTR_MBOX_MASK BIT(0) [all …]
|
/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | rtw8821c_table.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2018-2019 Realtek Corporation 10 0x010, 0x00000043, 11 0x025, 0x0000001D, 12 0x026, 0x000000CE, 13 0x04F, 0x00000001, 14 0x029, 0x000000F9, 15 0x420, 0x00000080, 16 0x421, 0x0000001F, 17 0x428, 0x0000000A, [all …]
|
H A D | rtw8723d_table.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2018-2019 Realtek Corporation 10 0x020, 0x00000013, 11 0x02F, 0x00000010, 12 0x077, 0x00000007, 13 0x421, 0x0000000F, 14 0x428, 0x0000000A, 15 0x429, 0x00000010, 16 0x430, 0x00000000, 17 0x431, 0x00000000, [all …]
|
/linux/include/crypto/ |
H A D | gf128mul.h | 1 /* gf128mul.h - GF(2^128) multiplication functions 16 --------------------------------------------------------------------------- 43 --------------------------------------------------------------------------- 59 * http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-revised-spec.pdf 61 * The elements of GF(2^128) := GF(2)[X]/(X^128-X^7-X^2-X^1-1) can 66 * are left and the lsb's are right. char b[16] is an array and b[0] is 70 * b[0] b[1] b[2] b[3] b[13] b[14] b[15] 73 * in every byte in little-endian order and the bytes themselves also in 74 * little endian order. I will call this lle (little-little-endian). 76 * like 11100001 00000000 .... 00000000 = { 0xE1, 0x00, }. [all …]
|
/linux/drivers/media/platform/qcom/venus/ |
H A D | venc_ctrls.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. 7 #include <media/v4l2-ctrls.h> 27 u32 half = (gop_size - 1) >> 1; in venc_calc_bpframes() 32 return -EINVAL; in venc_calc_bpframes() 34 *bf = *pf = 0; in venc_calc_bpframes() 37 *pf = gop_size - 1; in venc_calc_bpframes() 38 return 0; in venc_calc_bpframes() 43 for (; b <= gop_size - 1; b++, p--) { in venc_calc_bpframes() 59 return -EINVAL; in venc_calc_bpframes() [all …]
|
/linux/Documentation/core-api/ |
H A 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 ------------ 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. 44 perspective, bit 63 always means bit offset 7 of byte 7, albeit only [all …]
|