Home
last modified time | relevance | path

Searched full:volatile (Results 1 – 25 of 1775) sorted by relevance

12345678910>>...71

/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dosprey_reg_map.h86 volatile char pad__0[0x8]; /* 0x0 - 0x8 */
87 volatile u_int32_t MAC_DMA_CR; /* 0x8 - 0xc */
88 volatile char pad__1[0x8]; /* 0xc - 0x14 */
89 volatile u_int32_t MAC_DMA_CFG; /* 0x14 - 0x18 */
90 volatile u_int32_t MAC_DMA_RXBUFPTR_THRESH; /* 0x18 - 0x1c */
91 volatile u_int32_t MAC_DMA_TXDPPTR_THRESH; /* 0x1c - 0x20 */
92 volatile u_int32_t MAC_DMA_MIRT; /* 0x20 - 0x24 */
93 volatile u_int32_t MAC_DMA_GLOBAL_IER; /* 0x24 - 0x28 */
94 volatile u_int32_t MAC_DMA_TIMT; /* 0x28 - 0x2c */
95 volatile u_int32_t MAC_DMA_RIMT; /* 0x2c - 0x30 */
[all …]
H A Dscorpion_reg_map.h77 volatile char pad__0[0x8]; /* 0x0 - 0x8 */
78 volatile u_int32_t MAC_DMA_CR; /* 0x8 - 0xc */
79 volatile char pad__1[0x8]; /* 0xc - 0x14 */
80 volatile u_int32_t MAC_DMA_CFG; /* 0x14 - 0x18 */
81 volatile u_int32_t MAC_DMA_RXBUFPTR_THRESH; /* 0x18 - 0x1c */
82 volatile u_int32_t MAC_DMA_TXDPPTR_THRESH; /* 0x1c - 0x20 */
83 volatile u_int32_t MAC_DMA_MIRT; /* 0x20 - 0x24 */
84 volatile u_int32_t MAC_DMA_GLOBAL_IER; /* 0x24 - 0x28 */
85 volatile u_int32_t MAC_DMA_TIMT; /* 0x28 - 0x2c */
86 volatile u_int32_t MAC_DMA_RIMT; /* 0x2c - 0x30 */
[all …]
H A Dwasp_reg_map.h20 volatile char pad__0[0x4000]; /* 0x0 - 0x4000 */
21 volatile u_int32_t HOST_INTF_RESET_CONTROL; /* 0x4000 - 0x4004 */
22 volatile u_int32_t HOST_INTF_PM_CTRL; /* 0x4004 - 0x4008 */
23 volatile u_int32_t HOST_INTF_TIMEOUT; /* 0x4008 - 0x400c */
24 volatile u_int32_t HOST_INTF_SREV; /* 0x400c - 0x4010 */
25 volatile u_int32_t HOST_INTF_INTR_SYNC_CAUSE; /* 0x4010 - 0x4014 */
26 volatile u_int32_t HOST_INTF_INTR_SYNC_ENABLE; /* 0x4014 - 0x4018 */
27 volatile u_int32_t HOST_INTF_INTR_ASYNC_MASK; /* 0x4018 - 0x401c */
28 volatile u_int32_t HOST_INTF_INTR_SYNC_MASK; /* 0x401c - 0x4020 */
29 volatile u_int32_t HOST_INTF_INTR_ASYNC_CAUSE; /* 0x4020 - 0x4024 */
[all …]
/freebsd/sys/contrib/openzfs/lib/libspl/include/
H A Datomic.h41 extern void atomic_inc_8(volatile uint8_t *);
42 extern void atomic_inc_uchar(volatile uchar_t *);
43 extern void atomic_inc_16(volatile uint16_t *);
44 extern void atomic_inc_ushort(volatile ushort_t *);
45 extern void atomic_inc_32(volatile uint32_t *);
46 extern void atomic_inc_uint(volatile uint_t *);
47 extern void atomic_inc_ulong(volatile ulong_t *);
49 extern void atomic_inc_64(volatile uint64_t *);
55 extern void atomic_dec_8(volatile uint8_t *);
56 extern void atomic_dec_uchar(volatile uchar_t *);
[all …]
/freebsd/sys/sys/
H A Dtiio.h78 volatile u_int32_t dot3StatsAlignmentErrors; /* 0 */
79 volatile u_int32_t dot3StatsFCSErrors; /* 1 */
80 volatile u_int32_t dot3StatsSingleCollisionFrames; /* 2 */
81 volatile u_int32_t dot3StatsMultipleCollisionFrames; /* 3 */
82 volatile u_int32_t dot3StatsSQETestErrors; /* 4 */
83 volatile u_int32_t dot3StatsDeferredTransmissions; /* 5 */
84 volatile u_int32_t dot3StatsLateCollisions; /* 6 */
85 volatile u_int32_t dot3StatsExcessiveCollisions; /* 7 */
86 volatile u_int32_t dot3StatsInternalMacTransmitErrors; /* 8 */
87 volatile u_int32_t dot3StatsCarrierSenseErrors; /* 9 */
[all …]
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A Dintrin0.h33 unsigned char _InterlockedCompareExchange128_acq(__int64 volatile *_Destination,
37 unsigned char _InterlockedCompareExchange128_nf(__int64 volatile *_Destination,
41 unsigned char _InterlockedCompareExchange128_rel(__int64 volatile *_Destination,
63 unsigned char _InterlockedCompareExchange128(__int64 volatile *_Destination,
76 __int64 _InterlockedDecrement64(__int64 volatile *_Addend);
77 __int64 _InterlockedExchange64(__int64 volatile *_Target, __int64 _Value);
78 __int64 _InterlockedExchangeAdd64(__int64 volatile *_Addend, __int64 _Value);
79 __int64 _InterlockedExchangeSub64(__int64 volatile *_Subend, __int64 _Value);
80 __int64 _InterlockedIncrement64(__int64 volatile *_Addend);
81 __int64 _InterlockedOr64(__int64 volatile *_Value, __int64 _Mask);
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Datomic67 bool is_lock_free() const volatile noexcept;
75 atomic& operator=(const atomic&) volatile = delete;
77 T load(memory_order m = memory_order_seq_cst) const volatile noexcept;
79 operator T() const volatile noexcept;
81 void store(T desr, memory_order m = memory_order_seq_cst) volatile noexcept;
83 T operator=(T) volatile noexcept;
86 T exchange(T desr, memory_order m = memory_order_seq_cst) volatile noexcept;
89 memory_order s, memory_order f) volatile noexcept;
92 memory_order s, memory_order f) volatile noexcept;
96 memory_order m = memory_order_seq_cst) volatile noexcept;
[all …]
/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/
H A Dfm_port.h250 volatile uint32_t fmbm_rcfg; /**< Rx Configuration */
251 volatile uint32_t fmbm_rst; /**< Rx Status */
252 volatile uint32_t fmbm_rda; /**< Rx DMA attributes*/
253 volatile uint32_t fmbm_rfp; /**< Rx FIFO Parameters*/
254 volatile uint32_t fmbm_rfed; /**< Rx Frame End Data*/
255 volatile uint32_t fmbm_ricp; /**< Rx Internal Context Parameters*/
256 volatile uint32_t fmbm_rim; /**< Rx Internal Buffer Margins*/
257 volatile uint32_t fmbm_rebm; /**< Rx External Buffer Margins*/
258 volatile uint32_t fmbm_rfne; /**< Rx Frame Next Engine*/
259 volatile uint32_t fmbm_rfca; /**< Rx Frame Command Attributes.*/
[all …]
/freebsd/sys/contrib/ncsw/Peripherals/QM/
H A Dfsl_qman.h336 volatile uint8_t exclusive;
337 volatile uint8_t reserved1:2;
339 volatile uint8_t annotation_cl:2;
340 volatile uint8_t data_cl:2;
341 volatile uint8_t context_cl:2;
347 volatile uint32_t hi;
348 volatile uint32_t lo;
354 volatile uint8_t reserved1;
357 volatile uint8_t context_hi;
358 volatile uint32_t context_lo;
[all …]
H A Dqm.h177 volatile uint32_t lio_cfg; /**< QMan Software Portal LIO Configuration */
178 volatile uint32_t io_cfg; /**< QMan Software Portal 0 IO Configuration */
179 volatile uint8_t res1[4]; /**< reserved */
180volatile uint32_t dd_cfg; /**< Software Portal Dynamic Debug Configuration */
182 volatile uint8_t res1[352]; /**< reserved */
185 volatile uint32_t qman_dd_cfg; /**< QMan Dynamic Debug (DD) Configuration */
186 volatile uint8_t res2[12]; /**< reserved */
187volatile uint32_t qcsp_dd_ihrsr; /**< Software Portal DD Internal Halt Request Stat…
188volatile uint32_t qcsp_dd_ihrfr; /**< Software Portal DD Internal Halt Request Forc…
189volatile uint32_t qcsp_dd_hasr; /**< Software Portal DD Halt Acknowledge Status */
[all …]
/freebsd/sys/contrib/ncsw/Peripherals/FM/MACSEC/
H A Dfm_macsec_master.h156 volatile uint32_t cfg; /**< MACsec configuration */
157 volatile uint32_t et; /**< MACsec EtherType */
158 volatile uint8_t res1[56]; /**< reserved */
159 volatile uint32_t mfl; /**< Maximum Frame Length */
160 volatile uint32_t tpnet; /**< TX Packet Number exhaustion threshold */
161 volatile uint8_t res2[56]; /**< reserved */
162 volatile uint32_t rxsca; /**< RX SC access select */
163 volatile uint8_t res3[60]; /**< reserved */
164 volatile uint32_t txsca; /**< TX SC access select */
165 volatile uint8_t res4[60]; /**< reserved */
[all …]
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_os.h479 #define KMP_TEST_THEN_INC32(p) InterlockedExchangeAdd((volatile long *)(p), 1)
481 InterlockedExchangeAdd((volatile long *)(p), 1)
482 #define KMP_TEST_THEN_ADD4_32(p) InterlockedExchangeAdd((volatile long *)(p), 4)
484 InterlockedExchangeAdd((volatile long *)(p), 4)
485 #define KMP_TEST_THEN_DEC32(p) InterlockedExchangeAdd((volatile long *)(p), -1)
487 InterlockedExchangeAdd((volatile long *)(p), -1)
489 InterlockedExchangeAdd((volatile long *)(p), (v))
492 InterlockedCompareExchange((volatile long *)(p), (long)(sv), (long)(cv))
495 InterlockedExchange((volatile long *)(p), (long)(v))
497 InterlockedExchange64((volatile kmp_int64 *)(p), (kmp_int64)(v))
[all …]
/freebsd/sys/powerpc/include/
H A Dpio.h51 __outb(volatile u_int8_t *a, u_int8_t v) in __outb()
58 __outw(volatile u_int16_t *a, u_int16_t v) in __outw()
65 __outl(volatile u_int32_t *a, u_int32_t v) in __outl()
72 __outll(volatile u_int64_t *a, u_int64_t v) in __outll()
79 __outwrb(volatile u_int16_t *a, u_int16_t v) in __outwrb()
81 __asm__ volatile("sthbrx %0, 0, %1" :: "r"(v), "r"(a)); in __outwrb()
86 __outlrb(volatile u_int32_t *a, u_int32_t v) in __outlrb()
88 __asm__ volatile("stwbrx %0, 0, %1" :: "r"(v), "r"(a)); in __outlrb()
93 __inb(volatile u_int8_t *a) in __inb()
103 __inw(volatile u_int16_t *a) in __inw()
[all …]
/freebsd/sys/contrib/openzfs/module/zcommon/
H A Dzfs_fletcher_sse.c85 asm volatile("movdqu %0, %%xmm0" :: "m" ((ctx)->sse[0])); \
86 asm volatile("movdqu %0, %%xmm1" :: "m" ((ctx)->sse[1])); \
87 asm volatile("movdqu %0, %%xmm2" :: "m" ((ctx)->sse[2])); \
88 asm volatile("movdqu %0, %%xmm3" :: "m" ((ctx)->sse[3])); \
93 asm volatile("movdqu %%xmm0, %0" : "=m" ((ctx)->sse[0])); \
94 asm volatile("movdqu %%xmm1, %0" : "=m" ((ctx)->sse[1])); \
95 asm volatile("movdqu %%xmm2, %0" : "=m" ((ctx)->sse[2])); \
96 asm volatile("movdqu %%xmm3, %0" : "=m" ((ctx)->sse[3])); \
107 asm volatile("pxor %xmm4, %xmm4"); in fletcher_4_sse2_native()
110 asm volatile("movdqu %0, %%xmm5" :: "m"(*ip)); in fletcher_4_sse2_native()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interface_atomic.cpp59 template<typename T> T func_xchg(volatile T *v, T op) { in func_xchg()
66 template<typename T> T func_add(volatile T *v, T op) { in func_add()
70 template<typename T> T func_sub(volatile T *v, T op) { in func_sub()
74 template<typename T> T func_and(volatile T *v, T op) { in func_and()
78 template<typename T> T func_or(volatile T *v, T op) { in func_or()
82 template<typename T> T func_xor(volatile T *v, T op) { in func_xor()
86 template<typename T> T func_nand(volatile T *v, T op) { in func_nand()
98 template<typename T> T func_cas(volatile T *v, T cmp, T xch) { in func_cas()
108 a128 func_xchg(volatile a128 *v, a128 op) { in func_xchg()
115 a128 func_add(volatile a12
[all...]
H A Dtsan_interface.h234 a8 __tsan_atomic8_load(const volatile a8 *a, morder mo);
236 a16 __tsan_atomic16_load(const volatile a16 *a, morder mo);
238 a32 __tsan_atomic32_load(const volatile a32 *a, morder mo);
240 a64 __tsan_atomic64_load(const volatile a64 *a, morder mo);
243 a128 __tsan_atomic128_load(const volatile a128 *a, morder mo);
247 void __tsan_atomic8_store(volatile a8 *a, a8 v, morder mo);
249 void __tsan_atomic16_store(volatile a16 *a, a16 v, morder mo);
251 void __tsan_atomic32_store(volatile a32 *a, a32 v, morder mo);
253 void __tsan_atomic64_store(volatile a64 *a, a64 v, morder mo);
256 void __tsan_atomic128_store(volatile a12
[all...]
/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_manip.h331 volatile uint32_t mode;
332 volatile uint32_t autoLearnHashTblPtr;
333 volatile uint32_t intStatsTblPtr;
334 volatile uint32_t reasmFrmDescPoolTblPtr;
335 volatile uint32_t reasmFrmDescIndexPoolTblPtr;
336 volatile uint32_t timeOutTblPtr;
337 volatile uint32_t bufferPoolIdAndRisc1SetIndexes;
338 volatile uint32_t risc23SetIndexes;
339 volatile uint32_t risc4SetIndexesAndExtendedStatsTblPtr;
340 volatile uint32_t extendedStatsTblPtr;
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_atomic_msvc.h23 extern "C" char _InterlockedExchange8(char volatile *Addend, char Value);
25 extern "C" short _InterlockedExchange16(short volatile *Addend, short Value);
27 extern "C" long _InterlockedExchange(long volatile *Addend, long Value);
29 extern "C" long _InterlockedExchangeAdd(long volatile *Addend, long Value);
31 extern "C" char _InterlockedCompareExchange8(char volatile *Destination,
34 extern "C" short _InterlockedCompareExchange16(short volatile *Destination,
38 long long volatile *Destination, long long Exchange, long long Comparand);
41 void *volatile *Destination,
44 extern "C" long __cdecl _InterlockedCompareExchange(long volatile *Destination,
50 extern "C" long long _InterlockedExchangeAdd64(long long volatile *Addend,
[all …]
/freebsd/sys/amd64/amd64/
H A Dcopyout.c43 int fubyte_nosmap(volatile const void *base);
44 int fubyte_smap(volatile const void *base);
45 DEFINE_IFUNC(, int, fubyte, (volatile const void *))
52 int fuword16_nosmap(volatile const void *base);
53 int fuword16_smap(volatile const void *base);
54 DEFINE_IFUNC(, int, fuword16, (volatile const void *))
61 int fueword_nosmap(volatile const void *base, long *val);
62 int fueword_smap(volatile const void *base, long *val);
63 DEFINE_IFUNC(, int, fueword, (volatile const void *, long *))
69 DEFINE_IFUNC(, int, fueword64, (volatile const void *, int64_t *))
[all …]
/freebsd/sys/arm/include/
H A Datomic.h85 atomic_add_32(volatile uint32_t *p, uint32_t val) in atomic_add_32()
101 atomic_add_64(volatile uint64_t *p, uint64_t val) in atomic_add_64()
123 atomic_add_long(volatile u_long *p, u_long val) in atomic_add_long()
126 atomic_add_32((volatile uint32_t *)p, val); in atomic_add_long()
134 atomic_clear_32(volatile uint32_t *address, uint32_t setmask) in ATOMIC_ACQ_REL_LONG()
150 atomic_clear_64(volatile uint64_t *p, uint64_t val) in atomic_clear_64()
172 atomic_clear_long(volatile u_long *address, u_long setmask) in atomic_clear_long()
175 atomic_clear_32((volatile uint32_t *)address, setmask); in atomic_clear_long()
230 atomic_fcmpset_8(volatile uint8_t *_ptr, uint8_t *_old, uint8_t _new)
240 atomic_fcmpset_acq_8(volatile uint8_t *_ptr, uint8_t *_old, uint8_t _new) in atomic_fcmpset_acq_8()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_verify/sodium/
H A Dverify.c39 volatile __m128i v1, v2, z; in crypto_verify_n()
40 volatile int m; in crypto_verify_n()
43 const volatile __m128i *volatile x = in crypto_verify_n()
44 (const volatile __m128i *volatile) (const void *) x_; in crypto_verify_n()
45 const volatile __m128i *volatile y = in crypto_verify_n()
46 (const volatile __m128i *volatile) (const void *) y_; in crypto_verify_n()
67 const volatile unsigned char *volatile x = in crypto_verify_n()
68 (const volatile unsigned char *volatile) x_; in crypto_verify_n()
69 const volatile unsigned char *volatile y = in crypto_verify_n()
70 (const volatile unsigned char *volatile) y_; in crypto_verify_n()
[all …]
/freebsd/sys/i386/include/
H A Datomic.h104 atomic_##NAME##_##TYPE(volatile u_##TYPE *p, u_##TYPE v)\
113 atomic_##NAME##_barr_##TYPE(volatile u_##TYPE *p, u_##TYPE v)\
139 atomic_cmpset_##TYPE(volatile u_##TYPE *dst, u_##TYPE expect, u_##TYPE src) \
156 atomic_fcmpset_##TYPE(volatile u_##TYPE *dst, u_##TYPE *expect, u_##TYPE src) \
181 atomic_fetchadd_int(volatile u_int *p, u_int v) in atomic_fetchadd_int()
194 atomic_testandset_int(volatile u_int *p, u_int v) in atomic_testandset_int()
210 atomic_testandclear_int(volatile u_int *p, u_int v) in atomic_testandclear_int()
252 atomic_load_acq_##TYPE(const volatile u_##TYPE *p) \
264 atomic_store_rel_##TYPE(volatile u_##TYPE *p, u_##TYPE v) \
304 atomic_cmpset_64_i386(volatile uint64_t *dst, uint64_t expect, uint64_t src) in atomic_cmpset_64_i386()
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dio.h77 __raw_readb(const volatile void *addr) in __raw_readb()
79 return (*(const volatile uint8_t *)addr); in __raw_readb()
84 __raw_writeb(uint8_t v, volatile void *addr) in __raw_writeb()
86 *(volatile uint8_t *)addr = v; in __raw_writeb()
91 __raw_readw(const volatile void *addr) in __raw_readw()
93 return (*(const volatile uint16_t *)addr); in __raw_readw()
98 __raw_writew(uint16_t v, volatile void *addr) in __raw_writew()
100 *(volatile uint16_t *)addr = v; in __raw_writew()
105 __raw_readl(const volatile void *addr) in __raw_readl()
107 return (*(const volatile uint32_t *)addr); in __raw_readl()
[all …]
/freebsd/sys/cddl/compat/opensolaris/sys/
H A Datomic.h45 extern void atomic_add_64(volatile uint64_t *target, int64_t delta);
46 extern void atomic_dec_64(volatile uint64_t *target);
47 extern uint64_t atomic_swap_64(volatile uint64_t *a, uint64_t value);
48 extern uint64_t atomic_load_64(volatile uint64_t *a);
49 extern uint64_t atomic_add_64_nv(volatile uint64_t *target, int64_t delta);
50 extern uint64_t atomic_cas_64(volatile uint64_t *target, uint64_t cmp,
57 atomic_add_32_nv(volatile uint32_t *target, int32_t delta) in atomic_add_32_nv()
63 atomic_add_int_nv(volatile u_int *target, int delta) in atomic_add_int_nv()
69 atomic_inc_32(volatile uint32_t *target) in atomic_inc_32()
75 atomic_inc_32_nv(volatile uint32_t *target) in atomic_inc_32_nv()
[all …]
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Datomic.h51 extern void atomic_add_64(volatile uint64_t *target, int64_t delta);
52 extern void atomic_dec_64(volatile uint64_t *target);
53 extern uint64_t atomic_swap_64(volatile uint64_t *a, uint64_t value);
54 extern uint64_t atomic_load_64(volatile uint64_t *a);
55 extern uint64_t atomic_add_64_nv(volatile uint64_t *target, int64_t delta);
56 extern uint64_t atomic_cas_64(volatile uint64_t *target, uint64_t cmp,
65 atomic_add_32_nv(volatile uint32_t *target, int32_t delta) in atomic_add_32_nv()
71 atomic_add_int_nv(volatile uint_t *target, int delta) in atomic_add_int_nv()
77 atomic_inc_32(volatile uint32_t *target) in atomic_inc_32()
83 atomic_inc_32_nv(volatile uint32_t *target) in atomic_inc_32_nv()
[all …]

12345678910>>...71