/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | rs600d.h | 33 #define S_000040_SCRATCH_INT_MASK(x) (((x) & 0x1) << 18) argument 34 #define G_000040_SCRATCH_INT_MASK(x) (((x) >> 18) & 0x1) argument 36 #define S_000040_GUI_IDLE_MASK(x) (((x) & 0x1) << 19) argument 37 #define G_000040_GUI_IDLE_MASK(x) (((x) >> 19) & 0x1) argument 39 #define S_000040_DMA_VIPH1_INT_EN(x) (((x) & 0x1) << 13) argument 40 #define G_000040_DMA_VIPH1_INT_EN(x) (((x) >> 13) & 0x1) argument 42 #define S_000040_DMA_VIPH2_INT_EN(x) (((x) & 0x1) << 14) argument 43 #define G_000040_DMA_VIPH2_INT_EN(x) (((x) >> 14) & 0x1) argument 45 #define S_000040_DMA_VIPH3_INT_EN(x) (((x) & 0x1) << 15) argument 46 #define G_000040_DMA_VIPH3_INT_EN(x) (((x) >> 15) & 0x1) argument [all …]
|
D | r100d.h | 69 #define S_0000F0_SOFT_RESET_CP(x) (((x) & 0x1) << 0) argument 70 #define G_0000F0_SOFT_RESET_CP(x) (((x) >> 0) & 0x1) argument 72 #define S_0000F0_SOFT_RESET_HI(x) (((x) & 0x1) << 1) argument 73 #define G_0000F0_SOFT_RESET_HI(x) (((x) >> 1) & 0x1) argument 75 #define S_0000F0_SOFT_RESET_SE(x) (((x) & 0x1) << 2) argument 76 #define G_0000F0_SOFT_RESET_SE(x) (((x) >> 2) & 0x1) argument 78 #define S_0000F0_SOFT_RESET_RE(x) (((x) & 0x1) << 3) argument 79 #define G_0000F0_SOFT_RESET_RE(x) (((x) >> 3) & 0x1) argument 81 #define S_0000F0_SOFT_RESET_PP(x) (((x) & 0x1) << 4) argument 82 #define G_0000F0_SOFT_RESET_PP(x) (((x) >> 4) & 0x1) argument [all …]
|
D | r420d.h | 32 #define S_0001F8_MC_IND_ADDR(x) (((x) & 0x7F) << 0) argument 33 #define G_0001F8_MC_IND_ADDR(x) (((x) >> 0) & 0x7F) argument 35 #define S_0001F8_MC_IND_WR_EN(x) (((x) & 0x1) << 8) argument 36 #define G_0001F8_MC_IND_WR_EN(x) (((x) >> 8) & 0x1) argument 39 #define S_0001FC_MC_IND_DATA(x) (((x) & 0xFFFFFFFF) << 0) argument 40 #define G_0001FC_MC_IND_DATA(x) (((x) >> 0) & 0xFFFFFFFF) argument 43 #define S_0007C0_MRU_BUSY(x) (((x) & 0x1) << 0) argument 44 #define G_0007C0_MRU_BUSY(x) (((x) >> 0) & 0x1) argument 46 #define S_0007C0_MWU_BUSY(x) (((x) & 0x1) << 1) argument 47 #define G_0007C0_MWU_BUSY(x) (((x) >> 1) & 0x1) argument [all …]
|
D | rs690d.h | 34 #define G_00005F_K8_ADDR_EXT(x) (((x) >> 0) & 0xFF) argument 36 #define S_000078_MC_IND_ADDR(x) (((x) & 0x1FF) << 0) argument 37 #define G_000078_MC_IND_ADDR(x) (((x) >> 0) & 0x1FF) argument 39 #define S_000078_MC_IND_WR_EN(x) (((x) & 0x1) << 9) argument 40 #define G_000078_MC_IND_WR_EN(x) (((x) >> 9) & 0x1) argument 43 #define S_00007C_MC_DATA(x) (((x) & 0xFFFFFFFF) << 0) argument 44 #define G_00007C_MC_DATA(x) (((x) >> 0) & 0xFFFFFFFF) argument 47 #define S_0000F8_CONFIG_MEMSIZE(x) (((x) & 0xFFFFFFFF) << 0) argument 48 #define G_0000F8_CONFIG_MEMSIZE(x) (((x) >> 0) & 0xFFFFFFFF) argument 51 #define S_000134_HDP_FB_START(x) (((x) & 0xFFFF) << 0) argument [all …]
|
D | rs400d.h | 33 #define S_000148_MC_FB_START(x) (((x) & 0xFFFF) << 0) argument 34 #define G_000148_MC_FB_START(x) (((x) >> 0) & 0xFFFF) argument 36 #define S_000148_MC_FB_TOP(x) (((x) & 0xFFFF) << 16) argument 37 #define G_000148_MC_FB_TOP(x) (((x) >> 16) & 0xFFFF) argument 40 #define S_00015C_MC_FB_START(x) (((x) & 0xFFFF) << 0) argument 41 #define G_00015C_MC_FB_START(x) (((x) >> 0) & 0xFFFF) argument 43 #define S_00015C_MC_FB_TOP(x) (((x) & 0xFFFF) << 16) argument 44 #define G_00015C_MC_FB_TOP(x) (((x) >> 16) & 0xFFFF) argument 47 #define S_0007C0_MRU_BUSY(x) (((x) & 0x1) << 0) argument 48 #define G_0007C0_MRU_BUSY(x) (((x) >> 0) & 0x1) argument [all …]
|
D | r300d.h | 70 #define S_000148_MC_FB_START(x) (((x) & 0xFFFF) << 0) argument 71 #define G_000148_MC_FB_START(x) (((x) >> 0) & 0xFFFF) argument 73 #define S_000148_MC_FB_TOP(x) (((x) & 0xFFFF) << 16) argument 74 #define G_000148_MC_FB_TOP(x) (((x) >> 16) & 0xFFFF) argument 77 #define S_00014C_MC_AGP_START(x) (((x) & 0xFFFF) << 0) argument 78 #define G_00014C_MC_AGP_START(x) (((x) >> 0) & 0xFFFF) argument 80 #define S_00014C_MC_AGP_TOP(x) (((x) & 0xFFFF) << 16) argument 81 #define G_00014C_MC_AGP_TOP(x) (((x) >> 16) & 0xFFFF) argument 84 #define S_00015C_AGP_BASE_ADDR_2(x) (((x) & 0xF) << 0) argument 85 #define G_00015C_AGP_BASE_ADDR_2(x) (((x) >> 0) & 0xF) argument [all …]
|
D | r520d.h | 33 #define S_0000F8_CONFIG_MEMSIZE(x) (((x) & 0xFFFFFFFF) << 0) argument 34 #define G_0000F8_CONFIG_MEMSIZE(x) (((x) >> 0) & 0xFFFFFFFF) argument 37 #define S_000134_HDP_FB_START(x) (((x) & 0xFFFF) << 0) argument 38 #define G_000134_HDP_FB_START(x) (((x) >> 0) & 0xFFFF) argument 41 #define S_0007C0_MRU_BUSY(x) (((x) & 0x1) << 0) argument 42 #define G_0007C0_MRU_BUSY(x) (((x) >> 0) & 0x1) argument 44 #define S_0007C0_MWU_BUSY(x) (((x) & 0x1) << 1) argument 45 #define G_0007C0_MWU_BUSY(x) (((x) >> 1) & 0x1) argument 47 #define S_0007C0_RSIU_BUSY(x) (((x) & 0x1) << 2) argument 48 #define G_0007C0_RSIU_BUSY(x) (((x) >> 2) & 0x1) argument [all …]
|
D | rv250d.h | 32 #define S_00000D_SCLK_SRC_SEL(x) (((x) & 0x7) << 0) argument 33 #define G_00000D_SCLK_SRC_SEL(x) (((x) >> 0) & 0x7) argument 35 #define S_00000D_CP_MAX_DYN_STOP_LAT(x) (((x) & 0x1) << 3) argument 36 #define G_00000D_CP_MAX_DYN_STOP_LAT(x) (((x) >> 3) & 0x1) argument 38 #define S_00000D_HDP_MAX_DYN_STOP_LAT(x) (((x) & 0x1) << 4) argument 39 #define G_00000D_HDP_MAX_DYN_STOP_LAT(x) (((x) >> 4) & 0x1) argument 41 #define S_00000D_TV_MAX_DYN_STOP_LAT(x) (((x) & 0x1) << 5) argument 42 #define G_00000D_TV_MAX_DYN_STOP_LAT(x) (((x) >> 5) & 0x1) argument 44 #define S_00000D_E2_MAX_DYN_STOP_LAT(x) (((x) & 0x1) << 6) argument 45 #define G_00000D_E2_MAX_DYN_STOP_LAT(x) (((x) >> 6) & 0x1) argument [all …]
|
D | rv515d.h | 210 #define S_0000F0_SOFT_RESET_CP(x) (((x) & 0x1) << 0) argument 211 #define G_0000F0_SOFT_RESET_CP(x) (((x) >> 0) & 0x1) argument 213 #define S_0000F0_SOFT_RESET_HI(x) (((x) & 0x1) << 1) argument 214 #define G_0000F0_SOFT_RESET_HI(x) (((x) >> 1) & 0x1) argument 216 #define S_0000F0_SOFT_RESET_VAP(x) (((x) & 0x1) << 2) argument 217 #define G_0000F0_SOFT_RESET_VAP(x) (((x) >> 2) & 0x1) argument 219 #define S_0000F0_SOFT_RESET_RE(x) (((x) & 0x1) << 3) argument 220 #define G_0000F0_SOFT_RESET_RE(x) (((x) >> 3) & 0x1) argument 222 #define S_0000F0_SOFT_RESET_PP(x) (((x) & 0x1) << 4) argument 223 #define G_0000F0_SOFT_RESET_PP(x) (((x) >> 4) & 0x1) argument [all …]
|
D | r600d.h | 60 #define BACKEND_DISABLE(x) ((x) << 16) argument 63 #define S_028808_SPECIAL_OP(x) (((x) & 0x7) << 4) argument 64 #define G_028808_SPECIAL_OP(x) (((x) >> 4) & 0x7) argument 83 #define S_028080_SLICE_START(x) (((x) & 0x7FF) << 0) argument 84 #define G_028080_SLICE_START(x) (((x) >> 0) & 0x7FF) argument 86 #define S_028080_SLICE_MAX(x) (((x) & 0x7FF) << 13) argument 87 #define G_028080_SLICE_MAX(x) (((x) >> 13) & 0x7FF) argument 97 #define S_028100_CMASK_BLOCK_MAX(x) (((x) & 0xFFF) << 0) argument 98 #define G_028100_CMASK_BLOCK_MAX(x) (((x) >> 0) & 0xFFF) argument 100 #define S_028100_FMASK_TILE_MAX(x) (((x) & 0xFFFFF) << 12) argument [all …]
|
D | rv770d.h | 47 # define UPLL_REF_DIV(x) ((x) << 16) argument 52 # define UPLL_SW_HILEN(x) ((x) << 0) argument 53 # define UPLL_SW_LOLEN(x) ((x) << 4) argument 54 # define UPLL_SW_HILEN2(x) ((x) << 8) argument 55 # define UPLL_SW_LOLEN2(x) ((x) << 12) argument 57 # define VCLK_SRC_SEL(x) ((x) << 20) argument 59 # define DCLK_SRC_SEL(x) ((x) << 25) argument 62 # define UPLL_FB_DIV(x) ((x) << 0) argument 74 #define HOST_SMC_MSG(x) ((x) << 0) argument 77 #define HOST_SMC_RESP(x) ((x) << 8) argument [all …]
|
D | ni_reg.h | 30 # define NI_GRPH_INPUT_GAMMA_MODE(x) (((x) & 0x3) << 0) argument 35 # define NI_OVL_INPUT_GAMMA_MODE(x) (((x) & 0x3) << 4) argument 44 # define NI_INPUT_CSC_GRPH_MODE(x) (((x) & 0x3) << 0) argument 48 # define NI_INPUT_CSC_OVL_MODE(x) (((x) & 0x3) << 4) argument 51 # define NI_OUTPUT_CSC_GRPH_MODE(x) (((x) & 0x7) << 0) argument 58 # define NI_OUTPUT_CSC_OVL_MODE(x) (((x) & 0x7) << 4) argument 61 # define NI_GRPH_DEGAMMA_MODE(x) (((x) & 0x3) << 0) argument 65 # define NI_OVL_DEGAMMA_MODE(x) (((x) & 0x3) << 4) argument 66 # define NI_ICON_DEGAMMA_MODE(x) (((x) & 0x3) << 8) argument 67 # define NI_CURSOR_DEGAMMA_MODE(x) (((x) & 0x3) << 12) argument [all …]
|
D | evergreend.h | 53 #define HOST_SMC_MSG(x) ((x) << 0) argument 56 #define HOST_SMC_RESP(x) ((x) << 8) argument 59 #define SMC_HOST_MSG(x) ((x) << 16) argument 62 #define SMC_HOST_RESP(x) ((x) << 24) argument 67 #define DCCG_DISP1_SLOW_SELECT(x) ((x) << 0) argument 70 #define DCCG_DISP2_SLOW_SELECT(x) ((x) << 4) argument 78 #define SPLL_REF_DIV(x) ((x) << 4) argument 80 #define SPLL_PDIV_A(x) ((x) << 20) argument 83 #define SCLK_MUX_SEL(x) ((x) << 0) argument 87 #define SPLL_FB_DIV(x) ((x) << 0) argument [all …]
|
D | rv350d.h | 33 #define S_00000D_FORCE_VAP(x) (((x) & 0x1) << 21) argument 34 #define G_00000D_FORCE_VAP(x) (((x) >> 21) & 0x1) argument 36 #define S_00000D_FORCE_SR(x) (((x) & 0x1) << 25) argument 37 #define G_00000D_FORCE_SR(x) (((x) >> 25) & 0x1) argument 39 #define S_00000D_FORCE_PX(x) (((x) & 0x1) << 26) argument 40 #define G_00000D_FORCE_PX(x) (((x) >> 26) & 0x1) argument 42 #define S_00000D_FORCE_TX(x) (((x) & 0x1) << 27) argument 43 #define G_00000D_FORCE_TX(x) (((x) >> 27) & 0x1) argument 45 #define S_00000D_FORCE_US(x) (((x) & 0x1) << 28) argument 46 #define G_00000D_FORCE_US(x) (((x) >> 28) & 0x1) argument [all …]
|
D | trinityd.h | 35 # define STATE_VALID(x) ((x) << 0) argument 38 # define CLK_DIVIDER(x) ((x) << 8) argument 41 # define VID(x) ((x) << 16) argument 44 # define LVRT(x) ((x) << 24) argument 48 # define DS_DIV(x) ((x) << 0) argument 51 # define DS_SH_DIV(x) ((x) << 8) argument 54 # define DISPLAY_WM(x) ((x) << 16) argument 57 # define VCE_WM(x) ((x) << 24) argument 62 # define GNB_SLOW(x) ((x) << 0) argument 65 # define FORCE_NBPS1(x) ((x) << 8) argument [all …]
|
D | sumod.h | 37 # define PCV(x) ((x) << 3) argument 40 # define PCP(x) ((x) << 8) argument 43 # define RPW(x) ((x) << 16) argument 46 # define ID(x) ((x) << 24) argument 49 # define PGS(x) ((x) << 28) argument 57 # define LCLK_SCALING_TIMER_PRESCALER(x) ((x) << 4) argument 60 # define LCLK_SCALING_TIMER_PERIOD(x) ((x) << 16) argument 65 # define MPPU(x) ((x) << 0) argument 68 # define MPPD(x) ((x) << 16) argument 72 # define DPPU(x) ((x) << 0) argument [all …]
|
D | rv6xxd.h | 37 # define SW_GPIO_INDEX(x) ((x) << 6) argument 79 # define LEVEL0_MPLL_POST_DIV(x) ((x) << 0) argument 81 # define LEVEL0_MPLL_FB_DIV(x) ((x) << 8) argument 83 # define LEVEL0_MPLL_REF_DIV(x) ((x) << 20) argument 90 # define VID_CRT(x) ((x) << 0) argument 92 # define VID_CRTU(x) ((x) << 13) argument 94 # define SSTU(x) ((x) << 16) argument 96 # define VID_SWT(x) ((x) << 19) argument 98 # define BRT(x) ((x) << 24) argument 106 # define DYN_PWR_ENTER_INDEX(x) ((x) << 4) argument [all …]
|
D | nid.h | 53 #define RINGID(x) (((x) & 0x3) << 0) argument 54 #define VMID(x) (((x) & 0x7) << 0) argument 94 #define REQUEST_TYPE(x) (((x) & 0xf) << 0) argument 102 #define EFFECTIVE_L2_QUEUE_SIZE(x) (((x) & 7) << 14) argument 103 #define CONTEXT1_IDENTITY_ACCESS_MODE(x) (((x) & 3) << 18) argument 114 #define BANK_SELECT(x) ((x) << 0) argument 115 #define CACHE_UPDATE_MODE(x) ((x) << 6) argument 117 #define L2_CACHE_BIGK_FRAGMENT_SIZE(x) ((x) << 15) argument 122 #define PAGE_TABLE_DEPTH(x) (((x) & 3) << 1) argument 135 #define PAGE_TABLE_BLOCK_SIZE(x) (((x) & 0xF) << 24) argument [all …]
|
D | rs780d.h | 29 # define SPLL_REF_DIV(x) ((x) << 2) argument 32 # define SPLL_FB_DIV(x) ((x) << 5) argument 36 # define SPLL_PULSENUM(x) ((x) << 14) argument 38 # define SPLL_SW_HILEN(x) ((x) << 16) argument 41 # define SPLL_SW_LOLEN(x) ((x) << 20) argument 53 #define MINIMUM_CIP(x) ((x) << 1) argument 56 #define REFRESH_RATE_DIVISOR(x) ((x) << 25) argument 65 #define TARGET_IDLE_COUNT(x) ((x) << 0) argument 83 #define MIN_FEEDBACK_DIV(x) ((x) << 0) argument 86 #define MAX_FEEDBACK_DIV(x) ((x) << 12) argument [all …]
|
D | sid.h | 78 #define DCCG_DISP1_SLOW_SELECT(x) ((x) << 0) argument 81 #define DCCG_DISP2_SLOW_SELECT(x) ((x) << 4) argument 89 #define SPLL_REF_DIV(x) ((x) << 4) argument 91 #define SPLL_PDIV_A(x) ((x) << 20) argument 95 #define SCLK_MUX_SEL(x) ((x) << 0) argument 100 #define SPLL_FB_DIV(x) ((x) << 0) argument 110 # define SPLL_REFCLK_SEL(x) ((x) << 26) argument 115 #define CLK_S(x) ((x) << 4) argument 119 #define CLK_V(x) ((x) << 0) argument 137 # define UPLL_PDIV_A(x) ((x) << 0) argument [all …]
|
D | rv740d.h | 30 #define SPLL_REF_DIV(x) ((x) << 4) argument 32 #define SPLL_PDIV_A(x) ((x) << 20) argument 35 #define SCLK_MUX_SEL(x) ((x) << 0) argument 38 #define SPLL_FB_DIV(x) ((x) << 0) argument 46 #define CLKF(x) ((x) << 0) argument 48 #define CLKR(x) ((x) << 7) argument 50 #define CLKFRAC(x) ((x) << 12) argument 52 #define YCLK_POST_DIV(x) ((x) << 17) argument 54 #define IBIAS(x) ((x) << 20) argument 67 #define DLL_SPEED(x) ((x) << 0) argument [all …]
|
D | rv730d.h | 31 #define SPLL_REF_DIV(x) ((x) << 4) argument 33 #define SPLL_HILEN(x) ((x) << 12) argument 35 #define SPLL_LOLEN(x) ((x) << 16) argument 38 #define SCLK_MUX_SEL(x) ((x) << 0) argument 41 #define SPLL_FB_DIV(x) ((x) << 0) argument 50 #define MPLL_REF_DIV(x) ((x) << 4) argument 52 #define MPLL_HILEN(x) ((x) << 12) argument 54 #define MPLL_LOLEN(x) ((x) << 16) argument 57 #define MCLK_MUX_SEL(x) ((x) << 0) argument 60 #define MPLL_FB_DIV(x) ((x) << 0) argument [all …]
|
D | cikd.h | 44 # define SamuBootLevel(x) ((x) << 0) argument 47 # define AcpBootLevel(x) ((x) << 8) argument 50 # define VceBootLevel(x) ((x) << 16) argument 53 # define UvdBootLevel(x) ((x) << 24) argument 61 # define Dpm0PgNbPsLo(x) ((x) << 0) argument 64 # define Dpm0PgNbPsHi(x) ((x) << 8) argument 67 # define DpmXNbPsLo(x) ((x) << 16) argument 70 # define DpmXNbPsHi(x) ((x) << 24) argument 96 # define SW_SMIO_INDEX(x) ((x) << 6) argument 104 # define GNB_SLOW_MODE(x) ((x) << 0) argument [all …]
|
D | btcd.h | 36 # define SW_SMIO_INDEX(x) ((x) << 6) argument 52 #define CG_CLIENT_REQ(x) ((x) << 0) argument 55 #define CG_CLIENT_RESP(x) ((x) << 8) argument 58 #define CLIENT_CG_REQ(x) ((x) << 16) argument 61 #define CLIENT_CG_RESP(x) ((x) << 24) argument 66 #define PSKIP_ON_ALLOW_STOP_HI(x) ((x) << 16) argument 77 #define POWERMODE0(x) ((x) << 0) argument 80 #define POWERMODE1(x) ((x) << 8) argument 83 #define POWERMODE2(x) ((x) << 16) argument 86 #define POWERMODE3(x) ((x) << 24) argument [all …]
|
/linux-4.1.27/arch/arm/include/asm/ |
D | opcodes.h | 27 #define ___asm_opcode_swab32(x) ( \ argument 33 #define ___asm_opcode_swab16(x) ( \ argument 37 #define ___asm_opcode_swahb32(x) ( \ argument 41 #define ___asm_opcode_swahw32(x) ( \ argument 45 #define ___asm_opcode_identity32(x) ((x) & 0xFFFFFFFF) argument 46 #define ___asm_opcode_identity16(x) ((x) & 0xFFFF) argument 79 #define ___opcode_swab32(x) ___asm_opcode_swab32(x) argument 80 #define ___opcode_swab16(x) ___asm_opcode_swab16(x) argument 81 #define ___opcode_swahb32(x) ___asm_opcode_swahb32(x) argument 82 #define ___opcode_swahw32(x) ___asm_opcode_swahw32(x) argument [all …]
|
D | pgtable-3level-types.h | 41 #define pte_val(x) ((x).pte) argument 42 #define pmd_val(x) ((x).pmd) argument 43 #define pgd_val(x) ((x).pgd) argument 44 #define pgprot_val(x) ((x).pgprot) argument 46 #define __pte(x) ((pte_t) { (x) } ) argument 47 #define __pmd(x) ((pmd_t) { (x) } ) argument 48 #define __pgd(x) ((pgd_t) { (x) } ) argument 49 #define __pgprot(x) ((pgprot_t) { (x) } ) argument 58 #define pte_val(x) (x) argument 59 #define pmd_val(x) (x) argument [all …]
|
D | pgtable-2level-types.h | 38 #define pte_val(x) ((x).pte) argument 39 #define pmd_val(x) ((x).pmd) argument 40 #define pgd_val(x) ((x).pgd[0]) argument 41 #define pgprot_val(x) ((x).pgprot) argument 43 #define __pte(x) ((pte_t) { (x) } ) argument 44 #define __pmd(x) ((pmd_t) { (x) } ) argument 45 #define __pgprot(x) ((pgprot_t) { (x) } ) argument 56 #define pte_val(x) (x) argument 57 #define pmd_val(x) (x) argument 58 #define pgd_val(x) ((x)[0]) argument [all …]
|
D | memory.h | 31 #define UL(x) _AC(x, UL) argument 212 #define __pv_add_carry_stub(x, y) \ argument 223 static inline phys_addr_t __virt_to_phys(unsigned long x) in __virt_to_phys() 236 static inline unsigned long __phys_to_virt(phys_addr_t x) in __phys_to_virt() 255 static inline phys_addr_t __virt_to_phys(unsigned long x) in __virt_to_phys() 260 static inline unsigned long __phys_to_virt(phys_addr_t x) in __phys_to_virt() 278 static inline phys_addr_t virt_to_phys(const volatile void *x) in virt_to_phys() 284 static inline void *phys_to_virt(phys_addr_t x) in phys_to_virt() 292 #define __pa(x) __virt_to_phys((unsigned long)(x)) argument 293 #define __va(x) ((void *)__phys_to_virt((phys_addr_t)(x))) argument [all …]
|
D | uaccess.h | 161 #define __get_user_check(x, p) \ argument 199 #define get_user(x, p) \ argument 219 #define __put_user_check(x, p) \ argument 245 #define put_user(x, p) \ argument 267 #define get_user(x, p) __get_user(x, p) argument 268 #define put_user(x, p) __put_user(x, p) argument 286 #define __get_user(x, ptr) \ argument 293 #define __get_user_error(x, ptr, err) \ argument 299 #define __get_user_err(x, ptr, err) \ argument 314 #define __get_user_asm_byte(x, addr, err) \ argument [all …]
|
D | barrier.h | 21 #define isb(x) __asm__ __volatile__ ("mcr p15, 0, %0, c7, c5, 4" \ argument 23 #define dsb(x) __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \ argument 25 #define dmb(x) __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 5" \ argument 28 #define isb(x) __asm__ __volatile__ ("mcr p15, 0, %0, c7, c5, 4" \ argument 30 #define dsb(x) __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \ argument 32 #define dmb(x) __asm__ __volatile__ ("" : : : "memory") argument 34 #define isb(x) __asm__ __volatile__ ("" : : : "memory") argument 35 #define dsb(x) __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \ argument 37 #define dmb(x) __asm__ __volatile__ ("" : : : "memory") argument
|
D | page-nommu.h | 37 #define pte_val(x) (x) argument 38 #define pmd_val(x) (x) argument 39 #define pgd_val(x) ((x)[0]) argument 40 #define pgprot_val(x) (x) argument 42 #define __pte(x) (x) argument 43 #define __pmd(x) (x) argument 44 #define __pgprot(x) (x) argument
|
/linux-4.1.27/arch/cris/include/arch-v10/arch/ |
D | io.h | 39 #define CRIS_LED_NETWORK_SET_G(x) argument 40 #define CRIS_LED_NETWORK_SET_R(x) argument 41 #define CRIS_LED_ACTIVE_SET_G(x) argument 42 #define CRIS_LED_ACTIVE_SET_R(x) argument 43 #define CRIS_LED_DISK_WRITE(x) argument 44 #define CRIS_LED_DISK_READ(x) argument 48 #define CRIS_LED_BIT_SET(x) argument 49 #define CRIS_LED_BIT_CLR(x) argument 58 #define CRIS_LED_NETWORK_SET(x) argument 61 #define CRIS_LED_NETWORK_SET(x) \ argument [all …]
|
/linux-4.1.27/include/uapi/linux/byteorder/ |
D | big_endian.h | 14 #define __constant_htonl(x) ((__force __be32)(__u32)(x)) argument 15 #define __constant_ntohl(x) ((__force __u32)(__be32)(x)) argument 16 #define __constant_htons(x) ((__force __be16)(__u16)(x)) argument 17 #define __constant_ntohs(x) ((__force __u16)(__be16)(x)) argument 18 #define __constant_cpu_to_le64(x) ((__force __le64)___constant_swab64((x))) argument 19 #define __constant_le64_to_cpu(x) ___constant_swab64((__force __u64)(__le64)(x)) argument 20 #define __constant_cpu_to_le32(x) ((__force __le32)___constant_swab32((x))) argument 21 #define __constant_le32_to_cpu(x) ___constant_swab32((__force __u32)(__le32)(x)) argument 22 #define __constant_cpu_to_le16(x) ((__force __le16)___constant_swab16((x))) argument 23 #define __constant_le16_to_cpu(x) ___constant_swab16((__force __u16)(__le16)(x)) argument [all …]
|
D | little_endian.h | 14 #define __constant_htonl(x) ((__force __be32)___constant_swab32((x))) argument 15 #define __constant_ntohl(x) ___constant_swab32((__force __be32)(x)) argument 16 #define __constant_htons(x) ((__force __be16)___constant_swab16((x))) argument 17 #define __constant_ntohs(x) ___constant_swab16((__force __be16)(x)) argument 18 #define __constant_cpu_to_le64(x) ((__force __le64)(__u64)(x)) argument 19 #define __constant_le64_to_cpu(x) ((__force __u64)(__le64)(x)) argument 20 #define __constant_cpu_to_le32(x) ((__force __le32)(__u32)(x)) argument 21 #define __constant_le32_to_cpu(x) ((__force __u32)(__le32)(x)) argument 22 #define __constant_cpu_to_le16(x) ((__force __le16)(__u16)(x)) argument 23 #define __constant_le16_to_cpu(x) ((__force __u16)(__le16)(x)) argument [all …]
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge_defs.h | 10 #define V_EC_CREDITS(x) ((x) << S_EC_CREDITS) argument 11 #define G_EC_CREDITS(x) (((x) >> S_EC_CREDITS) & M_EC_CREDITS) argument 14 #define V_EC_GTS(x) ((x) << S_EC_GTS) argument 19 #define V_EC_INDEX(x) ((x) << S_EC_INDEX) argument 20 #define G_EC_INDEX(x) (((x) >> S_EC_INDEX) & M_EC_INDEX) argument 24 #define V_EC_SIZE(x) ((x) << S_EC_SIZE) argument 25 #define G_EC_SIZE(x) (((x) >> S_EC_SIZE) & M_EC_SIZE) argument 29 #define V_EC_BASE_LO(x) ((x) << S_EC_BASE_LO) argument 30 #define G_EC_BASE_LO(x) (((x) >> S_EC_BASE_LO) & M_EC_BASE_LO) argument 34 #define V_EC_BASE_HI(x) ((x) << S_EC_BASE_HI) argument [all …]
|
D | regs.h | 4 #define V_CONGMODE(x) ((x) << S_CONGMODE) argument 8 #define V_TNLFLMODE(x) ((x) << S_TNLFLMODE) argument 12 #define V_FATLPERREN(x) ((x) << S_FATLPERREN) argument 16 #define V_DROPPKT(x) ((x) << S_DROPPKT) argument 20 #define V_EGRGENCTRL(x) ((x) << S_EGRGENCTRL) argument 25 #define V_USERSPACESIZE(x) ((x) << S_USERSPACESIZE) argument 29 #define V_HOSTPAGESIZE(x) ((x) << S_HOSTPAGESIZE) argument 32 #define V_FLMODE(x) ((x) << S_FLMODE) argument 37 #define V_PKTSHIFT(x) ((x) << S_PKTSHIFT) argument 40 #define V_ONEINTMULTQ(x) ((x) << S_ONEINTMULTQ) argument [all …]
|
D | t3_cpl.h | 190 #define V_OPCODE(x) ((x) << S_OPCODE) argument 191 #define G_OPCODE(x) (((x) >> S_OPCODE) & 0xFF) argument 192 #define G_TID(x) ((x) & 0xFFFFFF) argument 195 #define G_QNUM(x) (((x) >> S_QNUM) & 0xFFFF) argument 199 #define G_HASHTYPE(x) (((x) >> S_HASHTYPE) & M_HASHTYPE) argument 247 #define V_WR_SGE_CREDITS(x) ((x) << S_WR_SGE_CREDITS) argument 248 #define G_WR_SGE_CREDITS(x) (((x) >> S_WR_SGE_CREDITS) & M_WR_SGE_CREDITS) argument 252 #define V_WR_SGLSFLT(x) ((x) << S_WR_SGLSFLT) argument 253 #define G_WR_SGLSFLT(x) (((x) >> S_WR_SGLSFLT) & M_WR_SGLSFLT) argument 257 #define V_WR_BCNTLFLT(x) ((x) << S_WR_BCNTLFLT) argument [all …]
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/ |
D | regs.h | 45 #define V_CMDQ0_ENABLE(x) ((x) << S_CMDQ0_ENABLE) argument 49 #define V_CMDQ1_ENABLE(x) ((x) << S_CMDQ1_ENABLE) argument 53 #define V_FL0_ENABLE(x) ((x) << S_FL0_ENABLE) argument 57 #define V_FL1_ENABLE(x) ((x) << S_FL1_ENABLE) argument 61 #define V_CPL_ENABLE(x) ((x) << S_CPL_ENABLE) argument 65 #define V_RESPONSE_QUEUE_ENABLE(x) ((x) << S_RESPONSE_QUEUE_ENABLE) argument 70 #define V_CMDQ_PRIORITY(x) ((x) << S_CMDQ_PRIORITY) argument 71 #define G_CMDQ_PRIORITY(x) (((x) >> S_CMDQ_PRIORITY) & M_CMDQ_PRIORITY) argument 74 #define V_DISABLE_CMDQ0_GTS(x) ((x) << S_DISABLE_CMDQ0_GTS) argument 78 #define V_DISABLE_CMDQ1_GTS(x) ((x) << S_DISABLE_CMDQ1_GTS) argument [all …]
|
D | fpga_defs.h | 55 #define V_MI0_CLK_DIV(x) ((x) << S_MI0_CLK_DIV) argument 56 #define G_MI0_CLK_DIV(x) (((x) >> S_MI0_CLK_DIV) & M_MI0_CLK_DIV) argument 60 #define V_MI0_CLK_CNT(x) ((x) << S_MI0_CLK_CNT) argument 61 #define G_MI0_CLK_CNT(x) (((x) >> S_MI0_CLK_CNT) & M_MI0_CLK_CNT) argument 66 #define V_MI0_CSR_POLL(x) ((x) << S_MI0_CSR_POLL) argument 70 #define V_MI0_PREAMBLE(x) ((x) << S_MI0_PREAMBLE) argument 74 #define V_MI0_INTR_ENABLE(x) ((x) << S_MI0_INTR_ENABLE) argument 78 #define V_MI0_BUSY(x) ((x) << S_MI0_BUSY) argument 82 #define V_MI0_MDIO(x) ((x) << S_MI0_MDIO) argument 89 #define V_MI0_PHY_REG_ADDR(x) ((x) << S_MI0_PHY_REG_ADDR) argument [all …]
|
D | elmer0.h | 58 #define V_MI1_MDI_ENABLE(x) ((x) << S_MI1_MDI_ENABLE) argument 62 #define V_MI1_MDI_INVERT(x) ((x) << S_MI1_MDI_INVERT) argument 66 #define V_MI1_PREAMBLE_ENABLE(x) ((x) << S_MI1_PREAMBLE_ENABLE) argument 71 #define V_MI1_SOF(x) ((x) << S_MI1_SOF) argument 72 #define G_MI1_SOF(x) (((x) >> S_MI1_SOF) & M_MI1_SOF) argument 76 #define V_MI1_CLK_DIV(x) ((x) << S_MI1_CLK_DIV) argument 77 #define G_MI1_CLK_DIV(x) (((x) >> S_MI1_CLK_DIV) & M_MI1_CLK_DIV) argument 83 #define V_MI1_REG_ADDR(x) ((x) << S_MI1_REG_ADDR) argument 84 #define G_MI1_REG_ADDR(x) (((x) >> S_MI1_REG_ADDR) & M_MI1_REG_ADDR) argument 88 #define V_MI1_PHY_ADDR(x) ((x) << S_MI1_PHY_ADDR) argument [all …]
|
/linux-4.1.27/arch/mips/include/asm/sibyte/ |
D | sb1250_genbus.h | 58 #define V_IO_WIDTH_SEL(x) _SB_MAKEVALUE(x, S_IO_WIDTH_SEL) argument 59 #define G_IO_WIDTH_SEL(x) _SB_GETVALUE(x, S_IO_WIDTH_SEL, M_IO_WIDTH_SEL) argument 75 #define V_IO_TIMEOUT(x) _SB_MAKEVALUE(x, S_IO_TIMEOUT) argument 76 #define G_IO_TIMEOUT(x) _SB_GETVALUE(x, S_IO_TIMEOUT, M_IO_TIMEOUT) argument 84 #define V_IO_MULT_SIZE(x) _SB_MAKEVALUE(x, S_IO_MULT_SIZE) argument 85 #define G_IO_MULT_SIZE(x) _SB_GETVALUE(x, S_IO_MULT_SIZE, M_IO_MULT_SIZE) argument 95 #define V_IO_START_ADDR(x) _SB_MAKEVALUE(x, S_IO_START_ADDR) argument 96 #define G_IO_START_ADDR(x) _SB_GETVALUE(x, S_IO_START_ADDR, M_IO_START_ADDR) argument 109 #define V_IO_ALE_WIDTH(x) _SB_MAKEVALUE(x, S_IO_ALE_WIDTH) argument 110 #define G_IO_ALE_WIDTH(x) _SB_GETVALUE(x, S_IO_ALE_WIDTH, M_IO_ALE_WIDTH) argument [all …]
|
D | bcm1480_mc.h | 44 #define V_BCM1480_MC_INTLV0(x) _SB_MAKEVALUE(x, S_BCM1480_MC_INTLV0) argument 45 #define G_BCM1480_MC_INTLV0(x) _SB_GETVALUE(x, S_BCM1480_MC_INTLV0, M_BCM1480_MC_INTLV0) argument 50 #define V_BCM1480_MC_INTLV1(x) _SB_MAKEVALUE(x, S_BCM1480_MC_INTLV1) argument 51 #define G_BCM1480_MC_INTLV1(x) _SB_GETVALUE(x, S_BCM1480_MC_INTLV1, M_BCM1480_MC_INTLV1) argument 56 #define V_BCM1480_MC_INTLV2(x) _SB_MAKEVALUE(x, S_BCM1480_MC_INTLV2) argument 57 #define G_BCM1480_MC_INTLV2(x) _SB_GETVALUE(x, S_BCM1480_MC_INTLV2, M_BCM1480_MC_INTLV2) argument 62 #define V_BCM1480_MC_CS_MODE(x) _SB_MAKEVALUE(x, S_BCM1480_MC_CS_MODE) argument 63 #define G_BCM1480_MC_CS_MODE(x) _SB_GETVALUE(x, S_BCM1480_MC_CS_MODE, M_BCM1480_MC_CS_MODE) argument 85 #define V_BCM1480_MC_CS0_START(x) _SB_MAKEVALUE(x, S_BCM1480_MC_CS0_START) argument 86 #define G_BCM1480_MC_CS0_START(x) _SB_GETVALUE(x, S_BCM1480_MC_CS0_START, M_BCM1480_MC_CS0_STAR… argument [all …]
|
D | sb1250_mc.h | 47 #define V_MC_CHANNEL_SEL(x) _SB_MAKEVALUE(x, S_MC_CHANNEL_SEL) argument 48 #define G_MC_CHANNEL_SEL(x) _SB_GETVALUE(x, S_MC_CHANNEL_SEL, M_MC_CHANNEL_SEL) argument 52 #define V_MC_BANK0_MAP(x) _SB_MAKEVALUE(x, S_MC_BANK0_MAP) argument 53 #define G_MC_BANK0_MAP(x) _SB_GETVALUE(x, S_MC_BANK0_MAP, M_MC_BANK0_MAP) argument 60 #define V_MC_BANK1_MAP(x) _SB_MAKEVALUE(x, S_MC_BANK1_MAP) argument 61 #define G_MC_BANK1_MAP(x) _SB_GETVALUE(x, S_MC_BANK1_MAP, M_MC_BANK1_MAP) argument 68 #define V_MC_BANK2_MAP(x) _SB_MAKEVALUE(x, S_MC_BANK2_MAP) argument 69 #define G_MC_BANK2_MAP(x) _SB_GETVALUE(x, S_MC_BANK2_MAP, M_MC_BANK2_MAP) argument 76 #define V_MC_BANK3_MAP(x) _SB_MAKEVALUE(x, S_MC_BANK3_MAP) argument 77 #define G_MC_BANK3_MAP(x) _SB_GETVALUE(x, S_MC_BANK3_MAP, M_MC_BANK3_MAP) argument [all …]
|
D | sb1250_ldt.h | 85 #define V_LDT_DEVICEID_VENDOR(x) _SB_MAKEVALUE_32(x, S_LDT_DEVICEID_VENDOR) argument 86 #define G_LDT_DEVICEID_VENDOR(x) _SB_GETVALUE_32(x, S_LDT_DEVICEID_VENDOR, M_LDT_DEVICEID_VENDOR) argument 90 #define V_LDT_DEVICEID_DEVICEID(x) _SB_MAKEVALUE_32(x, S_LDT_DEVICEID_DEVICEID) argument 91 #define G_LDT_DEVICEID_DEVICEID(x) _SB_GETVALUE_32(x, S_LDT_DEVICEID_DEVICEID, M_LDT_DEVICEID_DEVIC… argument 115 #define V_LDT_CLASSREV_REV(x) _SB_MAKEVALUE_32(x, S_LDT_CLASSREV_REV) argument 116 #define G_LDT_CLASSREV_REV(x) _SB_GETVALUE_32(x, S_LDT_CLASSREV_REV, M_LDT_CLASSREV_REV) argument 120 #define V_LDT_CLASSREV_CLASS(x) _SB_MAKEVALUE_32(x, S_LDT_CLASSREV_CLASS) argument 121 #define G_LDT_CLASSREV_CLASS(x) _SB_GETVALUE_32(x, S_LDT_CLASSREV_CLASS, M_LDT_CLASSREV_CLASS) argument 132 #define V_LDT_DEVHDR_CLINESZ(x) _SB_MAKEVALUE_32(x, S_LDT_DEVHDR_CLINESZ) argument 133 #define G_LDT_DEVHDR_CLINESZ(x) _SB_GETVALUE_32(x, S_LDT_DEVHDR_CLINESZ, M_LDT_DEVHDR_CLINESZ) argument [all …]
|
D | bcm1480_l2c.h | 44 #define V_BCM1480_L2C_MGMT_INDEX(x) _SB_MAKEVALUE(x, S_BCM1480_L2C_MGMT_INDEX) argument 45 #define G_BCM1480_L2C_MGMT_INDEX(x) _SB_GETVALUE(x, S_BCM1480_L2C_MGMT_INDEX, M_BCM1480_L2C_MGM… argument 49 #define V_BCM1480_L2C_MGMT_WAY(x) _SB_MAKEVALUE(x, S_BCM1480_L2C_MGMT_WAY) argument 50 #define G_BCM1480_L2C_MGMT_WAY(x) _SB_GETVALUE(x, S_BCM1480_L2C_MGMT_WAY, M_BCM1480_L2C_MGMT_WA… argument 57 #define V_BCM1480_L2C_MGMT_ECC_DIAG(x) _SB_MAKEVALUE(x, S_BCM1480_L2C_MGMT_ECC_DIAG) argument 58 #define G_BCM1480_L2C_MGMT_ECC_DIAG(x) _SB_GETVALUE(x, S_BCM1480_L2C_MGMT_ECC_DIAG, M_BCM1480_L… argument 75 #define V_BCM1480_L2C_TAG_INDEX(x) _SB_MAKEVALUE(x, S_BCM1480_L2C_TAG_INDEX) argument 76 #define G_BCM1480_L2C_TAG_INDEX(x) _SB_GETVALUE(x, S_BCM1480_L2C_TAG_INDEX, M_BCM1480_L2C_TAG_I… argument 81 #define V_BCM1480_L2C_TAG_TAG(x) _SB_MAKEVALUE(x, S_BCM1480_L2C_TAG_TAG) argument 82 #define G_BCM1480_L2C_TAG_TAG(x) _SB_GETVALUE(x, S_BCM1480_L2C_TAG_TAG, M_BCM1480_L2C_TAG_TAG) argument [all …]
|
D | sb1250_scd.h | 49 #define V_SYS_REVISION(x) _SB_MAKEVALUE(x, S_SYS_REVISION) argument 50 #define G_SYS_REVISION(x) _SB_GETVALUE(x, S_SYS_REVISION, M_SYS_REVISION) argument 98 #define V_SYS_L2C_SIZE(x) _SB_MAKEVALUE(x, S_SYS_L2C_SIZE) argument 99 #define G_SYS_L2C_SIZE(x) _SB_GETVALUE(x, S_SYS_L2C_SIZE, M_SYS_L2C_SIZE) argument 114 #define V_SYS_NUM_CPUS(x) _SB_MAKEVALUE(x, S_SYS_NUM_CPUS) argument 115 #define G_SYS_NUM_CPUS(x) _SB_GETVALUE(x, S_SYS_NUM_CPUS, M_SYS_NUM_CPUS) argument 121 #define V_SYS_PART(x) _SB_MAKEVALUE(x, S_SYS_PART) argument 122 #define G_SYS_PART(x) _SB_GETVALUE(x, S_SYS_PART, M_SYS_PART) argument 135 #define V_SYS_SOC_TYPE(x) _SB_MAKEVALUE(x, S_SYS_SOC_TYPE) argument 136 #define G_SYS_SOC_TYPE(x) _SB_GETVALUE(x, S_SYS_SOC_TYPE, M_SYS_SOC_TYPE) argument [all …]
|
D | sb1250_mac.h | 59 #define V_MAC_TX_PAUSE_CNT(x) _SB_MAKEVALUE(x, S_MAC_TX_PAUSE) argument 101 #define V_MAC_SPEED_SEL(x) _SB_MAKEVALUE(x, S_MAC_SPEED_SEL) argument 102 #define G_MAC_SPEED_SEL(x) _SB_GETVALUE(x, S_MAC_SPEED_SEL, M_MAC_SPEED_SEL) argument 121 #define V_MAC_BYPASS_CFG(x) _SB_MAKEVALUE(x, S_MAC_BYPASS_CFG) argument 122 #define G_MAC_BYPASS_CFG(x) _SB_GETVALUE(x, S_MAC_BYPASS_CFG, M_MAC_BYPASS_CFG) argument 142 #define V_MAC_BYPASS_IFG(x) _SB_MAKEVALUE(x, S_MAC_BYPASS_IFG) argument 143 #define G_MAC_BYPASS_IFG(x) _SB_GETVALUE(x, S_MAC_BYPASS_IFG, M_MAC_BYPASS_IFG) argument 157 #define V_MAC_FC_CMD(x) _SB_MAKEVALUE(x, S_MAC_FC_CMD) argument 158 #define G_MAC_FC_CMD(x) _SB_GETVALUE(x, S_MAC_FC_CMD, M_MAC_FC_CMD) argument 162 #define V_MAC_RX_CH_SEL(x) _SB_MAKEVALUE(x, S_MAC_RX_CH_SEL) argument [all …]
|
D | sb1250_l2c.h | 47 #define V_L2C_TAG_INDEX(x) _SB_MAKEVALUE(x, S_L2C_TAG_INDEX) argument 48 #define G_L2C_TAG_INDEX(x) _SB_GETVALUE(x, S_L2C_TAG_INDEX, M_L2C_TAG_INDEX) argument 52 #define V_L2C_TAG_TAG(x) _SB_MAKEVALUE(x, S_L2C_TAG_TAG) argument 53 #define G_L2C_TAG_TAG(x) _SB_GETVALUE(x, S_L2C_TAG_TAG, M_L2C_TAG_TAG) argument 57 #define V_L2C_TAG_ECC(x) _SB_MAKEVALUE(x, S_L2C_TAG_ECC) argument 58 #define G_L2C_TAG_ECC(x) _SB_GETVALUE(x, S_L2C_TAG_ECC, M_L2C_TAG_ECC) argument 62 #define V_L2C_TAG_WAY(x) _SB_MAKEVALUE(x, S_L2C_TAG_WAY) argument 63 #define G_L2C_TAG_WAY(x) _SB_GETVALUE(x, S_L2C_TAG_WAY, M_L2C_TAG_WAY) argument 74 #define V_L2C_MGMT_INDEX(x) _SB_MAKEVALUE(x, S_L2C_MGMT_INDEX) argument 75 #define G_L2C_MGMT_INDEX(x) _SB_GETVALUE(x, S_L2C_MGMT_INDEX, M_L2C_MGMT_INDEX) argument [all …]
|
D | bcm1480_scd.h | 103 #define V_BCM1480_SYS_PLL_DIV(x) _SB_MAKEVALUE(x, S_BCM1480_SYS_PLL_DIV) argument 104 #define G_BCM1480_SYS_PLL_DIV(x) _SB_GETVALUE(x, S_BCM1480_SYS_PLL_DIV, M_BCM1480_SYS_PLL_DIV) argument 108 #define V_BCM1480_SYS_SW_DIV(x) _SB_MAKEVALUE(x, S_BCM1480_SYS_SW_DIV) argument 109 #define G_BCM1480_SYS_SW_DIV(x) _SB_GETVALUE(x, S_BCM1480_SYS_SW_DIV, M_BCM1480_SYS_SW_DIV) argument 116 #define V_BCM1480_SYS_BOOT_MODE(x) _SB_MAKEVALUE(x, S_BCM1480_SYS_BOOT_MODE) argument 117 #define G_BCM1480_SYS_BOOT_MODE(x) _SB_GETVALUE(x, S_BCM1480_SYS_BOOT_MODE, M_BCM1480_SYS_BOOT_… argument 133 #define V_BCM1480_SYS_CONFIG(x) _SB_MAKEVALUE(x, S_BCM1480_SYS_CONFIG) argument 134 #define G_BCM1480_SYS_CONFIG(x) _SB_GETVALUE(x, S_BCM1480_SYS_CONFIG, M_BCM1480_SYS_CONFIG) argument 140 #define V_BCM1480_SYS_NODEID(x) _SB_MAKEVALUE(x, S_BCM1480_SYS_NODEID) argument 141 #define G_BCM1480_SYS_NODEID(x) _SB_GETVALUE(x, S_BCM1480_SYS_NODEID, M_BCM1480_SYS_NODEID) argument [all …]
|
D | sb1250_dma.h | 61 #define V_DMA_DESC_TYPE(x) _SB_MAKEVALUE(x, S_DMA_DESC_TYPE) argument 62 #define G_DMA_DESC_TYPE(x) _SB_GETVALUE(x, S_DMA_DESC_TYPE, M_DMA_DESC_TYPE) argument 80 #define V_DMA_INT_PKTCNT(x) _SB_MAKEVALUE(x, S_DMA_INT_PKTCNT) argument 81 #define G_DMA_INT_PKTCNT(x) _SB_GETVALUE(x, S_DMA_INT_PKTCNT, M_DMA_INT_PKTCNT) argument 85 #define V_DMA_RINGSZ(x) _SB_MAKEVALUE(x, S_DMA_RINGSZ) argument 86 #define G_DMA_RINGSZ(x) _SB_GETVALUE(x, S_DMA_RINGSZ, M_DMA_RINGSZ) argument 90 #define V_DMA_HIGH_WATERMARK(x) _SB_MAKEVALUE(x, S_DMA_HIGH_WATERMARK) argument 91 #define G_DMA_HIGH_WATERMARK(x) _SB_GETVALUE(x, S_DMA_HIGH_WATERMARK, M_DMA_HIGH_WATERMARK) argument 95 #define V_DMA_LOW_WATERMARK(x) _SB_MAKEVALUE(x, S_DMA_LOW_WATERMARK) argument 96 #define G_DMA_LOW_WATERMARK(x) _SB_GETVALUE(x, S_DMA_LOW_WATERMARK, M_DMA_LOW_WATERMARK) argument [all …]
|
D | sb1250_smbus.h | 45 #define V_SMB_FREQ_DIV(x) _SB_MAKEVALUE(x, S_SMB_FREQ_DIV) argument 53 #define V_SMB_CMD(x) _SB_MAKEVALUE(x, S_SMB_CMD) argument 64 #define V_SMB_DATA_OUT(x) _SB_MAKEVALUE(x, S_SMB_DATA_OUT) argument 82 #define V_SMB_SCL_IN(x) _SB_MAKEVALUE(x, S_SMB_SCL_IN) argument 83 #define G_SMB_SCL_IN(x) _SB_GETVALUE(x, S_SMB_SCL_IN, M_SMB_SCL_IN) argument 88 #define V_SMB_REF(x) _SB_MAKEVALUE(x, S_SMB_REF) argument 89 #define G_SMB_REF(x) _SB_GETVALUE(x, S_SMB_REF, M_SMB_REF) argument 93 #define V_SMB_DATA_IN(x) _SB_MAKEVALUE(x, S_SMB_DATA_IN) argument 94 #define G_SMB_DATA_IN(x) _SB_GETVALUE(x, S_SMB_DATA_IN, M_SMB_DATA_IN) argument 102 #define V_SMB_ADDR(x) _SB_MAKEVALUE(x, S_SMB_ADDR) argument [all …]
|
/linux-4.1.27/drivers/infiniband/hw/cxgb3/ |
D | tcb.h | 38 #define V_TCB_T_STATE(x) ((x) << S_TCB_T_STATE) argument 43 #define V_TCB_TIMER(x) ((x) << S_TCB_TIMER) argument 48 #define V_TCB_DACK_TIMER(x) ((x) << S_TCB_DACK_TIMER) argument 53 #define V_TCB_DEL_FLAG(x) ((x) << S_TCB_DEL_FLAG) argument 58 #define V_TCB_L2T_IX(x) ((x) << S_TCB_L2T_IX) argument 63 #define V_TCB_SMAC_SEL(x) ((x) << S_TCB_SMAC_SEL) argument 68 #define V_TCB_TOS(x) ((x) << S_TCB_TOS) argument 73 #define V_TCB_MAX_RT(x) ((x) << S_TCB_MAX_RT) argument 78 #define V_TCB_T_RXTSHIFT(x) ((x) << S_TCB_T_RXTSHIFT) argument 83 #define V_TCB_T_DUPACKS(x) ((x) << S_TCB_T_DUPACKS) argument [all …]
|
D | cxio_wr.h | 59 #define SEQ32_GE(x,y) (!( (((u32) (x)) - ((u32) (y))) & 0x80000000 )) argument 139 #define V_FW_RIWR_OP(x) ((x) << S_FW_RIWR_OP) argument 140 #define G_FW_RIWR_OP(x) ((((x) >> S_FW_RIWR_OP)) & M_FW_RIWR_OP) argument 144 #define V_FW_RIWR_SOPEOP(x) ((x) << S_FW_RIWR_SOPEOP) argument 148 #define V_FW_RIWR_FLAGS(x) ((x) << S_FW_RIWR_FLAGS) argument 149 #define G_FW_RIWR_FLAGS(x) ((((x) >> S_FW_RIWR_FLAGS)) & M_FW_RIWR_FLAGS) argument 152 #define V_FW_RIWR_TID(x) ((x) << S_FW_RIWR_TID) argument 155 #define V_FW_RIWR_LEN(x) ((x) << S_FW_RIWR_LEN) argument 158 #define V_FW_RIWR_GEN(x) ((x) << S_FW_RIWR_GEN) argument 204 #define V_FR_PAGE_COUNT(x) ((x) << S_FR_PAGE_COUNT) argument [all …]
|
/linux-4.1.27/arch/sh/include/mach-common/mach/ |
D | mangle-port.h | 27 # define ioswabb(x) (x) argument 28 # define __mem_ioswabb(x) (x) argument 29 # define ioswabw(x) le16_to_cpu(x) argument 30 # define __mem_ioswabw(x) (x) argument 31 # define ioswabl(x) le32_to_cpu(x) argument 32 # define __mem_ioswabl(x) (x) argument 33 # define ioswabq(x) le64_to_cpu(x) argument 34 # define __mem_ioswabq(x) (x) argument 38 # define ioswabb(x) (x) argument 39 # define __mem_ioswabb(x) (x) argument [all …]
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
D | ql4_dbg.h | 20 #define DEBUG(x) do {x;} while (0); argument 22 #define DEBUG(x) do {} while (0); argument 26 #define DEBUG2(x) do {if(ql4xextended_error_logging == 2) x;} while (0); argument 27 #define DEBUG2_3(x) do {x;} while (0); argument 29 #define DEBUG2(x) do {} while (0); argument 33 #define DEBUG3(x) do {if(ql4xextended_error_logging == 3) x;} while (0); argument 35 #define DEBUG3(x) do {} while (0); argument 37 #define DEBUG2_3(x) do {} while (0); argument 41 #define DEBUG4(x) do {x;} while (0); argument 43 #define DEBUG4(x) do {} while (0); argument [all …]
|
/linux-4.1.27/drivers/video/fbdev/exynos/ |
D | exynos_mipi_dsi_regs.h | 48 #define DSIM_STOP_STATE_DAT(x) (((x) & 0xf) << 0) argument 57 #define DSIM_LPDR_TOUT_SHIFT(x) ((x) << 0) argument 58 #define DSIM_BTA_TOUT_SHIFT(x) ((x) << 16) argument 61 #define DSIM_LANE_ESC_CLKEN(x) (((x) & 0x1f) << 19) argument 62 #define DSIM_BYTE_CLKEN_SHIFT(x) ((x) << 24) argument 63 #define DSIM_BYTE_CLK_SRC_SHIFT(x) ((x) << 25) argument 64 #define DSIM_PLL_BYPASS_SHIFT(x) ((x) << 27) argument 65 #define DSIM_ESC_CLKEN_SHIFT(x) ((x) << 28) argument 66 #define DSIM_TX_REQUEST_HSCLK_SHIFT(x) ((x) << 31) argument 69 #define DSIM_LANE_ENx(x) (((x) & 0x1f) << 0) argument [all …]
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_regs.h | 71 #define QID_V(x) ((x) << QID_S) argument 74 #define DBPRIO_V(x) ((x) << DBPRIO_S) argument 78 #define PIDX_V(x) ((x) << PIDX_S) argument 83 #define DBTYPE_V(x) ((x) << DBTYPE_S) argument 88 #define PIDX_T5_V(x) ((x) << PIDX_T5_S) argument 89 #define PIDX_T5_G(x) (((x) >> PIDX_T5_S) & PIDX_T5_M) argument 94 #define INGRESSQID_V(x) ((x) << INGRESSQID_S) argument 97 #define TIMERREG_V(x) ((x) << TIMERREG_S) argument 100 #define SEINTARM_V(x) ((x) << SEINTARM_S) argument 104 #define CIDXINC_V(x) ((x) << CIDXINC_S) argument [all …]
|
D | t4fw_api.h | 115 #define FW_WR_OP_V(x) ((x) << FW_WR_OP_S) argument 116 #define FW_WR_OP_G(x) (((x) >> FW_WR_OP_S) & FW_WR_OP_M) argument 120 #define FW_WR_ATOMIC_V(x) ((x) << FW_WR_ATOMIC_S) argument 126 #define FW_WR_FLUSH_V(x) ((x) << FW_WR_FLUSH_S) argument 130 #define FW_WR_COMPL_V(x) ((x) << FW_WR_COMPL_S) argument 136 #define FW_WR_IMMDLEN_V(x) ((x) << FW_WR_IMMDLEN_S) argument 140 #define FW_WR_EQUIQ_V(x) ((x) << FW_WR_EQUIQ_S) argument 145 #define FW_WR_EQUEQ_V(x) ((x) << FW_WR_EQUEQ_S) argument 150 #define FW_WR_FLOWID_V(x) ((x) << FW_WR_FLOWID_S) argument 154 #define FW_WR_LEN16_V(x) ((x) << FW_WR_LEN16_S) argument [all …]
|
D | t4_msg.h | 171 #define CPL_OPCODE_V(x) ((x) << CPL_OPCODE_S) argument 172 #define CPL_OPCODE_G(x) (((x) >> CPL_OPCODE_S) & 0xFF) argument 173 #define TID_G(x) ((x) & 0xFFFFFF) argument 186 #define TID_TID_G(x) (((x) >> TID_TID_S) & TID_TID_M) argument 190 #define TID_QID_V(x) ((x) << TID_QID_S) argument 191 #define TID_QID_G(x) (((x) >> TID_QID_S) & TID_QID_M) argument 222 #define WR_OP_V(x) ((__u64)(x) << WR_OP_S) argument 228 #define TX_CHAN_V(x) ((x) << TX_CHAN_S) argument 231 #define ULP_MODE_V(x) ((x) << ULP_MODE_S) argument 235 #define RCV_BUFSIZ_V(x) ((x) << RCV_BUFSIZ_S) argument [all …]
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/ |
D | regs.h | 41 #define IXGBE_VTEITR(x) (0x00820 + (4 * (x))) argument 42 #define IXGBE_VTIVAR(x) (0x00120 + (4 * (x))) argument 44 #define IXGBE_VTRSCINT(x) (0x00180 + (4 * (x))) argument 45 #define IXGBE_VFRDBAL(x) (0x01000 + (0x40 * (x))) argument 46 #define IXGBE_VFRDBAH(x) (0x01004 + (0x40 * (x))) argument 47 #define IXGBE_VFRDLEN(x) (0x01008 + (0x40 * (x))) argument 48 #define IXGBE_VFRDH(x) (0x01010 + (0x40 * (x))) argument 49 #define IXGBE_VFRDT(x) (0x01018 + (0x40 * (x))) argument 50 #define IXGBE_VFRXDCTL(x) (0x01028 + (0x40 * (x))) argument 51 #define IXGBE_VFSRRCTL(x) (0x01014 + (0x40 * (x))) argument [all …]
|
/linux-4.1.27/include/asm-generic/ |
D | int-ll64.h | 27 #define S8_C(x) x argument 28 #define U8_C(x) x ## U argument 29 #define S16_C(x) x argument 30 #define U16_C(x) x ## U argument 31 #define S32_C(x) x argument 32 #define U32_C(x) x ## U argument 33 #define S64_C(x) x ## LL argument 34 #define U64_C(x) x ## ULL argument 38 #define S8_C(x) x argument 39 #define U8_C(x) x argument [all …]
|
D | page.h | 53 #define pte_val(x) ((x).pte) argument 54 #define pmd_val(x) ((&x)->pmd[0]) argument 55 #define pgd_val(x) ((x).pgd) argument 56 #define pgprot_val(x) ((x).pgprot) argument 58 #define __pte(x) ((pte_t) { (x) } ) argument 59 #define __pmd(x) ((pmd_t) { (x) } ) argument 60 #define __pgd(x) ((pgd_t) { (x) } ) argument 61 #define __pgprot(x) ((pgprot_t) { (x) } ) argument 80 #define __va(x) ((void *)((unsigned long) (x))) argument 81 #define __pa(x) ((unsigned long) (x)) argument
|
/linux-4.1.27/drivers/edac/ |
D | mce_amd.h | 8 #define EC(x) ((x) & 0xffff) argument 9 #define XEC(x, mask) (((x) >> 16) & mask) argument 11 #define LOW_SYNDROME(x) (((x) >> 15) & 0xff) argument 12 #define HIGH_SYNDROME(x) (((x) >> 24) & 0xff) argument 14 #define TLB_ERROR(x) (((x) & 0xFFF0) == 0x0010) argument 15 #define MEM_ERROR(x) (((x) & 0xFF00) == 0x0100) argument 16 #define BUS_ERROR(x) (((x) & 0xF800) == 0x0800) argument 17 #define INT_ERROR(x) (((x) & 0xF4FF) == 0x0400) argument 19 #define TT(x) (((x) >> 2) & 0x3) argument 20 #define TT_MSG(x) tt_msgs[TT(x)] argument [all …]
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
D | ni_tio_internal.h | 24 #define NITIO_AUTO_INC_REG(x) (NITIO_G0_AUTO_INC + (x)) argument 26 #define NITIO_CMD_REG(x) (NITIO_G0_CMD + (x)) argument 31 #define GI_CNT_DIR(x) (((x) & 0x3) << 5) argument 42 #define NITIO_HW_SAVE_REG(x) (NITIO_G0_HW_SAVE + (x)) argument 43 #define NITIO_SW_SAVE_REG(x) (NITIO_G0_SW_SAVE + (x)) argument 44 #define NITIO_MODE_REG(x) (NITIO_G0_MODE + (x)) argument 74 #define NITIO_LOADA_REG(x) (NITIO_G0_LOADA + (x)) argument 75 #define NITIO_LOADB_REG(x) (NITIO_G0_LOADB + (x)) argument 76 #define NITIO_INPUT_SEL_REG(x) (NITIO_G0_INPUT_SEL + (x)) argument 79 #define GI_BITS_TO_SRC(x) (((x) >> 2) & 0x1f) argument [all …]
|
/linux-4.1.27/fs/ntfs/ |
D | endian.h | 33 static inline s16 sle16_to_cpu(sle16 x) in sle16_to_cpu() 38 static inline s32 sle32_to_cpu(sle32 x) in sle32_to_cpu() 43 static inline s64 sle64_to_cpu(sle64 x) in sle64_to_cpu() 48 static inline s16 sle16_to_cpup(sle16 *x) in sle16_to_cpup() 53 static inline s32 sle32_to_cpup(sle32 *x) in sle32_to_cpup() 58 static inline s64 sle64_to_cpup(sle64 *x) in sle64_to_cpup() 63 static inline sle16 cpu_to_sle16(s16 x) in cpu_to_sle16() 68 static inline sle32 cpu_to_sle32(s32 x) in cpu_to_sle32() 73 static inline sle64 cpu_to_sle64(s64 x) in cpu_to_sle64() 78 static inline sle16 cpu_to_sle16p(s16 *x) in cpu_to_sle16p() [all …]
|
/linux-4.1.27/tools/include/tools/ |
D | endian.h | 9 #define htole16(x) (x) argument 12 #define htole32(x) (x) argument 15 #define htole64(x) (x) argument 19 #define le16toh(x) (x) argument 23 #define le32toh(x) (x) argument 27 #define le64toh(x) (x) argument 33 #define htole16(x) __bswap_16(x) argument 36 #define htole32(x) __bswap_32(x) argument 39 #define htole64(x) __bswap_64(x) argument 43 #define le16toh(x) __bswap_16(x) argument [all …]
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | pgtable-types.h | 38 #define pte_val(x) ((x).pte) argument 39 #define __pte(x) ((pte_t) { (x) } ) argument 43 #define pmd_val(x) ((x).pmd) argument 44 #define __pmd(x) ((pmd_t) { (x) } ) argument 49 #define pud_val(x) ((x).pud) argument 50 #define __pud(x) ((pud_t) { (x) } ) argument 54 #define pgd_val(x) ((x).pgd) argument 55 #define __pgd(x) ((pgd_t) { (x) } ) argument 58 #define pgprot_val(x) ((x).pgprot) argument 59 #define __pgprot(x) ((pgprot_t) { (x) } ) argument [all …]
|
/linux-4.1.27/arch/powerpc/boot/ |
D | of.h | 27 #define cpu_to_be16(x) swab16(x) argument 28 #define be16_to_cpu(x) swab16(x) argument 29 #define cpu_to_be32(x) swab32(x) argument 30 #define be32_to_cpu(x) swab32(x) argument 31 #define cpu_to_be64(x) swab64(x) argument 32 #define be64_to_cpu(x) swab64(x) argument 34 #define cpu_to_be16(x) (x) argument 35 #define be16_to_cpu(x) (x) argument 36 #define cpu_to_be32(x) (x) argument 37 #define be32_to_cpu(x) (x) argument [all …]
|
D | libfdt_env.h | 13 #define fdt16_to_cpu(x) be16_to_cpu(x) argument 14 #define cpu_to_fdt16(x) cpu_to_be16(x) argument 15 #define fdt32_to_cpu(x) be32_to_cpu(x) argument 16 #define cpu_to_fdt32(x) cpu_to_be32(x) argument 17 #define fdt64_to_cpu(x) be64_to_cpu(x) argument 18 #define cpu_to_fdt64(x) cpu_to_be64(x) argument
|
/linux-4.1.27/arch/mips/include/asm/ |
D | inst.h | 20 #define MIPSInst(x) x argument 23 #define MIPSInst_OPCODE(x) (MIPSInst(x) >> I_OPCODE_SFT) argument 26 #define MIPSInst_JTARGET(x) (MIPSInst(x) & 0x03ffffff) argument 29 #define MIPSInst_RS(x) ((MIPSInst(x) & 0x03e00000) >> I_RS_SFT) argument 32 #define MIPSInst_RT(x) ((MIPSInst(x) & 0x001f0000) >> I_RT_SFT) argument 35 #define MIPSInst_SIMM(x) ((int)((short)(MIPSInst(x) & 0xffff))) argument 36 #define MIPSInst_UIMM(x) (MIPSInst(x) & 0xffff) argument 39 #define MIPSInst_CACHEOP(x) ((MIPSInst(x) & 0x001c0000) >> I_CACHEOP_SFT) argument 42 #define MIPSInst_CACHESEL(x) ((MIPSInst(x) & 0x00030000) >> I_CACHESEL_SFT) argument 45 #define MIPSInst_RD(x) ((MIPSInst(x) & 0x0000f800) >> I_RD_SFT) argument [all …]
|
D | debug.h | 30 #define db_assert(x) if (!(x)) { \ argument 32 #define db_warn(x) if (!(x)) { \ argument 34 #define db_verify(x, y) db_assert(x y) argument 35 #define db_verify_warn(x, y) db_warn(x y) argument 36 #define db_run(x) do { x; } while (0) argument 40 #define db_assert(x) argument 41 #define db_warn(x) argument 42 #define db_verify(x, y) x argument 43 #define db_verify_warn(x, y) x argument 44 #define db_run(x) argument
|
D | page.h | 120 #define pte_val(x) ((x).pte_low | ((unsigned long long)(x).pte_high << 32)) argument 121 #define __pte(x) ({ pte_t __pte = {(x), ((unsigned long long)(x)) >> 32}; __pte; }) argument 124 #define pte_val(x) ((x).pte) argument 125 #define __pte(x) ((pte_t) { (x) } ) argument 129 #define pte_val(x) ((x).pte) argument 130 #define __pte(x) ((pte_t) { (x) } ) argument 143 #define pgd_val(x) ((x).pgd) argument 144 #define __pgd(x) ((pgd_t) { (x) } ) argument 150 #define pgprot_val(x) ((x).pgprot) argument 151 #define __pgprot(x) ((pgprot_t) { (x) } ) argument [all …]
|
D | pgtable-32.h | 107 #define pte_page(x) pfn_to_page(pte_pfn(x)) argument 108 #define pte_pfn(x) (((unsigned long)((x).pte_high >> _PFN_SHIFT)) | (unsigned long)((x).pte_low <<… argument 123 #define pte_page(x) pfn_to_page(pte_pfn(x)) argument 126 #define pte_pfn(x) ((unsigned long)((x).pte >> (PAGE_SHIFT + 2))) argument 129 #define pte_pfn(x) ((unsigned long)((x).pte >> _PFN_SHIFT)) argument 161 #define __swp_type(x) (((x).val >> 10) & 0x1f) argument 162 #define __swp_offset(x) ((x).val >> 15) argument 165 #define __swp_entry_to_pte(x) ((pte_t) { (x).val }) argument 172 #define __swp_type(x) (((x).val >> 4) & 0x1f) argument 173 #define __swp_offset(x) ((x).val >> 9) argument [all …]
|
/linux-4.1.27/kernel/sched/ |
D | completion.c | 29 void complete(struct completion *x) in complete() 49 void complete_all(struct completion *x) in complete_all() 61 do_wait_for_common(struct completion *x, in do_wait_for_common() 87 __wait_for_common(struct completion *x, in __wait_for_common() 99 wait_for_common(struct completion *x, long timeout, int state) in wait_for_common() 105 wait_for_common_io(struct completion *x, long timeout, int state) in wait_for_common_io() 120 void __sched wait_for_completion(struct completion *x) in wait_for_completion() 139 wait_for_completion_timeout(struct completion *x, unsigned long timeout) in wait_for_completion_timeout() 153 void __sched wait_for_completion_io(struct completion *x) in wait_for_completion_io() 173 wait_for_completion_io_timeout(struct completion *x, unsigned long timeout) in wait_for_completion_io_timeout() [all …]
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | sun4i-ts.c | 63 #define ADC_FIRST_DLY(x) ((x) << 24) /* 8 bits */ argument 64 #define ADC_FIRST_DLY_MODE(x) ((x) << 23) argument 65 #define ADC_CLK_SEL(x) ((x) << 22) argument 66 #define ADC_CLK_DIV(x) ((x) << 20) /* 3 bits */ argument 67 #define FS_DIV(x) ((x) << 16) /* 4 bits */ argument 68 #define T_ACQ(x) ((x) << 0) /* 16 bits */ argument 71 #define STYLUS_UP_DEBOUN(x) ((x) << 12) /* 8 bits */ argument 72 #define STYLUS_UP_DEBOUN_EN(x) ((x) << 9) argument 73 #define TOUCH_PAN_CALI_EN(x) ((x) << 6) argument 74 #define TP_DUAL_EN(x) ((x) << 5) argument [all …]
|
/linux-4.1.27/arch/arm/mach-s3c24xx/include/mach/ |
D | regs-lcd.h | 15 #define S3C2410_LCDREG(x) (x) argument 24 #define S3C2410_LCDCON1_CLKVAL(x) ((x) << 8) argument 48 #define S3C2410_LCDCON2_VBPD(x) ((x) << 24) argument 49 #define S3C2410_LCDCON2_LINEVAL(x) ((x) << 14) argument 50 #define S3C2410_LCDCON2_VFPD(x) ((x) << 6) argument 51 #define S3C2410_LCDCON2_VSPW(x) ((x) << 0) argument 53 #define S3C2410_LCDCON2_GET_VBPD(x) ( ((x) >> 24) & 0xFF) argument 54 #define S3C2410_LCDCON2_GET_VFPD(x) ( ((x) >> 6) & 0xFF) argument 55 #define S3C2410_LCDCON2_GET_VSPW(x) ( ((x) >> 0) & 0x3F) argument 57 #define S3C2410_LCDCON3_HBPD(x) ((x) << 19) argument [all …]
|
D | s3c2412.h | 14 #define S3C2412_MEMREG(x) (S3C24XX_VA_MEMCTRL + (x)) argument 15 #define S3C2412_EBIREG(x) (S3C2412_VA_EBI + (x)) argument 17 #define S3C2412_SSMCREG(x) (S3C2412_VA_SSMC + (x)) argument 18 #define S3C2412_SSMC(x, o) (S3C2412_SSMCREG((x * 0x20) + (o))) argument 24 #define S3C2412_SSMC_BANK(x) S3C2412_SSMC(x, 0x0) argument
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | page_32.h | 62 #define pte_val(x) ((x).pte) argument 63 #define iopte_val(x) ((x).iopte) argument 64 #define pmd_val(x) ((x).pmdv[0]) argument 65 #define pgd_val(x) ((x).pgd) argument 66 #define ctxd_val(x) ((x).ctxd) argument 67 #define pgprot_val(x) ((x).pgprot) argument 68 #define iopgprot_val(x) ((x).iopgprot) argument 70 #define __pte(x) ((pte_t) { (x) } ) argument 71 #define __iopte(x) ((iopte_t) { (x) } ) argument 73 #define __pgd(x) ((pgd_t) { (x) } ) argument [all …]
|
D | page_64.h | 64 #define pte_val(x) ((x).pte) argument 65 #define iopte_val(x) ((x).iopte) argument 66 #define pmd_val(x) ((x).pmd) argument 67 #define pud_val(x) ((x).pud) argument 68 #define pgd_val(x) ((x).pgd) argument 69 #define pgprot_val(x) ((x).pgprot) argument 71 #define __pte(x) ((pte_t) { (x) } ) argument 72 #define __iopte(x) ((iopte_t) { (x) } ) argument 73 #define __pmd(x) ((pmd_t) { (x) } ) argument 74 #define __pud(x) ((pud_t) { (x) } ) argument [all …]
|
D | uaccess_32.h | 94 #define put_user(x, ptr) ({ \ argument 100 #define get_user(x, ptr) ({ \ argument 111 #define __put_user(x, ptr) \ argument 113 #define __get_user(x, ptr) \ argument 117 #define __m(x) ((struct __large_struct __user *)(x)) argument 119 #define __put_user_check(x, addr, size) ({ \ argument 145 #define __put_user_nocheck(x, addr, size) ({ \ argument 157 #define __put_user_asm(x, size, addr, ret) \ argument 178 #define __get_user_check(x, addr, size, type) ({ \ argument 208 #define __get_user_check_ret(x, addr, size, type, retval) ({ \ argument [all …]
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/ |
D | iwl-drv.h | 75 #define NVM_RF_CFG_DASH_MSK(x) (x & 0x3) /* bits 0-1 */ argument 76 #define NVM_RF_CFG_STEP_MSK(x) ((x >> 2) & 0x3) /* bits 2-3 */ argument 77 #define NVM_RF_CFG_TYPE_MSK(x) ((x >> 4) & 0x3) /* bits 4-5 */ argument 78 #define NVM_RF_CFG_PNUM_MSK(x) ((x >> 6) & 0x3) /* bits 6-7 */ argument 79 #define NVM_RF_CFG_TX_ANT_MSK(x) ((x >> 8) & 0xF) /* bits 8-11 */ argument 80 #define NVM_RF_CFG_RX_ANT_MSK(x) ((x >> 12) & 0xF) /* bits 12-15 */ argument 82 #define NVM_RF_CFG_FLAVOR_MSK_FAMILY_8000(x) (x & 0xF) argument 83 #define NVM_RF_CFG_DASH_MSK_FAMILY_8000(x) ((x >> 4) & 0xF) argument 84 #define NVM_RF_CFG_STEP_MSK_FAMILY_8000(x) ((x >> 8) & 0xF) argument 85 #define NVM_RF_CFG_TYPE_MSK_FAMILY_8000(x) ((x >> 12) & 0xFFF) argument [all …]
|
/linux-4.1.27/arch/mips/include/asm/mach-generic/ |
D | mangle-port.h | 30 # define ioswabb(a, x) (x) argument 31 # define __mem_ioswabb(a, x) (x) argument 32 # define ioswabw(a, x) le16_to_cpu(x) argument 33 # define __mem_ioswabw(a, x) (x) argument 34 # define ioswabl(a, x) le32_to_cpu(x) argument 35 # define __mem_ioswabl(a, x) (x) argument 36 # define ioswabq(a, x) le64_to_cpu(x) argument 37 # define __mem_ioswabq(a, x) (x) argument 41 # define ioswabb(a, x) (x) argument 42 # define __mem_ioswabb(a, x) (x) argument [all …]
|
/linux-4.1.27/drivers/net/ethernet/ibm/emac/ |
D | debug.h | 44 # define emac_dbg_register(x) do { } while(0) argument 45 # define emac_dbg_unregister(x) do { } while(0) argument 46 # define mal_dbg_register(x) do { } while(0) argument 47 # define mal_dbg_unregister(x) do { } while(0) argument 60 # define DBG(d,f,x...) EMAC_DBG(d, emac, f, ##x) argument 61 # define MAL_DBG(d,f,x...) EMAC_DBG(d, mal, f, ##x) argument 62 # define ZMII_DBG(d,f,x...) EMAC_DBG(d, zmii, f, ##x) argument 63 # define RGMII_DBG(d,f,x...) EMAC_DBG(d, rgmii, f, ##x) argument 66 # define DBG(f,x...) ((void)0) argument 67 # define MAL_DBG(d,f,x...) ((void)0) argument [all …]
|
/linux-4.1.27/arch/ia64/include/asm/sn/ |
D | addrs.h | 112 #define NODE_OFFSET(x) ((x) & (NODE_ADDRSPACE_SIZE - 1)) argument 114 #define NASID_GET(x) (int) (((u64) (x) >> NASID_SHIFT) & NASID_BITMASK) argument 119 #define CHANGE_NASID(n,x) ((void *)(((u64)(x) & ~NASID_MASK) | NASID_SPACE(n))) argument 137 #define TO_PHYS(x) (TO_PHYS_MASK & (x)) argument 138 #define TO_CAC(x) (CAC_BASE | TO_PHYS(x)) argument 140 #define TO_AMO(x) (AMO_BASE | TO_PHYS(x)) argument 141 #define TO_GET(x) (GET_BASE | TO_PHYS(x)) argument 143 #define TO_AMO(x) ({ BUG(); x; }) argument 144 #define TO_GET(x) ({ BUG(); x; }) argument 155 #define SH1_TIO_PHYS_TO_DMA(x) \ argument [all …]
|
/linux-4.1.27/arch/avr32/mach-at32ap/include/mach/ |
D | io.h | 10 # define ioswabb(a, x) (x) argument 11 # define ioswabw(a, x) (x) argument 12 # define ioswabl(a, x) (x) argument 13 # define __mem_ioswabb(a, x) (x) argument 14 # define __mem_ioswabw(a, x) swab16(x) argument 15 # define __mem_ioswabl(a, x) swab32(x) argument 20 # define ioswabb(a, x) (x) argument 21 # define ioswabw(a, x) (x) argument 22 # define ioswabl(a, x) swahw32(x) argument 23 # define __mem_ioswabb(a, x) (x) argument [all …]
|
/linux-4.1.27/arch/arm/mach-imx/ |
D | iomux-v1.h | 26 #define MXC_DDIR(x) (0x00 + ((x) << 8)) argument 27 #define MXC_OCR1(x) (0x04 + ((x) << 8)) argument 28 #define MXC_OCR2(x) (0x08 + ((x) << 8)) argument 29 #define MXC_ICONFA1(x) (0x0c + ((x) << 8)) argument 30 #define MXC_ICONFA2(x) (0x10 + ((x) << 8)) argument 31 #define MXC_ICONFB1(x) (0x14 + ((x) << 8)) argument 32 #define MXC_ICONFB2(x) (0x18 + ((x) << 8)) argument 33 #define MXC_DR(x) (0x1c + ((x) << 8)) argument 34 #define MXC_GIUS(x) (0x20 + ((x) << 8)) argument 35 #define MXC_SSR(x) (0x24 + ((x) << 8)) argument [all …]
|
/linux-4.1.27/drivers/scsi/ |
D | imm.h | 115 #define IN_EPP_MODE(x) (x == IMM_EPP_8 || x == IMM_EPP_16 || x == IMM_EPP_32) argument 121 #define r_dtr(x) (unsigned char)inb((x)) argument 122 #define r_str(x) (unsigned char)inb((x)+1) argument 123 #define r_ctr(x) (unsigned char)inb((x)+2) argument 124 #define r_epp(x) (unsigned char)inb((x)+4) argument 125 #define r_fifo(x) (unsigned char)inb((x)) /* x must be base_hi */ argument 127 #define r_ecr(x) (unsigned char)inb((x)+2) /* x must be base_hi */ argument 129 #define w_dtr(x,y) outb(y, (x)) argument 130 #define w_str(x,y) outb(y, (x)+1) argument 131 #define w_epp(x,y) outb(y, (x)+4) argument [all …]
|
D | ppa.h | 122 #define IN_EPP_MODE(x) (x == PPA_EPP_8 || x == PPA_EPP_16 || x == PPA_EPP_32) argument 128 #define r_dtr(x) (unsigned char)inb((x)) argument 129 #define r_str(x) (unsigned char)inb((x)+1) argument 130 #define r_ctr(x) (unsigned char)inb((x)+2) argument 131 #define r_epp(x) (unsigned char)inb((x)+4) argument 132 #define r_fifo(x) (unsigned char)inb((x)) /* x must be base_hi */ argument 134 #define r_ecr(x) (unsigned char)inb((x)+0x2) /* x must be base_hi */ argument 136 #define w_dtr(x,y) outb(y, (x)) argument 137 #define w_str(x,y) outb(y, (x)+1) argument 138 #define w_epp(x,y) outb(y, (x)+4) argument [all …]
|
/linux-4.1.27/arch/mips/include/asm/mach-cavium-octeon/ |
D | mangle-port.h | 52 # define ioswabb(a, x) (x) argument 53 # define __mem_ioswabb(a, x) (x) argument 54 # define ioswabw(a, x) le16_to_cpu(x) argument 55 # define __mem_ioswabw(a, x) (x) argument 56 # define ioswabl(a, x) le32_to_cpu(x) argument 57 # define __mem_ioswabl(a, x) (x) argument 58 # define ioswabq(a, x) le64_to_cpu(x) argument 59 # define __mem_ioswabq(a, x) (x) argument 63 # define ioswabb(a, x) (x) argument 64 # define __mem_ioswabb(a, x) (x) argument [all …]
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | page.h | 208 #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) + VIRT_PHYS_OFFSET)) argument 209 #define __pa(x) ((unsigned long)(x) - VIRT_PHYS_OFFSET) argument 216 #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) | PAGE_OFFSET)) argument 217 #define __pa(x) ((unsigned long)(x) & 0x0fffffffffffffffUL) argument 220 #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) + PAGE_OFFSET - MEMORY_START)) argument 221 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + MEMORY_START) argument 254 #define is_kernel_addr(x) ((x) >= 0x8000000000000000ul) argument 256 #define is_kernel_addr(x) ((x) >= PAGE_OFFSET) argument 288 #define pte_val(x) ((x).pte) argument 289 #define __pte(x) ((pte_t) { (x) }) argument [all …]
|
D | uaccess.h | 102 #define get_user(x, ptr) \ argument 104 #define put_user(x, ptr) \ argument 107 #define __get_user(x, ptr) \ argument 109 #define __put_user(x, ptr) \ argument 112 #define __get_user_inatomic(x, ptr) \ argument 114 #define __put_user_inatomic(x, ptr) \ argument 127 #define __put_user_asm(x, addr, err, op) \ argument 143 #define __put_user_asm2(x, ptr, retval) \ argument 146 #define __put_user_asm2(x, addr, err) \ argument 164 #define __put_user_size(x, ptr, size, retval) \ argument [all …]
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | page.h | 48 #define pte_val(x) ((x).pte) argument 50 #define pmd_val(x) ((x).pmd + 0) argument 51 #define pgd_val(x) ((x).pgd + 0) argument 52 #define pgprot_val(x) ((x).pgprot) argument 54 #define __pte(x) ((pte_t) { (x) } ) argument 55 #define __pmd(x) ((pmd_t) { (x) } ) argument 56 #define __pgd(x) ((pgd_t) { (x) } ) argument 57 #define __pgprot(x) ((pgprot_t) { (x) } ) argument 59 #define __pmd_val_set(x,n) (x).pmd = (n) argument 60 #define __pgd_val_set(x,n) (x).pgd = (n) argument [all …]
|
/linux-4.1.27/sound/soc/au1x/ |
D | psc.h | 30 #define PSC_CTRL(x) ((x)->mmio + PSC_CTRL_OFFSET) argument 31 #define PSC_SEL(x) ((x)->mmio + PSC_SEL_OFFSET) argument 32 #define I2S_STAT(x) ((x)->mmio + PSC_I2SSTAT_OFFSET) argument 33 #define I2S_CFG(x) ((x)->mmio + PSC_I2SCFG_OFFSET) argument 34 #define I2S_PCR(x) ((x)->mmio + PSC_I2SPCR_OFFSET) argument 35 #define AC97_CFG(x) ((x)->mmio + PSC_AC97CFG_OFFSET) argument 36 #define AC97_CDC(x) ((x)->mmio + PSC_AC97CDC_OFFSET) argument 37 #define AC97_EVNT(x) ((x)->mmio + PSC_AC97EVNT_OFFSET) argument 38 #define AC97_PCR(x) ((x)->mmio + PSC_AC97PCR_OFFSET) argument 39 #define AC97_RST(x) ((x)->mmio + PSC_AC97RST_OFFSET) argument [all …]
|
/linux-4.1.27/drivers/video/fbdev/mbx/ |
D | reg_bits.h | 32 #define Core_Pll_M(x) ((x) << FShft(CORE_PLL_M)) argument 34 #define Core_Pll_N(x) ((x) << FShft(CORE_PLL_N)) argument 36 #define Core_Pll_P(x) ((x) << FShft(CORE_PLL_P)) argument 41 #define Disp_Pll_M(x) ((x) << FShft(DISP_PLL_M)) argument 43 #define Disp_Pll_N(x) ((x) << FShft(DISP_PLL_N)) argument 45 #define Disp_Pll_P(x) ((x) << FShft(DISP_PLL_P)) argument 87 #define Pixclkdiv_Pd(x) ((x) << FShft(PIXCLKDIV_PD)) argument 91 #define Lcdcfg_In_Fmt(x) ((x) << FShft(LCDCFG_IN_FMT)) argument 167 #define Lmtim_Tras(x) ((x) << FShft(LMTIM_TRAS)) argument 169 #define Lmtim_Trp(x) ((x) << FShft(LMTIM_TRP)) argument [all …]
|
/linux-4.1.27/arch/tile/lib/ |
D | string-endian.h | 24 #define MASK(x) (__insn_shl(1ULL, (x << 3)) - 1) argument 25 #define NULMASK(x) ((2ULL << x) - 1) argument 26 #define CFZ(x) __insn_ctz(x) argument 27 #define REVCZ(x) __insn_clz(x) argument 29 #define MASK(x) (__insn_shl(-2LL, ((-x << 3) - 1))) argument 30 #define NULMASK(x) (-2LL << (63 - x)) argument 31 #define CFZ(x) __insn_clz(x) argument 32 #define REVCZ(x) __insn_ctz(x) argument
|
/linux-4.1.27/arch/alpha/lib/ |
D | divide.S | 60 #define DIV_ONLY(x,y...) x,##y argument 61 #define MOD_ONLY(x,y...) argument 62 #define func(x) __div##x argument 65 #define GETSIGN(x) xor $24,$25,x argument 68 #define DIV_ONLY(x,y...) argument 69 #define MOD_ONLY(x,y...) x,##y argument 70 #define func(x) __rem##x argument 73 #define GETSIGN(x) bis $24,$24,x argument 83 #define LONGIFY(x) zapnot x,15,x argument 84 #define SLONGIFY(x) addl x,0,x argument [all …]
|
D | ev6-divide.S | 70 #define DIV_ONLY(x,y...) x,##y argument 71 #define MOD_ONLY(x,y...) argument 72 #define func(x) __div##x argument 75 #define GETSIGN(x) xor $24,$25,x argument 78 #define DIV_ONLY(x,y...) argument 79 #define MOD_ONLY(x,y...) x,##y argument 80 #define func(x) __rem##x argument 83 #define GETSIGN(x) bis $24,$24,x argument 93 #define LONGIFY(x) zapnot x,15,x argument 94 #define SLONGIFY(x) addl x,0,x argument [all …]
|
/linux-4.1.27/arch/arm/boot/compressed/ |
D | decompress.c | 19 # define Trace(x) fprintf x argument 20 # define Tracev(x) {if (verbose) fprintf x ;} argument 21 # define Tracevv(x) {if (verbose>1) fprintf x ;} argument 22 # define Tracec(c,x) {if (verbose && (c)) fprintf x ;} argument 23 # define Tracecv(c,x) {if (verbose>1 && (c)) fprintf x ;} argument 26 # define Trace(x) argument 27 # define Tracev(x) argument 28 # define Tracevv(x) argument 29 # define Tracec(c,x) argument 30 # define Tracecv(c,x) argument [all …]
|
D | libfdt_env.h | 8 #define fdt16_to_cpu(x) be16_to_cpu(x) argument 9 #define cpu_to_fdt16(x) cpu_to_be16(x) argument 10 #define fdt32_to_cpu(x) be32_to_cpu(x) argument 11 #define cpu_to_fdt32(x) cpu_to_be32(x) argument 12 #define fdt64_to_cpu(x) be64_to_cpu(x) argument 13 #define cpu_to_fdt64(x) cpu_to_be64(x) argument
|
/linux-4.1.27/drivers/usb/c67x00/ |
D | c67x00.h | 43 #define USB_CTL_REG(x) ((x) ? 0xC0AA : 0xC08A) argument 45 #define LOW_SPEED_PORT(x) ((x) ? 0x0800 : 0x0400) argument 47 #define PORT_RES_EN(x) ((x) ? 0x0100 : 0x0080) argument 48 #define SOF_EOP_EN(x) ((x) ? 0x0002 : 0x0001) argument 51 #define USB_STAT_REG(x) ((x) ? 0xC0B0 : 0xC090) argument 70 #define HOST_CTL_REG(x) ((x) ? 0xC0A0 : 0xC080) argument 78 #define HOST_IRQ_EN_REG(x) ((x) ? 0xC0AC : 0xC08C) argument 88 #define PORT_CONNECT_CHANGE(x) ((x) ? 0x0020 : 0x0010) argument 89 #define PORT_SE0_STATUS(x) ((x) ? 0x0008 : 0x0004) argument 92 #define HOST_FRAME_REG(x) ((x) ? 0xC0B6 : 0xC096) argument [all …]
|
/linux-4.1.27/tools/perf/util/ |
D | util.h | 26 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) argument 29 #define TYPEOF(x) (__typeof__(x)) argument 31 #define TYPEOF(x) argument 34 #define MSB(x, bits) ((x) & TYPEOF(x)(~0ULL << (sizeof(x) * 8 - (bits)))) argument 38 #define decimal_length(x) ((int)(sizeof(x) * 2.56 + 0.5) + 1) argument 133 #define __attribute__(x) argument 230 #define sane_istest(x,mask) ((sane_ctype[(unsigned char)(x)] & (mask)) != 0) argument 231 #define isascii(x) (((x) & ~0x7f) == 0) argument 232 #define isspace(x) sane_istest(x,GIT_SPACE) argument 233 #define isdigit(x) sane_istest(x,GIT_DIGIT) argument [all …]
|
/linux-4.1.27/arch/alpha/include/asm/ |
D | page.h | 35 #define pte_val(x) ((x).pte) argument 36 #define pmd_val(x) ((x).pmd) argument 37 #define pgd_val(x) ((x).pgd) argument 38 #define pgprot_val(x) ((x).pgprot) argument 40 #define __pte(x) ((pte_t) { (x) } ) argument 41 #define __pmd(x) ((pmd_t) { (x) } ) argument 42 #define __pgd(x) ((pgd_t) { (x) } ) argument 43 #define __pgprot(x) ((pgprot_t) { (x) } ) argument 54 #define pte_val(x) (x) argument 55 #define pmd_val(x) (x) argument [all …]
|
/linux-4.1.27/drivers/infiniband/hw/cxgb4/ |
D | t4fw_ri_api.h | 167 #define FW_RI_TPTE_VALID_V(x) ((x) << FW_RI_TPTE_VALID_S) argument 168 #define FW_RI_TPTE_VALID_G(x) \ argument 174 #define FW_RI_TPTE_STAGKEY_V(x) ((x) << FW_RI_TPTE_STAGKEY_S) argument 175 #define FW_RI_TPTE_STAGKEY_G(x) \ argument 180 #define FW_RI_TPTE_STAGSTATE_V(x) ((x) << FW_RI_TPTE_STAGSTATE_S) argument 181 #define FW_RI_TPTE_STAGSTATE_G(x) \ argument 187 #define FW_RI_TPTE_STAGTYPE_V(x) ((x) << FW_RI_TPTE_STAGTYPE_S) argument 188 #define FW_RI_TPTE_STAGTYPE_G(x) \ argument 193 #define FW_RI_TPTE_PDID_V(x) ((x) << FW_RI_TPTE_PDID_S) argument 194 #define FW_RI_TPTE_PDID_G(x) \ argument [all …]
|
/linux-4.1.27/arch/mips/include/asm/sn/ |
D | mapped_kernel.h | 31 #define MAPPED_ADDR_RO_TO_PHYS(x) (x - REP_BASE) argument 32 #define MAPPED_ADDR_RW_TO_PHYS(x) (x - REP_BASE - 16777216) argument 37 #define MAPPED_KERN_RO_TO_PHYS(x) \ argument 40 #define MAPPED_KERN_RW_TO_PHYS(x) \ argument 46 #define MAPPED_KERN_RO_TO_PHYS(x) (x - REP_BASE) argument 47 #define MAPPED_KERN_RW_TO_PHYS(x) (x - REP_BASE) argument 51 #define MAPPED_KERN_RO_TO_K0(x) PHYS_TO_K0(MAPPED_KERN_RO_TO_PHYS(x)) argument 52 #define MAPPED_KERN_RW_TO_K0(x) PHYS_TO_K0(MAPPED_KERN_RW_TO_PHYS(x)) argument
|
/linux-4.1.27/include/linux/ |
D | bitrev.h | 20 static inline u16 __bitrev16(u16 x) in __bitrev16() 25 static inline u32 __bitrev32(u32 x) in __bitrev32() 32 #define __constant_bitrev32(x) \ argument 43 #define __constant_bitrev16(x) \ argument 53 #define __constant_bitrev8(x) \ argument 62 #define bitrev32(x) \ argument 70 #define bitrev16(x) \ argument 78 #define bitrev8(x) \ argument
|
D | compiler.h | 13 # define __must_hold(x) __attribute__((context(x,1,1))) argument 14 # define __acquires(x) __attribute__((context(x,0,1))) argument 15 # define __releases(x) __attribute__((context(x,1,0))) argument 16 # define __acquire(x) __context__(x,1) argument 17 # define __release(x) __context__(x,-1) argument 18 # define __cond_lock(x,c) ((c) ? ({ __acquire(x); 1; }) : 0) argument 34 # define __chk_user_ptr(x) (void)0 argument 35 # define __chk_io_ptr(x) (void)0 argument 36 # define __builtin_warning(x, y...) (1) argument 37 # define __must_hold(x) argument [all …]
|
D | pxa2xx_ssp.h | 50 #define SSCR0_DataSize(x) ((x) - 1) /* Data Size Select [4..16] */ argument 57 #define SSCR0_SCR(x) ((x) << 8) /* Serial Clock Rate (mask) */ argument 65 #define SSCR0_SlotsPerFrm(x) (((x) - 1) << 24) /* Time slots per frame [1..8] */ argument 94 #define SSCR1_TxTresh(x) (((x) - 1) << 6) /* level [1..16] */ argument 96 #define SSCR1_RxTresh(x) (((x) - 1) << 10) /* level [1..16] */ argument 107 #define SSCR1_TxTresh(x) (((x) - 1) << 6) /* level [1..4] */ argument 109 #define SSCR1_RxTresh(x) (((x) - 1) << 10) /* level [1..4] */ argument 114 #define QUARK_X1000_SSCR0_DataSize(x) ((x) - 1) /* Data Size Select [4..32] */ argument 125 #define QUARK_X1000_SSCR1_TxTresh(x) (((x) - 1) << 6) /* level [1..32] */ argument 127 #define QUARK_X1000_SSCR1_RxTresh(x) (((x) - 1) << 11) /* level [1..32] */ argument [all …]
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/ |
D | io.h | 91 #define CRIS_LED_NETWORK_GRP0_SET(x) \ argument 97 #define CRIS_LED_NETWORK_GRP0_SET(x) while (0) {} argument 100 #define CRIS_LED_NETWORK_GRP0_SET_G(x) \ argument 103 #define CRIS_LED_NETWORK_GRP0_SET_R(x) \ argument 107 #define CRIS_LED_NETWORK_GRP1_SET(x) \ argument 113 #define CRIS_LED_NETWORK_GRP1_SET(x) while (0) {} argument 116 #define CRIS_LED_NETWORK_GRP1_SET_G(x) \ argument 119 #define CRIS_LED_NETWORK_GRP1_SET_R(x) \ argument 122 #define CRIS_LED_ACTIVE_SET(x) \ argument 128 #define CRIS_LED_ACTIVE_SET_G(x) \ argument [all …]
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
D | regs-gsc.h | 97 #define GSC_SRCIMG_HEIGHT(x) ((x) << 16) argument 99 #define GSC_SRCIMG_WIDTH(x) ((x) << 0) argument 104 #define GSC_SRCIMG_OFFSET_Y(x) ((x) << 16) argument 106 #define GSC_SRCIMG_OFFSET_X(x) ((x) << 0) argument 111 #define GSC_CROPPED_HEIGHT(x) ((x) << 16) argument 113 #define GSC_CROPPED_WIDTH(x) ((x) << 0) argument 118 #define GSC_OUT_GLOBAL_ALPHA(x) ((x) << 24) argument 153 #define GSC_SCALED_HEIGHT(x) ((x) << 16) argument 155 #define GSC_SCALED_WIDTH(x) ((x) << 0) argument 160 #define GSC_PRESC_SHFACTOR(x) ((x) << 28) argument [all …]
|
D | regs-rotator.h | 37 #define ROT_STATUS_IRQ_PENDING(x) (1 << (x)) argument 38 #define ROT_STATUS_IRQ(x) (((x) >> 8) & 0x3) argument 49 #define ROT_SET_BUF_SIZE_H(x) ((x) << 16) argument 50 #define ROT_SET_BUF_SIZE_W(x) ((x) << 0) argument 51 #define ROT_GET_BUF_SIZE_H(x) ((x) >> 16) argument 52 #define ROT_GET_BUF_SIZE_W(x) ((x) & 0xffff) argument 57 #define ROT_CROP_POS_Y(x) ((x) << 16) argument 58 #define ROT_CROP_POS_X(x) ((x) << 0) argument 62 #define ROT_SRC_CROP_SIZE_H(x) ((x) << 16) argument 63 #define ROT_SRC_CROP_SIZE_W(x) ((x) << 0) argument [all …]
|
D | regs-fimc.h | 324 #define EXYNOS_CISRCFMT_SOURCEHSIZE(x) ((x) << 16) argument 325 #define EXYNOS_CISRCFMT_SOURCEVSIZE(x) ((x) << 0) argument 327 #define EXYNOS_CIWDOFST_WINHOROFST(x) ((x) << 16) argument 328 #define EXYNOS_CIWDOFST_WINVEROFST(x) ((x) << 0) argument 330 #define EXYNOS_CIWDOFST2_WINHOROFST2(x) ((x) << 16) argument 331 #define EXYNOS_CIWDOFST2_WINVEROFST2(x) ((x) << 0) argument 333 #define EXYNOS_CITRGFMT_TARGETHSIZE(x) (((x) & 0x1fff) << 16) argument 334 #define EXYNOS_CITRGFMT_TARGETVSIZE(x) (((x) & 0x1fff) << 0) argument 336 #define EXYNOS_CISCPRERATIO_SHFACTOR(x) ((x) << 28) argument 337 #define EXYNOS_CISCPRERATIO_PREHORRATIO(x) ((x) << 16) argument [all …]
|
D | regs-mixer.h | 116 #define MXR_GRP_CFG_FORMAT_VAL(x) MXR_MASK_VAL(x, 11, 8) argument 118 #define MXR_GRP_CFG_ALPHA_VAL(x) MXR_MASK_VAL(x, 7, 0) argument 121 #define MXR_GRP_WH_H_SCALE(x) MXR_MASK_VAL(x, 28, 28) argument 122 #define MXR_GRP_WH_V_SCALE(x) MXR_MASK_VAL(x, 12, 12) argument 123 #define MXR_GRP_WH_WIDTH(x) MXR_MASK_VAL(x, 26, 16) argument 124 #define MXR_GRP_WH_HEIGHT(x) MXR_MASK_VAL(x, 10, 0) argument 127 #define MXR_MXR_RES_HEIGHT(x) MXR_MASK_VAL(x, 26, 16) argument 128 #define MXR_MXR_RES_WIDTH(x) MXR_MASK_VAL(x, 10, 0) argument 131 #define MXR_GRP_SXY_SX(x) MXR_MASK_VAL(x, 26, 16) argument 132 #define MXR_GRP_SXY_SY(x) MXR_MASK_VAL(x, 10, 0) argument [all …]
|
/linux-4.1.27/include/linux/mtd/ |
D | cfi_endian.h | 41 #define cpu_to_cfi8(map, x) (x) argument 42 #define cfi8_to_cpu(map, x) (x) argument 43 #define cpu_to_cfi16(map, x) _cpu_to_cfi(16, (map)->swap, (x)) argument 44 #define cpu_to_cfi32(map, x) _cpu_to_cfi(32, (map)->swap, (x)) argument 45 #define cpu_to_cfi64(map, x) _cpu_to_cfi(64, (map)->swap, (x)) argument 46 #define cfi16_to_cpu(map, x) _cfi_to_cpu(16, (map)->swap, (x)) argument 47 #define cfi32_to_cpu(map, x) _cfi_to_cpu(32, (map)->swap, (x)) argument 48 #define cfi64_to_cpu(map, x) _cfi_to_cpu(64, (map)->swap, (x)) argument 50 #define _cpu_to_cfi(w, s, x) (cfi_host(s)?(x):_swap_to_cfi(w, s, x)) argument 51 #define _cfi_to_cpu(w, s, x) (cfi_host(s)?(x):_swap_to_cpu(w, s, x)) argument [all …]
|
/linux-4.1.27/arch/unicore32/include/asm/ |
D | page.h | 41 #define pte_val(x) ((x).pte) argument 42 #define pgd_val(x) ((x).pgd) argument 43 #define pgprot_val(x) ((x).pgprot) argument 45 #define __pte(x) ((pte_t) { (x) }) argument 46 #define __pgd(x) ((pgd_t) { (x) }) argument 47 #define __pgprot(x) ((pgprot_t) { (x) }) argument 57 #define pte_val(x) (x) argument 58 #define pgd_val(x) (x) argument 59 #define pgprot_val(x) (x) argument 61 #define __pte(x) (x) argument [all …]
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | m54xxgpt.h | 35 #define MCF_GPT_GMS(x) (MCF_MBAR + 0x000800 + ((x) * 0x010)) argument 36 #define MCF_GPT_GCIR(x) (MCF_MBAR + 0x000804 + ((x) * 0x010)) argument 37 #define MCF_GPT_GPWM(x) (MCF_MBAR + 0x000808 + ((x) * 0x010)) argument 38 #define MCF_GPT_GSR(x) (MCF_MBAR + 0x00080C + ((x) * 0x010)) argument 41 #define MCF_GPT_GMS_TMS(x) (((x)&0x00000007)<<0) argument 42 #define MCF_GPT_GMS_GPIO(x) (((x)&0x00000003)<<4) argument 48 #define MCF_GPT_GMS_ICT(x) (((x)&0x00000003)<<16) argument 49 #define MCF_GPT_GMS_OCT(x) (((x)&0x00000003)<<20) argument 50 #define MCF_GPT_GMS_OCPW(x) (((x)&0x000000FF)<<24) argument 71 #define MCF_GPT_GCIR_CNT(x) (((x)&0x0000FFFF)<<0) argument [all …]
|
D | m53xxsim.h | 192 #define MCF_CCM_CCR_BOOTPS(x) (((x)&0x0003)<<3|0x0001) argument 195 #define MCF_CCM_CCR_CSC(x) (((x)&0x0003)<<8|0x0001) argument 201 #define MCF_CCM_RCON_BOOTPS(x) (((x)&0x0003)<<3|0x0001) argument 204 #define MCF_CCM_RCON_CSC(x) (((x)&0x0003)<<8|0x0001) argument 207 #define MCF_CCM_CIR_PRN(x) (((x)&0x003F)<<0) argument 208 #define MCF_CCM_CIR_PIN(x) (((x)&0x03FF)<<6) argument 222 #define MCF_CCM_CDR_SSIDIV(x) (((x)&0x000F)<<0) argument 223 #define MCF_CCM_CDR_LPDIV(x) (((x)&0x000F)<<8) argument 229 #define MCF_CCM_UHCSR_PORTIND(x) (((x)&0x0003)<<14) argument 246 #define MCF_CCM_UOCSR_PORTIND(x) (((x)&0x0003)<<14) argument [all …]
|
D | page.h | 29 #define pte_val(x) ((x).pte) argument 30 #define pmd_val(x) ((&x)->pmd[0]) argument 31 #define pgd_val(x) ((x).pgd) argument 32 #define pgprot_val(x) ((x).pgprot) argument 34 #define __pte(x) ((pte_t) { (x) } ) argument 35 #define __pmd(x) ((pmd_t) { (x) } ) argument 36 #define __pgd(x) ((pgd_t) { (x) } ) argument 37 #define __pgprot(x) ((pgprot_t) { (x) } ) argument
|
D | movs.h | 12 #define SET_DFC(x) \ argument 17 #define GET_DFC(x) \ argument 22 #define SET_SFC(x) \ argument 27 #define GET_SFC(x) \ argument 30 #define SET_VBR(x) \ argument 33 #define GET_VBR(x) \ argument
|
/linux-4.1.27/arch/blackfin/mach-bf561/include/mach/ |
D | blackfin.h | 31 #define __SIC_MUX(base, x) ((base) + ((x) << 2)) argument 32 #define bfin_read_SIC_IMASK(x) bfin_read32(__SIC_MUX(SIC_IMASK0, x)) argument 33 #define bfin_write_SIC_IMASK(x, val) bfin_write32(__SIC_MUX(SIC_IMASK0, x), val) argument 34 #define bfin_read_SICB_IMASK(x) bfin_read32(__SIC_MUX(SICB_IMASK0, x)) argument 35 #define bfin_write_SICB_IMASK(x, val) bfin_write32(__SIC_MUX(SICB_IMASK0, x), val) argument 36 #define bfin_read_SIC_ISR(x) bfin_read32(__SIC_MUX(SIC_ISR0, x)) argument 37 #define bfin_write_SIC_ISR(x, val) bfin_write32(__SIC_MUX(SIC_ISR0, x), val) argument 38 #define bfin_read_SICB_ISR(x) bfin_read32(__SIC_MUX(SICB_ISR0, x)) argument 39 #define bfin_write_SICB_ISR(x, val) bfin_write32(__SIC_MUX(SICB_ISR0, x), val) argument
|
/linux-4.1.27/arch/x86/include/asm/ |
D | uaccess.h | 32 #define set_fs(x) (current_thread_info()->addr_limit = (x)) argument 140 #define __inttype(x) \ argument 173 #define get_user(x, ptr) \ argument 186 #define __put_user_x(size, x, ptr, __ret_pu) \ argument 193 #define __put_user_asm_u64(x, addr, err, errret) \ argument 207 #define __put_user_asm_ex_u64(x, addr) \ argument 216 #define __put_user_x8(x, ptr, __ret_pu) \ argument 220 #define __put_user_asm_u64(x, ptr, retval, errret) \ argument 222 #define __put_user_asm_ex_u64(x, addr) \ argument 224 #define __put_user_x8(x, ptr, __ret_pu) __put_user_x(8, x, ptr, __ret_pu) argument [all …]
|
D | xor.h | 48 #define OFFS(x) "16*("#x")" argument 49 #define PF_OFFS(x) "256+16*("#x")" argument 50 #define PF0(x) " prefetchnta "PF_OFFS(x)"(%[p1]) ;\n" argument 51 #define LD(x, y) " movaps "OFFS(x)"(%[p1]), %%xmm"#y" ;\n" argument 52 #define ST(x, y) " movaps %%xmm"#y", "OFFS(x)"(%[p1]) ;\n" argument 53 #define PF1(x) " prefetchnta "PF_OFFS(x)"(%[p2]) ;\n" argument 54 #define PF2(x) " prefetchnta "PF_OFFS(x)"(%[p3]) ;\n" argument 55 #define PF3(x) " prefetchnta "PF_OFFS(x)"(%[p4]) ;\n" argument 56 #define PF4(x) " prefetchnta "PF_OFFS(x)"(%[p5]) ;\n" argument 57 #define XO1(x, y) " xorps "OFFS(x)"(%[p2]), %%xmm"#y" ;\n" argument [all …]
|
/linux-4.1.27/arch/arc/include/asm/ |
D | page.h | 48 #define pte_val(x) ((x).pte) argument 49 #define pgd_val(x) ((x).pgd) argument 50 #define pgprot_val(x) ((x).pgprot) argument 52 #define __pte(x) ((pte_t) { (x) }) argument 53 #define __pgd(x) ((pgd_t) { (x) }) argument 54 #define __pgprot(x) ((pgprot_t) { (x) }) argument 56 #define pte_pgprot(x) __pgprot(pte_val(x)) argument 65 #define pte_val(x) (x) argument 66 #define pgd_val(x) (x) argument 67 #define pgprot_val(x) (x) argument [all …]
|
/linux-4.1.27/arch/arm/mach-pxa/ |
D | cm-x2xx-pci.h | 6 #define cmx2xx_pci_init_irq(x) __cmx2xx_pci_init_irq(x) argument 7 #define cmx2xx_pci_suspend(x) __cmx2xx_pci_suspend(x) argument 8 #define cmx2xx_pci_resume(x) __cmx2xx_pci_resume(x) argument 10 #define cmx2xx_pci_init_irq(x) do {} while (0) argument 11 #define cmx2xx_pci_suspend(x) do {} while (0) argument 12 #define cmx2xx_pci_resume(x) do {} while (0) argument
|
/linux-4.1.27/drivers/rtc/ |
D | rtc-sunxi.c | 62 #define SUNXI_GET(x, mask, shift) (((x) & ((mask) << (shift))) \ argument 65 #define SUNXI_SET(x, mask, shift) (((x) & (mask)) << (shift)) argument 70 #define SUNXI_DATE_GET_DAY_VALUE(x) SUNXI_GET(x, SUNXI_MASK_DH, 0) argument 71 #define SUNXI_DATE_GET_MON_VALUE(x) SUNXI_GET(x, SUNXI_MASK_M, 8) argument 72 #define SUNXI_DATE_GET_YEAR_VALUE(x, mask) SUNXI_GET(x, mask, 16) argument 77 #define SUNXI_TIME_GET_SEC_VALUE(x) SUNXI_GET(x, SUNXI_MASK_SM, 0) argument 78 #define SUNXI_TIME_GET_MIN_VALUE(x) SUNXI_GET(x, SUNXI_MASK_SM, 8) argument 79 #define SUNXI_TIME_GET_HOUR_VALUE(x) SUNXI_GET(x, SUNXI_MASK_DH, 16) argument 84 #define SUNXI_ALRM_GET_SEC_VALUE(x) SUNXI_GET(x, SUNXI_MASK_SM, 0) argument 85 #define SUNXI_ALRM_GET_MIN_VALUE(x) SUNXI_GET(x, SUNXI_MASK_SM, 8) argument [all …]
|
D | rtc-sun6i.c | 72 #define SUN6I_DATE_GET_DAY_VALUE(x) ((x) & 0x0000001f) argument 73 #define SUN6I_DATE_GET_MON_VALUE(x) (((x) & 0x00000f00) >> 8) argument 74 #define SUN6I_DATE_GET_YEAR_VALUE(x) (((x) & 0x003f0000) >> 16) argument 75 #define SUN6I_LEAP_GET_VALUE(x) (((x) & 0x00400000) >> 22) argument 80 #define SUN6I_TIME_GET_SEC_VALUE(x) ((x) & 0x0000003f) argument 81 #define SUN6I_TIME_GET_MIN_VALUE(x) (((x) & 0x00003f00) >> 8) argument 82 #define SUN6I_TIME_GET_HOUR_VALUE(x) (((x) & 0x001f0000) >> 16) argument 87 #define SUN6I_DATE_SET_DAY_VALUE(x) ((x) & 0x0000001f) argument 88 #define SUN6I_DATE_SET_MON_VALUE(x) ((x) << 8 & 0x00000f00) argument 89 #define SUN6I_DATE_SET_YEAR_VALUE(x) ((x) << 16 & 0x003f0000) argument [all …]
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | page.h | 59 # define __pa(x) ((x) - PAGE_OFFSET) argument 60 # define __va(x) ((x) + PAGE_OFFSET) argument 142 #define __pa(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg = 0; _v.l;}) argument 143 #define __va(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg = -1; _v.p;}) argument 145 #define REGION_NUMBER(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg;}) argument 146 #define REGION_OFFSET(x) ({ia64_va _v; _v.l = (long) (x); _v.f.off;}) argument 149 # define htlbpage_to_page(x) (((unsigned long) REGION_NUMBER(x) << 61) \ argument 183 # define pte_val(x) ((x).pte) argument 184 # define pmd_val(x) ((x).pmd) argument 186 # define pud_val(x) ((x).pud) argument [all …]
|
/linux-4.1.27/arch/powerpc/boot/dts/include/dt-bindings/sound/ |
D | fsl-imx-audmux.h | 28 #define IMX_AUDMUX_V1_PCR_INMMASK(x) ((x) & 0xff) argument 32 #define IMX_AUDMUX_V1_PCR_RXDSEL(x) (((x) & 0x7) << 13) argument 33 #define IMX_AUDMUX_V1_PCR_RFCSEL(x) (((x) & 0xf) << 20) argument 36 #define IMX_AUDMUX_V1_PCR_TFCSEL(x) (((x) & 0xf) << 26) argument 42 #define IMX_AUDMUX_V2_PTCR_TFSEL(x) (((x) & 0xf) << 27) argument 44 #define IMX_AUDMUX_V2_PTCR_TCSEL(x) (((x) & 0xf) << 22) argument 46 #define IMX_AUDMUX_V2_PTCR_RFSEL(x) (((x) & 0xf) << 17) argument 48 #define IMX_AUDMUX_V2_PTCR_RCSEL(x) (((x) & 0xf) << 12) argument 51 #define IMX_AUDMUX_V2_PDCR_RXDSEL(x) (((x) & 0x7) << 13) argument 53 #define IMX_AUDMUX_V2_PDCR_MODE(x) (((x) & 0x3) << 8) argument [all …]
|
/linux-4.1.27/arch/arm/boot/dts/include/dt-bindings/sound/ |
D | fsl-imx-audmux.h | 28 #define IMX_AUDMUX_V1_PCR_INMMASK(x) ((x) & 0xff) argument 32 #define IMX_AUDMUX_V1_PCR_RXDSEL(x) (((x) & 0x7) << 13) argument 33 #define IMX_AUDMUX_V1_PCR_RFCSEL(x) (((x) & 0xf) << 20) argument 36 #define IMX_AUDMUX_V1_PCR_TFCSEL(x) (((x) & 0xf) << 26) argument 42 #define IMX_AUDMUX_V2_PTCR_TFSEL(x) (((x) & 0xf) << 27) argument 44 #define IMX_AUDMUX_V2_PTCR_TCSEL(x) (((x) & 0xf) << 22) argument 46 #define IMX_AUDMUX_V2_PTCR_RFSEL(x) (((x) & 0xf) << 17) argument 48 #define IMX_AUDMUX_V2_PTCR_RCSEL(x) (((x) & 0xf) << 12) argument 51 #define IMX_AUDMUX_V2_PDCR_RXDSEL(x) (((x) & 0x7) << 13) argument 53 #define IMX_AUDMUX_V2_PDCR_MODE(x) (((x) & 0x3) << 8) argument [all …]
|
/linux-4.1.27/sound/pci/ice1712/ |
D | hoontech.h | 43 #define ICE1712_STDSP24_0_BOX(r, x) r[0] = ((r[0] & ~3) | ((x)&3)) argument 44 #define ICE1712_STDSP24_0_DAREAR(r, x) r[0] = ((r[0] & ~4) | (((x)&1)<<2)) argument 45 #define ICE1712_STDSP24_1_CHN1(r, x) r[1] = ((r[1] & ~1) | ((x)&1)) argument 46 #define ICE1712_STDSP24_1_CHN2(r, x) r[1] = ((r[1] & ~2) | (((x)&1)<<1)) argument 47 #define ICE1712_STDSP24_1_CHN3(r, x) r[1] = ((r[1] & ~4) | (((x)&1)<<2)) argument 48 #define ICE1712_STDSP24_2_CHN4(r, x) r[2] = ((r[2] & ~1) | ((x)&1)) argument 49 #define ICE1712_STDSP24_2_MIDIIN(r, x) r[2] = ((r[2] & ~2) | (((x)&1)<<1)) argument 50 #define ICE1712_STDSP24_2_MIDI1(r, x) r[2] = ((r[2] & ~4) | (((x)&1)<<2)) argument 51 #define ICE1712_STDSP24_3_MIDI2(r, x) r[3] = ((r[3] & ~1) | ((x)&1)) argument 52 #define ICE1712_STDSP24_3_MUTE(r, x) r[3] = ((r[3] & ~2) | (((x)&1)<<1)) argument [all …]
|
/linux-4.1.27/include/dt-bindings/sound/ |
D | fsl-imx-audmux.h | 28 #define IMX_AUDMUX_V1_PCR_INMMASK(x) ((x) & 0xff) argument 32 #define IMX_AUDMUX_V1_PCR_RXDSEL(x) (((x) & 0x7) << 13) argument 33 #define IMX_AUDMUX_V1_PCR_RFCSEL(x) (((x) & 0xf) << 20) argument 36 #define IMX_AUDMUX_V1_PCR_TFCSEL(x) (((x) & 0xf) << 26) argument 42 #define IMX_AUDMUX_V2_PTCR_TFSEL(x) (((x) & 0xf) << 27) argument 44 #define IMX_AUDMUX_V2_PTCR_TCSEL(x) (((x) & 0xf) << 22) argument 46 #define IMX_AUDMUX_V2_PTCR_RFSEL(x) (((x) & 0xf) << 17) argument 48 #define IMX_AUDMUX_V2_PTCR_RCSEL(x) (((x) & 0xf) << 12) argument 51 #define IMX_AUDMUX_V2_PDCR_RXDSEL(x) (((x) & 0x7) << 13) argument 53 #define IMX_AUDMUX_V2_PDCR_MODE(x) (((x) & 0x3) << 8) argument [all …]
|
/linux-4.1.27/arch/mips/boot/dts/include/dt-bindings/sound/ |
D | fsl-imx-audmux.h | 28 #define IMX_AUDMUX_V1_PCR_INMMASK(x) ((x) & 0xff) argument 32 #define IMX_AUDMUX_V1_PCR_RXDSEL(x) (((x) & 0x7) << 13) argument 33 #define IMX_AUDMUX_V1_PCR_RFCSEL(x) (((x) & 0xf) << 20) argument 36 #define IMX_AUDMUX_V1_PCR_TFCSEL(x) (((x) & 0xf) << 26) argument 42 #define IMX_AUDMUX_V2_PTCR_TFSEL(x) (((x) & 0xf) << 27) argument 44 #define IMX_AUDMUX_V2_PTCR_TCSEL(x) (((x) & 0xf) << 22) argument 46 #define IMX_AUDMUX_V2_PTCR_RFSEL(x) (((x) & 0xf) << 17) argument 48 #define IMX_AUDMUX_V2_PTCR_RCSEL(x) (((x) & 0xf) << 12) argument 51 #define IMX_AUDMUX_V2_PDCR_RXDSEL(x) (((x) & 0x7) << 13) argument 53 #define IMX_AUDMUX_V2_PDCR_MODE(x) (((x) & 0x3) << 8) argument [all …]
|
/linux-4.1.27/arch/metag/boot/dts/include/dt-bindings/sound/ |
D | fsl-imx-audmux.h | 28 #define IMX_AUDMUX_V1_PCR_INMMASK(x) ((x) & 0xff) argument 32 #define IMX_AUDMUX_V1_PCR_RXDSEL(x) (((x) & 0x7) << 13) argument 33 #define IMX_AUDMUX_V1_PCR_RFCSEL(x) (((x) & 0xf) << 20) argument 36 #define IMX_AUDMUX_V1_PCR_TFCSEL(x) (((x) & 0xf) << 26) argument 42 #define IMX_AUDMUX_V2_PTCR_TFSEL(x) (((x) & 0xf) << 27) argument 44 #define IMX_AUDMUX_V2_PTCR_TCSEL(x) (((x) & 0xf) << 22) argument 46 #define IMX_AUDMUX_V2_PTCR_RFSEL(x) (((x) & 0xf) << 17) argument 48 #define IMX_AUDMUX_V2_PTCR_RCSEL(x) (((x) & 0xf) << 12) argument 51 #define IMX_AUDMUX_V2_PDCR_RXDSEL(x) (((x) & 0x7) << 13) argument 53 #define IMX_AUDMUX_V2_PDCR_MODE(x) (((x) & 0x3) << 8) argument [all …]
|
/linux-4.1.27/arch/arm64/boot/dts/include/dt-bindings/sound/ |
D | fsl-imx-audmux.h | 28 #define IMX_AUDMUX_V1_PCR_INMMASK(x) ((x) & 0xff) argument 32 #define IMX_AUDMUX_V1_PCR_RXDSEL(x) (((x) & 0x7) << 13) argument 33 #define IMX_AUDMUX_V1_PCR_RFCSEL(x) (((x) & 0xf) << 20) argument 36 #define IMX_AUDMUX_V1_PCR_TFCSEL(x) (((x) & 0xf) << 26) argument 42 #define IMX_AUDMUX_V2_PTCR_TFSEL(x) (((x) & 0xf) << 27) argument 44 #define IMX_AUDMUX_V2_PTCR_TCSEL(x) (((x) & 0xf) << 22) argument 46 #define IMX_AUDMUX_V2_PTCR_RFSEL(x) (((x) & 0xf) << 17) argument 48 #define IMX_AUDMUX_V2_PTCR_RCSEL(x) (((x) & 0xf) << 12) argument 51 #define IMX_AUDMUX_V2_PDCR_RXDSEL(x) (((x) & 0x7) << 13) argument 53 #define IMX_AUDMUX_V2_PDCR_MODE(x) (((x) & 0x3) << 8) argument [all …]
|
/linux-4.1.27/scripts/dtc/libfdt/ |
D | libfdt_env.h | 9 static inline uint16_t fdt16_to_cpu(uint16_t x) in fdt16_to_cpu() 13 #define cpu_to_fdt16(x) fdt16_to_cpu(x) argument 15 static inline uint32_t fdt32_to_cpu(uint32_t x) in fdt32_to_cpu() 19 #define cpu_to_fdt32(x) fdt32_to_cpu(x) argument 21 static inline uint64_t fdt64_to_cpu(uint64_t x) in fdt64_to_cpu() 26 #define cpu_to_fdt64(x) fdt64_to_cpu(x) argument
|
/linux-4.1.27/include/uapi/linux/ |
D | swab.h | 12 #define ___constant_swab16(x) ((__u16)( \ argument 16 #define ___constant_swab32(x) ((__u32)( \ argument 22 #define ___constant_swab64(x) ((__u64)( \ argument 32 #define ___constant_swahw32(x) ((__u32)( \ argument 36 #define ___constant_swahb32(x) ((__u32)( \ argument 105 #define __swab16(x) \ argument 114 #define __swab32(x) \ argument 123 #define __swab64(x) \ argument 134 #define __swahw32(x) \ argument 145 #define __swahb32(x) \ argument
|
D | a.out.h | 76 #define N_BADMAG(x) (N_MAGIC(x) != OMAGIC \ argument 82 #define _N_HDROFF(x) (1024 - sizeof (struct exec)) argument 85 #define N_TXTOFF(x) \ argument 91 #define N_DATOFF(x) (N_TXTOFF(x) + (x).a_text) argument 95 #define N_TRELOFF(x) (N_DATOFF(x) + (x).a_data) argument 99 #define N_DRELOFF(x) (N_TRELOFF(x) + N_TRSIZE(x)) argument 103 #define N_SYMOFF(x) (N_DRELOFF(x) + N_DRSIZE(x)) argument 107 #define N_STROFF(x) (N_SYMOFF(x) + N_SYMSIZE(x)) argument 112 #define N_TXTADDR(x) (N_MAGIC(x) == QMAGIC ? PAGE_SIZE : 0) argument 147 #define _N_SEGMENT_ROUND(x) ALIGN(x, SEGMENT_SIZE) argument [all …]
|
/linux-4.1.27/arch/mips/include/asm/mach-ip27/ |
D | mangle-port.h | 16 # define ioswabb(a, x) (x) argument 17 # define __mem_ioswabb(a, x) (x) argument 18 # define ioswabw(a, x) (x) argument 19 # define __mem_ioswabw(a, x) cpu_to_le16(x) argument 20 # define ioswabl(a, x) (x) argument 21 # define __mem_ioswabl(a, x) cpu_to_le32(x) argument 22 # define ioswabq(a, x) (x) argument 23 # define __mem_ioswabq(a, x) cpu_to_le32(x) argument
|
/linux-4.1.27/arch/mips/include/asm/mach-ip32/ |
D | mangle-port.h | 17 # define ioswabb(a, x) (x) argument 18 # define __mem_ioswabb(a, x) (x) argument 19 # define ioswabw(a, x) (x) argument 20 # define __mem_ioswabw(a, x) cpu_to_le16(x) argument 21 # define ioswabl(a, x) (x) argument 22 # define __mem_ioswabl(a, x) cpu_to_le32(x) argument 23 # define ioswabq(a, x) (x) argument 24 # define __mem_ioswabq(a, x) cpu_to_le32(x) argument
|
/linux-4.1.27/arch/avr32/mach-at32ap/ |
D | sdramc.h | 42 #define SDRAMC_CR_CAS(x) ((x) << 5) argument 45 #define SDRAMC_CR_TWR(x) ((x) << 8) argument 46 #define SDRAMC_CR_TRC(x) ((x) << 12) argument 47 #define SDRAMC_CR_TRP(x) ((x) << 16) argument 48 #define SDRAMC_CR_TRCD(x) ((x) << 20) argument 49 #define SDRAMC_CR_TRAS(x) ((x) << 24) argument 50 #define SDRAMC_CR_TXSR(x) ((x) << 28) argument 60 #define SDRAMC_LPR_PASR(x) ((x) << 4) argument 61 #define SDRAMC_LPR_TCSR(x) ((x) << 8) argument 62 #define SDRAMC_LPR_DS(x) ((x) << 10) argument [all …]
|
/linux-4.1.27/include/scsi/ |
D | scsi_transport_spi.h | 75 #define spi_period(x) (((struct spi_transport_attrs *)&(x)->starget_data)->period) argument 76 #define spi_min_period(x) (((struct spi_transport_attrs *)&(x)->starget_data)->min_period) argument 77 #define spi_offset(x) (((struct spi_transport_attrs *)&(x)->starget_data)->offset) argument 78 #define spi_max_offset(x) (((struct spi_transport_attrs *)&(x)->starget_data)->max_offset) argument 79 #define spi_width(x) (((struct spi_transport_attrs *)&(x)->starget_data)->width) argument 80 #define spi_max_width(x) (((struct spi_transport_attrs *)&(x)->starget_data)->max_width) argument 81 #define spi_iu(x) (((struct spi_transport_attrs *)&(x)->starget_data)->iu) argument 82 #define spi_max_iu(x) (((struct spi_transport_attrs *)&(x)->starget_data)->max_iu) argument 83 #define spi_dt(x) (((struct spi_transport_attrs *)&(x)->starget_data)->dt) argument 84 #define spi_qas(x) (((struct spi_transport_attrs *)&(x)->starget_data)->qas) argument [all …]
|
/linux-4.1.27/arch/mips/include/asm/mach-tx49xx/ |
D | mangle-port.h | 9 #define ioswabb(a, x) (x) argument 10 #define __mem_ioswabb(a, x) (x) argument 18 #define ioswabw(a, x) le16_to_cpu(x) argument 19 #define __mem_ioswabw(a, x) (x) argument 21 #define ioswabl(a, x) le32_to_cpu(x) argument 22 #define __mem_ioswabl(a, x) (x) argument 23 #define ioswabq(a, x) le64_to_cpu(x) argument 24 #define __mem_ioswabq(a, x) (x) argument
|
/linux-4.1.27/arch/mips/include/asm/mach-tx39xx/ |
D | mangle-port.h | 14 #define ioswabb(a, x) (x) argument 15 #define __mem_ioswabb(a, x) (x) argument 16 #define ioswabw(a, x) le16_to_cpu(x) argument 17 #define __mem_ioswabw(a, x) (x) argument 18 #define ioswabl(a, x) le32_to_cpu(x) argument 19 #define __mem_ioswabl(a, x) (x) argument 20 #define ioswabq(a, x) le64_to_cpu(x) argument 21 #define __mem_ioswabq(a, x) (x) argument
|
/linux-4.1.27/drivers/md/persistent-data/ |
D | dm-btree.h | 19 # define __dm_written_to_disk(x) __releases(x) argument 20 # define __dm_reads_from_disk(x) __acquires(x) argument 21 # define __dm_bless_for_disk(x) __acquire(x) argument 22 # define __dm_unbless_for_disk(x) __release(x) argument 24 # define __dm_written_to_disk(x) argument 25 # define __dm_reads_from_disk(x) argument 26 # define __dm_bless_for_disk(x) argument 27 # define __dm_unbless_for_disk(x) argument
|
/linux-4.1.27/include/linux/mfd/ |
D | mc13xxx.h | 135 #define MC13783_LED_C0_ABMODE(x) (((x) & 0x7) << 11) argument 136 #define MC13783_LED_C0_ABREF(x) (((x) & 0x3) << 14) argument 141 #define MC13783_LED_C2_CURRENT_MD(x) (((x) & 0x7) << 0) argument 142 #define MC13783_LED_C2_CURRENT_AD(x) (((x) & 0x7) << 3) argument 143 #define MC13783_LED_C2_CURRENT_KP(x) (((x) & 0x7) << 6) argument 144 #define MC13783_LED_C2_PERIOD(x) (((x) & 0x3) << 21) argument 147 #define MC13783_LED_C3_CURRENT_R1(x) (((x) & 0x3) << 0) argument 148 #define MC13783_LED_C3_CURRENT_G1(x) (((x) & 0x3) << 2) argument 149 #define MC13783_LED_C3_CURRENT_B1(x) (((x) & 0x3) << 4) argument 150 #define MC13783_LED_C3_PERIOD(x) (((x) & 0x3) << 21) argument [all …]
|
/linux-4.1.27/drivers/usb/phy/ |
D | phy-tegra-usb.c | 44 #define TEGRA_USB_PORTSC1_PTS(x) (((x) & 0x3) << 30) argument 49 #define TEGRA_USB_HOSTPC1_DEVLC_PTS(x) (((x) & 0x7) << 29) argument 65 #define USB_WAKEUP_DEBOUNCE_COUNT(x) (((x) & 0x7) << 16) argument 82 #define ULPI_DATA_TRIMMER_SEL(x) (((x) & 0x7) << 1) argument 84 #define ULPI_STPDIRNXT_TRIMMER_SEL(x) (((x) & 0x7) << 17) argument 86 #define ULPI_DIR_TRIMMER_SEL(x) (((x) & 0x7) << 25) argument 89 #define UTMIP_XTAL_FREQ_COUNT(x) (((x) & 0xfff) << 0) argument 90 #define UTMIP_PLLU_ENABLE_DLY_COUNT(x) (((x) & 0x1f) << 27) argument 93 #define UTMIP_XCVR_SETUP(x) (((x) & 0xf) << 0) argument 94 #define UTMIP_XCVR_SETUP_MSB(x) ((((x) & 0x70) >> 4) << 22) argument [all …]
|
/linux-4.1.27/arch/tile/include/asm/ |
D | uaccess.h | 44 #define set_fs(x) (current_thread_info()->addr_limit = (x)) argument 120 #define __inttype(x) \ argument 136 #define __get_user_asm(OP, x, ptr, ret) \ argument 150 #define __get_user_1(x, ptr, ret) __get_user_asm(ld1u, x, ptr, ret) argument 151 #define __get_user_2(x, ptr, ret) __get_user_asm(ld2u, x, ptr, ret) argument 152 #define __get_user_4(x, ptr, ret) __get_user_asm(ld4s, x, ptr, ret) argument 153 #define __get_user_8(x, ptr, ret) __get_user_asm(ld, x, ptr, ret) argument 155 #define __get_user_1(x, ptr, ret) __get_user_asm(lb_u, x, ptr, ret) argument 156 #define __get_user_2(x, ptr, ret) __get_user_asm(lh_u, x, ptr, ret) argument 157 #define __get_user_4(x, ptr, ret) __get_user_asm(lw, x, ptr, ret) argument [all …]
|
/linux-4.1.27/drivers/staging/rtl8712/ |
D | rtl871x_eeprom.c | 34 static void up_clk(struct _adapter *padapter, u16 *x) in up_clk() 41 static void down_clk(struct _adapter *padapter, u16 *x) in down_clk() 50 u16 x, mask; in shift_out_bits() local 78 u16 x, d = 0, i; in shift_in_bits() local 102 u8 x; in standby() local 115 u8 x; in wait_eeprom_cmd_done() local 130 u16 x; in eeprom_clean() local 149 u8 x; in r8712_eeprom_write16() local 197 u16 x; in r8712_eeprom_read16() local
|
/linux-4.1.27/tools/testing/selftests/powerpc/vphn/ |
D | test-vphn.c | 7 #define cpu_to_be32(x) bswap_32(x) argument 8 #define be32_to_cpu(x) bswap_32(x) argument 9 #define be16_to_cpup(x) bswap_16(*x) argument 10 #define cpu_to_be64(x) bswap_64(x) argument 12 #define cpu_to_be32(x) (x) argument 13 #define be32_to_cpu(x) (x) argument 14 #define be16_to_cpup(x) (*x) argument 15 #define cpu_to_be64(x) (x) argument
|
/linux-4.1.27/arch/openrisc/include/asm/ |
D | uaccess.h | 53 #define set_fs(x) (current_thread_info()->addr_limit = (x)) argument 107 #define get_user(x, ptr) \ argument 109 #define put_user(x, ptr) \ argument 112 #define __get_user(x, ptr) \ argument 114 #define __put_user(x, ptr) \ argument 119 #define __put_user_nocheck(x, ptr, size) \ argument 126 #define __put_user_check(x, ptr, size) \ argument 135 #define __put_user_size(x, ptr, size, retval) \ argument 150 #define __m(x) (*(struct __large_struct *)(x)) argument 157 #define __put_user_asm(x, addr, err, op) \ argument [all …]
|
/linux-4.1.27/include/video/ |
D | ili9320.h | 15 #define ILI9320_REG(x) (x) argument 87 #define ILI9320_ENTRYMODE_ID(x) ((x) << 4) argument 95 #define ILI9320_RESIZING_RSZ(x) ((x) << 0) argument 96 #define ILI9320_RESIZING_RCH(x) ((x) << 4) argument 97 #define ILI9320_RESIZING_RCV(x) ((x) << 8) argument 100 #define ILI9320_DISPLAY1_D(x) ((x) << 0) argument 105 #define ILI9320_DISPLAY1_PTDE(x) ((x) << 12) argument 108 #define ILI9320_DISPLAY2_BP(x) ((x) << 0) argument 109 #define ILI9320_DISPLAY2_FP(x) ((x) << 8) argument 122 #define ILI9320_RGBIF1_ENC_FRAMES(x) (((x) - 1)<< 13) argument [all …]
|
/linux-4.1.27/net/xfrm/ |
D | xfrm_replay.c | 24 u32 xfrm_replay_seqhi(struct xfrm_state *x, __be32 net_seq) in xfrm_replay_seqhi() 49 static void xfrm_replay_notify(struct xfrm_state *x, int event) in xfrm_replay_notify() 95 static int xfrm_replay_overflow(struct xfrm_state *x, struct sk_buff *skb) in xfrm_replay_overflow() 117 static int xfrm_replay_check(struct xfrm_state *x, in xfrm_replay_check() 149 static void xfrm_replay_advance(struct xfrm_state *x, __be32 net_seq) in xfrm_replay_advance() 173 static int xfrm_replay_overflow_bmp(struct xfrm_state *x, struct sk_buff *skb) in xfrm_replay_overflow_bmp() 196 static int xfrm_replay_check_bmp(struct xfrm_state *x, in xfrm_replay_check_bmp() 240 static void xfrm_replay_advance_bmp(struct xfrm_state *x, __be32 net_seq) in xfrm_replay_advance_bmp() 288 static void xfrm_replay_notify_bmp(struct xfrm_state *x, int event) in xfrm_replay_notify_bmp() 339 static void xfrm_replay_notify_esn(struct xfrm_state *x, int event) in xfrm_replay_notify_esn() [all …]
|
D | xfrm_state.c | 71 struct xfrm_state *x; in xfrm_hash_transfer() local 331 static void xfrm_state_gc_destroy(struct xfrm_state *x) in xfrm_state_gc_destroy() 359 struct xfrm_state *x; in xfrm_state_gc_task() local 382 struct xfrm_state *x = container_of(thr, struct xfrm_state, mtimer); in xfrm_timer_handler() local 470 struct xfrm_state *x; in xfrm_state_alloc() local 501 void __xfrm_state_destroy(struct xfrm_state *x) in __xfrm_state_destroy() 514 int __xfrm_state_delete(struct xfrm_state *x) in __xfrm_state_delete() 542 int xfrm_state_delete(struct xfrm_state *x) in xfrm_state_delete() 561 struct xfrm_state *x; in xfrm_state_flush_secctx_check() local 593 struct xfrm_state *x; in xfrm_state_flush() local [all …]
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
D | gr3d.h | 12 #define GR3D_IDX_ATTRIBUTE(x) (0x100 + (x) * 2) argument 17 #define GR3D_TEX_TEX_ADDR(x) (0x710 + (x)) argument 19 #define GR3D_GLOBAL_SURFADDR(x) (0xe00 + (x)) argument 21 #define GR3D_GLOBAL_SURFOVERADDR(x) (0xe30 + (x)) argument 22 #define GR3D_GLOBAL_SAMP01SURFADDR(x) (0xe50 + (x)) argument 23 #define GR3D_GLOBAL_SAMP23SURFADDR(x) (0xe60 + (x)) argument
|
D | sor.h | 41 #define SOR_STATE_ASY_OWNER(x) (((x) & 0xf) << 0) argument 43 #define SOR_HEAD_STATE_0(x) (0x05 + (x)) argument 44 #define SOR_HEAD_STATE_1(x) (0x07 + (x)) argument 45 #define SOR_HEAD_STATE_2(x) (0x09 + (x)) argument 46 #define SOR_HEAD_STATE_3(x) (0x0b + (x)) argument 47 #define SOR_HEAD_STATE_4(x) (0x0d + (x)) argument 48 #define SOR_HEAD_STATE_5(x) (0x0f + (x)) argument 55 #define SOR_CLK_CNTRL_DP_LINK_SPEED(x) (((x) & 0x1f) << 2) argument 80 #define SOR_PLL_0_ICHPMP(x) (((x) & 0xf) << 24) argument 82 #define SOR_PLL_0_VCOCAP(x) (((x) & 0xf) << 8) argument [all …]
|
D | dpaux.h | 21 #define DPAUX_DP_AUXDATA_WRITE(x) (0x09 + ((x) << 2)) argument 22 #define DPAUX_DP_AUXDATA_READ(x) (0x19 + ((x) << 2)) argument 36 #define DPAUX_DP_AUXCTL_CMDLEN(x) ((x) & 0xff) argument 51 #define DPAUX_HPD_CONFIG_UNPLUG_MIN_TIME(x) (((x) & 0xffff) << 16) argument 52 #define DPAUX_HPD_CONFIG_PLUG_MIN_TIME(x) ((x) & 0xffff) argument 55 #define DPAUX_HPD_IRQ_CONFIG_MIN_LOW_TIME(x) ((x) & 0xffff) argument 60 #define DPAUX_HYBRID_PADCTL_AUX_CMH(x) (((x) & 0x3) << 12) argument 61 #define DPAUX_HYBRID_PADCTL_AUX_DRVZ(x) (((x) & 0x7) << 8) argument 62 #define DPAUX_HYBRID_PADCTL_AUX_DRVI(x) (((x) & 0x3f) << 2) argument
|
D | hdmi.h | 85 #define INFOFRAME_HEADER_TYPE(x) (((x) & 0xff) << 0) argument 86 #define INFOFRAME_HEADER_VERSION(x) (((x) & 0xff) << 8) argument 87 #define INFOFRAME_HEADER_LEN(x) (((x) & 0x0f) << 16) argument 123 #define ACR_SUBPACK_CTS(x) (((x) & 0xffffff) << 8) argument 124 #define ACR_SUBPACK_N(x) (((x) & 0xffffff) << 0) argument 128 #define HDMI_CTRL_REKEY(x) (((x) & 0x7f) << 0) argument 129 #define HDMI_CTRL_MAX_AC_PACKET(x) (((x) & 0x1f) << 16) argument 134 #define VSYNC_WINDOW_END(x) (((x) & 0x3ff) << 0) argument 135 #define VSYNC_WINDOW_START(x) (((x) & 0x3ff) << 16) argument 150 #define SPARE_CTS_RESET_VAL(x) (((x) & 0x7) << 16) argument [all …]
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
D | reg_wow.h | 71 #define AR_WOW_BACK_OFF_SHIFT(x) ((x & 0xf) << 27) /* in usecs */ argument 74 #define AR_WOW_PATTERN_EN(x) (x & 0xff) argument 76 #define AR_WOW_PATTERN_FOUND(x) (x & (0xff << AR_WOW_PAT_FOUND_SHIFT)) argument 83 #define AR_WOW_STATUS(x) (x & (AR_WOW_PATTERN_FOUND_MASK | \ argument 87 #define AR_WOW_CLEAR_EVENTS(x) (x & ~(AR_WOW_PATTERN_EN(0xff) | \ argument 93 #define AR_WOW2_PATTERN_EN(x) ((x & 0xff) << 0) argument 95 #define AR_WOW2_PATTERN_FOUND(x) (x & (0xff << AR_WOW2_PATTERN_FOUND_SHIFT)) argument 98 #define AR_WOW_STATUS2(x) (x & AR_WOW2_PATTERN_FOUND_MASK) argument 99 #define AR_WOW_CLEAR_EVENTS2(x) (x & ~(AR_WOW2_PATTERN_EN(0xff))) argument 101 #define AR_WOW_AIFS_CNT(x) (x & 0xff) argument [all …]
|
/linux-4.1.27/include/linux/iio/frequency/ |
D | adf4350.h | 21 #define ADF4350_REG0_FRACT(x) (((x) & 0xFFF) << 3) argument 22 #define ADF4350_REG0_INT(x) (((x) & 0xFFFF) << 15) argument 25 #define ADF4350_REG1_MOD(x) (((x) & 0xFFF) << 3) argument 26 #define ADF4350_REG1_PHASE(x) (((x) & 0xFFF) << 15) argument 38 #define ADF4350_REG2_CHARGE_PUMP_CURR_uA(x) (((((x)-312) / 312) & 0xF) << 9) argument 40 #define ADF4350_REG2_10BIT_R_CNT(x) ((x) << 14) argument 43 #define ADF4350_REG2_MUXOUT(x) ((x) << 26) argument 44 #define ADF4350_REG2_NOISE_MODE(x) (((unsigned)(x)) << 29) argument 54 #define ADF4350_REG3_12BIT_CLKDIV(x) ((x) << 3) argument 55 #define ADF4350_REG3_12BIT_CLKDIV_MODE(x) ((x) << 16) argument [all …]
|
/linux-4.1.27/arch/arm/mach-omap1/ |
D | pm.h | 144 #define omap_serial_wake_trigger(x) {} argument 147 #define ARM_SAVE(x) arm_sleep_save[ARM_SLEEP_SAVE_##x] = omap_readl(x) argument 148 #define ARM_RESTORE(x) omap_writel((arm_sleep_save[ARM_SLEEP_SAVE_##x]), (x)) argument 149 #define ARM_SHOW(x) arm_sleep_save[ARM_SLEEP_SAVE_##x] argument 151 #define DSP_SAVE(x) dsp_sleep_save[DSP_SLEEP_SAVE_##x] = __raw_readw(x) argument 152 #define DSP_RESTORE(x) __raw_writew((dsp_sleep_save[DSP_SLEEP_SAVE_##x]), (x)) argument 153 #define DSP_SHOW(x) dsp_sleep_save[DSP_SLEEP_SAVE_##x] argument 155 #define ULPD_SAVE(x) ulpd_sleep_save[ULPD_SLEEP_SAVE_##x] = omap_readw(x) argument 156 #define ULPD_RESTORE(x) omap_writew((ulpd_sleep_save[ULPD_SLEEP_SAVE_##x]), (x)) argument 157 #define ULPD_SHOW(x) ulpd_sleep_save[ULPD_SLEEP_SAVE_##x] argument [all …]
|
/linux-4.1.27/drivers/media/platform/exynos-gsc/ |
D | gsc-regs.h | 70 #define GSC_SRCIMG_HEIGHT(x) ((x) << 16) argument 71 #define GSC_SRCIMG_WIDTH(x) ((x) << 0) argument 75 #define GSC_SRCIMG_OFFSET_Y(x) ((x) << 16) argument 76 #define GSC_SRCIMG_OFFSET_X(x) ((x) << 0) argument 80 #define GSC_CROPPED_HEIGHT(x) ((x) << 16) argument 81 #define GSC_CROPPED_WIDTH(x) ((x) << 0) argument 86 #define GSC_OUT_GLOBAL_ALPHA(x) ((x) << 24) argument 115 #define GSC_SCALED_HEIGHT(x) ((x) << 16) argument 116 #define GSC_SCALED_WIDTH(x) ((x) << 0) argument 120 #define GSC_PRESC_SHFACTOR(x) ((x) << 28) argument [all …]
|
/linux-4.1.27/drivers/mmc/host/ |
D | dw_mmc-exynos.h | 24 #define SDMMC_CLKSEL_CCLK_SAMPLE(x) (((x) & 7) << 0) argument 25 #define SDMMC_CLKSEL_CCLK_DRIVE(x) (((x) & 7) << 16) argument 26 #define SDMMC_CLKSEL_CCLK_DIVIDER(x) (((x) & 7) << 24) argument 27 #define SDMMC_CLKSEL_GET_DRV_WD3(x) (((x) >> 16) & 0x7) argument 28 #define SDMMC_CLKSEL_GET_DIV(x) (((x) >> 24) & 0x7) argument 29 #define SDMMC_CLKSEL_UP_SAMPLE(x, y) (((x) & ~SDMMC_CLKSEL_CCLK_SAMPLE(7)) |\ argument 31 #define SDMMC_CLKSEL_TIMING(x, y, z) (SDMMC_CLKSEL_CCLK_SAMPLE(x) | \ argument 42 #define DQS_CTRL_RD_DELAY(x, y) (((x) & ~0x3FF) | ((y) & 0x3FF)) argument 43 #define DQS_CTRL_GET_RD_DELAY(x) ((x) & 0x3FF) argument
|
/linux-4.1.27/tools/perf/util/include/linux/ |
D | kernel.h | 11 #define PERF_ALIGN(x, a) __PERF_ALIGN_MASK(x, (typeof(x))(a)-1) argument 12 #define __PERF_ALIGN_MASK(x, mask) (((x)+(mask))&~(mask)) argument 34 #define max(x, y) ({ \ argument 42 #define min(x, y) ({ \ argument 50 #define roundup(x, y) ( \ argument 70 #define cpu_to_le64(x) (x) argument 71 #define cpu_to_le32(x) (x) argument 103 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) argument 104 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) argument 105 #define round_down(x, y) ((x) & ~__round_mask(x, y)) argument
|
/linux-4.1.27/arch/sh/include/asm/ |
D | page.h | 79 #define pte_val(x) \ argument 81 #define __pte(x) \ argument 87 #define pte_val(x) ((x).pte_low) argument 88 #define __pte(x) ((pte_t) { (x) } ) argument 93 #define pte_val(x) ((x).pte_low) argument 94 #define __pte(x) ((pte_t) { (x) } ) argument 97 #define pgd_val(x) ((x).pgd) argument 98 #define pgprot_val(x) ((x).pgprot) argument 100 #define __pgd(x) ((pgd_t) { (x) } ) argument 101 #define __pgprot(x) ((pgprot_t) { (x) } ) argument [all …]
|
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/ |
D | cik_regs.h | 31 #define PIPEID(x) ((x) << 0) argument 32 #define MEID(x) ((x) << 2) argument 33 #define VMID(x) ((x) << 4) argument 34 #define QUEUEID(x) ((x) << 8) argument 40 #define PRIVATE_BASE(x) ((x) << 0) /* scratch */ argument 41 #define SHARED_BASE(x) ((x) << 16) /* LDS */ argument 49 #define ALIGNMENT_MODE(x) ((x) << 2) argument 54 #define DEFAULT_MTYPE(x) ((x) << 4) argument 55 #define APE1_MTYPE(x) ((x) << 7) argument 114 #define EOP_SIZE(x) ((x) << 0) argument [all …]
|
/linux-4.1.27/arch/m32r/include/asm/ |
D | page.h | 29 #define pte_val(x) ((x).pte) argument 35 #define pmd_val(x) ((x).pmd) argument 36 #define pgd_val(x) ((x).pgd) argument 37 #define pgprot_val(x) ((x).pgprot) argument 39 #define __pte(x) ((pte_t) { (x) } ) argument 40 #define __pmd(x) ((pmd_t) { (x) } ) argument 41 #define __pgd(x) ((pgd_t) { (x) } ) argument 42 #define __pgprot(x) ((pgprot_t) { (x) } ) argument 69 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET) argument 70 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET)) argument [all …]
|
D | uaccess.h | 38 #define set_fs(x) (current_thread_info()->addr_limit = (x)) argument 170 #define get_user(x, ptr) \ argument 189 #define put_user(x, ptr) \ argument 212 #define __get_user(x, ptr) \ argument 215 #define __get_user_nocheck(x, ptr, size) \ argument 225 #define __get_user_check(x, ptr, size) \ argument 239 #define __get_user_size(x, ptr, size, retval) \ argument 251 #define __get_user_asm(x, addr, err, itype) \ argument 291 #define __put_user(x, ptr) \ argument 295 #define __put_user_nocheck(x, ptr, size) \ argument [all …]
|
/linux-4.1.27/include/linux/platform_data/ |
D | video-imxfb.h | 32 #define PCR_ACD(x) (((x) & 0x7f) << 8) argument 35 #define PCR_PCD(x) ((x) & 0x3f) argument 37 #define PWMR_CLS(x) (((x) & 0x1ff) << 16) argument 42 #define PWMR_PW(x) ((x) & 0xff) argument 44 #define LSCR1_PS_RISE_DELAY(x) (((x) & 0x7f) << 26) argument 45 #define LSCR1_CLS_RISE_DELAY(x) (((x) & 0x3f) << 16) argument 46 #define LSCR1_REV_TOGGLE_DELAY(x) (((x) & 0xf) << 8) argument 47 #define LSCR1_GRAY2(x) (((x) & 0xf) << 4) argument 48 #define LSCR1_GRAY1(x) (((x) & 0xf)) argument 51 #define DMACR_HM(x) (((x) & 0xf) << 16) argument [all …]
|
/linux-4.1.27/lib/ |
D | locking-selftest.c | 178 #define L(x) raw_spin_lock(&lock_##x) argument 179 #define U(x) raw_spin_unlock(&lock_##x) argument 180 #define LU(x) L(x); U(x) argument 181 #define SI(x) raw_spin_lock_init(&lock_##x) argument 183 #define WL(x) write_lock(&rwlock_##x) argument 184 #define WU(x) write_unlock(&rwlock_##x) argument 185 #define WLU(x) WL(x); WU(x) argument 187 #define RL(x) read_lock(&rwlock_##x) argument 188 #define RU(x) read_unlock(&rwlock_##x) argument 189 #define RLU(x) RL(x); RU(x) argument [all …]
|
/linux-4.1.27/arch/arm/mach-sa1100/include/mach/ |
D | hardware.h | 34 #define io_p2v( x ) \ argument 36 #define io_v2p( x ) \ argument 50 #define __MREG(x) IOMEM(io_p2v(x)) argument 61 # define __REG(x) (*((volatile unsigned long __iomem *)io_p2v(x))) argument 62 # define __PREG(x) (io_v2p((unsigned long)&(x))) argument 70 # define __REG(x) io_p2v(x) argument 71 # define __PREG(x) io_v2p(x) argument
|
/linux-4.1.27/drivers/phy/ |
D | phy-berlin-usb.c | 30 #define CLK_REF_DIV(x) ((x) << 4) argument 31 #define FEEDBACK_CLK_DIV(x) ((x) << 8) argument 49 #define IMPCAL_VTH_DIV(x) ((x) << 5) argument 50 #define EXT_RS_RCAL_DIV(x) ((x) << 8) argument 51 #define EXT_FS_RCAL_DIV(x) ((x) << 12) argument 63 #define TX_OUT_AMP(x) ((x) << 9) argument 66 #define TX_CHAN_CTRL_REG(x) ((x) << 0) argument 67 #define DRV_SLEWRATE(x) ((x) << 4) argument 72 #define FS_DRV_EN_MASK(x) ((x) << 8) argument 73 #define HS_DRV_EN_MASK(x) ((x) << 12) argument [all …]
|
/linux-4.1.27/arch/x86/mm/ |
D | physaddr.c | 13 unsigned long __phys_addr(unsigned long x) in __phys_addr() 33 unsigned long __phys_addr_symbol(unsigned long x) in __phys_addr_symbol() 45 bool __virt_addr_valid(unsigned long x) in __virt_addr_valid() 70 unsigned long __phys_addr(unsigned long x) in __phys_addr() 86 bool __virt_addr_valid(unsigned long x) in __virt_addr_valid()
|
/linux-4.1.27/fs/reiserfs/ |
D | procfs.c | 49 #define SF( x ) ( r -> x ) argument 50 #define SFP( x ) SF( s_proc_info_data.x ) argument 51 #define SFPL( x ) SFP( x[ level ] ) argument 52 #define SFPF( x ) SFP( scan_bitmap.x ) argument 53 #define SFPJ( x ) SFP( journal.x ) argument 55 #define D2C( x ) le16_to_cpu( x ) argument 56 #define D4C( x ) le32_to_cpu( x ) argument 57 #define DF( x ) D2C( rs -> s_v1.x ) argument 58 #define DFL( x ) D4C( rs -> s_v1.x ) argument 65 #define DJF( x ) le32_to_cpu( rs -> x ) argument [all …]
|
/linux-4.1.27/drivers/media/platform/s5p-tv/ |
D | regs-mixer.h | 90 #define MXR_GRP_CFG_FORMAT_VAL(x) MXR_MASK_VAL(x, 11, 8) argument 92 #define MXR_GRP_CFG_ALPHA_VAL(x) MXR_MASK_VAL(x, 7, 0) argument 95 #define MXR_GRP_WH_H_SCALE(x) MXR_MASK_VAL(x, 28, 28) argument 96 #define MXR_GRP_WH_V_SCALE(x) MXR_MASK_VAL(x, 12, 12) argument 97 #define MXR_GRP_WH_WIDTH(x) MXR_MASK_VAL(x, 26, 16) argument 98 #define MXR_GRP_WH_HEIGHT(x) MXR_MASK_VAL(x, 10, 0) argument 101 #define MXR_GRP_SXY_SX(x) MXR_MASK_VAL(x, 26, 16) argument 102 #define MXR_GRP_SXY_SY(x) MXR_MASK_VAL(x, 10, 0) argument 105 #define MXR_GRP_DXY_DX(x) MXR_MASK_VAL(x, 26, 16) argument 106 #define MXR_GRP_DXY_DY(x) MXR_MASK_VAL(x, 10, 0) argument [all …]
|
/linux-4.1.27/arch/alpha/boot/ |
D | misc.c | 65 # define Trace(x) fprintf x argument 66 # define Tracev(x) {if (verbose) fprintf x ;} argument 67 # define Tracevv(x) {if (verbose>1) fprintf x ;} argument 68 # define Tracec(c,x) {if (verbose && (c)) fprintf x ;} argument 69 # define Tracecv(c,x) {if (verbose>1 && (c)) fprintf x ;} argument 72 # define Trace(x) argument 73 # define Tracev(x) argument 74 # define Tracevv(x) argument 75 # define Tracec(c,x) argument 76 # define Tracecv(c,x) argument [all …]
|
/linux-4.1.27/drivers/video/backlight/ |
D | ltv350qv.h | 27 #define LTV_GAMMA(x) (0x10 + (x)) /* Gamma control */ argument 34 #define LTV_NL(x) (((x) & 0x001f) << 0) argument 65 #define LTV_CLW(x) (((x) & 0x0007) << 12) argument 76 #define LTV_FTI(x) (((x) & 0x0003) << 4) argument 77 #define LTV_FWI(x) (((x) & 0x0003) << 0) argument 80 #define LTV_SDT(x) (((x) & 0x0007) << 10) argument 81 #define LTV_EQ(x) (((x) & 0x0007) << 2) argument 87 #define LTV_DRIVE_CURRENT(x) (((x) & 0x0007) << 4) /* 0=off, 5=max */ argument 88 #define LTV_SUPPLY_CURRENT(x) (((x) & 0x0007) << 0) /* 0=off, 5=max */ argument 92 #define LTV_VCOML_VOLTAGE(x) (((x) & 0x001f) << 8) /* 0=1V, 31=-1V */ argument [all …]
|
/linux-4.1.27/arch/s390/include/uapi/asm/ |
D | swab.h | 17 static inline __u64 __arch_swab64p(const __u64 *x) in __arch_swab64p() 26 static inline __u64 __arch_swab64(__u64 x) in __arch_swab64() 35 static inline void __arch_swab64s(__u64 *x) in __arch_swab64s() 42 static inline __u32 __arch_swab32p(const __u32 *x) in __arch_swab32p() 62 static inline __u32 __arch_swab32(__u32 x) in __arch_swab32() 72 static inline __u16 __arch_swab16p(const __u16 *x) in __arch_swab16p()
|
/linux-4.1.27/arch/arm/mach-netx/ |
D | xc.c | 53 int xc_stop(struct xc *x) in xc_stop() 61 int xc_start(struct xc *x) in xc_start() 69 int xc_running(struct xc *x) in xc_running() 77 int xc_reset(struct xc *x) in xc_reset() 83 static int xc_check_ptr(struct xc *x, unsigned long adr, unsigned int size) in xc_check_ptr() 98 static int xc_patch(struct xc *x, const void *patch, int count) in xc_patch() 115 int xc_request_firmware(struct xc *x) in xc_request_firmware() 182 struct xc *x = NULL; in request_xc() local 236 void free_xc(struct xc *x) in free_xc()
|
/linux-4.1.27/scripts/ |
D | sortextable.c | 108 static uint64_t r8be(const uint64_t *x) in r8be() 112 static uint32_t rbe(const uint32_t *x) in rbe() 116 static uint16_t r2be(const uint16_t *x) in r2be() 120 static uint64_t r8le(const uint64_t *x) in r8le() 124 static uint32_t rle(const uint32_t *x) in rle() 128 static uint16_t r2le(const uint16_t *x) in r2le() 133 static void w8be(uint64_t val, uint64_t *x) in w8be() 137 static void wbe(uint32_t val, uint32_t *x) in wbe() 141 static void w2be(uint16_t val, uint16_t *x) in w2be() 145 static void w8le(uint64_t val, uint64_t *x) in w8le() [all …]
|
/linux-4.1.27/arch/arm/mach-hisi/ |
D | platmcpm.c | 23 #define CORE_RESET_BIT(x) (1 << x) argument 24 #define NEON_RESET_BIT(x) (1 << (x + 4)) argument 25 #define CORE_DEBUG_RESET_BIT(x) (1 << (x + 9)) argument 33 #define CORE_RESET_STATUS(x) (1 << x) argument 34 #define NEON_RESET_STATUS(x) (1 << (x + 4)) argument 35 #define CORE_DEBUG_RESET_STATUS(x) (1 << (x + 9)) argument 38 #define CORE_WFI_STATUS(x) (1 << (x + 16)) argument 39 #define CORE_WFE_STATUS(x) (1 << (x + 20)) argument 40 #define CORE_DEBUG_ACK(x) (1 << (x + 24)) argument 42 #define SC_CPU_RESET_REQ(x) (0x520 + (x << 3)) /* reset */ argument [all …]
|
/linux-4.1.27/drivers/memory/ |
D | ti-aemif.c | 34 #define TA(x) ((x) << TA_SHIFT) argument 35 #define RHOLD(x) ((x) << RHOLD_SHIFT) argument 36 #define RSTROBE(x) ((x) << RSTROBE_SHIFT) argument 37 #define RSETUP(x) ((x) << RSETUP_SHIFT) argument 38 #define WHOLD(x) ((x) << WHOLD_SHIFT) argument 39 #define WSTROBE(x) ((x) << WSTROBE_SHIFT) argument 40 #define WSETUP(x) ((x) << WSETUP_SHIFT) argument 41 #define EW(x) ((x) << EW_SHIFT) argument 42 #define SS(x) ((x) << SS_SHIFT) argument 56 #define TA_VAL(x) (((x) & TA(TA_MAX)) >> TA_SHIFT) argument [all …]
|
/linux-4.1.27/arch/arm/mach-at91/include/mach/ |
D | at91sam9_smc.h | 50 #define AT91_SMC_NWESETUP_(x) ((x) << 0) argument 52 #define AT91_SMC_NCS_WRSETUP_(x) ((x) << 8) argument 54 #define AT91_SMC_NRDSETUP_(x) ((x) << 16) argument 56 #define AT91_SMC_NCS_RDSETUP_(x) ((x) << 24) argument 60 #define AT91_SMC_NWEPULSE_(x) ((x) << 0) argument 62 #define AT91_SMC_NCS_WRPULSE_(x)((x) << 8) argument 64 #define AT91_SMC_NRDPULSE_(x) ((x) << 16) argument 66 #define AT91_SMC_NCS_RDPULSE_(x)((x) << 24) argument 70 #define AT91_SMC_NWECYCLE_(x) ((x) << 0) argument 72 #define AT91_SMC_NRDCYCLE_(x) ((x) << 16) argument [all …]
|
/linux-4.1.27/include/linux/mfd/syscon/ |
D | atmel-smc.h | 27 #define AT91SAM9_SMC_NWESETUP(x) (x) argument 28 #define AT91SAM9_SMC_NCS_WRSETUP(x) ((x) << 8) argument 29 #define AT91SAM9_SMC_NRDSETUP(x) ((x) << 16) argument 30 #define AT91SAM9_SMC_NCS_NRDSETUP(x) ((x) << 24) argument 33 #define AT91SAM9_SMC_NWEPULSE(x) (x) argument 34 #define AT91SAM9_SMC_NCS_WRPULSE(x) ((x) << 8) argument 35 #define AT91SAM9_SMC_NRDPULSE(x) ((x) << 16) argument 36 #define AT91SAM9_SMC_NCS_NRDPULSE(x) ((x) << 24) argument 39 #define AT91SAM9_SMC_NWECYCLE(x) (x) argument 40 #define AT91SAM9_SMC_NRDCYCLE(x) ((x) << 16) argument [all …]
|
/linux-4.1.27/drivers/atm/ |
D | he.h | 55 #define TPDRQ_MASK(x) (((unsigned long)(x))&((CONFIG_TPDRQ_SIZE<<3)-1)) argument 59 #define RBRQ_MASK(x) (((unsigned long)(x))&((CONFIG_RBRQ_SIZE<<3)-1)) argument 63 #define TBRQ_MASK(x) (((unsigned long)(x))&((CONFIG_TBRQ_SIZE<<2)-1)) argument 68 #define RBPL_MASK(x) (((unsigned long)(x))&((CONFIG_RBPL_SIZE<<3)-1)) argument 109 #define ITYPE_GROUP(x) (x & 0x7) argument 110 #define ITYPE_TYPE(x) (x & 0xf8) argument 144 #define TPD_ADDR(x) ((x) & TPD_MASK) argument 145 #define TPD_INDEX(x) (TPD_ADDR(x) >> TPD_ADDR_SHIFT) argument 374 #define SWAP_RNUM_MAX(x) (x<<27) argument 411 #define IRQ_BASE(x) (x<<12) argument [all …]
|
/linux-4.1.27/drivers/crypto/ |
D | mv_cesa.h | 17 #define SEC_DESC_P0_PTR(x) (x) argument 20 #define SEC_DESC_P1_PTR(x) (x) argument 84 #define ENC_P_SRC(x) (x) argument 85 #define ENC_P_DST(x) ((x) << 16) argument 88 #define ENC_LEN(x) (x) argument 91 #define ENC_KEY_P(x) (x) argument 94 #define ENC_IV_POINT(x) ((x) << 0) argument 95 #define ENC_IV_BUF_POINT(x) ((x) << 16) argument 98 #define MAC_SRC_DATA_P(x) (x) argument 99 #define MAC_SRC_TOTAL_LEN(x) ((x) << 16) argument [all …]
|
/linux-4.1.27/arch/s390/include/asm/ |
D | page.h | 78 #define pgprot_val(x) ((x).pgprot) argument 79 #define pgste_val(x) ((x).pgste) argument 80 #define pte_val(x) ((x).pte) argument 81 #define pmd_val(x) ((x).pmd) argument 82 #define pud_val(x) ((x).pud) argument 83 #define pgd_val(x) ((x).pgd) argument 85 #define __pgste(x) ((pgste_t) { (x) } ) argument 86 #define __pte(x) ((pte_t) { (x) } ) argument 87 #define __pmd(x) ((pmd_t) { (x) } ) argument 88 #define __pud(x) ((pud_t) { (x) } ) argument [all …]
|
/linux-4.1.27/drivers/scsi/fcoe/ |
D | fcoe_sysfs.c | 57 #define fcoe_ctlr_id(x) \ argument 59 #define fcoe_ctlr_work_q_name(x) \ argument 61 #define fcoe_ctlr_work_q(x) \ argument 63 #define fcoe_ctlr_devloss_work_q_name(x) \ argument 65 #define fcoe_ctlr_devloss_work_q(x) \ argument 67 #define fcoe_ctlr_mode(x) \ argument 69 #define fcoe_ctlr_fcf_dev_loss_tmo(x) \ argument 71 #define fcoe_ctlr_link_fail(x) \ argument 73 #define fcoe_ctlr_vlink_fail(x) \ argument 75 #define fcoe_ctlr_miss_fka(x) \ argument [all …]
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | asm-offsets.c | 597 # define SVCPU_FIELD(x, f) DEFINE(x, offsetof(struct paca_struct, shadow_vcpu.f)) in main() argument 599 # define SVCPU_FIELD(x, f) in main() argument 601 # define HSTATE_FIELD(x, f) DEFINE(x, offsetof(struct paca_struct, kvm_hstate.f)) in main() argument 603 # define SVCPU_FIELD(x, f) DEFINE(x, offsetof(struct kvmppc_book3s_shadow_vcpu, f)) in main() argument 604 # define HSTATE_FIELD(x, f) DEFINE(x, offsetof(struct kvmppc_book3s_shadow_vcpu, hstate.f)) in main() argument
|
/linux-4.1.27/net/mac80211/ |
D | mesh_hwmp.c | 49 #define AE_F_SET(x) (*x & AE_F) argument 50 #define PREQ_IE_FLAGS(x) (*(x)) argument 51 #define PREQ_IE_HOPCOUNT(x) (*(x + 1)) argument 52 #define PREQ_IE_TTL(x) (*(x + 2)) argument 53 #define PREQ_IE_PREQ_ID(x) u32_field_get(x, 3, 0) argument 54 #define PREQ_IE_ORIG_ADDR(x) (x + 7) argument 55 #define PREQ_IE_ORIG_SN(x) u32_field_get(x, 13, 0) argument 56 #define PREQ_IE_LIFETIME(x) u32_field_get(x, 17, AE_F_SET(x)) argument 57 #define PREQ_IE_METRIC(x) u32_field_get(x, 21, AE_F_SET(x)) argument 58 #define PREQ_IE_TARGET_F(x) (*(AE_F_SET(x) ? x + 32 : x + 26)) argument [all …]
|
/linux-4.1.27/arch/nios2/boot/compressed/ |
D | misc.c | 69 # define Trace(x) fprintf x argument 70 # define Tracev(x) {if (verbose) fprintf x ; } argument 71 # define Tracevv(x) {if (verbose > 1) fprintf x ; } argument 72 # define Tracec(c, x) {if (verbose && (c)) fprintf x ; } argument 73 # define Tracecv(c, x) {if (verbose > 1 && (c)) fprintf x ; } argument 76 # define Trace(x) argument 77 # define Tracev(x) argument 78 # define Tracevv(x) argument 79 # define Tracec(c, x) argument 80 # define Tracecv(c, x) argument [all …]
|
/linux-4.1.27/drivers/ata/ |
D | ahci_da850.c | 24 #define SATA_PHY_MPY(x) ((x) << 0) argument 25 #define SATA_PHY_LOS(x) ((x) << 6) argument 26 #define SATA_PHY_RXCDR(x) ((x) << 10) argument 27 #define SATA_PHY_RXEQ(x) ((x) << 13) argument 28 #define SATA_PHY_TXSWING(x) ((x) << 19) argument 29 #define SATA_PHY_ENPLL(x) ((x) << 31) argument
|
/linux-4.1.27/arch/arm/mach-ks8695/include/mach/ |
D | memory.h | 23 #define __virt_to_bus(x) ((x) - PAGE_OFFSET + KS8695_PCIMEM_PA) argument 24 #define __bus_to_virt(x) ((x) - KS8695_PCIMEM_PA + PAGE_OFFSET) argument 29 #define __arch_dma_to_virt(dev, x) ({ (void *) (is_lbus_device(dev) ? \ argument 31 #define __arch_virt_to_dma(dev, x) ({ is_lbus_device(dev) ? \ argument 40 #define __arch_dma_to_pfn(dev, x) \ argument
|
/linux-4.1.27/drivers/misc/mic/host/ |
D | mic_x100.h | 45 #define MIC_X100_SBOX_SICR0_DBR(x) ((x) & 0xf) argument 46 #define MIC_X100_SBOX_SICR0_DMA(x) (((x) >> 8) & 0xff) argument 47 #define MIC_X100_SBOX_SICE0_DBR(x) ((x) & 0xf) argument 48 #define MIC_X100_SBOX_DBR_BITS(x) ((x) & 0xf) argument 49 #define MIC_X100_SBOX_SICE0_DMA(x) (((x) >> 8) & 0xff) argument 50 #define MIC_X100_SBOX_DMA_BITS(x) (((x) & 0xff) << 8) argument 72 #define MIC_X100_SPAD2_DOWNLOAD_STATUS(x) ((x) & 0x1) argument 73 #define MIC_X100_SPAD2_APIC_ID(x) (((x) >> 1) & 0x1ff) argument 74 #define MIC_X100_SPAD2_DOWNLOAD_ADDR(x) ((x) & 0xfffff000) argument
|
/linux-4.1.27/sound/soc/pxa/ |
D | mmp-sspa.h | 52 #define SSPA_CTL_XFRLEN2(x) ((x) << 24) /* Transmit Frame Length in Phase 2 */ argument 54 #define SSPA_CTL_XWDLEN2(x) ((x) << 21) /* Transmit Word Length in Phase 2 */ argument 55 #define SSPA_CTL_XDATDLY(x) ((x) << 19) /* Tansmit Data Delay */ argument 57 #define SSPA_CTL_XSSZ2(x) ((x) << 16) /* Transmit Sample Audio Size */ argument 59 #define SSPA_CTL_XFRLEN1(x) ((x) << 8) /* Transmit Frame Length in Phase 1 */ argument 61 #define SSPA_CTL_XWDLEN1(x) ((x) << 5) /* Transmit Word Length in Phase 1 */ argument 63 #define SSPA_CTL_XSSZ1(x) ((x) << 0) /* XSSZ1 */ argument 80 #define SSPA_SP_FWID(x) ((x) << 20) /* Frame-Sync Width */ argument 81 #define SSPA_TXSP_FPER(x) ((x) << 4) /* Frame-Sync Active */ argument
|
/linux-4.1.27/drivers/rapidio/devices/ |
D | tsi721.h | 111 #define TSI721_RIO_PW_RX_CAPT(x) (0x10a20 + (x)*4) argument 119 #define TSI721_IDQ_CTL(x) (0x20000 + (x) * 0x1000) argument 123 #define TSI721_IDQ_STS(x) (0x20004 + (x) * 0x1000) argument 126 #define TSI721_IDQ_MASK(x) (0x20008 + (x) * 0x1000) argument 130 #define TSI721_IDQ_RP(x) (0x2000c + (x) * 0x1000) argument 133 #define TSI721_IDQ_WP(x) (0x20010 + (x) * 0x1000) argument 136 #define TSI721_IDQ_BASEL(x) (0x20014 + (x) * 0x1000) argument 138 #define TSI721_IDQ_BASEU(x) (0x20018 + (x) * 0x1000) argument 139 #define TSI721_IDQ_SIZE(x) (0x2001c + (x) * 0x1000) argument 144 #define TSI721_SR_CHINT(x) (0x20040 + (x) * 0x1000) argument [all …]
|
/linux-4.1.27/sound/soc/codecs/ |
D | ad73311.h | 47 #define REGA_DEVC(x) ((x & 0x7) << 4) argument 53 #define REGB_DIRATE(x) (x & 0x3) argument 54 #define REGB_SCDIV(x) ((x & 0x3) << 2) argument 55 #define REGB_MCDIV(x) ((x & 0x7) << 4) argument 70 #define REGD_IGS(x) (x & 0x7) argument 72 #define REGD_OGS(x) ((x & 0x7) << 4) argument 78 #define REGE_DA(x) (x & 0x1f) argument
|
/linux-4.1.27/tools/lib/lockdep/uinclude/linux/ |
D | kernel.h | 16 #define max(x, y) ({ \ argument 23 #define WARN_ON(x) (x) argument 24 #define WARN_ON_ONCE(x) (x) argument 25 #define likely(x) (x) argument 26 #define WARN(x, y, z) (x) argument 27 #define uninitialized_var(x) x argument
|
/linux-4.1.27/arch/arm/mach-pxa/include/mach/ |
D | regs-lcd.h | 37 #define LCCR3_BPP(x) ((((x) & 0x7) << 24) | (((x) & 0x8) ? (1 << 29) : 0)) argument 137 #define LCCR5_IUM(x) (1 << ((x) + 23)) /* input underrun mask */ argument 138 #define LCCR5_BSM(x) (1 << ((x) + 15)) /* branch mask */ argument 139 #define LCCR5_EOFM(x) (1 << ((x) + 7)) /* end of frame mask */ argument 140 #define LCCR5_SOFM(x) (1 << ((x) + 0)) /* start of frame mask */ argument 156 #define LCSR1_IU(x) (1 << ((x) + 23)) /* Input FIFO underrun */ argument 157 #define LCSR1_BS(x) (1 << ((x) + 15)) /* Branch Status */ argument 158 #define LCSR1_EOF(x) (1 << ((x) + 7)) /* End of Frame Status */ argument 159 #define LCSR1_SOF(x) (1 << ((x) - 1)) /* Start of Frame Status */ argument 164 #define OVLxC1_PPL(x) ((((x) - 1) & 0x3ff) << 0) /* Pixels Per Line */ argument [all …]
|
/linux-4.1.27/fs/jffs2/ |
D | nodelist.h | 36 #define cpu_to_je16(x) ((jint16_t){x}) argument 37 #define cpu_to_je32(x) ((jint32_t){x}) argument 38 #define cpu_to_jemode(x) ((jmode_t){os_to_jffs2_mode(x)}) argument 40 #define constant_cpu_to_je16(x) ((jint16_t){x}) argument 41 #define constant_cpu_to_je32(x) ((jint32_t){x}) argument 43 #define je16_to_cpu(x) ((x).v16) argument 44 #define je32_to_cpu(x) ((x).v32) argument 45 #define jemode_to_cpu(x) (jffs2_to_os_mode((x).m)) argument 47 #define cpu_to_je16(x) ((jint16_t){cpu_to_be16(x)}) argument 48 #define cpu_to_je32(x) ((jint32_t){cpu_to_be32(x)}) argument [all …]
|
/linux-4.1.27/drivers/isdn/hardware/eicon/ |
D | debuglib.h | 95 #define DT_INDEX(x) ((x) & 0x000F) argument 96 #define DL_INDEX(x) ((((x) >> 8) & 0x00FF) - 1) argument 97 #define DLI_NAME(x) ((x) & 0xFF00) argument 106 #define myDbgPrint_LOG(x...) do { } while (0); argument 107 #define myDbgPrint_FTL(x...) do { } while (0); argument 108 #define myDbgPrint_ERR(x...) do { } while (0); argument 109 #define myDbgPrint_TRC(x...) do { } while (0); argument 110 #define myDbgPrint_MXLOG(x...) do { } while (0); argument 111 #define myDbgPrint_EVL(x...) do { } while (0); argument 112 #define myDbgPrint_REG(x...) do { } while (0); argument [all …]
|
/linux-4.1.27/arch/xtensa/include/uapi/asm/ |
D | types.h | 17 # define __XTENSA_UL(x) (x) argument 18 # define __XTENSA_UL_CONST(x) x argument 20 # define __XTENSA_UL(x) ((unsigned long)(x)) argument 21 # define __XTENSA_UL_CONST(x) x##UL argument
|