/Linux-v5.4/tools/perf/arch/x86/tests/ |
D | insn-x86-dat-src.c | 21 asm volatile("rdtsc"); /* Start here */ in main() 25 asm volatile("vcvtph2ps %xmm3,%ymm5"); in main() 31 asm volatile("cmovno %rax,%rbx"); in main() 32 asm volatile("cmovno 0x12345678(%rax),%rcx"); in main() 33 asm volatile("cmovno 0x12345678(%rax),%cx"); in main() 35 asm volatile("cmove %rax,%rbx"); in main() 36 asm volatile("cmove 0x12345678(%rax),%rcx"); in main() 37 asm volatile("cmove 0x12345678(%rax),%cx"); in main() 39 asm volatile("seto 0x12345678(%rax)"); in main() 40 asm volatile("setno 0x12345678(%rax)"); in main() [all …]
|
/Linux-v5.4/drivers/video/fbdev/kyro/ |
D | STG4000Reg.h | 76 volatile u32 Thread0Enable; /* 0x0000 */ 77 volatile u32 Thread1Enable; /* 0x0004 */ 78 volatile u32 Thread0Recover; /* 0x0008 */ 79 volatile u32 Thread1Recover; /* 0x000C */ 80 volatile u32 Thread0Step; /* 0x0010 */ 81 volatile u32 Thread1Step; /* 0x0014 */ 82 volatile u32 VideoInStatus; /* 0x0018 */ 83 volatile u32 Core2InSignStart; /* 0x001C */ 84 volatile u32 Core1ResetVector; /* 0x0020 */ 85 volatile u32 Core1ROMOffset; /* 0x0024 */ [all …]
|
/Linux-v5.4/lib/raid6/ |
D | sse2.c | 48 asm volatile("movdqa %0,%%xmm0" : : "m" (raid6_sse_constants.x1d[0])); in raid6_sse21_gen_syndrome() 49 asm volatile("pxor %xmm5,%xmm5"); /* Zero temp */ in raid6_sse21_gen_syndrome() 52 asm volatile("prefetchnta %0" : : "m" (dptr[z0][d])); in raid6_sse21_gen_syndrome() 53 asm volatile("movdqa %0,%%xmm2" : : "m" (dptr[z0][d])); /* P[0] */ in raid6_sse21_gen_syndrome() 54 asm volatile("prefetchnta %0" : : "m" (dptr[z0-1][d])); in raid6_sse21_gen_syndrome() 55 asm volatile("movdqa %xmm2,%xmm4"); /* Q[0] */ in raid6_sse21_gen_syndrome() 56 asm volatile("movdqa %0,%%xmm6" : : "m" (dptr[z0-1][d])); in raid6_sse21_gen_syndrome() 58 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_sse21_gen_syndrome() 59 asm volatile("pcmpgtb %xmm4,%xmm5"); in raid6_sse21_gen_syndrome() 60 asm volatile("paddb %xmm4,%xmm4"); in raid6_sse21_gen_syndrome() [all …]
|
D | avx2.c | 48 asm volatile("vmovdqa %0,%%ymm0" : : "m" (raid6_avx2_constants.x1d[0])); in raid6_avx21_gen_syndrome() 49 asm volatile("vpxor %ymm3,%ymm3,%ymm3"); /* Zero temp */ in raid6_avx21_gen_syndrome() 52 asm volatile("prefetchnta %0" : : "m" (dptr[z0][d])); in raid6_avx21_gen_syndrome() 53 asm volatile("vmovdqa %0,%%ymm2" : : "m" (dptr[z0][d]));/* P[0] */ in raid6_avx21_gen_syndrome() 54 asm volatile("prefetchnta %0" : : "m" (dptr[z0-1][d])); in raid6_avx21_gen_syndrome() 55 asm volatile("vmovdqa %ymm2,%ymm4");/* Q[0] */ in raid6_avx21_gen_syndrome() 56 asm volatile("vmovdqa %0,%%ymm6" : : "m" (dptr[z0-1][d])); in raid6_avx21_gen_syndrome() 58 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_avx21_gen_syndrome() 59 asm volatile("vpcmpgtb %ymm4,%ymm3,%ymm5"); in raid6_avx21_gen_syndrome() 60 asm volatile("vpaddb %ymm4,%ymm4,%ymm4"); in raid6_avx21_gen_syndrome() [all …]
|
D | recov_ssse3.c | 56 asm volatile("movdqa %0,%%xmm7" : : "m" (x0f[0])); in raid6_2data_recov_ssse3() 59 asm volatile("movdqa %0,%%xmm6" : : "m" (qmul[0])); in raid6_2data_recov_ssse3() 60 asm volatile("movdqa %0,%%xmm14" : : "m" (pbmul[0])); in raid6_2data_recov_ssse3() 61 asm volatile("movdqa %0,%%xmm15" : : "m" (pbmul[16])); in raid6_2data_recov_ssse3() 69 asm volatile("movdqa %0,%%xmm1" : : "m" (q[0])); in raid6_2data_recov_ssse3() 70 asm volatile("movdqa %0,%%xmm9" : : "m" (q[16])); in raid6_2data_recov_ssse3() 71 asm volatile("movdqa %0,%%xmm0" : : "m" (p[0])); in raid6_2data_recov_ssse3() 72 asm volatile("movdqa %0,%%xmm8" : : "m" (p[16])); in raid6_2data_recov_ssse3() 73 asm volatile("pxor %0,%%xmm1" : : "m" (dq[0])); in raid6_2data_recov_ssse3() 74 asm volatile("pxor %0,%%xmm9" : : "m" (dq[16])); in raid6_2data_recov_ssse3() [all …]
|
D | recov_avx2.c | 55 asm volatile("vpbroadcastb %0, %%ymm7" : : "m" (x0f)); in raid6_2data_recov_avx2() 59 asm volatile("vmovdqa %0, %%ymm1" : : "m" (q[0])); in raid6_2data_recov_avx2() 60 asm volatile("vmovdqa %0, %%ymm9" : : "m" (q[32])); in raid6_2data_recov_avx2() 61 asm volatile("vmovdqa %0, %%ymm0" : : "m" (p[0])); in raid6_2data_recov_avx2() 62 asm volatile("vmovdqa %0, %%ymm8" : : "m" (p[32])); in raid6_2data_recov_avx2() 63 asm volatile("vpxor %0, %%ymm1, %%ymm1" : : "m" (dq[0])); in raid6_2data_recov_avx2() 64 asm volatile("vpxor %0, %%ymm9, %%ymm9" : : "m" (dq[32])); in raid6_2data_recov_avx2() 65 asm volatile("vpxor %0, %%ymm0, %%ymm0" : : "m" (dp[0])); in raid6_2data_recov_avx2() 66 asm volatile("vpxor %0, %%ymm8, %%ymm8" : : "m" (dp[32])); in raid6_2data_recov_avx2() 75 asm volatile("vbroadcasti128 %0, %%ymm4" : : "m" (qmul[0])); in raid6_2data_recov_avx2() [all …]
|
D | sse1.c | 52 asm volatile("movq %0,%%mm0" : : "m" (raid6_mmx_constants.x1d)); in raid6_sse11_gen_syndrome() 53 asm volatile("pxor %mm5,%mm5"); /* Zero temp */ in raid6_sse11_gen_syndrome() 56 asm volatile("prefetchnta %0" : : "m" (dptr[z0][d])); in raid6_sse11_gen_syndrome() 57 asm volatile("movq %0,%%mm2" : : "m" (dptr[z0][d])); /* P[0] */ in raid6_sse11_gen_syndrome() 58 asm volatile("prefetchnta %0" : : "m" (dptr[z0-1][d])); in raid6_sse11_gen_syndrome() 59 asm volatile("movq %mm2,%mm4"); /* Q[0] */ in raid6_sse11_gen_syndrome() 60 asm volatile("movq %0,%%mm6" : : "m" (dptr[z0-1][d])); in raid6_sse11_gen_syndrome() 62 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_sse11_gen_syndrome() 63 asm volatile("pcmpgtb %mm4,%mm5"); in raid6_sse11_gen_syndrome() 64 asm volatile("paddb %mm4,%mm4"); in raid6_sse11_gen_syndrome() [all …]
|
D | mmx.c | 47 asm volatile("movq %0,%%mm0" : : "m" (raid6_mmx_constants.x1d)); in raid6_mmx1_gen_syndrome() 48 asm volatile("pxor %mm5,%mm5"); /* Zero temp */ in raid6_mmx1_gen_syndrome() 51 asm volatile("movq %0,%%mm2" : : "m" (dptr[z0][d])); /* P[0] */ in raid6_mmx1_gen_syndrome() 52 asm volatile("movq %mm2,%mm4"); /* Q[0] */ in raid6_mmx1_gen_syndrome() 54 asm volatile("movq %0,%%mm6" : : "m" (dptr[z][d])); in raid6_mmx1_gen_syndrome() 55 asm volatile("pcmpgtb %mm4,%mm5"); in raid6_mmx1_gen_syndrome() 56 asm volatile("paddb %mm4,%mm4"); in raid6_mmx1_gen_syndrome() 57 asm volatile("pand %mm0,%mm5"); in raid6_mmx1_gen_syndrome() 58 asm volatile("pxor %mm5,%mm4"); in raid6_mmx1_gen_syndrome() 59 asm volatile("pxor %mm5,%mm5"); in raid6_mmx1_gen_syndrome() [all …]
|
/Linux-v5.4/arch/arm/mach-iop32x/ |
D | iop3xx.h | 56 #define IOP3XX_ATUVID (volatile u16 *)IOP3XX_REG_ADDR(0x0100) 57 #define IOP3XX_ATUDID (volatile u16 *)IOP3XX_REG_ADDR(0x0102) 58 #define IOP3XX_ATUCMD (volatile u16 *)IOP3XX_REG_ADDR(0x0104) 59 #define IOP3XX_ATUSR (volatile u16 *)IOP3XX_REG_ADDR(0x0106) 60 #define IOP3XX_ATURID (volatile u8 *)IOP3XX_REG_ADDR(0x0108) 61 #define IOP3XX_ATUCCR (volatile u32 *)IOP3XX_REG_ADDR(0x0109) 62 #define IOP3XX_ATUCLSR (volatile u8 *)IOP3XX_REG_ADDR(0x010c) 63 #define IOP3XX_ATULT (volatile u8 *)IOP3XX_REG_ADDR(0x010d) 64 #define IOP3XX_ATUHTR (volatile u8 *)IOP3XX_REG_ADDR(0x010e) 65 #define IOP3XX_ATUBIST (volatile u8 *)IOP3XX_REG_ADDR(0x010f) [all …]
|
/Linux-v5.4/arch/mips/include/asm/txx9/ |
D | tx3927.h | 26 volatile unsigned long cr[8]; 27 volatile unsigned long tr[3]; 28 volatile unsigned long cmd; 29 volatile unsigned long smrs[2]; 33 volatile unsigned long cr[8]; 38 volatile unsigned long cha; 39 volatile unsigned long sar; 40 volatile unsigned long dar; 41 volatile unsigned long cntr; 42 volatile unsigned long sair; [all …]
|
/Linux-v5.4/arch/m68k/include/asm/ |
D | mvme147hw.h | 23 #define m147_rtc ((MK48T02 * volatile)0xfffe07f8) 27 volatile u_long dma_tadr; 28 volatile u_long dma_dadr; 29 volatile u_long dma_bcr; 30 volatile u_long dma_hr; 31 volatile u_short t1_preload; 32 volatile u_short t1_count; 33 volatile u_short t2_preload; 34 volatile u_short t2_count; 35 volatile u_char t1_int_cntrl; [all …]
|
/Linux-v5.4/arch/mips/include/asm/ip32/ |
D | mace.h | 24 volatile unsigned int error_addr; 25 volatile unsigned int error; 49 volatile unsigned int control; 70 volatile unsigned int rev; 72 volatile unsigned int config_addr; 74 volatile unsigned char b[4]; 75 volatile unsigned short w[2]; 76 volatile unsigned int l; 98 volatile u64 mac_ctrl; 99 volatile unsigned long int_stat; [all …]
|
/Linux-v5.4/arch/ia64/include/uapi/asm/ |
D | gcc_intrin.h | 17 /* The "volatile" is due to gcc bugs */ 18 #define ia64_barrier() asm volatile ("":::"memory") 20 #define ia64_stop() asm volatile (";;"::) 22 #define ia64_invala_gr(regnum) asm volatile ("invala.e r%0" :: "i"(regnum)) 24 #define ia64_invala_fr(regnum) asm volatile ("invala.e f%0" :: "i"(regnum)) 26 #define ia64_flushrs() asm volatile ("flushrs;;":::"memory") 28 #define ia64_loadrs() asm volatile ("loadrs;;":::"memory") 38 asm volatile ("mov psr.l=%0" :: "r"(val) : "memory"); \ 41 asm volatile ("mov ar%0=%1" :: \ 46 asm volatile ("mov cr%0=%1" :: \ [all …]
|
/Linux-v5.4/arch/parisc/include/asm/ |
D | hardware.h | 43 volatile uint32_t nothing; /* reg 0 */ 44 volatile uint32_t io_eim; 45 volatile uint32_t io_dc_adata; 46 volatile uint32_t io_ii_cdata; 47 volatile uint32_t io_dma_link; /* reg 4 */ 48 volatile uint32_t io_dma_command; 49 volatile uint32_t io_dma_address; 50 volatile uint32_t io_dma_count; 51 volatile uint32_t io_flex; /* reg 8 */ 52 volatile uint32_t io_spa_address; [all …]
|
/Linux-v5.4/include/video/ |
D | gbe.h | 12 volatile uint32_t ctrlstat; /* general control */ 13 volatile uint32_t dotclock; /* dot clock PLL control */ 14 volatile uint32_t i2c; /* crt I2C control */ 15 volatile uint32_t sysclk; /* system clock PLL control */ 16 volatile uint32_t i2cfp; /* flat panel I2C control */ 17 volatile uint32_t id; /* device id/chip revision */ 18 volatile uint32_t config; /* power on configuration [1] */ 19 volatile uint32_t bist; /* internal bist status [1] */ 21 volatile uint32_t vt_xy; /* current dot coords */ 22 volatile uint32_t vt_xymax; /* maximum dot coords */ [all …]
|
/Linux-v5.4/arch/alpha/include/asm/ |
D | io_trivial.h | 12 return __kernel_ldbu(*(volatile u8 __force *)a); in IO_CONCAT() 18 return __kernel_ldwu(*(volatile u16 __force *)a); in IO_CONCAT() 24 __kernel_stb(b, *(volatile u8 __force *)a); in IO_CONCAT() 30 __kernel_stw(b, *(volatile u16 __force *)a); in IO_CONCAT() 38 return *(volatile u32 __force *)a; in IO_CONCAT() 44 *(volatile u32 __force *)a = b; in IO_CONCAT() 50 IO_CONCAT(__IO_PREFIX,readb)(const volatile void __iomem *a) in IO_CONCAT() 52 return __kernel_ldbu(*(const volatile u8 __force *)a); in IO_CONCAT() 56 IO_CONCAT(__IO_PREFIX,readw)(const volatile void __iomem *a) in IO_CONCAT() 58 return __kernel_ldwu(*(const volatile u16 __force *)a); in IO_CONCAT() [all …]
|
/Linux-v5.4/arch/mips/include/asm/ |
D | m48t37.h | 13 volatile u8 pad[0x7ff0]; /* NVRAM */ 14 volatile u8 flags; 15 volatile u8 century; 16 volatile u8 alarm_sec; 17 volatile u8 alarm_min; 18 volatile u8 alarm_hour; 19 volatile u8 alarm_data; 20 volatile u8 interrupts; 21 volatile u8 watchdog; 22 volatile u8 control; [all …]
|
/Linux-v5.4/arch/mips/include/asm/sgi/ |
D | mc.h | 18 volatile u32 cpuctrl0; /* CPU control register 0, readwrite */ 39 volatile u32 cpuctrl1; /* CPU control register 1, readwrite */ 49 volatile u32 watchdogt; /* Watchdog reg rdonly, write clears */ 52 volatile u32 systemid; /* MC system ID register, readonly */ 57 volatile u32 divider; /* Divider reg for RPSS */ 68 volatile u32 rcntpre; /* Preload refresh counter */ 71 volatile u32 rcounter; /* Readonly refresh counter */ 74 volatile u32 giopar; /* Parameter word for GIO64 */ 93 volatile u32 cputp; /* CPU bus arb time period */ 96 volatile u32 lbursttp; /* Time period for long bursts */ [all …]
|
D | ioc.h | 26 volatile u8 ctrl1; 28 volatile u8 data1; 30 volatile u8 ctrl2; 32 volatile u8 data2; 37 volatile u8 data; 39 volatile u8 command; 44 volatile u8 istat0; /* Interrupt status zero */ 54 volatile u8 imask0; /* Interrupt mask zero */ 56 volatile u8 istat1; /* Interrupt status one */ 66 volatile u8 imask1; /* Interrupt mask one */ [all …]
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | io.c | 27 void _insb(const volatile u8 __iomem *port, void *buf, long count) in _insb() 34 asm volatile("sync"); in _insb() 40 asm volatile("twi 0,%0,0; isync" : : "r" (tmp)); in _insb() 44 void _outsb(volatile u8 __iomem *port, const void *buf, long count) in _outsb() 50 asm volatile("sync"); in _outsb() 54 asm volatile("sync"); in _outsb() 58 void _insw_ns(const volatile u16 __iomem *port, void *buf, long count) in _insw_ns() 65 asm volatile("sync"); in _insw_ns() 71 asm volatile("twi 0,%0,0; isync" : : "r" (tmp)); in _insw_ns() 75 void _outsw_ns(volatile u16 __iomem *port, const void *buf, long count) in _outsw_ns() [all …]
|
/Linux-v5.4/arch/x86/include/asm/ |
D | kexec.h | 85 asm volatile("movl %%ebx,%0" : "=m"(newregs->bx)); in crash_setup_regs() 86 asm volatile("movl %%ecx,%0" : "=m"(newregs->cx)); in crash_setup_regs() 87 asm volatile("movl %%edx,%0" : "=m"(newregs->dx)); in crash_setup_regs() 88 asm volatile("movl %%esi,%0" : "=m"(newregs->si)); in crash_setup_regs() 89 asm volatile("movl %%edi,%0" : "=m"(newregs->di)); in crash_setup_regs() 90 asm volatile("movl %%ebp,%0" : "=m"(newregs->bp)); in crash_setup_regs() 91 asm volatile("movl %%eax,%0" : "=m"(newregs->ax)); in crash_setup_regs() 92 asm volatile("movl %%esp,%0" : "=m"(newregs->sp)); in crash_setup_regs() 93 asm volatile("movl %%ss, %%eax;" :"=a"(newregs->ss)); in crash_setup_regs() 94 asm volatile("movl %%cs, %%eax;" :"=a"(newregs->cs)); in crash_setup_regs() [all …]
|
/Linux-v5.4/arch/sparc/include/asm/ |
D | io_32.h | 16 static inline void _memset_io(volatile void __iomem *dst, in _memset_io() 19 volatile void __iomem *d = dst; in _memset_io() 27 static inline void _memcpy_fromio(void *dst, const volatile void __iomem *src, in _memcpy_fromio() 39 static inline void _memcpy_toio(volatile void __iomem *dst, const void *src, in _memcpy_toio() 43 volatile void __iomem *d = dst; in _memcpy_toio() 58 static inline u8 sbus_readb(const volatile void __iomem *addr) in sbus_readb() 60 return *(__force volatile u8 *)addr; in sbus_readb() 63 static inline u16 sbus_readw(const volatile void __iomem *addr) in sbus_readw() 65 return *(__force volatile u16 *)addr; in sbus_readw() 68 static inline u32 sbus_readl(const volatile void __iomem *addr) in sbus_readl() [all …]
|
/Linux-v5.4/Documentation/process/ |
D | volatile-considered-harmful.rst | 4 Why the "volatile" type class should not be used 7 C programmers have often taken volatile to mean that the variable could be 10 being used. In other words, they have been known to treat volatile types 11 as a sort of easy atomic variable, which they are not. The use of volatile in 14 The key point to understand with regard to volatile is that its purpose is 21 Like volatile, the kernel primitives which make concurrent access to data 24 need to use volatile as well. If volatile is still necessary, there is 26 code, volatile can only serve to slow things down. 45 If shared_data were declared volatile, the locking would still be 49 volatile. When dealing with shared data, proper locking makes volatile [all …]
|
/Linux-v5.4/drivers/staging/vt6655/ |
D | desc.h | 164 volatile __le16 res_count; 167 volatile u16 f15_reserved; 169 volatile u8 f8_reserved1; 170 volatile u8 owner:1; 171 volatile u8 f7_reserved:7; 187 volatile struct vnt_rdes0 rd0; 188 volatile struct vnt_rdes1 rd1; 189 volatile __le32 buff_addr; 190 volatile __le32 next_desc; 196 volatile u8 tsr0; [all …]
|
/Linux-v5.4/arch/s390/kernel/ |
D | fpu.c | 26 asm volatile("stfpc %0" : "=Q" (state->fpc)); in __kernel_fpu_begin() 31 asm volatile("std 0,%0" : "=Q" (state->fprs[0])); in __kernel_fpu_begin() 32 asm volatile("std 1,%0" : "=Q" (state->fprs[1])); in __kernel_fpu_begin() 33 asm volatile("std 2,%0" : "=Q" (state->fprs[2])); in __kernel_fpu_begin() 34 asm volatile("std 3,%0" : "=Q" (state->fprs[3])); in __kernel_fpu_begin() 35 asm volatile("std 4,%0" : "=Q" (state->fprs[4])); in __kernel_fpu_begin() 36 asm volatile("std 5,%0" : "=Q" (state->fprs[5])); in __kernel_fpu_begin() 37 asm volatile("std 6,%0" : "=Q" (state->fprs[6])); in __kernel_fpu_begin() 38 asm volatile("std 7,%0" : "=Q" (state->fprs[7])); in __kernel_fpu_begin() 39 asm volatile("std 8,%0" : "=Q" (state->fprs[8])); in __kernel_fpu_begin() [all …]
|