| /arch/arm/include/asm/arch-mx5/ |
| A D | crm_regs.h | 80 #define MXC_CCM_CCR_OSCNT(v) ((v) & 0xFF) argument 92 #define MXC_CCM_CCSR_STEP_SEL(v) (((v) & 0x3) << 7) argument 109 #define MXC_CCM_CACRR_ARM_PODF(v) ((v) & 0x7) argument 116 #define MXC_CCM_CBCDR_DDR_PODF(v) (((v) & 0x7) << 27) argument 142 #define MXC_CCM_CBCDR_IPG_PODF(v) (((v) & 0x3) << 8) argument 154 #define MXC_CCM_CBCDR_PERCLK_PODF(v) ((v) & 0x7) argument 333 #define MXC_CCM_CCGR0_DAP(v) (((v) & 0x3) << 8) argument 504 #define MXC_CCM_CCGR5_GPU(v) (((v) & 0x3) << 2) argument 508 #define MXC_CCM_CCGR5_VPU(v) (((v) & 0x3) << 6) argument 587 #define MXC_CCM_CCGR7_MLB(v) (((v) & 0x3) << 4) argument [all …]
|
| /arch/mips/mach-ath79/qca953x/ |
| A D | lowlevel_init.S | 25 #define SET_FIELD(name, v) (((v) & QCA953X_##name##_MASK) << \ argument 28 #define DPLL2_KI(v) SET_FIELD(SRIF_DPLL2_KI, v) argument 29 #define DPLL2_KD(v) SET_FIELD(SRIF_DPLL2_KD, v) argument 33 #define PLL_CPU_NFRAC(v) SET_FIELD(PLL_CPU_CONFIG_NFRAC, v) argument 34 #define PLL_CPU_NINT(v) SET_FIELD(PLL_CPU_CONFIG_NINT, v) argument 35 #define PLL_CPU_REFDIV(v) SET_FIELD(PLL_CPU_CONFIG_REFDIV, v) argument 36 #define PLL_CPU_OUTDIV(v) SET_FIELD(PLL_CPU_CONFIG_OUTDIV, v) argument 43 #define PLL_DDR_NFRAC(v) SET_FIELD(PLL_DDR_CONFIG_NFRAC, v) argument 44 #define PLL_DDR_NINT(v) SET_FIELD(PLL_DDR_CONFIG_NINT, v) argument 45 #define PLL_DDR_REFDIV(v) SET_FIELD(PLL_DDR_CONFIG_REFDIV, v) argument [all …]
|
| /arch/arm/include/asm/arch-vf610/ |
| A D | imx-regs.h | 129 #define DDRMC_CR10_TRST_PWRON(v) (v) argument 130 #define DDRMC_CR11_CKE_INACTIVE(v) (v) argument 144 #define DDRMC_CR17_TMOD(v) ((v) & 0xff) argument 146 #define DDRMC_CR18_TCKE(v) ((v) & 0x7) argument 153 #define DDRMC_CR23_TDLL(v) ((v) & 0xffff) argument 154 #define DDRMC_CR24_TRP_AB(v) ((v) & 0x1f) argument 157 #define DDRMC_CR26_TRFC(v) ((v) & 0x3ff) argument 175 #define DDRMC_CR67_ZQCS(v) ((v) & 0xfff) argument 177 #define DDRMC_CR70_REF_PER_ZQ(v) (v) argument 265 #define DDRMC_CR146_PHY_RDLVL_RESP(v) (v) argument [all …]
|
| A D | crm_regs.h | 118 #define CCM_CCR_OSCNT(v) ((v) & 0xff) argument 137 #define CCM_CCSR_DDRC_CLK_SEL(v) ((v) << 6) argument 138 #define CCM_CCSR_FAST_CLK_SEL(v) ((v) << 5) argument 142 #define CCM_CCSR_SYS_CLK_SEL(v) ((v) & 0x7) argument 149 #define CCM_CACRR_BUS_CLK_DIV(v) (((v) & 0x7) << 3) argument 152 #define CCM_CACRR_ARM_CLK_DIV(v) ((v) & 0x7) argument 183 #define CCM_CSCDR3_DCU1_DIV(v) (((v) & 0x7) << 20) argument 186 #define CCM_CSCDR3_DCU0_DIV(v) (((v) & 0x7) << 16) argument 192 #define CCM_CSCDR3_QSPI0_DIV(v) ((v) << 3) argument 193 #define CCM_CSCDR3_QSPI0_X2_DIV(v) ((v) << 2) argument [all …]
|
| /arch/powerpc/include/asm/ |
| A D | atomic.h | 16 #define atomic_read(v) ((v)->counter) argument 17 #define atomic_set(v,i) (((v)->counter) = (i)) argument 22 static __inline__ int atomic_add_return(int a, atomic_t *v) in atomic_add_return() 38 static __inline__ int atomic_sub_return(int a, atomic_t *v) in atomic_sub_return() 54 static __inline__ int atomic_inc_return(atomic_t *v) in atomic_inc_return() 70 static __inline__ int atomic_dec_return(atomic_t *v) in atomic_dec_return() 86 #define atomic_add(a, v) ((void) atomic_add_return((a), (v))) argument 87 #define atomic_sub(a, v) ((void) atomic_sub_return((a), (v))) argument 89 #define atomic_inc(v) ((void) atomic_inc_return((v))) argument 90 #define atomic_dec(v) ((void) atomic_dec_return((v))) argument [all …]
|
| /arch/riscv/include/asm/ |
| A D | insn-def.h | 17 #define RV_OPCODE(v) __ASM_STR(v) argument 18 #define RV_FUNC3(v) __ASM_STR(v) argument 19 #define RV_FUNC7(v) __ASM_STR(v) argument 20 #define RV_SIMM12(v) __ASM_STR(v) argument 21 #define RV_RD(v) __ASM_STR(v) argument 22 #define RV_RS1(v) __ASM_STR(v) argument 23 #define RV_RS2(v) __ASM_STR(v) argument 24 #define __RV_REG(v) __ASM_STR(x ## v) argument 25 #define RV___RD(v) __RV_REG(v) argument 26 #define RV___RS1(v) __RV_REG(v) argument [all …]
|
| A D | io.h | 28 #define __raw_writeb(v, a) __arch_putb(v, a) argument 29 #define __raw_writew(v, a) __arch_putw(v, a) argument 30 #define __raw_writel(v, a) __arch_putl(v, a) argument 31 #define __raw_writeq(v, a) __arch_putq(v, a) argument 122 #define out_le32(a, v) out_arch(l, le32, a, v) argument 123 #define out_le16(a, v) out_arch(w, le16, a, v) argument 128 #define out_be32(a, v) out_arch(l, be32, a, v) argument 129 #define out_be16(a, v) out_arch(w, be16, a, v) argument 134 #define out_8(a, v) __raw_writeb(v, a) argument 205 #define outb(v, p) __raw_writeb(v, __io(p)) argument [all …]
|
| /arch/x86/include/asm/ |
| A D | atomic.h | 24 static inline int atomic_read(const atomic_t *v) in atomic_read() 36 static inline void atomic_set(atomic_t *v, int i) in atomic_set() 48 static inline void atomic_add(int i, atomic_t *v) in atomic_add() 62 static inline void atomic_sub(int i, atomic_t *v) in atomic_sub() 75 static inline void atomic_inc(atomic_t *v) in atomic_inc() 87 static inline void atomic_dec(atomic_t *v) in atomic_dec() 100 static inline short int atomic_inc_short(short int *v) in atomic_inc_short()
|
| /arch/arm/include/asm/arch-sunxi/ |
| A D | dram_sun50i_a133.h | 149 #define ADDRMAP0_CS0_B6(v) _ADDRMAP_VALUE(v, 0, 6) argument 155 #define ADDRMAP2_COL2_B2(v) _ADDRMAP_VALUE(v, 0, 2) argument 156 #define ADDRMAP2_COL3_B3(v) _ADDRMAP_VALUE(v, 1, 3) argument 157 #define ADDRMAP2_COL4_B4(v) _ADDRMAP_VALUE(v, 2, 4) argument 158 #define ADDRMAP2_COL5_B5(v) _ADDRMAP_VALUE(v, 3, 5) argument 160 #define ADDRMAP3_COL6_B6(v) _ADDRMAP_VALUE(v, 0, 6) argument 161 #define ADDRMAP3_COL7_B7(v) _ADDRMAP_VALUE(v, 1, 7) argument 162 #define ADDRMAP3_COL8_B8(v) _ADDRMAP_VALUE(v, 2, 8) argument 163 #define ADDRMAP3_COL9_B9(v) _ADDRMAP_VALUE(v, 3, 9) argument 181 #define ADDRMAP8_BG0_B2(v) _ADDRMAP_VALUE(v, 0, 2) argument [all …]
|
| /arch/arc/include/asm/ |
| A D | io.h | 85 #define __raw_writeb(v, c) ({ __iowmb(); __arch_putb(v, c); }) argument 168 #define writeb_relaxed(v, c) ((void)__arch_putb((v), (c))) argument 190 #define writeb(v, c) ({ __iowmb(); writeb_relaxed(v, c); }) argument 191 #define writew(v, c) ({ __iowmb(); writew_relaxed(v, c); }) argument 192 #define writel(v, c) ({ __iowmb(); writel_relaxed(v, c); }) argument 193 #define writeq(v, c) ({ __iowmb(); writeq_relaxed(v, c); }) argument 198 #define out_le32(a, v) out_arch(l, le32, a, v) argument 199 #define out_le16(a, v) out_arch(w, le16, a, v) argument 204 #define out_be32(a, v) out_arch(l, be32, a, v) argument 205 #define out_be16(a, v) out_arch(w, be16, a, v) argument [all …]
|
| /arch/arm/include/asm/arch-fsl-layerscape/ |
| A D | soc.h | 23 #define gur_out32(a, v) out_le32(a, v) argument 26 #define gur_out32(a, v) out_be32(a, v) argument 31 #define scfg_out32(a, v) out_le32(a, v) argument 36 #define scfg_out32(a, v) out_be32(a, v) argument 43 #define pex_lut_out32(a, v) out_le32(a, v) argument 46 #define pex_lut_out32(a, v) out_be32(a, v) argument 55 #define CPU_TYPE_ENTRY(n, v, nc) \ argument
|
| /arch/arm/include/asm/ |
| A D | io.h | 228 #define out_le64(a,v) out_arch(q,le64,a,v) argument 229 #define out_le32(a,v) out_arch(l,le32,a,v) argument 230 #define out_le16(a,v) out_arch(w,le16,a,v) argument 236 #define out_be64(a,v) out_arch(l,be64,a,v) argument 237 #define out_be32(a,v) out_arch(l,be32,a,v) argument 238 #define out_be16(a,v) out_arch(w,be16,a,v) argument 244 #define out_64(a,v) __raw_writeq(v,a) argument 245 #define out_32(a,v) __raw_writel(v,a) argument 246 #define out_16(a,v) __raw_writew(v,a) argument 247 #define out_8(a,v) __raw_writeb(v,a) argument [all …]
|
| /arch/sh/include/asm/ |
| A D | io.h | 37 #define __arch_putb(v, a) (*(volatile unsigned char *)(a) = (v)) argument 38 #define __arch_putw(v, a) (*(volatile unsigned short *)(a) = (v)) argument 39 #define __arch_putl(v, a) (*(volatile unsigned int *)(a) = (v)) argument 49 #define __raw_writeb(v, a) __arch_putb(v, a) argument 50 #define __raw_writew(v, a) __arch_putw(v, a) argument 51 #define __raw_writel(v, a) __arch_putl(v, a) argument 84 #define outb(v, p) __raw_writeb(v, p) argument 152 #define writeb(v, c) __raw_writeb(v, __mem_pci(c)) argument 185 #define writeb(v, addr) __raw_writeb(v, addr) argument 186 #define writew(v, addr) __raw_writew(v, addr) argument [all …]
|
| /arch/sandbox/include/asm/ |
| A D | io.h | 67 #define out_le64(a,v) out_arch(q,le64,a,v) argument 68 #define out_le32(a,v) out_arch(l,le32,a,v) argument 69 #define out_le16(a,v) out_arch(w,le16,a,v) argument 75 #define out_be32(a,v) out_arch(l,be32,a,v) argument 76 #define out_be16(a,v) out_arch(w,be16,a,v) argument 81 #define out_64(a,v) writeq(v,a) argument 82 #define out_32(a,v) writel(v,a) argument 83 #define out_16(a,v) writew(v,a) argument 84 #define out_8(a,v) writeb(v,a) argument 152 #define out_le32(a,v) out_arch(l,le32,a,v) argument [all …]
|
| /arch/m68k/lib/ |
| A D | muldi3.c | 15 #define umul_ppmm(w1, w0, u, v) \ argument 39 #define __umulsidi3(u, v) \ argument 57 DItype __muldi3 (DItype u, DItype v) in __muldi3()
|
| /arch/microblaze/lib/ |
| A D | muldi3.c | 17 #define umul_ppmm(w1, w0, u, v) \ argument 43 #define __umulsidi3(u, v) \ argument 62 DItype __muldi3(DItype u, DItype v) in __muldi3()
|
| /arch/arm/include/asm/arch-mx6/ |
| A D | crm_regs.h | 985 #define BF_ANADIG_PLL_SYS_RSVD0(v) \ argument 1046 #define BF_ANADIG_PLL_528_RSVD1(v) \ argument 1068 #define BF_ANADIG_PLL_528_RSVD0(v) \ argument 1074 #define BF_ANADIG_PLL_528_SS_STOP(v) \ argument 1079 #define BF_ANADIG_PLL_528_SS_STEP(v) \ argument 1088 #define BF_ANADIG_PLL_528_NUM_A(v) \ argument 1097 #define BF_ANADIG_PLL_528_DENOM_B(v) \ argument 1103 #define BF_ANADIG_PLL_AUDIO_RSVD0(v) \ argument 1205 #define BF_ANADIG_PLL_ENET_RSVD1(v) \ argument 1230 #define BF_ANADIG_PLL_ENET_RSVD0(v) \ argument [all …]
|
| /arch/m68k/include/asm/ |
| A D | byteorder.h | 16 __u32 v = x; in __sw32() local 26 __u16 v = x; in __sw16() local
|
| A D | processor.h | 12 #define setvbr(v) asm volatile("movec %0,%%VBR" : : "r" (v)) argument
|
| /arch/mips/include/asm/ |
| A D | io.h | 519 #define csr_out32(v, a) (*(volatile u32 *)((unsigned long)(a) + __CSR_32_ADJUST) = (v)) argument 580 #define __to_cpu(v) (v) argument 581 #define cpu_to__(v) (v) argument 583 #define out_arch(type, endian, a, v) __raw_write##type(cpu_to_##endian(v),a) argument 586 #define out_le64(a, v) out_arch(q, le64, a, v) argument 587 #define out_le32(a, v) out_arch(l, le32, a, v) argument 588 #define out_le16(a, v) out_arch(w, le16, a, v) argument 594 #define out_be64(a, v) out_arch(q, be64, a, v) argument 595 #define out_be32(a, v) out_arch(l, be32, a, v) argument 596 #define out_be16(a, v) out_arch(w, be16, a, v) argument [all …]
|
| /arch/nios2/include/asm/ |
| A D | io.h | 50 #define __raw_writeb(v,a) (*(volatile unsigned char *)(a) = (v)) argument 51 #define __raw_writew(v,a) (*(volatile unsigned short *)(a) = (v)) argument 52 #define __raw_writel(v,a) (*(volatile unsigned int *)(a) = (v)) argument 129 #define out_arch(type,endian,a,v) __raw_write##type(cpu_to_##endian(v),a) argument 132 #define out_le32(a,v) out_arch(l,le32,a,v) argument 133 #define out_le16(a,v) out_arch(w,le16,a,v) argument 138 #define out_be32(a,v) out_arch(l,be32,a,v) argument 139 #define out_be16(a,v) out_arch(w,be16,a,v) argument 144 #define out_8(a,v) __raw_writeb(v,a) argument
|
| /arch/arm/include/asm/arch-omap3/ |
| A D | mem.h | 57 #define ACTIM_CTRLA_TRFC(v) (((v) & 0x1F) << 27) /* 31:27 */ argument 58 #define ACTIM_CTRLA_TRC(v) (((v) & 0x1F) << 22) /* 26:22 */ argument 59 #define ACTIM_CTRLA_TRAS(v) (((v) & 0x0F) << 18) /* 21:18 */ argument 60 #define ACTIM_CTRLA_TRP(v) (((v) & 0x07) << 15) /* 17:15 */ argument 61 #define ACTIM_CTRLA_TRCD(v) (((v) & 0x07) << 12) /* 14:12 */ argument 62 #define ACTIM_CTRLA_TRRD(v) (((v) & 0x07) << 9) /* 11:9 */ argument 63 #define ACTIM_CTRLA_TDPL(v) (((v) & 0x07) << 6) /* 8:6 */ argument 64 #define ACTIM_CTRLA_TDAL(v) (v & 0x1F) /* 4:0 */ argument 77 #define ACTIM_CTRLB_TWTR(v) (((v) & 0x03) << 16) /* 17:16 */ argument 79 #define ACTIM_CTRLB_TXP(v) (((v) & 0x07) << 8) /* 10:8 */ argument [all …]
|
| /arch/nios2/lib/ |
| A D | longlong.h | 113 #define umul_ppmm(w1, w0, u, v) \ argument 125 #define umul_ppmm(w1, w0, u, v) \ argument 151 #define __umulsidi3(u, v) \ argument
|
| /arch/x86/cpu/ |
| A D | lapic.c | 21 #define xchg(ptr, v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v), (ptr), \ argument 60 void lapic_write(unsigned long reg, unsigned long v) in lapic_write()
|
| /arch/sh/cpu/sh4/ |
| A D | cache.c | 64 u32 v; in flush_dcache_range() local 84 u32 v; in invalidate_dcache_range() local
|