Home
last modified time | relevance | path

Searched +full:1 +full:v (Results 1 – 25 of 1185) sorted by relevance

12345678910>>...48

/kernel/linux/linux-4.19/drivers/pinctrl/mvebu/
Dpinctrl-kirkwood.c23 #define V(f6180, f6190, f6192, f6281, f6282, dx4122) \ macro
24 ((f6180 << 0) | (f6190 << 1) | (f6192 << 2) | \
28 VARIANT_MV88F6180 = V(1, 0, 0, 0, 0, 0),
29 VARIANT_MV88F6190 = V(0, 1, 0, 0, 0, 0),
30 VARIANT_MV88F6192 = V(0, 0, 1, 0, 0, 0),
31 VARIANT_MV88F6281 = V(0, 0, 0, 1, 0, 0),
32 VARIANT_MV88F6282 = V(0, 0, 0, 0, 1, 0),
33 VARIANT_MV98DX4122 = V(0, 0, 0, 0, 0, 1),
38 MPP_VAR_FUNCTION(0x0, "gpio", NULL, V(1, 1, 1, 1, 1, 1)),
39 MPP_VAR_FUNCTION(0x1, "nand", "io2", V(1, 1, 1, 1, 1, 1)),
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/mvebu/
Dpinctrl-kirkwood.c19 #define V(f6180, f6190, f6192, f6281, f6282, dx4122, dx1135) \ macro
20 ((f6180 << 0) | (f6190 << 1) | (f6192 << 2) | \
25 VARIANT_MV88F6180 = V(1, 0, 0, 0, 0, 0, 0),
26 VARIANT_MV88F6190 = V(0, 1, 0, 0, 0, 0, 0),
27 VARIANT_MV88F6192 = V(0, 0, 1, 0, 0, 0, 0),
28 VARIANT_MV88F6281 = V(0, 0, 0, 1, 0, 0, 0),
29 VARIANT_MV88F6282 = V(0, 0, 0, 0, 1, 0, 0),
30 VARIANT_MV98DX4122 = V(0, 0, 0, 0, 0, 1, 0),
31 VARIANT_MV98DX1135 = V(0, 0, 0, 0, 0, 0, 1),
36 MPP_VAR_FUNCTION(0x0, "gpio", NULL, V(1, 1, 1, 1, 1, 1, 1)),
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c744 // valid bpp = increments of 1/16 of a bit in dscceComputeDelay()
746 // max = such that compression is 1:1 in dscceComputeDelay()
748 …mSlices = number of slices in the horiziontal direction per DSC engine in the set of {1, 2, 3, 4} in dscceComputeDelay()
760 // #all other modes operate at 1 pixel per clock in dscceComputeDelay()
762 pixelsPerClock = 1; in dscceComputeDelay()
766 pixelsPerClock = 1; in dscceComputeDelay()
786 s = 1; in dscceComputeDelay()
794 ax = (a + 2) / 3 + D + 6 + 1; in dscceComputeDelay()
795 L = (ax + wx - 1) / wx; in dscceComputeDelay()
797 lstall = 1; in dscceComputeDelay()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calc_auto.c40 void scaler_settings_calculation(struct dcn_bw_internal_vars *v) in scaler_settings_calculation() argument
43 for (k = 0; k <= v->number_of_active_planes - 1; k++) { in scaler_settings_calculation()
44 if (v->allow_different_hratio_vratio == dcn_bw_yes) { in scaler_settings_calculation()
45 if (v->source_scan[k] == dcn_bw_hor) { in scaler_settings_calculation()
46 v->h_ratio[k] = v->viewport_width[k] / v->scaler_rec_out_width[k]; in scaler_settings_calculation()
47 v->v_ratio[k] = v->viewport_height[k] / v->scaler_recout_height[k]; in scaler_settings_calculation()
50 v->h_ratio[k] = v->viewport_height[k] / v->scaler_rec_out_width[k]; in scaler_settings_calculation()
51 v->v_ratio[k] = v->viewport_width[k] / v->scaler_recout_height[k]; in scaler_settings_calculation()
55 if (v->source_scan[k] == dcn_bw_hor) { in scaler_settings_calculation()
56v->h_ratio[k] =dcn_bw_max2(v->viewport_width[k] / v->scaler_rec_out_width[k], v->viewport_height[k… in scaler_settings_calculation()
[all …]
/kernel/linux/linux-4.19/arch/x86/lib/
Datomic64_386_32.S31 LOCK v;
36 UNLOCK v; \
43 #define v %ecx macro
45 movl (v), %eax
46 movl 4(v), %edx
48 #undef v
50 #define v %esi macro
52 movl %ebx, (v)
53 movl %ecx, 4(v)
55 #undef v
[all …]
/kernel/linux/linux-5.10/arch/x86/lib/
Datomic64_386_32.S27 IRQ_SAVE v;
32 IRQ_RESTORE v; \
35 #define v %ecx macro
37 movl (v), %eax
38 movl 4(v), %edx
41 #undef v
43 #define v %esi macro
45 movl %ebx, (v)
46 movl %ecx, 4(v)
49 #undef v
[all …]
/kernel/linux/linux-5.10/tools/memory-model/
Dlinux-kernel.def10 WRITE_ONCE(X,V) { __store{once}(X,V); }
13 smp_store_release(X,V) { __store{release}(*X,V); }
15 rcu_assign_pointer(X,V) { __store{release}(X,V); }
17 smp_store_mb(X,V) { __store{once}(X,V); __fence{mb}; }
30 xchg(X,V) __xchg{mb}(X,V)
31 xchg_relaxed(X,V) __xchg{once}(X,V)
32 xchg_release(X,V) __xchg{release}(X,V)
33 xchg_acquire(X,V) __xchg{acquire}(X,V)
34 cmpxchg(X,V,W) __cmpxchg{mb}(X,V,W)
35 cmpxchg_relaxed(X,V,W) __cmpxchg{once}(X,V,W)
[all …]
/kernel/linux/linux-4.19/tools/memory-model/
Dlinux-kernel.def10 WRITE_ONCE(X,V) { __store{once}(X,V); }
13 smp_store_release(X,V) { __store{release}(*X,V); }
15 rcu_assign_pointer(X,V) { __store{release}(X,V); }
17 smp_store_mb(X,V) { __store{once}(X,V); __fence{mb}; }
28 xchg(X,V) __xchg{mb}(X,V)
29 xchg_relaxed(X,V) __xchg{once}(X,V)
30 xchg_release(X,V) __xchg{release}(X,V)
31 xchg_acquire(X,V) __xchg{acquire}(X,V)
32 cmpxchg(X,V,W) __cmpxchg{mb}(X,V,W)
33 cmpxchg_relaxed(X,V,W) __cmpxchg{once}(X,V,W)
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calc_auto.c40 void scaler_settings_calculation(struct dcn_bw_internal_vars *v) in scaler_settings_calculation() argument
43 for (k = 0; k <= v->number_of_active_planes - 1; k++) { in scaler_settings_calculation()
44 if (v->allow_different_hratio_vratio == dcn_bw_yes) { in scaler_settings_calculation()
45 if (v->source_scan[k] == dcn_bw_hor) { in scaler_settings_calculation()
46 v->h_ratio[k] = v->viewport_width[k] / v->scaler_rec_out_width[k]; in scaler_settings_calculation()
47 v->v_ratio[k] = v->viewport_height[k] / v->scaler_recout_height[k]; in scaler_settings_calculation()
50 v->h_ratio[k] = v->viewport_height[k] / v->scaler_rec_out_width[k]; in scaler_settings_calculation()
51 v->v_ratio[k] = v->viewport_width[k] / v->scaler_recout_height[k]; in scaler_settings_calculation()
55 if (v->source_scan[k] == dcn_bw_hor) { in scaler_settings_calculation()
56v->h_ratio[k] =dcn_bw_max2(v->viewport_width[k] / v->scaler_rec_out_width[k], v->viewport_height[k… in scaler_settings_calculation()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Datomic.h25 static __inline__ int atomic_read(const atomic_t *v) in atomic_read() argument
29 __asm__ __volatile__("lwz%U1%X1 %0,%1" : "=r"(t) : "m"(v->counter)); in atomic_read()
34 static __inline__ void atomic_set(atomic_t *v, int i) in atomic_set() argument
36 __asm__ __volatile__("stw%U0%X0 %1,%0" : "=m"(v->counter) : "r"(i)); in atomic_set()
40 static __inline__ void atomic_##op(int a, atomic_t *v) \
45 "1: lwarx %0,0,%3 # atomic_" #op "\n" \
48 " bne- 1b\n" \
49 : "=&r" (t), "+m" (v->counter) \
50 : "r" (a), "r" (&v->counter) \
55 static inline int atomic_##op##_return_relaxed(int a, atomic_t *v) \
[all …]
/kernel/linux/linux-4.19/arch/powerpc/include/asm/
Datomic.h28 static __inline__ int atomic_read(const atomic_t *v) in atomic_read() argument
32 __asm__ __volatile__("lwz%U1%X1 %0,%1" : "=r"(t) : "m"(v->counter)); in atomic_read()
37 static __inline__ void atomic_set(atomic_t *v, int i) in atomic_set() argument
39 __asm__ __volatile__("stw%U0%X0 %1,%0" : "=m"(v->counter) : "r"(i)); in atomic_set()
43 static __inline__ void atomic_##op(int a, atomic_t *v) \
48 "1: lwarx %0,0,%3 # atomic_" #op "\n" \
52 " bne- 1b\n" \
53 : "=&r" (t), "+m" (v->counter) \
54 : "r" (a), "r" (&v->counter) \
59 static inline int atomic_##op##_return_relaxed(int a, atomic_t *v) \
[all …]
/kernel/linux/linux-5.10/sound/soc/qcom/
Dlpass-lpaif-reg.h11 #define LPAIF_I2SCTL_REG_ADDR(v, addr, port) \ argument
12 (v->i2sctrl_reg_base + (addr) + v->i2sctrl_reg_stride * (port))
14 #define LPAIF_I2SCTL_REG(v, port) LPAIF_I2SCTL_REG_ADDR(v, 0x0, (port)) argument
17 #define LPAIF_I2SCTL_LOOPBACK_ENABLE 1
20 #define LPAIF_I2SCTL_SPKEN_ENABLE 1
23 #define LPAIF_I2SCTL_MODE_SD0 1
46 #define LPAIF_I2SCTL_SPKMONO_MONO 1
49 #define LPAIF_I2SCTL_MICEN_ENABLE 1
54 #define LPAIF_I2SCTL_MICMONO_MONO 1
57 #define LPAIF_I2SCTL_WSSRC_EXTERNAL 1
[all …]
/kernel/linux/linux-4.19/drivers/md/
Ddm-verity-target.c45 struct dm_verity *v; member
55 * it can be changed to 1 and it is never reset to 0 again.
59 * and write 1 to hash_verified simultaneously.
79 static sector_t verity_map_sector(struct dm_verity *v, sector_t bi_sector) in verity_map_sector() argument
81 return v->data_start + dm_target_offset(v->ti, 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() argument
93 return block >> (level * v->hash_per_block_bits); in verity_position_at_level()
96 static int verity_hash_update(struct dm_verity *v, struct ahash_request *req, in verity_hash_update() argument
111 sg_init_table(&sg, 1); in verity_hash_update()
127 static int verity_hash_init(struct dm_verity *v, struct ahash_request *req, in verity_hash_init() argument
[all …]
/kernel/linux/linux-5.10/arch/sh/mm/
Dflush-sh4.c16 reg_size_t aligned_start, v, cnt, end; in sh4__flush_wback_region() local
19 v = aligned_start & ~(L1_CACHE_BYTES-1); in sh4__flush_wback_region()
20 end = (aligned_start + size + L1_CACHE_BYTES-1) in sh4__flush_wback_region()
21 & ~(L1_CACHE_BYTES-1); in sh4__flush_wback_region()
22 cnt = (end - v) / L1_CACHE_BYTES; in sh4__flush_wback_region()
25 __ocbwb(v); v += L1_CACHE_BYTES; in sh4__flush_wback_region()
26 __ocbwb(v); v += L1_CACHE_BYTES; in sh4__flush_wback_region()
27 __ocbwb(v); v += L1_CACHE_BYTES; in sh4__flush_wback_region()
28 __ocbwb(v); v += L1_CACHE_BYTES; in sh4__flush_wback_region()
29 __ocbwb(v); v += L1_CACHE_BYTES; in sh4__flush_wback_region()
[all …]
/kernel/linux/linux-4.19/arch/sh/mm/
Dflush-sh4.c16 reg_size_t aligned_start, v, cnt, end; in sh4__flush_wback_region() local
19 v = aligned_start & ~(L1_CACHE_BYTES-1); in sh4__flush_wback_region()
20 end = (aligned_start + size + L1_CACHE_BYTES-1) in sh4__flush_wback_region()
21 & ~(L1_CACHE_BYTES-1); in sh4__flush_wback_region()
22 cnt = (end - v) / L1_CACHE_BYTES; in sh4__flush_wback_region()
25 __ocbwb(v); v += L1_CACHE_BYTES; in sh4__flush_wback_region()
26 __ocbwb(v); v += L1_CACHE_BYTES; in sh4__flush_wback_region()
27 __ocbwb(v); v += L1_CACHE_BYTES; in sh4__flush_wback_region()
28 __ocbwb(v); v += L1_CACHE_BYTES; in sh4__flush_wback_region()
29 __ocbwb(v); v += L1_CACHE_BYTES; in sh4__flush_wback_region()
[all …]
/kernel/linux/linux-5.10/drivers/md/
Ddm-verity-target.c46 struct dm_verity *v; member
56 * it can be changed to 1 and it is never reset to 0 again.
60 * and write 1 to hash_verified simultaneously.
80 static sector_t verity_map_sector(struct dm_verity *v, sector_t bi_sector) in verity_map_sector() argument
82 return v->data_start + dm_target_offset(v->ti, bi_sector); in verity_map_sector()
91 static sector_t verity_position_at_level(struct dm_verity *v, sector_t block, in verity_position_at_level() argument
94 return block >> (level * v->hash_per_block_bits); in verity_position_at_level()
97 static int verity_hash_update(struct dm_verity *v, struct ahash_request *req, in verity_hash_update() argument
112 sg_init_table(&sg, 1); in verity_hash_update()
128 static int verity_hash_init(struct dm_verity *v, struct ahash_request *req, in verity_hash_init() argument
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
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 …]
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 …]
/kernel/linux/linux-5.10/include/linux/
Datomic-arch-fallback.h82 arch_atomic_read_acquire(const atomic_t *v) in arch_atomic_read_acquire() argument
84 return smp_load_acquire(&(v)->counter); in arch_atomic_read_acquire()
91 arch_atomic_set_release(atomic_t *v, int i) in arch_atomic_set_release() argument
93 smp_store_release(&(v)->counter, i); in arch_atomic_set_release()
106 arch_atomic_add_return_acquire(int i, atomic_t *v) in arch_atomic_add_return_acquire() argument
108 int ret = arch_atomic_add_return_relaxed(i, v); in arch_atomic_add_return_acquire()
117 arch_atomic_add_return_release(int i, atomic_t *v) in arch_atomic_add_return_release() argument
120 return arch_atomic_add_return_relaxed(i, v); in arch_atomic_add_return_release()
127 arch_atomic_add_return(int i, atomic_t *v) in arch_atomic_add_return() argument
131 ret = arch_atomic_add_return_relaxed(i, v); in arch_atomic_add_return()
[all …]
Datomic-fallback.h85 atomic_read_acquire(const atomic_t *v) in atomic_read_acquire() argument
87 return smp_load_acquire(&(v)->counter); in atomic_read_acquire()
97 atomic_set_release(atomic_t *v, int i) in atomic_set_release() argument
99 smp_store_release(&(v)->counter, i); in atomic_set_release()
119 atomic_add_return_acquire(int i, atomic_t *v) in atomic_add_return_acquire() argument
121 int ret = atomic_add_return_relaxed(i, v); in atomic_add_return_acquire()
130 atomic_add_return_release(int i, atomic_t *v) in atomic_add_return_release() argument
133 return atomic_add_return_relaxed(i, v); in atomic_add_return_release()
140 atomic_add_return(int i, atomic_t *v) in atomic_add_return() argument
144 ret = atomic_add_return_relaxed(i, v); in atomic_add_return()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/exynos/
Dregs-scaler.h59 * 1 70 74 78 7c 150 154 158 15c
64 * 6 c0 c4 c8 cc 1a0 1a4 1a8 1ac
65 * 7 d0 d4 d8 dc 1b0 1b4 1b8 1bc
66 * 8 e0 e4 e8 ec 1c0 1c4 1c8 1cc
72 * 0 f0 f4 1d0 1d4
73 * 1 f8 fc 1d8 1dc
74 * 2 100 104 1e0 1e4
75 * 3 108 10c 1e8 1ec
76 * 4 110 114 1f0 1f4
77 * 5 118 11c 1f8 1fc
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dregs-scaler.h56 * 1 70 74 78 7c 150 154 158 15c
61 * 6 c0 c4 c8 cc 1a0 1a4 1a8 1ac
62 * 7 d0 d4 d8 dc 1b0 1b4 1b8 1bc
63 * 8 e0 e4 e8 ec 1c0 1c4 1c8 1cc
69 * 0 f0 f4 1d0 1d4
70 * 1 f8 fc 1d8 1dc
71 * 2 100 104 1e0 1e4
72 * 3 108 10c 1e8 1ec
73 * 4 110 114 1f0 1f4
74 * 5 118 11c 1f8 1fc
[all …]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dnand_ids.c29 {"TC58NVG0S3E 1G 3.3V 8-bit",
31 SZ_2K, SZ_128, SZ_128K, 0, 8, 64, NAND_ECC_INFO(1, SZ_512), },
32 {"TC58NVG2S0F 4G 3.3V 8-bit",
35 {"TC58NVG2S0H 4G 3.3V 8-bit",
38 {"TC58NVG3S0F 8G 3.3V 8-bit",
41 {"TC58NVG5D2 32G 3.3V 8-bit",
44 {"TC58NVG6D2 64G 3.3V 8-bit",
47 {"SDTNRGAMA 64G 3.3V 8-bit",
50 {"H27UCG8T2ATR-BC 64G 3.3V 8-bit",
54 {"TH58NVG2S3HBAI4 4G 3.3V 8-bit",
[all …]
/kernel/linux/linux-4.19/drivers/mtd/nand/raw/
Dnand_ids.c31 {"TC58NVG0S3E 1G 3.3V 8-bit",
33 SZ_2K, SZ_128, SZ_128K, 0, 8, 64, NAND_ECC_INFO(1, SZ_512),
35 {"TC58NVG2S0F 4G 3.3V 8-bit",
38 {"TC58NVG2S0H 4G 3.3V 8-bit",
41 {"TC58NVG3S0F 8G 3.3V 8-bit",
44 {"TC58NVG5D2 32G 3.3V 8-bit",
47 {"TC58NVG6D2 64G 3.3V 8-bit",
50 {"SDTNRGAMA 64G 3.3V 8-bit",
53 {"H27UCG8T2ATR-BC 64G 3.3V 8-bit",
58 LEGACY_ID_NAND("NAND 4MiB 5V 8-bit", 0x6B, 4, SZ_8K, SP_OPTIONS),
[all …]
/kernel/linux/linux-4.19/include/linux/
Datomic.h29 #define atomic_read_acquire(v) smp_load_acquire(&(v)->counter) argument
33 #define atomic_set_release(v, i) smp_store_release(&(v)->counter, (i)) argument
107 #define atomic_inc(v) atomic_add(1, (v)) argument
114 #define atomic_inc_return(v) atomic_add_return(1, (v)) argument
115 #define atomic_inc_return_relaxed(v) atomic_add_return_relaxed(1, (v)) argument
116 #define atomic_inc_return_acquire(v) atomic_add_return_acquire(1, (v)) argument
117 #define atomic_inc_return_release(v) atomic_add_return_release(1, (v)) argument
167 #define atomic_dec(v) atomic_sub(1, (v)) argument
174 #define atomic_dec_return(v) atomic_sub_return(1, (v)) argument
175 #define atomic_dec_return_relaxed(v) atomic_sub_return_relaxed(1, (v)) argument
[all …]

12345678910>>...48