Home
last modified time | relevance | path

Searched refs:P (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dnv50.c58 int P, N, M, id; in read_pll_src() local
75 P = (coef & 0x00070000) >> 16; in read_pll_src()
83 P = (coef & 0x00070000) >> 16; in read_pll_src()
109 P = (nvkm_rd32(device, 0x00e824 + (id * 0x28)) >> 16) & 7; in read_pll_src()
110 P += (coef & 0x00070000) >> 16; in read_pll_src()
119 return (ref * N / M) >> P; in read_pll_src()
198 u32 P = 0; in nv50_clk_read() local
221 P = (nvkm_rd32(device, 0x004028) & 0x00070000) >> 16; in nv50_clk_read()
223 case 0x00000000: return nvkm_clk_read(&clk->base, nv_clk_src_crystal) >> P; in nv50_clk_read()
225 case 0x00000002: return read_pll(clk, 0x004020) >> P; in nv50_clk_read()
[all …]
Dpllgt215.c31 u32 freq, int *pN, int *pfN, int *pM, int *P) in gt215_pll_calc() argument
36 *P = info->vco1.max_freq / freq; in gt215_pll_calc()
37 if (*P > info->max_p) in gt215_pll_calc()
38 *P = info->max_p; in gt215_pll_calc()
39 if (*P < info->min_p) in gt215_pll_calc()
40 *P = info->min_p; in gt215_pll_calc()
49 u32 tmp = freq * *P * M; in gt215_pll_calc()
67 err = abs(freq - (info->refclk * N / M / *P)); in gt215_pll_calc()
86 return info->refclk * *pN / *pM / *P; in gt215_pll_calc()
Dmcp77.c87 u32 P = 0; in mcp77_clk_read() local
107 P = (nvkm_rd32(device, 0x004028) & 0x00070000) >> 16; in mcp77_clk_read()
110 case 0x00000000: return nvkm_clk_read(&clk->base, nv_clk_src_crystal) >> P; in mcp77_clk_read()
112 case 0x00000002: return nvkm_clk_read(&clk->base, nv_clk_src_hclkm4) >> P; in mcp77_clk_read()
113 case 0x00000003: return read_pll(clk, 0x004028) >> P; in mcp77_clk_read()
130 P = (nvkm_rd32(device, 0x004020) & 0x00070000) >> 16; in mcp77_clk_read()
134 return nvkm_clk_read(&clk->base, nv_clk_src_href) >> P; in mcp77_clk_read()
135 return nvkm_clk_read(&clk->base, nv_clk_src_crystal) >> P; in mcp77_clk_read()
137 case 0x00000020: return read_pll(clk, 0x004028) >> P; in mcp77_clk_read()
138 case 0x00000030: return read_pll(clk, 0x004020) >> P; in mcp77_clk_read()
[all …]
Dpllnv04.c49 int M, N, thisP, P; in getMNP_single() local
73 P = 1 << maxP; in getMNP_single()
74 if ((clk * P) < minvco) { in getMNP_single()
84 P = 1 << thisP; in getMNP_single()
85 clkP = clk * P; in getMNP_single()
107 calcclk = ((N * crystal + P/2) / P + M/2) / M; in getMNP_single()
228 int *N1, int *M1, int *N2, int *M2, int *P) in nv04_pll_calc() argument
233 ret = getMNP_single(subdev, info, freq, N1, M1, P); in nv04_pll_calc()
239 ret = getMNP_double(subdev, info, freq, N1, M1, N2, M2, P); in nv04_pll_calc()
/kernel/linux/linux-5.10/kernel/sched/
Ddebug.c431 #define P(F) SEQ_printf(m, " .%-30s: %lld\n", #F, (long long)F) in print_cfs_group_stats() macro
456 P(se->load.weight); in print_cfs_group_stats()
458 P(se->avg.load_avg); in print_cfs_group_stats()
459 P(se->avg.util_avg); in print_cfs_group_stats()
460 P(se->avg.runnable_avg); in print_cfs_group_stats()
466 #undef P in print_cfs_group_stats()
642 #define P(x) \ in print_rt_rq() macro
653 P(rt_throttled); in print_rt_rq()
659 #undef P in print_rt_rq()
700 #define P(x) \ in print_cpu() macro
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dmem-events.c348 #define P(a, b) PERF_MEM_##a##_##b in c2c_decode_stats() macro
352 if (lock & P(LOCK, LOCKED)) stats->locks++; in c2c_decode_stats()
354 if (op & P(OP, LOAD)) { in c2c_decode_stats()
363 if (lvl & P(LVL, HIT)) { in c2c_decode_stats()
364 if (lvl & P(LVL, UNC)) stats->ld_uncache++; in c2c_decode_stats()
365 if (lvl & P(LVL, IO)) stats->ld_io++; in c2c_decode_stats()
366 if (lvl & P(LVL, LFB)) stats->ld_fbhit++; in c2c_decode_stats()
367 if (lvl & P(LVL, L1 )) stats->ld_l1hit++; in c2c_decode_stats()
368 if (lvl & P(LVL, L2 )) stats->ld_l2hit++; in c2c_decode_stats()
369 if (lvl & P(LVL, L3 )) { in c2c_decode_stats()
[all …]
/kernel/linux/linux-5.10/mm/
Dpercpu-stats.c19 #define P(X, Y) \ macro
125 P("nr_alloc", chunk->nr_alloc); in chunk_map_stats()
126 P("max_alloc_size", chunk->max_alloc_size); in chunk_map_stats()
127 P("empty_pop_pages", chunk->nr_empty_pop_pages); in chunk_map_stats()
128 P("first_bit", chunk_md->first_free); in chunk_map_stats()
129 P("free_bytes", chunk->free_bytes); in chunk_map_stats()
130 P("contig_bytes", chunk_md->contig_hint * PCPU_MIN_ALLOC_SIZE); in chunk_map_stats()
131 P("sum_frag", sum_frag); in chunk_map_stats()
132 P("max_frag", max_frag); in chunk_map_stats()
133 P("cur_min_alloc", cur_min_alloc); in chunk_map_stats()
[all …]
/kernel/linux/linux-5.10/Documentation/arm/nwfpe/
Dnetwinder-fpe.rst14 {P|M|Z} = {round to +infinity,round to -infinity,round to zero},
51 FLT{cond}<S,D,E>{P,M,Z} Fn, Rd Convert integer to floating point
52 FIX{cond}{P,M,Z} Rd, Fn Convert floating point to integer
80 ADF{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - add
81 SUF{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - subtract
82 RSF{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - reverse subtract
83 MUF{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - multiply
84 DVF{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - divide
85 RDV{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - reverse divide
89 FML{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - fast multiply
[all …]
Dtodo.rst6 POW{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - power
7 RPW{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - reverse power
8 POL{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - polar angle (arctan2)
10 LOG{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - logarithm to base 10
11 LGN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - logarithm to base e
12 EXP{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - exponent
13 SIN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - sine
14 COS{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - cosine
15 TAN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - tangent
16 ASN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - arcsine
[all …]
/kernel/linux/linux-5.10/security/apparmor/include/
Dlabel.h157 #define label_for_each(I, L, P) \ argument
158 for ((I).i = 0; ((P) = (L)->vec[(I).i]); ++((I).i))
161 #define label_for_each_cont(I, L, P) \ argument
162 for (++((I).i); ((P) = (L)->vec[(I).i]); ++((I).i))
191 #define label_for_each_confined(I, L, P) \ argument
193 ((P) = (L)->vec[(I).i]); \
196 #define label_for_each_in_merge(I, A, B, P) \ argument
198 ((P) = aa_label_next_in_merge(&(I), (A), (B))); \
201 #define label_for_each_not_in_set(I, SET, SUB, P) \ argument
203 ((P) = __aa_label_next_not_in_set(&(I), (SET), (SUB))); \
[all …]
Dlib.h222 #define fn_label_build(L, P, GFP, FN) \ argument
238 label_for_each(__i, (L), (P)) { \
249 label_for_each(__i, __lvec[__j], (P)) \
250 __pvec[__k++] = aa_get_profile(P); \
267 (P) = labels_profile(L); \
277 #define __fn_build_in_ns(NS, P, NS_FN, OTHER_FN) \ argument
280 if ((P)->ns != (NS)) \
287 #define fn_label_build_in_ns(L, P, GFP, NS_FN, OTHER_FN) \ argument
289 fn_label_build((L), (P), (GFP), \
290 __fn_build_in_ns(labels_ns(L), (P), (NS_FN), (OTHER_FN))); \
/kernel/linux/linux-5.10/crypto/
Dblowfish_common.c304 #define ROUND(a, b, n) ({ b ^= P[n]; a ^= bf_F(b); })
312 const u32 *P = bctx->p; in encrypt_block() local
334 yl ^= P[16]; in encrypt_block()
335 yr ^= P[17]; in encrypt_block()
347 u32 *P = ctx->p; in blowfish_setkey() local
359 P[i] = bf_pbox[i]; in blowfish_setkey()
368 P[i] = P[i] ^ temp; in blowfish_setkey()
378 P[i] = data[0]; in blowfish_setkey()
379 P[i + 1] = data[1]; in blowfish_setkey()
Dblowfish_generic.c34 #define ROUND(a, b, n) ({ b ^= P[n]; a ^= bf_F(b); })
41 const u32 *P = ctx->p; in bf_encrypt() local
63 yl ^= P[16]; in bf_encrypt()
64 yr ^= P[17]; in bf_encrypt()
75 const u32 *P = ctx->p; in bf_decrypt() local
97 yl ^= P[1]; in bf_decrypt()
98 yr ^= P[0]; in bf_decrypt()
/kernel/linux/linux-5.10/Documentation/admin-guide/pm/
Dintel_pstate.rst24 For the processors supported by ``intel_pstate``, the P-state concept is broader
27 information about that). For this reason, the representation of P-states used
32 ``intel_pstate`` maps its internal representation of P-states to frequencies too
38 Since the hardware P-state selection interface used by ``intel_pstate`` is
69 hardware-managed P-states (HWP) support. If it works in this mode, the
74 provides its own scaling algorithms for P-state selection. Those algorithms
77 ``sysfs``). [Note that different P-state selection algorithms may be chosen for
83 For example, the ``powersave`` P-state selection algorithm provided by
87 There are two P-state selection algorithms provided by ``intel_pstate`` in the
89 depends on whether or not the hardware-managed P-states (HWP) feature has been
[all …]
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Ddsp_blowfish.c360 #define EROUND(a, b, n) do { b ^= P[n]; a ^= bf_F(b); } while (0)
361 #define DROUND(a, b, n) do { a ^= bf_F(b); b ^= P[n]; } while (0)
374 u32 *P = dsp->bf_p; in dsp_bf_encrypt() local
422 yl ^= P[16]; in dsp_bf_encrypt()
423 yr ^= P[17]; in dsp_bf_encrypt()
466 u32 *P = dsp->bf_p; in dsp_bf_decrypt() local
520 yr ^= P[17]; in dsp_bf_decrypt()
521 yl ^= P[16]; in dsp_bf_decrypt()
563 encrypt_block(const u32 *P, const u32 *S, u32 *dst, u32 *src) in encrypt_block() argument
585 yl ^= P[16]; in encrypt_block()
[all …]
/kernel/linux/linux-5.10/arch/x86/events/intel/
Dds.c55 #define P(a, b) PERF_MEM_S(a, b) macro
56 #define OP_LH (P(OP, LOAD) | P(LVL, HIT))
57 #define LEVEL(x) P(LVLNUM, x)
58 #define REM P(REMOTE, REMOTE)
59 #define SNOOP_NONE_MISS (P(SNOOP, NONE) | P(SNOOP, MISS))
63 P(OP, LOAD) | P(LVL, MISS) | LEVEL(L3) | P(SNOOP, NA),/* 0x00:ukn L3 */
64 OP_LH | P(LVL, L1) | LEVEL(L1) | P(SNOOP, NONE), /* 0x01: L1 local */
65 OP_LH | P(LVL, LFB) | LEVEL(LFB) | P(SNOOP, NONE), /* 0x02: LFB hit */
66 OP_LH | P(LVL, L2) | LEVEL(L2) | P(SNOOP, NONE), /* 0x03: L2 hit */
67 OP_LH | P(LVL, L3) | LEVEL(L3) | P(SNOOP, NONE), /* 0x04: L3 hit */
[all …]
/kernel/linux/linux-5.10/kernel/time/
Dtimer_list.c140 #define P(x) \ in print_cpu() macro
149 P(hres_active); in print_cpu()
150 P(nr_events); in print_cpu()
151 P(nr_retries); in print_cpu()
152 P(nr_hangs); in print_cpu()
153 P(max_hang_time); in print_cpu()
155 #undef P in print_cpu()
159 # define P(x) \ in print_cpu() macro
167 P(nohz_mode); in print_cpu()
169 P(tick_stopped); in print_cpu()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_overlay.c1459 #define P(x) i915_error_printf(m, " " #x ": 0x%08x\n", error->regs.x) in intel_overlay_print_error_state() macro
1460 P(OBUF_0Y); in intel_overlay_print_error_state()
1461 P(OBUF_1Y); in intel_overlay_print_error_state()
1462 P(OBUF_0U); in intel_overlay_print_error_state()
1463 P(OBUF_0V); in intel_overlay_print_error_state()
1464 P(OBUF_1U); in intel_overlay_print_error_state()
1465 P(OBUF_1V); in intel_overlay_print_error_state()
1466 P(OSTRIDE); in intel_overlay_print_error_state()
1467 P(YRGB_VPH); in intel_overlay_print_error_state()
1468 P(UV_VPH); in intel_overlay_print_error_state()
[all …]
/kernel/linux/linux-5.10/fs/jfs/
Djfs_btree.h54 #define BT_GETPAGE(IP, BN, MP, TYPE, SIZE, P, RC, ROOT)\ argument
59 P = (TYPE *)&JFS_IP(IP)->ROOT;\
67 P = (MP)->data;\
69 P = NULL;\
142 #define BT_GETSEARCH(IP, LEAF, BN, MP, TYPE, P, INDEX, ROOT)\ argument
147 P = (TYPE *)MP->data;\
149 P = (TYPE *)&JFS_IP(IP)->ROOT;\
/kernel/linux/linux-5.10/crypto/async_tx/
Dasync_pq.c26 #define P(b, d) (b[d-2]) macro
182 &P(blocks, disks), 2, in async_gen_syndrome()
187 BUG_ON(disks > MAX_DISKS || !(P(blocks, disks) || Q(blocks, disks))); in async_gen_syndrome()
225 if (P(blocks, disks)) in async_gen_syndrome()
226 unmap->addr[j++] = dma_map_page(device->dev, P(blocks, disks), in async_gen_syndrome()
227 P(offsets, disks), in async_gen_syndrome()
257 if (!P(blocks, disks)) { in async_gen_syndrome()
258 P(blocks, disks) = pq_scribble_page; in async_gen_syndrome()
259 P(offsets, disks) = 0; in async_gen_syndrome()
335 if (!P(blocks, disks)) { in async_syndrome_val()
[all …]
/kernel/linux/linux-5.10/net/9p/
DKconfig3 # 9P protocol configuration
21 tristate "9P Virtio Transport"
29 tristate "9P Xen Transport"
37 tristate "9P RDMA Transport (Experimental)"
44 Say Y if you want the 9P subsystem to log debug information.
/kernel/linux/linux-5.10/Documentation/s390/
Dconfig3270.sh16 P=/proc/tty/driver/tty3270
30 if ! ls $P > /dev/null 2>&1; then
33 ls $P > /dev/null 2>&1 || exit 1
51 echo what=config > $P
70 done < $P
/kernel/linux/linux-5.10/scripts/
Dparse-maintainers.pl12 my $P = $0;
21 die "$P: invalid argument - use --help if necessary\n";
31 usage: $P [options] <pattern matching regexes>
113 open(my $file, '>', "$filename") or die "$P: $filename: open failed - $!\n";
146 open(my $file, '<', "$filename") or die "$P: $filename: open failed - $!\n";
/kernel/uniproton/doc/design/
Dsem.md27 - 目前,系统中运行的线程有硬中断和任务。对于信号量的P/V操作,在带有容忍时间的P操作过程中,如果P不到信号量,即会使自身阻塞于该信号量。硬中断不允许出现挂起和阻塞的状态,因此硬中断线程中不允许p…
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dnv50.c41 int N1, M1, N2, M2, P; in nv50_devinit_pll_set() local
50 ret = nv04_pll_calc(subdev, &info, freq, &N1, &M1, &N2, &M2, &P); in nv50_devinit_pll_set()
61 nvkm_mask(device, info.reg + 8, 0x7fff00ff, (P << 28) | in nv50_devinit_pll_set()
66 (P << 22) | in nv50_devinit_pll_set()
68 (P << 16)); in nv50_devinit_pll_set()
72 nvkm_mask(device, info.reg + 0, 0x00070000, (P << 16)); in nv50_devinit_pll_set()

12345678910>>...14