/Linux-v5.10/arch/mips/include/asm/sibyte/ |
D | sb1250_genbus.h | 36 #define S_IO_WIDTH_SEL 2 37 #define M_IO_WIDTH_SEL _SB_MAKEMASK(2, S_IO_WIDTH_SEL) 40 #if SIBYTE_HDR_FEATURE(1250, PASS2) || SIBYTE_HDR_FEATURE(112x, PASS1) \ 42 #define K_IO_WIDTH_SEL_1L 2 43 #endif /* 1250 PASS2 || 112x PASS1 || 1480 */ 45 #define V_IO_WIDTH_SEL(x) _SB_MAKEVALUE(x, S_IO_WIDTH_SEL) argument 46 #define G_IO_WIDTH_SEL(x) _SB_GETVALUE(x, S_IO_WIDTH_SEL, M_IO_WIDTH_SEL) argument 50 #if SIBYTE_HDR_FEATURE(1250, PASS2) || SIBYTE_HDR_FEATURE(112x, PASS1) \ 54 #endif /* 1250 PASS2 || 112x PASS1 || 1480 */ 62 #define V_IO_TIMEOUT(x) _SB_MAKEVALUE(x, S_IO_TIMEOUT) argument [all …]
|
/Linux-v5.10/drivers/staging/comedi/drivers/ |
D | ni_tio_internal.h | 14 #define NITIO_AUTO_INC_REG(x) (NITIO_G0_AUTO_INC + (x)) argument 16 #define NITIO_CMD_REG(x) (NITIO_G0_CMD + (x)) argument 19 #define GI_LOAD BIT(2) 21 #define GI_CNT_DIR(x) (((x) & 0x3) << 5) argument 32 #define NITIO_HW_SAVE_REG(x) (NITIO_G0_HW_SAVE + (x)) argument 33 #define NITIO_SW_SAVE_REG(x) (NITIO_G0_SW_SAVE + (x)) argument 34 #define NITIO_MODE_REG(x) (NITIO_G0_MODE + (x)) argument 35 #define GI_GATING_MODE(x) (((x) & 0x3) << 0) argument 38 #define GI_RISING_EDGE_GATING GI_GATING_MODE(2) 41 #define GI_GATE_ON_BOTH_EDGES BIT(2) [all …]
|
/Linux-v5.10/include/soc/mscc/ |
D | ocelot_ana.h | 15 #define ANA_ANAGEFIL_PID_VAL(x) (((x) << 14) & GENMASK(18, 14)) argument 17 #define ANA_ANAGEFIL_PID_VAL_X(x) (((x) & GENMASK(18, 14)) >> 14) argument 19 #define ANA_ANAGEFIL_VID_VAL(x) ((x) & GENMASK(12, 0)) argument 24 #define ANA_STORMLIMIT_CFG_STORM_RATE(x) (((x) << 3) & GENMASK(6, 3)) argument 26 #define ANA_STORMLIMIT_CFG_STORM_RATE_X(x) (((x) & GENMASK(6, 3)) >> 3) argument 27 #define ANA_STORMLIMIT_CFG_STORM_UNIT BIT(2) 28 #define ANA_STORMLIMIT_CFG_STORM_MODE(x) ((x) & GENMASK(1, 0)) argument 32 #define ANA_AUTOAGE_AGE_PERIOD(x) (((x) << 1) & GENMASK(20, 1)) argument 34 #define ANA_AUTOAGE_AGE_PERIOD_X(x) (((x) & GENMASK(20, 1)) >> 1) argument 40 #define ANA_AGENCTRL_FID_MASK(x) (((x) << 12) & GENMASK(23, 12)) argument [all …]
|
D | ocelot_qsys.h | 19 #define QSYS_STAT_CNT_CFG_DROP_YELLOW_CNT_MODE BIT(2) 25 #define QSYS_EEE_THRES_EEE_HIGH_BYTES(x) (((x) << 8) & GENMASK(15, 8)) argument 27 #define QSYS_EEE_THRES_EEE_HIGH_BYTES_X(x) (((x) & GENMASK(15, 8)) >> 8) argument 28 #define QSYS_EEE_THRES_EEE_HIGH_FRAMES(x) ((x) & GENMASK(7, 0)) argument 33 #define QSYS_EXT_CPU_CFG_EXT_CPU_PORT(x) (((x) << 8) & GENMASK(12, 8)) argument 35 #define QSYS_EXT_CPU_CFG_EXT_CPU_PORT_X(x) (((x) & GENMASK(12, 8)) >> 8) argument 36 #define QSYS_EXT_CPU_CFG_EXT_CPUQ_MSK(x) ((x) & GENMASK(7, 0)) argument 41 #define QSYS_QMAP_SE_BASE(x) (((x) << 5) & GENMASK(12, 5)) argument 43 #define QSYS_QMAP_SE_BASE_X(x) (((x) & GENMASK(12, 5)) >> 5) argument 44 #define QSYS_QMAP_SE_IDX_SEL(x) (((x) << 2) & GENMASK(4, 2)) argument [all …]
|
/Linux-v5.10/arch/m68k/fpsp040/ |
D | stanh.S | 8 | Input: Double-extended number X in location pointed to 11 | Output: The value tanh(X) returned in floating-point register Fp0. 23 | 1. If |X| >= (5/2) log2 or |X| <= 2**(-40), go to 3. 25 | 2. (2**(-40) < |X| < (5/2) log2) Calculate tanh(X) by 26 | sgn := sign(X), y := 2|X|, z := expm1(Y), and 27 | tanh(X) = sgn*( z/(2+z) ). 30 | 3. (|X| <= 2**(-40) or |X| >= (5/2) log2). If |X| < 1, 33 | 4. (|X| >= (5/2) log2) If |X| >= 50 log2, go to 6. 35 | 5. ((5/2) log2 <= |X| < 50 log2) Calculate tanh(X) by 36 | sgn := sign(X), y := 2|X|, z := exp(Y), [all …]
|
D | setox.S | 6 | number. setoxm1 computes exp(X)-1, and setoxm1d computes 7 | exp(X)-1 for denormalized X. 16 | exp(X) or exp(X)-1 returned in floating-point register fp0. 34 | argument X whose magnitude is less than 16380 log2, which 40 | argument X, 0.25 <= |X| < 70log2. For |X| < 0.25, it takes 52 | Step 2. Return ans := ans + sign(X)*2^(-126). Exit. 60 | 1.1 If |X| >= 2^(-65), go to Step 1.3. 62 | 1.3 If |X| < 16380 log(2), go to Step 2. 64 | Notes: The usual case should take the branches 1.1 -> 1.3 -> 2. 66 | compact representation of |X| is used. This format is a [all …]
|
/Linux-v5.10/include/math-emu/ |
D | op-4.h | 12 published by the Free Software Foundation; either version 2 of the 28 #define _FP_FRAC_DECL_4(X) _FP_W_TYPE X##_f[4] argument 31 D##_f[2] = S##_f[2], D##_f[3] = S##_f[3]) 32 #define _FP_FRAC_SET_4(X,I) __FP_FRAC_SET_4(X, I) argument 33 #define _FP_FRAC_HIGH_4(X) (X##_f[3]) argument 34 #define _FP_FRAC_LOW_4(X) (X##_f[0]) argument 35 #define _FP_FRAC_WORD_4(X,w) (X##_f[w]) argument 37 #define _FP_FRAC_SLL_4(X,N) \ argument 45 X##_f[_i] = X##_f[_i-_skip]; \ 49 X##_f[_i] = X##_f[_i-_skip] << _up \ [all …]
|
D | double.h | 12 published by the Free Software Foundation; either version 2 of the 33 #define _FP_FRACTBITS_D (2 * _FP_W_TYPE_SIZE) 47 ((_FP_W_TYPE)1 << (_FP_FRACBITS_D-2) % _FP_W_TYPE_SIZE) 73 #define FP_DECL_D(X) _FP_DECL(2,X) argument 74 #define FP_UNPACK_RAW_D(X,val) _FP_UNPACK_RAW_2(D,X,val) argument 75 #define FP_UNPACK_RAW_DP(X,val) _FP_UNPACK_RAW_2_P(D,X,val) argument 76 #define FP_PACK_RAW_D(val,X) _FP_PACK_RAW_2(D,val,X) argument 77 #define FP_PACK_RAW_DP(val,X) \ argument 80 _FP_PACK_RAW_2_P(D,val,X); \ 83 #define FP_UNPACK_D(X,val) \ argument [all …]
|
D | quad.h | 12 published by the Free Software Foundation; either version 2 of the 35 #define _FP_FRACTBITS_Q (2*_FP_W_TYPE_SIZE) 47 ((_FP_W_TYPE)1 << (_FP_FRACBITS_Q-2) % _FP_W_TYPE_SIZE) 79 #define FP_DECL_Q(X) _FP_DECL(4,X) argument 80 #define FP_UNPACK_RAW_Q(X,val) _FP_UNPACK_RAW_4(Q,X,val) argument 81 #define FP_UNPACK_RAW_QP(X,val) _FP_UNPACK_RAW_4_P(Q,X,val) argument 82 #define FP_PACK_RAW_Q(val,X) _FP_PACK_RAW_4(Q,val,X) argument 83 #define FP_PACK_RAW_QP(val,X) \ argument 86 _FP_PACK_RAW_4_P(Q,val,X); \ 89 #define FP_UNPACK_Q(X,val) \ argument [all …]
|
D | op-2.h | 12 published by the Free Software Foundation; either version 2 of the 28 #define _FP_FRAC_DECL_2(X) _FP_W_TYPE X##_f0 = 0, X##_f1 = 0 argument 30 #define _FP_FRAC_SET_2(X,I) __FP_FRAC_SET_2(X, I) argument 31 #define _FP_FRAC_HIGH_2(X) (X##_f1) argument 32 #define _FP_FRAC_LOW_2(X) (X##_f0) argument 33 #define _FP_FRAC_WORD_2(X,w) (X##_f##w) argument 34 #define _FP_FRAC_SLL_2(X, N) ( \ argument 38 X##_f1 = X##_f1 + X##_f1 + \ 39 (((_FP_WS_TYPE) (X##_f0)) < 0); \ 40 X##_f0 += X##_f0; \ [all …]
|
D | op-1.h | 12 published by the Free Software Foundation; either version 2 of the 28 #define _FP_FRAC_DECL_1(X) _FP_W_TYPE X##_f=0 argument 30 #define _FP_FRAC_SET_1(X,I) (X##_f = I) argument 31 #define _FP_FRAC_HIGH_1(X) (X##_f) argument 32 #define _FP_FRAC_LOW_1(X) (X##_f) argument 33 #define _FP_FRAC_WORD_1(X,w) (X##_f) argument 35 #define _FP_FRAC_ADDI_1(X,I) (X##_f += I) argument 36 #define _FP_FRAC_SLL_1(X,N) \ argument 39 X##_f += X##_f; \ 41 X##_f <<= (N); \ [all …]
|
/Linux-v5.10/drivers/net/ethernet/mscc/ |
D | ocelot_qs.h | 20 #define XTR_VALID_BYTES(x) (4 - (((x) >> 24) & 3)) argument 24 #define QS_XTR_GRP_CFG_MODE(x) (((x) << 2) & GENMASK(3, 2)) argument 25 #define QS_XTR_GRP_CFG_MODE_M GENMASK(3, 2) 26 #define QS_XTR_GRP_CFG_MODE_X(x) (((x) & GENMASK(3, 2)) >> 2) argument 34 #define QS_XTR_CFG_DP_WM(x) (((x) << 5) & GENMASK(7, 5)) argument 36 #define QS_XTR_CFG_DP_WM_X(x) (((x) & GENMASK(7, 5)) >> 5) argument 37 #define QS_XTR_CFG_SCH_WM(x) (((x) << 2) & GENMASK(4, 2)) argument 38 #define QS_XTR_CFG_SCH_WM_M GENMASK(4, 2) 39 #define QS_XTR_CFG_SCH_WM_X(x) (((x) & GENMASK(4, 2)) >> 2) argument 40 #define QS_XTR_CFG_OFLW_ERR_STICKY(x) ((x) & GENMASK(1, 0)) argument [all …]
|
D | ocelot_rew.h | 13 #define REW_PORT_VLAN_CFG_PORT_TPID(x) (((x) << 16) & GENMASK(31, 16)) argument 15 #define REW_PORT_VLAN_CFG_PORT_TPID_X(x) (((x) & GENMASK(31, 16)) >> 16) argument 17 #define REW_PORT_VLAN_CFG_PORT_PCP(x) (((x) << 12) & GENMASK(14, 12)) argument 19 #define REW_PORT_VLAN_CFG_PORT_PCP_X(x) (((x) & GENMASK(14, 12)) >> 12) argument 20 #define REW_PORT_VLAN_CFG_PORT_VID(x) ((x) & GENMASK(11, 0)) argument 25 #define REW_TAG_CFG_TAG_CFG(x) (((x) << 7) & GENMASK(8, 7)) argument 27 #define REW_TAG_CFG_TAG_CFG_X(x) (((x) & GENMASK(8, 7)) >> 7) argument 28 #define REW_TAG_CFG_TAG_TPID_CFG(x) (((x) << 5) & GENMASK(6, 5)) argument 30 #define REW_TAG_CFG_TAG_TPID_CFG_X(x) (((x) & GENMASK(6, 5)) >> 5) argument 32 #define REW_TAG_CFG_TAG_PCP_CFG(x) (((x) << 2) & GENMASK(3, 2)) argument [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/ |
D | cikd.h | 57 #define PIPEID(x) ((x) << 0) argument 58 #define MEID(x) ((x) << 2) argument 59 #define VMID(x) ((x) << 4) argument 60 #define QUEUEID(x) ((x) << 8) argument 75 # define CURSOR_24_8_PRE_MULT 2 79 # define CURSOR_URGENT_1_4 2 85 # define GRPH_DEPTH_32BPP 2 91 # define GRPH_FORMAT_ARGB4444 2 98 # define GRPH_FORMAT_32BPP_DIG 2 106 # define ADDR_SURF_MACRO_TILE_ASPECT_4 2 [all …]
|
D | nvd.h | 32 #define PACKET_TYPE2 2 57 #define PACKET3_BASE_INDEX(x) ((x) << 0) argument 89 #define WRITE_DATA_DST_SEL(x) ((x) << 8) argument 92 * 2 - gl2 99 #define WRITE_DATA_CACHE_POLICY(x) ((x) << 25) argument 103 #define WRITE_DATA_ENGINE_SEL(x) ((x) << 30) argument 106 * 2 - ce 117 #define WAIT_REG_MEM_FUNCTION(x) ((x) << 0) argument 120 * 2 - <= 126 #define WAIT_REG_MEM_MEM_SPACE(x) ((x) << 4) argument [all …]
|
D | vid.h | 28 #define SDMA_MAX_INSTANCE 2 70 #define PIPEID(x) ((x) << 0) argument 71 #define MEID(x) ((x) << 2) argument 72 #define VMID(x) ((x) << 4) argument 73 #define QUEUEID(x) ((x) << 8) argument 89 #define PACKET_TYPE2 2 114 #define PACKET3_BASE_INDEX(x) ((x) << 0) argument 142 #define WRITE_DATA_DST_SEL(x) ((x) << 8) argument 145 * 2 - gl2 152 #define WRITE_DATA_CACHE_POLICY(x) ((x) << 25) argument [all …]
|
D | soc15d.h | 34 #define PACKET_TYPE2 2 58 #define PACKETJ_CONDITION_CHECK2 2 67 #define PACKETJ_TYPE2 2 82 #define PACKET3_BASE_INDEX(x) ((x) << 0) argument 110 #define WRITE_DATA_DST_SEL(x) ((x) << 8) argument 113 * 2 - gl2 120 #define WRITE_DATA_CACHE_POLICY(x) ((x) << 25) argument 124 #define WRITE_DATA_ENGINE_SEL(x) ((x) << 30) argument 127 * 2 - ce 136 #define WAIT_REG_MEM_FUNCTION(x) ((x) << 0) argument [all …]
|
D | sid.h | 27 #define TAHITI_RB_BITMAP_WIDTH_PER_SH 2 79 #define DCCG_DISP1_SLOW_SELECT(x) ((x) << 0) argument 82 #define DCCG_DISP2_SLOW_SELECT(x) ((x) << 4) argument 90 #define SPLL_REF_DIV(x) ((x) << 4) argument 92 #define SPLL_PDIV_A(x) ((x) << 20) argument 96 #define SCLK_MUX_SEL(x) ((x) << 0) argument 101 #define SPLL_FB_DIV(x) ((x) << 0) argument 111 # define SPLL_REFCLK_SEL(x) ((x) << 26) argument 116 #define CLK_S(x) ((x) << 4) argument 120 #define CLK_V(x) ((x) << 0) argument [all …]
|
D | si_enums.h | 40 #define LATENCY_WATERMARK_MASK(x) ((x) << 16) argument 41 #define DC_LB_MEMORY_CONFIG(x) ((x) << 20) argument 42 #define ICON_DEGAMMA_MODE(x) (((x) & 0x3) << 8) argument 44 #define GRPH_ENDIAN_SWAP(x) (((x) & 0x3) << 0) argument 47 #define GRPH_ENDIAN_8IN32 2 49 #define GRPH_RED_CROSSBAR(x) (((x) & 0x3) << 4) argument 52 #define GRPH_RED_SEL_B 2 54 #define GRPH_GREEN_CROSSBAR(x) (((x) & 0x3) << 6) argument 57 #define GRPH_GREEN_SEL_A 2 59 #define GRPH_BLUE_CROSSBAR(x) (((x) & 0x3) << 8) argument [all …]
|
/Linux-v5.10/arch/arm/mach-omap1/ |
D | board-htcherald.c | 61 * Function 7 6 5 4 3 2 1 0 63 * DPAD light x x x x x x x 1 64 * SoundDev x x x x 1 x x x 65 * Screen white 1 x x x x x x x 66 * MMC power on x x x x x 1 x x 67 * Happy times (n) 0 x x x x 1 x x 71 * Function 7 6 5 4 3 2 1 0 73 * Keyboard light x x x x x x x 1 74 * LCD Bright (4) x x x x x 1 1 x 75 * LCD Bright (3) x x x x x 0 1 x [all …]
|
/Linux-v5.10/drivers/gpu/drm/tegra/ |
D | dc.h | 110 writel(value, dc->regs + (offset << 2)); in tegra_dc_writel() 115 u32 value = readl(dc->regs + (offset << 2)); in tegra_dc_readl() 124 unsigned int x; member 130 unsigned int x; member 136 unsigned int stride[2]; 181 #define DISP_CTRL_MODE_NC_DISPLAY (2 << 5) 186 #define PW1_ENABLE (1 << 2) 200 #define VBLANK_INT (1 << 2) 225 #define WRITE_MUX (1 << 2) 230 #define WIN_B_ACT_REQ (1 << 2) [all …]
|
/Linux-v5.10/drivers/gpu/drm/radeon/ |
D | cikd.h | 30 #define CIK_RB_BITMAP_WIDTH_PER_SH 2 42 # define SamuBootLevel(x) ((x) << 0) argument 45 # define AcpBootLevel(x) ((x) << 8) argument 48 # define VceBootLevel(x) ((x) << 16) argument 51 # define UvdBootLevel(x) ((x) << 24) argument 59 # define Dpm0PgNbPsLo(x) ((x) << 0) argument 62 # define Dpm0PgNbPsHi(x) ((x) << 8) argument 65 # define DpmXNbPsLo(x) ((x) << 16) argument 68 # define DpmXNbPsHi(x) ((x) << 24) argument 92 # define THERMAL_PROTECTION_DIS (1 << 2) [all …]
|
/Linux-v5.10/Documentation/input/devices/ |
D | sentelic.rst | 19 2. Set sample rate to 200; 27 Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 29 1 |Y|X|y|x|1|M|R|L| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 | | |B|F|W|W|W|W| 33 Bit6 => X overflow 35 Bit4 => X sign bit 40 Byte 2: X Movement(9-bit 2's complement integers) 41 Byte 3: Y Movement(9-bit 2's complement integers) 59 Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 61 1 |Y|X|y|x|1|M|R|L| 2 |X|X|X|X|X|X|X|X| 3 |Y|Y|Y|Y|Y|Y|Y|Y| 4 | | |B|F|r|l|u|d| 65 Bit6 => X overflow [all …]
|
/Linux-v5.10/lib/crypto/ |
D | chacha.c | 16 static void chacha_permute(u32 *x, int nrounds) in chacha_permute() argument 23 for (i = 0; i < nrounds; i += 2) { in chacha_permute() 24 x[0] += x[4]; x[12] = rol32(x[12] ^ x[0], 16); in chacha_permute() 25 x[1] += x[5]; x[13] = rol32(x[13] ^ x[1], 16); in chacha_permute() 26 x[2] += x[6]; x[14] = rol32(x[14] ^ x[2], 16); in chacha_permute() 27 x[3] += x[7]; x[15] = rol32(x[15] ^ x[3], 16); in chacha_permute() 29 x[8] += x[12]; x[4] = rol32(x[4] ^ x[8], 12); in chacha_permute() 30 x[9] += x[13]; x[5] = rol32(x[5] ^ x[9], 12); in chacha_permute() 31 x[10] += x[14]; x[6] = rol32(x[6] ^ x[10], 12); in chacha_permute() 32 x[11] += x[15]; x[7] = rol32(x[7] ^ x[11], 12); in chacha_permute() [all …]
|
/Linux-v5.10/arch/csky/include/asm/ |
D | uaccess.h | 55 #define put_user(x, ptr) \ argument 56 __put_user_check((x), (ptr), sizeof(*(ptr))) 58 #define __put_user(x, ptr) \ argument 59 __put_user_nocheck((x), (ptr), sizeof(*(ptr))) 61 #define __ptr(x) ((unsigned long *)(x)) argument 63 #define get_user(x, ptr) \ argument 64 __get_user_check((x), (ptr), sizeof(*(ptr))) 66 #define __get_user(x, ptr) \ argument 67 __get_user_nocheck((x), (ptr), sizeof(*(ptr))) 69 #define __put_user_nocheck(x, ptr, size) \ argument [all …]
|