/arch/arm/include/asm/ |
D | opcodes.h | 24 #define ___asm_opcode_swab32(x) ( \ argument 30 #define ___asm_opcode_swab16(x) ( \ argument 34 #define ___asm_opcode_swahb32(x) ( \ argument 38 #define ___asm_opcode_swahw32(x) ( \ argument 42 #define ___asm_opcode_identity32(x) ((x) & 0xFFFFFFFF) argument 43 #define ___asm_opcode_identity16(x) ((x) & 0xFFFF) argument 88 #define ___opcode_swab32(x) swab32(x) argument 89 #define ___opcode_swab16(x) swab16(x) argument 90 #define ___opcode_swahb32(x) swahb32(x) argument 91 #define ___opcode_swahw32(x) swahw32(x) argument [all …]
|
D | pgtable-3level-types.h | 29 #define pte_val(x) ((x).pte) argument 30 #define pmd_val(x) ((x).pmd) 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 46 #define pte_val(x) (x) argument 47 #define pmd_val(x) (x) argument [all …]
|
D | vmlinux.lds.h | 5 #define ARM_CPU_DISCARD(x) argument 6 #define ARM_CPU_KEEP(x) x argument 8 #define ARM_CPU_DISCARD(x) x argument 9 #define ARM_CPU_KEEP(x) argument 14 #define ARM_EXIT_KEEP(x) x argument 15 #define ARM_EXIT_DISCARD(x) argument 17 #define ARM_EXIT_KEEP(x) argument 18 #define ARM_EXIT_DISCARD(x) x argument 22 #define ARM_MMU_KEEP(x) x argument 23 #define ARM_MMU_DISCARD(x) argument [all …]
|
D | pgtable-2level-types.h | 26 #define pte_val(x) ((x).pte) argument 27 #define pmd_val(x) ((x).pmd) argument 28 #define pgd_val(x) ((x).pgd[0]) argument 29 #define pgprot_val(x) ((x).pgprot) argument 31 #define __pte(x) ((pte_t) { (x) } ) argument 32 #define __pmd(x) ((pmd_t) { (x) } ) argument 33 #define __pgprot(x) ((pgprot_t) { (x) } ) argument 44 #define pte_val(x) (x) argument 45 #define pmd_val(x) (x) argument 46 #define pgd_val(x) ((x)[0]) argument [all …]
|
/arch/sh/include/mach-common/mach/ |
D | mangle-port.h | 24 # define ioswabb(x) (x) argument 25 # define __mem_ioswabb(x) (x) argument 26 # define ioswabw(x) le16_to_cpu(x) argument 27 # define __mem_ioswabw(x) (x) argument 28 # define ioswabl(x) le32_to_cpu(x) argument 29 # define __mem_ioswabl(x) (x) argument 30 # define ioswabq(x) le64_to_cpu(x) argument 31 # define __mem_ioswabq(x) (x) argument 35 # define ioswabb(x) (x) argument 36 # define __mem_ioswabb(x) (x) argument [all …]
|
/arch/mips/include/asm/sibyte/ |
D | sb1250_genbus.h | 45 #define V_IO_WIDTH_SEL(x) _SB_MAKEVALUE(x, S_IO_WIDTH_SEL) argument 46 #define G_IO_WIDTH_SEL(x) _SB_GETVALUE(x, S_IO_WIDTH_SEL, M_IO_WIDTH_SEL) argument 62 #define V_IO_TIMEOUT(x) _SB_MAKEVALUE(x, S_IO_TIMEOUT) argument 63 #define G_IO_TIMEOUT(x) _SB_GETVALUE(x, S_IO_TIMEOUT, M_IO_TIMEOUT) argument 71 #define V_IO_MULT_SIZE(x) _SB_MAKEVALUE(x, S_IO_MULT_SIZE) argument 72 #define G_IO_MULT_SIZE(x) _SB_GETVALUE(x, S_IO_MULT_SIZE, M_IO_MULT_SIZE) argument 82 #define V_IO_START_ADDR(x) _SB_MAKEVALUE(x, S_IO_START_ADDR) argument 83 #define G_IO_START_ADDR(x) _SB_GETVALUE(x, S_IO_START_ADDR, M_IO_START_ADDR) argument 96 #define V_IO_ALE_WIDTH(x) _SB_MAKEVALUE(x, S_IO_ALE_WIDTH) argument 97 #define G_IO_ALE_WIDTH(x) _SB_GETVALUE(x, S_IO_ALE_WIDTH, M_IO_ALE_WIDTH) argument [all …]
|
D | bcm1480_mc.h | 31 #define V_BCM1480_MC_INTLV0(x) _SB_MAKEVALUE(x, S_BCM1480_MC_INTLV0) argument 32 #define G_BCM1480_MC_INTLV0(x) _SB_GETVALUE(x, S_BCM1480_MC_INTLV0, M_BCM1480_MC_INTLV0) argument 37 #define V_BCM1480_MC_INTLV1(x) _SB_MAKEVALUE(x, S_BCM1480_MC_INTLV1) argument 38 #define G_BCM1480_MC_INTLV1(x) _SB_GETVALUE(x, S_BCM1480_MC_INTLV1, M_BCM1480_MC_INTLV1) argument 43 #define V_BCM1480_MC_INTLV2(x) _SB_MAKEVALUE(x, S_BCM1480_MC_INTLV2) argument 44 #define G_BCM1480_MC_INTLV2(x) _SB_GETVALUE(x, S_BCM1480_MC_INTLV2, M_BCM1480_MC_INTLV2) argument 49 #define V_BCM1480_MC_CS_MODE(x) _SB_MAKEVALUE(x, S_BCM1480_MC_CS_MODE) argument 50 #define G_BCM1480_MC_CS_MODE(x) _SB_GETVALUE(x, S_BCM1480_MC_CS_MODE, M_BCM1480_MC_CS_MODE) argument 72 #define V_BCM1480_MC_CS0_START(x) _SB_MAKEVALUE(x, S_BCM1480_MC_CS0_START) argument 73 #define G_BCM1480_MC_CS0_START(x) _SB_GETVALUE(x, S_BCM1480_MC_CS0_START, M_BCM1480_MC_CS0_STAR… argument [all …]
|
D | bcm1480_l2c.h | 31 #define V_BCM1480_L2C_MGMT_INDEX(x) _SB_MAKEVALUE(x, S_BCM1480_L2C_MGMT_INDEX) argument 32 #define G_BCM1480_L2C_MGMT_INDEX(x) _SB_GETVALUE(x, S_BCM1480_L2C_MGMT_INDEX, M_BCM1480_L2C_MGM… argument 36 #define V_BCM1480_L2C_MGMT_WAY(x) _SB_MAKEVALUE(x, S_BCM1480_L2C_MGMT_WAY) argument 37 #define G_BCM1480_L2C_MGMT_WAY(x) _SB_GETVALUE(x, S_BCM1480_L2C_MGMT_WAY, M_BCM1480_L2C_MGMT_WA… argument 44 #define V_BCM1480_L2C_MGMT_ECC_DIAG(x) _SB_MAKEVALUE(x, S_BCM1480_L2C_MGMT_ECC_DIAG) argument 45 #define G_BCM1480_L2C_MGMT_ECC_DIAG(x) _SB_GETVALUE(x, S_BCM1480_L2C_MGMT_ECC_DIAG, M_BCM1480_L… argument 62 #define V_BCM1480_L2C_TAG_INDEX(x) _SB_MAKEVALUE(x, S_BCM1480_L2C_TAG_INDEX) argument 63 #define G_BCM1480_L2C_TAG_INDEX(x) _SB_GETVALUE(x, S_BCM1480_L2C_TAG_INDEX, M_BCM1480_L2C_TAG_I… argument 68 #define V_BCM1480_L2C_TAG_TAG(x) _SB_MAKEVALUE(x, S_BCM1480_L2C_TAG_TAG) argument 69 #define G_BCM1480_L2C_TAG_TAG(x) _SB_GETVALUE(x, S_BCM1480_L2C_TAG_TAG, M_BCM1480_L2C_TAG_TAG) argument [all …]
|
D | sb1250_mc.h | 34 #define V_MC_CHANNEL_SEL(x) _SB_MAKEVALUE(x, S_MC_CHANNEL_SEL) argument 35 #define G_MC_CHANNEL_SEL(x) _SB_GETVALUE(x, S_MC_CHANNEL_SEL, M_MC_CHANNEL_SEL) argument 39 #define V_MC_BANK0_MAP(x) _SB_MAKEVALUE(x, S_MC_BANK0_MAP) argument 40 #define G_MC_BANK0_MAP(x) _SB_GETVALUE(x, S_MC_BANK0_MAP, M_MC_BANK0_MAP) argument 47 #define V_MC_BANK1_MAP(x) _SB_MAKEVALUE(x, S_MC_BANK1_MAP) argument 48 #define G_MC_BANK1_MAP(x) _SB_GETVALUE(x, S_MC_BANK1_MAP, M_MC_BANK1_MAP) argument 55 #define V_MC_BANK2_MAP(x) _SB_MAKEVALUE(x, S_MC_BANK2_MAP) argument 56 #define G_MC_BANK2_MAP(x) _SB_GETVALUE(x, S_MC_BANK2_MAP, M_MC_BANK2_MAP) argument 63 #define V_MC_BANK3_MAP(x) _SB_MAKEVALUE(x, S_MC_BANK3_MAP) argument 64 #define G_MC_BANK3_MAP(x) _SB_GETVALUE(x, S_MC_BANK3_MAP, M_MC_BANK3_MAP) argument [all …]
|
D | sb1250_ldt.h | 72 #define V_LDT_DEVICEID_VENDOR(x) _SB_MAKEVALUE_32(x, S_LDT_DEVICEID_VENDOR) argument 73 #define G_LDT_DEVICEID_VENDOR(x) _SB_GETVALUE_32(x, S_LDT_DEVICEID_VENDOR, M_LDT_DEVICEID_VENDOR) argument 77 #define V_LDT_DEVICEID_DEVICEID(x) _SB_MAKEVALUE_32(x, S_LDT_DEVICEID_DEVICEID) argument 78 #define G_LDT_DEVICEID_DEVICEID(x) _SB_GETVALUE_32(x, S_LDT_DEVICEID_DEVICEID, M_LDT_DEVICEID_DEVIC… argument 102 #define V_LDT_CLASSREV_REV(x) _SB_MAKEVALUE_32(x, S_LDT_CLASSREV_REV) argument 103 #define G_LDT_CLASSREV_REV(x) _SB_GETVALUE_32(x, S_LDT_CLASSREV_REV, M_LDT_CLASSREV_REV) argument 107 #define V_LDT_CLASSREV_CLASS(x) _SB_MAKEVALUE_32(x, S_LDT_CLASSREV_CLASS) argument 108 #define G_LDT_CLASSREV_CLASS(x) _SB_GETVALUE_32(x, S_LDT_CLASSREV_CLASS, M_LDT_CLASSREV_CLASS) argument 119 #define V_LDT_DEVHDR_CLINESZ(x) _SB_MAKEVALUE_32(x, S_LDT_DEVHDR_CLINESZ) argument 120 #define G_LDT_DEVHDR_CLINESZ(x) _SB_GETVALUE_32(x, S_LDT_DEVHDR_CLINESZ, M_LDT_DEVHDR_CLINESZ) argument [all …]
|
D | sb1250_l2c.h | 34 #define V_L2C_TAG_INDEX(x) _SB_MAKEVALUE(x, S_L2C_TAG_INDEX) argument 35 #define G_L2C_TAG_INDEX(x) _SB_GETVALUE(x, S_L2C_TAG_INDEX, M_L2C_TAG_INDEX) argument 39 #define V_L2C_TAG_TAG(x) _SB_MAKEVALUE(x, S_L2C_TAG_TAG) argument 40 #define G_L2C_TAG_TAG(x) _SB_GETVALUE(x, S_L2C_TAG_TAG, M_L2C_TAG_TAG) argument 44 #define V_L2C_TAG_ECC(x) _SB_MAKEVALUE(x, S_L2C_TAG_ECC) argument 45 #define G_L2C_TAG_ECC(x) _SB_GETVALUE(x, S_L2C_TAG_ECC, M_L2C_TAG_ECC) argument 49 #define V_L2C_TAG_WAY(x) _SB_MAKEVALUE(x, S_L2C_TAG_WAY) argument 50 #define G_L2C_TAG_WAY(x) _SB_GETVALUE(x, S_L2C_TAG_WAY, M_L2C_TAG_WAY) argument 61 #define V_L2C_MGMT_INDEX(x) _SB_MAKEVALUE(x, S_L2C_MGMT_INDEX) argument 62 #define G_L2C_MGMT_INDEX(x) _SB_GETVALUE(x, S_L2C_MGMT_INDEX, M_L2C_MGMT_INDEX) argument [all …]
|
D | sb1250_scd.h | 36 #define V_SYS_REVISION(x) _SB_MAKEVALUE(x, S_SYS_REVISION) argument 37 #define G_SYS_REVISION(x) _SB_GETVALUE(x, S_SYS_REVISION, M_SYS_REVISION) argument 85 #define V_SYS_L2C_SIZE(x) _SB_MAKEVALUE(x, S_SYS_L2C_SIZE) argument 86 #define G_SYS_L2C_SIZE(x) _SB_GETVALUE(x, S_SYS_L2C_SIZE, M_SYS_L2C_SIZE) argument 101 #define V_SYS_NUM_CPUS(x) _SB_MAKEVALUE(x, S_SYS_NUM_CPUS) argument 102 #define G_SYS_NUM_CPUS(x) _SB_GETVALUE(x, S_SYS_NUM_CPUS, M_SYS_NUM_CPUS) argument 108 #define V_SYS_PART(x) _SB_MAKEVALUE(x, S_SYS_PART) argument 109 #define G_SYS_PART(x) _SB_GETVALUE(x, S_SYS_PART, M_SYS_PART) argument 122 #define V_SYS_SOC_TYPE(x) _SB_MAKEVALUE(x, S_SYS_SOC_TYPE) argument 123 #define G_SYS_SOC_TYPE(x) _SB_GETVALUE(x, S_SYS_SOC_TYPE, M_SYS_SOC_TYPE) argument [all …]
|
/arch/powerpc/boot/ |
D | of.h | 30 #define cpu_to_be16(x) swab16(x) argument 31 #define be16_to_cpu(x) swab16(x) argument 32 #define cpu_to_be32(x) swab32(x) argument 33 #define be32_to_cpu(x) swab32(x) argument 34 #define cpu_to_be64(x) swab64(x) argument 35 #define be64_to_cpu(x) swab64(x) argument 37 #define cpu_to_be16(x) (x) argument 38 #define be16_to_cpu(x) (x) argument 39 #define cpu_to_be32(x) (x) argument 40 #define be32_to_cpu(x) (x) argument [all …]
|
/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 …]
|
/arch/arc/include/asm/ |
D | bitops.h | 27 static inline __attribute__ ((const)) int clz(unsigned int x) in clz() 42 static inline int constant_fls(unsigned int x) in constant_fls() 74 static inline __attribute__ ((const)) int fls(unsigned int x) in fls() 85 static inline __attribute__ ((const)) int __fls(unsigned long x) in __fls() 97 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); }) argument 117 static inline __attribute__ ((const)) int fls(unsigned int x) in fls() 134 static inline __attribute__ ((const)) int __fls(unsigned long x) in __fls() 144 static inline __attribute__ ((const)) int ffs(unsigned int x) in ffs() 162 static inline __attribute__ ((const)) unsigned long __ffs(unsigned long x) in __ffs() 183 #define ffz(x) __ffs(~(x)) argument
|
/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((__force __le16)(x)) argument 33 # define __mem_ioswabw(a, x) (x) argument 34 # define ioswabl(a, x) le32_to_cpu((__force __le32)(x)) argument 35 # define __mem_ioswabl(a, x) (x) argument 36 # define ioswabq(a, x) le64_to_cpu((__force __le64)(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 …]
|
/arch/sparc/include/asm/ |
D | page_32.h | 63 #define pte_val(x) ((x).pte) argument 64 #define iopte_val(x) ((x).iopte) argument 65 #define pmd_val(x) ((x).pmd) argument 66 #define pgd_val(x) ((x).pgd) argument 67 #define ctxd_val(x) ((x).ctxd) argument 68 #define pgprot_val(x) ((x).pgprot) argument 69 #define iopgprot_val(x) ((x).iopgprot) argument 71 #define __pte(x) ((pte_t) { (x) } ) argument 72 #define __pmd(x) ((pmd_t) { { (x) }, }) argument 73 #define __iopte(x) ((iopte_t) { (x) } ) argument [all …]
|
D | page_64.h | 76 #define pte_val(x) ((x).pte) argument 77 #define iopte_val(x) ((x).iopte) argument 78 #define pmd_val(x) ((x).pmd) argument 79 #define pud_val(x) ((x).pud) argument 80 #define pgd_val(x) ((x).pgd) argument 81 #define pgprot_val(x) ((x).pgprot) argument 83 #define __pte(x) ((pte_t) { (x) } ) argument 84 #define __iopte(x) ((iopte_t) { (x) } ) argument 85 #define __pmd(x) ((pmd_t) { (x) } ) argument 86 #define __pud(x) ((pud_t) { (x) } ) argument [all …]
|
/arch/powerpc/include/asm/ |
D | inst.h | 38 #define get_user_instr(x, ptr) ___get_user_instr(get_user, x, ptr) argument 40 #define __get_user_instr(x, ptr) ___get_user_instr(__get_user, x, ptr) argument 53 static inline u32 ppc_inst_val(struct ppc_inst x) in ppc_inst_val() 58 static inline int ppc_inst_primary_opcode(struct ppc_inst x) in ppc_inst_primary_opcode() 63 #define ppc_inst(x) ((struct ppc_inst){ .val = (x) }) argument 66 #define ppc_inst_prefix(x, y) ((struct ppc_inst){ .val = (x), .suffix = (y) }) argument 68 static inline u32 ppc_inst_suffix(struct ppc_inst x) in ppc_inst_suffix() 74 #define ppc_inst_prefix(x, y) ppc_inst(x) argument 76 static inline u32 ppc_inst_suffix(struct ppc_inst x) in ppc_inst_suffix() 91 static inline bool ppc_inst_prefixed(struct ppc_inst x) in ppc_inst_prefixed() [all …]
|
D | pgtable-be-types.h | 9 #define __pte(x) ((pte_t) { cpu_to_be64(x) }) argument 10 #define __pte_raw(x) ((pte_t) { (x) }) argument 11 static inline unsigned long pte_val(pte_t x) in pte_val() 16 static inline __be64 pte_raw(pte_t x) in pte_raw() 24 #define __pmd(x) ((pmd_t) { cpu_to_be64(x) }) argument 25 #define __pmd_raw(x) ((pmd_t) { (x) }) argument 26 static inline unsigned long pmd_val(pmd_t x) in pmd_val() 31 static inline __be64 pmd_raw(pmd_t x) in pmd_raw() 38 #define __pud(x) ((pud_t) { cpu_to_be64(x) }) argument 39 #define __pud_raw(x) ((pud_t) { (x) }) argument [all …]
|
/arch/mips/include/asm/sn/ |
D | mapped_kernel.h | 32 #define MAPPED_ADDR_RO_TO_PHYS(x) (x - REP_BASE) argument 33 #define MAPPED_ADDR_RW_TO_PHYS(x) (x - REP_BASE - 16777216) argument 38 #define MAPPED_KERN_RO_TO_PHYS(x) \ argument 41 #define MAPPED_KERN_RW_TO_PHYS(x) \ argument 47 #define MAPPED_KERN_RO_TO_PHYS(x) (x - REP_BASE) argument 48 #define MAPPED_KERN_RW_TO_PHYS(x) (x - REP_BASE) argument 52 #define MAPPED_KERN_RO_TO_K0(x) PHYS_TO_K0(MAPPED_KERN_RO_TO_PHYS(x)) argument 53 #define MAPPED_KERN_RW_TO_K0(x) PHYS_TO_K0(MAPPED_KERN_RW_TO_PHYS(x)) argument
|
/arch/arm/mach-sa1100/include/mach/ |
D | hardware.h | 35 #define io_p2v( x ) \ argument 37 #define io_v2p( x ) \ argument 40 #define __MREG(x) IOMEM(io_p2v(x)) argument 44 # define __REG(x) (*((volatile unsigned long __iomem *)io_p2v(x))) argument 45 # define __PREG(x) (io_v2p((unsigned long)&(x))) argument 49 # define __REG(x) io_p2v(x) argument 50 # define __PREG(x) io_v2p(x) argument
|
/arch/arm/boot/compressed/ |
D | decompress.c | 17 # define Trace(x) fprintf x argument 18 # define Tracev(x) {if (verbose) fprintf x ;} argument 19 # define Tracevv(x) {if (verbose>1) fprintf x ;} argument 20 # define Tracec(c,x) {if (verbose && (c)) fprintf x ;} argument 21 # define Tracecv(c,x) {if (verbose>1 && (c)) fprintf x ;} argument 24 # define Trace(x) argument 25 # define Tracev(x) argument 26 # define Tracevv(x) argument 27 # define Tracec(c,x) argument 28 # define Tracecv(c,x) argument [all …]
|
/arch/alpha/lib/ |
D | ev6-divide.S | 72 #define DIV_ONLY(x,y...) x,##y argument 73 #define MOD_ONLY(x,y...) argument 74 #define func(x) __div##x argument 77 #define GETSIGN(x) xor $24,$25,x argument 80 #define DIV_ONLY(x,y...) argument 81 #define MOD_ONLY(x,y...) x,##y argument 82 #define func(x) __rem##x argument 85 #define GETSIGN(x) bis $24,$24,x argument 95 #define LONGIFY(x) zapnot x,15,x argument 96 #define SLONGIFY(x) addl x,0,x argument [all …]
|
D | divide.S | 62 #define DIV_ONLY(x,y...) x,##y argument 63 #define MOD_ONLY(x,y...) argument 64 #define func(x) __div##x argument 67 #define GETSIGN(x) xor $24,$25,x argument 70 #define DIV_ONLY(x,y...) argument 71 #define MOD_ONLY(x,y...) x,##y argument 72 #define func(x) __rem##x argument 75 #define GETSIGN(x) bis $24,$24,x argument 85 #define LONGIFY(x) zapnot x,15,x argument 86 #define SLONGIFY(x) addl x,0,x argument [all …]
|