Home
last modified time | relevance | path

Searched defs:v (Results 1 – 25 of 1959) sorted by relevance

12345678910>>...79

/Linux-v5.4/include/asm-generic/
Datomic-long.h26 atomic_long_read(const atomic_long_t *v) in atomic_long_read()
32 atomic_long_read_acquire(const atomic_long_t *v) in atomic_long_read_acquire()
38 atomic_long_set(atomic_long_t *v, long i) in atomic_long_set()
44 atomic_long_set_release(atomic_long_t *v, long i) in atomic_long_set_release()
50 atomic_long_add(long i, atomic_long_t *v) in atomic_long_add()
56 atomic_long_add_return(long i, atomic_long_t *v) in atomic_long_add_return()
62 atomic_long_add_return_acquire(long i, atomic_long_t *v) in atomic_long_add_return_acquire()
68 atomic_long_add_return_release(long i, atomic_long_t *v) in atomic_long_add_return_release()
74 atomic_long_add_return_relaxed(long i, atomic_long_t *v) in atomic_long_add_return_relaxed()
80 atomic_long_fetch_add(long i, atomic_long_t *v) in atomic_long_fetch_add()
[all …]
Datomic-instrumented.h24 atomic_read(const atomic_t *v) in atomic_read()
33 atomic_read_acquire(const atomic_t *v) in atomic_read_acquire()
42 atomic_set(atomic_t *v, int i) in atomic_set()
51 atomic_set_release(atomic_t *v, int i) in atomic_set_release()
60 atomic_add(int i, atomic_t *v) in atomic_add()
69 atomic_add_return(int i, atomic_t *v) in atomic_add_return()
79 atomic_add_return_acquire(int i, atomic_t *v) in atomic_add_return_acquire()
89 atomic_add_return_release(int i, atomic_t *v) in atomic_add_return_release()
99 atomic_add_return_relaxed(int i, atomic_t *v) in atomic_add_return_relaxed()
109 atomic_fetch_add(int i, atomic_t *v) in atomic_fetch_add()
[all …]
/Linux-v5.4/drivers/staging/media/hantro/
Dhantro_g1_mpeg2_dec.c23 #define G1_REG_DEC_E(v) ((v) ? BIT(0) : 0) argument
25 #define G1_REG_DEC_AXI_RD_ID(v) (((v) << 24) & GENMASK(31, 24)) argument
26 #define G1_REG_DEC_TIMEOUT_E(v) ((v) ? BIT(23) : 0) argument
27 #define G1_REG_DEC_STRSWAP32_E(v) ((v) ? BIT(22) : 0) argument
28 #define G1_REG_DEC_STRENDIAN_E(v) ((v) ? BIT(21) : 0) argument
29 #define G1_REG_DEC_INSWAP32_E(v) ((v) ? BIT(20) : 0) argument
30 #define G1_REG_DEC_OUTSWAP32_E(v) ((v) ? BIT(19) : 0) argument
31 #define G1_REG_DEC_DATA_DISC_E(v) ((v) ? BIT(18) : 0) argument
32 #define G1_REG_DEC_LATENCY(v) (((v) << 11) & GENMASK(16, 11)) argument
33 #define G1_REG_DEC_CLK_GATE_E(v) ((v) ? BIT(10) : 0) argument
[all …]
Drk3399_vpu_hw_mpeg2_dec.c23 #define VDPU_REG_DEC_E(v) ((v) ? BIT(0) : 0) argument
25 #define VDPU_REG_DEC_ADV_PRE_DIS(v) ((v) ? BIT(11) : 0) argument
26 #define VDPU_REG_DEC_SCMD_DIS(v) ((v) ? BIT(10) : 0) argument
27 #define VDPU_REG_FILTERING_DIS(v) ((v) ? BIT(8) : 0) argument
28 #define VDPU_REG_DEC_LATENCY(v) (((v) << 1) & GENMASK(6, 1)) argument
30 #define VDPU_REG_INIT_QP(v) (((v) << 25) & GENMASK(30, 25)) argument
31 #define VDPU_REG_STREAM_LEN(v) (((v) << 0) & GENMASK(23, 0)) argument
33 #define VDPU_REG_APF_THRESHOLD(v) (((v) << 17) & GENMASK(30, 17)) argument
34 #define VDPU_REG_STARTMB_X(v) (((v) << 8) & GENMASK(16, 8)) argument
35 #define VDPU_REG_STARTMB_Y(v) (((v) << 0) & GENMASK(7, 0)) argument
[all …]
/Linux-v5.4/drivers/gpu/host1x/hw/
Dhw_host1x01_uclass.h48 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) in host1x_uclass_incr_syncpt_cond_f()
52 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ argument
54 static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v) in host1x_uclass_incr_syncpt_indx_f()
58 #define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \ argument
66 static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v) in host1x_uclass_wait_syncpt_indx_f()
70 #define HOST1X_UCLASS_WAIT_SYNCPT_INDX_F(v) \ argument
72 static inline u32 host1x_uclass_wait_syncpt_thresh_f(u32 v) in host1x_uclass_wait_syncpt_thresh_f()
76 #define HOST1X_UCLASS_WAIT_SYNCPT_THRESH_F(v) \ argument
84 static inline u32 host1x_uclass_wait_syncpt_base_indx_f(u32 v) in host1x_uclass_wait_syncpt_base_indx_f()
88 #define HOST1X_UCLASS_WAIT_SYNCPT_BASE_INDX_F(v) \ argument
[all …]
Dhw_host1x02_uclass.h48 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) in host1x_uclass_incr_syncpt_cond_f()
52 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ argument
54 static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v) in host1x_uclass_incr_syncpt_indx_f()
58 #define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \ argument
66 static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v) in host1x_uclass_wait_syncpt_indx_f()
70 #define HOST1X_UCLASS_WAIT_SYNCPT_INDX_F(v) \ argument
72 static inline u32 host1x_uclass_wait_syncpt_thresh_f(u32 v) in host1x_uclass_wait_syncpt_thresh_f()
76 #define HOST1X_UCLASS_WAIT_SYNCPT_THRESH_F(v) \ argument
84 static inline u32 host1x_uclass_wait_syncpt_base_indx_f(u32 v) in host1x_uclass_wait_syncpt_base_indx_f()
88 #define HOST1X_UCLASS_WAIT_SYNCPT_BASE_INDX_F(v) \ argument
[all …]
Dhw_host1x07_uclass.h48 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) in host1x_uclass_incr_syncpt_cond_f()
52 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ argument
54 static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v) in host1x_uclass_incr_syncpt_indx_f()
58 #define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \ argument
66 static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v) in host1x_uclass_wait_syncpt_indx_f()
70 #define HOST1X_UCLASS_WAIT_SYNCPT_INDX_F(v) \ argument
72 static inline u32 host1x_uclass_wait_syncpt_thresh_f(u32 v) in host1x_uclass_wait_syncpt_thresh_f()
76 #define HOST1X_UCLASS_WAIT_SYNCPT_THRESH_F(v) \ argument
84 static inline u32 host1x_uclass_wait_syncpt_base_indx_f(u32 v) in host1x_uclass_wait_syncpt_base_indx_f()
88 #define HOST1X_UCLASS_WAIT_SYNCPT_BASE_INDX_F(v) \ argument
[all …]
Dhw_host1x04_uclass.h48 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) in host1x_uclass_incr_syncpt_cond_f()
52 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ argument
54 static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v) in host1x_uclass_incr_syncpt_indx_f()
58 #define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \ argument
66 static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v) in host1x_uclass_wait_syncpt_indx_f()
70 #define HOST1X_UCLASS_WAIT_SYNCPT_INDX_F(v) \ argument
72 static inline u32 host1x_uclass_wait_syncpt_thresh_f(u32 v) in host1x_uclass_wait_syncpt_thresh_f()
76 #define HOST1X_UCLASS_WAIT_SYNCPT_THRESH_F(v) \ argument
84 static inline u32 host1x_uclass_wait_syncpt_base_indx_f(u32 v) in host1x_uclass_wait_syncpt_base_indx_f()
88 #define HOST1X_UCLASS_WAIT_SYNCPT_BASE_INDX_F(v) \ argument
[all …]
Dhw_host1x05_uclass.h48 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) in host1x_uclass_incr_syncpt_cond_f()
52 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ argument
54 static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v) in host1x_uclass_incr_syncpt_indx_f()
58 #define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \ argument
66 static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v) in host1x_uclass_wait_syncpt_indx_f()
70 #define HOST1X_UCLASS_WAIT_SYNCPT_INDX_F(v) \ argument
72 static inline u32 host1x_uclass_wait_syncpt_thresh_f(u32 v) in host1x_uclass_wait_syncpt_thresh_f()
76 #define HOST1X_UCLASS_WAIT_SYNCPT_THRESH_F(v) \ argument
84 static inline u32 host1x_uclass_wait_syncpt_base_indx_f(u32 v) in host1x_uclass_wait_syncpt_base_indx_f()
88 #define HOST1X_UCLASS_WAIT_SYNCPT_BASE_INDX_F(v) \ argument
[all …]
Dhw_host1x06_uclass.h48 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) in host1x_uclass_incr_syncpt_cond_f()
52 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ argument
54 static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v) in host1x_uclass_incr_syncpt_indx_f()
58 #define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \ argument
66 static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v) in host1x_uclass_wait_syncpt_indx_f()
70 #define HOST1X_UCLASS_WAIT_SYNCPT_INDX_F(v) \ argument
72 static inline u32 host1x_uclass_wait_syncpt_thresh_f(u32 v) in host1x_uclass_wait_syncpt_thresh_f()
76 #define HOST1X_UCLASS_WAIT_SYNCPT_THRESH_F(v) \ argument
84 static inline u32 host1x_uclass_wait_syncpt_base_indx_f(u32 v) in host1x_uclass_wait_syncpt_base_indx_f()
88 #define HOST1X_UCLASS_WAIT_SYNCPT_BASE_INDX_F(v) \ argument
[all …]
/Linux-v5.4/drivers/media/platform/
Dimx-pxp.h19 #define BF_PXP_CTRL_SFTRST(v) \ argument
22 #define BF_PXP_CTRL_CLKGATE(v) \ argument
25 #define BF_PXP_CTRL_RSVD4(v) \ argument
28 #define BF_PXP_CTRL_EN_REPEAT(v) \ argument
31 #define BF_PXP_CTRL_ENABLE_ROTATE1(v) \ argument
34 #define BF_PXP_CTRL_ENABLE_ROTATE0(v) \ argument
37 #define BF_PXP_CTRL_ENABLE_LUT(v) \ argument
40 #define BF_PXP_CTRL_ENABLE_CSC2(v) \ argument
43 #define BF_PXP_CTRL_BLOCK_SIZE(v) \ argument
48 #define BF_PXP_CTRL_RSVD1(v) \ argument
[all …]
/Linux-v5.4/include/linux/
Datomic-fallback.h80 atomic_read_acquire(const atomic_t *v) in atomic_read_acquire()
89 atomic_set_release(atomic_t *v, int i) in atomic_set_release()
104 atomic_add_return_acquire(int i, atomic_t *v) in atomic_add_return_acquire()
115 atomic_add_return_release(int i, atomic_t *v) in atomic_add_return_release()
125 atomic_add_return(int i, atomic_t *v) in atomic_add_return()
146 atomic_fetch_add_acquire(int i, atomic_t *v) in atomic_fetch_add_acquire()
157 atomic_fetch_add_release(int i, atomic_t *v) in atomic_fetch_add_release()
167 atomic_fetch_add(int i, atomic_t *v) in atomic_fetch_add()
188 atomic_sub_return_acquire(int i, atomic_t *v) in atomic_sub_return_acquire()
199 atomic_sub_return_release(int i, atomic_t *v) in atomic_sub_return_release()
[all …]
/Linux-v5.4/arch/ia64/include/asm/
Datomic.h25 #define atomic_read(v) READ_ONCE((v)->counter) argument
26 #define atomic64_read(v) READ_ONCE((v)->counter) argument
28 #define atomic_set(v,i) WRITE_ONCE(((v)->counter), (i)) argument
29 #define atomic64_set(v,i) WRITE_ONCE(((v)->counter), (i)) argument
78 #define atomic_add_return(i,v) \ argument
86 #define atomic_sub_return(i,v) \ argument
94 #define atomic_fetch_add(i,v) \ argument
102 #define atomic_fetch_sub(i,v) \ argument
114 #define atomic_and(i,v) (void)ia64_atomic_fetch_and(i,v) argument
115 #define atomic_or(i,v) (void)ia64_atomic_fetch_or(i,v) argument
[all …]
/Linux-v5.4/arch/x86/include/asm/
Datomic.h25 static __always_inline int arch_atomic_read(const atomic_t *v) in arch_atomic_read()
41 static __always_inline void arch_atomic_set(atomic_t *v, int i) in arch_atomic_set()
53 static __always_inline void arch_atomic_add(int i, atomic_t *v) in arch_atomic_add()
67 static __always_inline void arch_atomic_sub(int i, atomic_t *v) in arch_atomic_sub()
83 static __always_inline bool arch_atomic_sub_and_test(int i, atomic_t *v) in arch_atomic_sub_and_test()
95 static __always_inline void arch_atomic_inc(atomic_t *v) in arch_atomic_inc()
108 static __always_inline void arch_atomic_dec(atomic_t *v) in arch_atomic_dec()
123 static __always_inline bool arch_atomic_dec_and_test(atomic_t *v) in arch_atomic_dec_and_test()
137 static __always_inline bool arch_atomic_inc_and_test(atomic_t *v) in arch_atomic_inc_and_test()
152 static __always_inline bool arch_atomic_add_negative(int i, atomic_t *v) in arch_atomic_add_negative()
[all …]
Datomic64_64.h20 static inline s64 arch_atomic64_read(const atomic64_t *v) in arch_atomic64_read()
32 static inline void arch_atomic64_set(atomic64_t *v, s64 i) in arch_atomic64_set()
44 static __always_inline void arch_atomic64_add(s64 i, atomic64_t *v) in arch_atomic64_add()
58 static inline void arch_atomic64_sub(s64 i, atomic64_t *v) in arch_atomic64_sub()
74 static inline bool arch_atomic64_sub_and_test(s64 i, atomic64_t *v) in arch_atomic64_sub_and_test()
86 static __always_inline void arch_atomic64_inc(atomic64_t *v) in arch_atomic64_inc()
100 static __always_inline void arch_atomic64_dec(atomic64_t *v) in arch_atomic64_dec()
116 static inline bool arch_atomic64_dec_and_test(atomic64_t *v) in arch_atomic64_dec_and_test()
130 static inline bool arch_atomic64_inc_and_test(atomic64_t *v) in arch_atomic64_inc_and_test()
145 static inline bool arch_atomic64_add_negative(s64 i, atomic64_t *v) in arch_atomic64_add_negative()
[all …]
Datomic64_32.h74 static inline s64 arch_atomic64_cmpxchg(atomic64_t *v, s64 o, s64 n) in arch_atomic64_cmpxchg()
87 static inline s64 arch_atomic64_xchg(atomic64_t *v, s64 n) in arch_atomic64_xchg()
105 static inline void arch_atomic64_set(atomic64_t *v, s64 i) in arch_atomic64_set()
120 static inline s64 arch_atomic64_read(const atomic64_t *v) in arch_atomic64_read()
134 static inline s64 arch_atomic64_add_return(s64 i, atomic64_t *v) in arch_atomic64_add_return()
145 static inline s64 arch_atomic64_sub_return(s64 i, atomic64_t *v) in arch_atomic64_sub_return()
153 static inline s64 arch_atomic64_inc_return(atomic64_t *v) in arch_atomic64_inc_return()
162 static inline s64 arch_atomic64_dec_return(atomic64_t *v) in arch_atomic64_dec_return()
178 static inline s64 arch_atomic64_add(s64 i, atomic64_t *v) in arch_atomic64_add()
193 static inline s64 arch_atomic64_sub(s64 i, atomic64_t *v) in arch_atomic64_sub()
[all …]
/Linux-v5.4/drivers/iio/adc/
Dstm32-dfsdm.h48 #define DFSDM_CHCFGR1_SITP(v) FIELD_PREP(DFSDM_CHCFGR1_SITP_MASK, v) argument
50 #define DFSDM_CHCFGR1_SPICKSEL(v) FIELD_PREP(DFSDM_CHCFGR1_SPICKSEL_MASK, v) argument
52 #define DFSDM_CHCFGR1_SCDEN(v) FIELD_PREP(DFSDM_CHCFGR1_SCDEN_MASK, v) argument
54 #define DFSDM_CHCFGR1_CKABEN(v) FIELD_PREP(DFSDM_CHCFGR1_CKABEN_MASK, v) argument
56 #define DFSDM_CHCFGR1_CHEN(v) FIELD_PREP(DFSDM_CHCFGR1_CHEN_MASK, v) argument
58 #define DFSDM_CHCFGR1_CHINSEL(v) FIELD_PREP(DFSDM_CHCFGR1_CHINSEL_MASK, v) argument
60 #define DFSDM_CHCFGR1_DATMPX(v) FIELD_PREP(DFSDM_CHCFGR1_DATMPX_MASK, v) argument
62 #define DFSDM_CHCFGR1_DATPACK(v) FIELD_PREP(DFSDM_CHCFGR1_DATPACK_MASK, v) argument
64 #define DFSDM_CHCFGR1_CKOUTDIV(v) FIELD_PREP(DFSDM_CHCFGR1_CKOUTDIV_MASK, v) argument
66 #define DFSDM_CHCFGR1_CKOUTSRC(v) FIELD_PREP(DFSDM_CHCFGR1_CKOUTSRC_MASK, v) argument
[all …]
/Linux-v5.4/arch/x86/lib/
Datomic64_386_32.S39 #define v %ecx macro
46 #define v %esi macro
53 #define v %esi macro
62 #define v %ecx macro
69 #define v %ecx macro
78 #define v %ecx macro
85 #define v %ecx macro
97 #define v %esi macro
104 #define v %esi macro
115 #define v %esi macro
[all …]
/Linux-v5.4/arch/powerpc/include/asm/
Datomic.h28 static __inline__ int atomic_read(const atomic_t *v) in atomic_read()
37 static __inline__ void atomic_set(atomic_t *v, int i) in atomic_set()
142 static __inline__ int atomic_inc_return_relaxed(atomic_t *v) in atomic_inc_return_relaxed()
159 static __inline__ void atomic_dec(atomic_t *v) in atomic_dec()
175 static __inline__ int atomic_dec_return_relaxed(atomic_t *v) in atomic_dec_return_relaxed()
195 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) argument
196 #define atomic_cmpxchg_relaxed(v, o, n) \ argument
198 #define atomic_cmpxchg_acquire(v, o, n) \ argument
201 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) argument
202 #define atomic_xchg_relaxed(v, new) xchg_relaxed(&((v)->counter), (new)) argument
[all …]
/Linux-v5.4/arch/sparc/include/asm/
Datomic_32.h35 #define atomic_set_release(v, i) atomic_set((v), (i)) argument
37 #define atomic_read(v) READ_ONCE((v)->counter) argument
39 #define atomic_add(i, v) ((void)atomic_add_return( (int)(i), (v))) argument
40 #define atomic_sub(i, v) ((void)atomic_add_return(-(int)(i), (v))) argument
42 #define atomic_and(i, v) ((void)atomic_fetch_and((i), (v))) argument
43 #define atomic_or(i, v) ((void)atomic_fetch_or((i), (v))) argument
44 #define atomic_xor(i, v) ((void)atomic_fetch_xor((i), (v))) argument
46 #define atomic_sub_return(i, v) (atomic_add_return(-(int)(i), (v))) argument
47 #define atomic_fetch_sub(i, v) (atomic_fetch_add (-(int)(i), (v))) argument
/Linux-v5.4/sound/soc/qcom/
Dlpass-lpaif-reg.h11 #define LPAIF_I2SCTL_REG_ADDR(v, addr, port) \ argument
14 #define LPAIF_I2SCTL_REG(v, port) LPAIF_I2SCTL_REG_ADDR(v, 0x0, (port)) argument
76 #define LPAIF_IRQ_REG_ADDR(v, addr, port) \ argument
81 #define LPAIF_IRQEN_REG(v, port) LPAIF_IRQ_REG_ADDR(v, 0x0, (port)) argument
82 #define LPAIF_IRQSTAT_REG(v, port) LPAIF_IRQ_REG_ADDR(v, 0x4, (port)) argument
83 #define LPAIF_IRQCLEAR_REG(v, port) LPAIF_IRQ_REG_ADDR(v, 0xC, (port)) argument
95 #define LPAIF_RDMA_REG_ADDR(v, addr, chan) \ argument
100 #define LPAIF_RDMACTL_REG(v, chan) LPAIF_RDMA_REG_ADDR(v, 0x00, (chan)) argument
101 #define LPAIF_RDMABASE_REG(v, chan) LPAIF_RDMA_REG_ADDR(v, 0x04, (chan)) argument
102 #define LPAIF_RDMABUFF_REG(v, chan) LPAIF_RDMA_REG_ADDR(v, 0x08, (chan)) argument
[all …]
/Linux-v5.4/arch/mips/include/asm/mach-bcm63xx/
Dbcm63xx_io.h58 #define bcm_writeb(v, a) (*(volatile unsigned char *) BCM_REGS_VA((a)) = (v)) argument
59 #define bcm_writew(v, a) (*(volatile unsigned short *) BCM_REGS_VA((a)) = (v)) argument
60 #define bcm_writel(v, a) (*(volatile unsigned int *) BCM_REGS_VA((a)) = (v)) argument
61 #define bcm_writeq(v, a) (*(volatile u64 *) BCM_REGS_VA((a)) = (v)) argument
69 #define bcm_rset_writeb(s, v, o) bcm_writeb((v), \ argument
71 #define bcm_rset_writew(s, v, o) bcm_writew((v), \ argument
73 #define bcm_rset_writel(s, v, o) bcm_writel((v), \ argument
80 #define bcm_perf_writel(v, o) bcm_rset_writel(RSET_PERF, (v), (o)) argument
82 #define bcm_timer_writel(v, o) bcm_rset_writel(RSET_TIMER, (v), (o)) argument
84 #define bcm_wdt_writel(v, o) bcm_rset_writel(RSET_WDT, (v), (o)) argument
[all …]
/Linux-v5.4/arch/s390/include/asm/
Datomic.h20 static inline int atomic_read(const atomic_t *v) in atomic_read()
30 static inline void atomic_set(atomic_t *v, int i) in atomic_set()
37 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return()
42 static inline int atomic_fetch_add(int i, atomic_t *v) in atomic_fetch_add()
47 static inline void atomic_add(int i, atomic_t *v) in atomic_add()
78 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() argument
87 static inline s64 atomic64_read(const atomic64_t *v) in atomic64_read()
97 static inline void atomic64_set(atomic64_t *v, s64 i) in atomic64_set()
104 static inline s64 atomic64_add_return(s64 i, atomic64_t *v) in atomic64_add_return()
109 static inline s64 atomic64_fetch_add(s64 i, atomic64_t *v) in atomic64_fetch_add()
[all …]
/Linux-v5.4/drivers/iommu/
Dmsm_iommu_hw-8xxx.h20 #define SET_GLOBAL_REG_N(b, n, r, v) SET_GLOBAL_REG(b, ((r) + (n << 2)), (v)) argument
28 #define SET_GLOBAL_FIELD(b, r, F, v) \ argument
30 #define SET_CONTEXT_FIELD(b, c, r, F, v) \ argument
35 #define SET_FIELD(addr, mask, shift, v) \ argument
84 #define SET_M2VCBR_N(b, N, v) SET_GLOBAL_REG_N(M2VCBR_N, N, (b), (v)) argument
85 #define SET_CBACR_N(b, N, v) SET_GLOBAL_REG_N(CBACR_N, N, (b), (v)) argument
86 #define SET_TLBRSW(b, v) SET_GLOBAL_REG(TLBRSW, (b), (v)) argument
87 #define SET_TLBTR0(b, v) SET_GLOBAL_REG(TLBTR0, (b), (v)) argument
88 #define SET_TLBTR1(b, v) SET_GLOBAL_REG(TLBTR1, (b), (v)) argument
89 #define SET_TLBTR2(b, v) SET_GLOBAL_REG(TLBTR2, (b), (v)) argument
[all …]
/Linux-v5.4/drivers/md/
Ddm-verity-target.c45 struct dm_verity *v; member
79 static sector_t verity_map_sector(struct dm_verity *v, sector_t bi_sector) in verity_map_sector()
90 static sector_t verity_position_at_level(struct dm_verity *v, sector_t block, in verity_position_at_level()
96 static int verity_hash_update(struct dm_verity *v, struct ahash_request *req, in verity_hash_update()
127 static int verity_hash_init(struct dm_verity *v, struct ahash_request *req, in verity_hash_init()
151 static int verity_hash_final(struct dm_verity *v, struct ahash_request *req, in verity_hash_final()
171 int verity_hash(struct dm_verity *v, struct ahash_request *req, in verity_hash()
191 static void verity_hash_at_level(struct dm_verity *v, sector_t block, int level, in verity_hash_at_level()
212 static int verity_handle_err(struct dm_verity *v, enum verity_block_type type, in verity_handle_err()
271 static int verity_verify_level(struct dm_verity *v, struct dm_verity_io *io, in verity_verify_level()
[all …]

12345678910>>...79