| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
| A D | nv50.c | 58 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() 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 252 return read_pll(clk, 0x004008) >> P; in nv50_clk_read() 256 P = (read_div(clk) & 0x00000700) >> 8; in nv50_clk_read() 273 return read_pll(clk, 0x004028) >> P; in nv50_clk_read() 274 return read_pll(clk, 0x004030) >> P; in nv50_clk_read() [all …]
|
| A D | pllgt215.c | 31 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()
|
| A D | mcp77.c | 87 u32 P = 0; in mcp77_clk_read() local 107 P = (nvkm_rd32(device, 0x004028) & 0x00070000) >> 16; 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() 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() 144 P = (read_div(clk) & 0x00000700) >> 8; in mcp77_clk_read() 148 return nvkm_clk_read(&clk->base, nv_clk_src_core) >> P; in mcp77_clk_read() 150 return 500000 >> P; in mcp77_clk_read() [all …]
|
| A D | pllnv04.c | 49 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()
|
| /linux/kernel/sched/ |
| A D | debug.c | 491 #undef P in print_cfs_group_stats() 673 #define P(x) \ in print_rt_rq() macro 690 #undef P in print_rt_rq() 749 #undef P in print_cpu() 767 #undef P in print_cpu() 799 #define P(x) \ in sched_debug_header() macro 806 P(jiffies); in sched_debug_header() 811 #undef P in sched_debug_header() 827 #undef P in sched_debug_header() 1050 P(policy); in proc_sched_show_task() [all …]
|
| /linux/Documentation/arm/nwfpe/ |
| A D | netwinder-fpe.rst | 80 ADF{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - add 84 DVF{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - divide 107 MVF{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - move 114 RND{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - round 119 NRM{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - normalize 127 POW{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - power 133 EXP{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - exponent 134 SIN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - sine 135 COS{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - cosine 136 TAN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - tangent [all …]
|
| A D | todo.rst | 6 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 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 17 ACS{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - arccosine [all …]
|
| /linux/mm/ |
| A D | percpu-stats.c | 19 #define P(X, Y) \ macro 121 P("nr_alloc", chunk->nr_alloc); in chunk_map_stats() 122 P("max_alloc_size", chunk->max_alloc_size); in chunk_map_stats() 124 P("first_bit", chunk_md->first_free); in chunk_map_stats() 125 P("free_bytes", chunk->free_bytes); in chunk_map_stats() 127 P("sum_frag", sum_frag); in chunk_map_stats() 128 P("max_frag", max_frag); in chunk_map_stats() 129 P("cur_min_alloc", cur_min_alloc); in chunk_map_stats() 130 P("cur_med_alloc", cur_med_alloc); in chunk_map_stats() 131 P("cur_max_alloc", cur_max_alloc); in chunk_map_stats() [all …]
|
| /linux/arch/x86/events/intel/ |
| A D | ds.c | 64 #define OP_LH (P(OP, LOAD) | P(LVL, HIT)) 67 #define SNOOP_NONE_MISS (P(SNOOP, NONE) | P(SNOOP, MISS)) 71 P(OP, LOAD) | P(LVL, MISS) | LEVEL(L3) | P(SNOOP, NA),/* 0x00:ukn L3 */ 74 OP_LH | P(LVL, L2) | LEVEL(L2) | P(SNOOP, NONE), /* 0x03: L2 hit */ 85 OP_LH | P(LVL, IO) | LEVEL(NA) | P(SNOOP, NONE), /* 0x0e: I/O */ 111 u64 val = P(OP, STORE) | P(SNOOP, NA) | P(LVL, L1) | P(TLB, L2); in precise_store_data() 190 val |= P(TLB, NA) | P(LOCK, NA); in load_latency_data() 199 val |= P(TLB, MISS) | P(TLB, L2); in load_latency_data() 201 val |= P(TLB, HIT) | P(TLB, L1) | P(TLB, L2); in load_latency_data() 254 val |= P(TLB, MISS) | P(TLB, L2); in store_latency_data() [all …]
|
| /linux/security/apparmor/include/ |
| A D | label.h | 154 #define label_for_each(I, L, P) \ argument 158 #define label_for_each_cont(I, L, P) \ argument 188 #define label_for_each_confined(I, L, P) \ argument 190 ((P) = (L)->vec[(I).i]); \ 211 #define label_for_each_in_ns(I, NS, L, P) \ argument 213 ((P) = (L)->vec[(I).i]); \ 216 #define fn_for_each_in_ns(L, P, FN) \ argument 228 #define fn_for_each_XXX(L, P, FN, ...) \ argument 238 #define fn_for_each(L, P, FN) fn_for_each_XXX(L, P, FN) argument 239 #define fn_for_each_confined(L, P, FN) fn_for_each_XXX(L, P, FN, _confined) argument [all …]
|
| A D | lib.h | 222 #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))); \
|
| /linux/Documentation/admin-guide/pm/ |
| A D | intel_pstate.rst | 107 internal P-state selection logic. What those hints are depends on which P-state 232 Turbo P-states Support 240 The P-states above the turbo threshold are referred to as "turbo P-states" and 281 non-turbo P-state) and the minimum supported P-state are specific to the 308 * The minimum supported P-state. 314 * The maximum supported `one-core turbo P-state <turbo_>`_ (if turbo P-states 348 P-state <turbo_>`_). 357 P-state <turbo_>`_). 366 `Turbo P-states Support`_). 508 Coordination of P-State Limits [all …]
|
| /linux/tools/perf/util/ |
| A D | mem-events.c | 510 if (op & P(OP, LOAD)) { in c2c_decode_stats() 519 if (lvl & P(LVL, HIT)) { in c2c_decode_stats() 525 if (lvl & P(LVL, L3 )) { in c2c_decode_stats() 526 if (snoop & P(SNOOP, HITM)) in c2c_decode_stats() 534 if (snoop & P(SNOOP, HIT)) in c2c_decode_stats() 544 if (snoop & P(SNOOP, HIT)) in c2c_decode_stats() 554 if (snoop & P(SNOOP, HIT)) in c2c_decode_stats() 560 if ((lvl & P(LVL, MISS))) in c2c_decode_stats() 572 if (lvl & P(LVL, HIT)) { in c2c_decode_stats() 576 if (lvl & P(LVL, MISS)) in c2c_decode_stats() [all …]
|
| /linux/drivers/isdn/mISDN/ |
| A D | dsp_blowfish.c | 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() 585 yl ^= P[16]; in encrypt_block() 586 yr ^= P[17]; in encrypt_block() 629 P[i] = bf_pbox[i]; in dsp_bf_init() 638 P[i] = P[i] ^ temp; in dsp_bf_init() [all …]
|
| /linux/crypto/ |
| A D | blowfish_common.c | 304 #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()
|
| A D | blowfish_generic.c | 34 #define ROUND(a, b, n) ({ b ^= P[n]; a ^= bf_F(b); }) 39 const u32 *P = ctx->p; in bf_encrypt() local 61 yl ^= P[16]; in bf_encrypt() 62 yr ^= P[17]; in bf_encrypt() 71 const u32 *P = ctx->p; in bf_decrypt() local 93 yl ^= P[1]; in bf_decrypt() 94 yr ^= P[0]; in bf_decrypt()
|
| /linux/kernel/time/ |
| A D | timer_list.c | 125 #define P(x) \ in print_cpu() macro 134 P(hres_active); in print_cpu() 135 P(nr_events); in print_cpu() 136 P(nr_retries); in print_cpu() 137 P(nr_hangs); in print_cpu() 140 #undef P in print_cpu() 144 # define P(x) \ in print_cpu() macro 152 P(nohz_mode); in print_cpu() 156 P(idle_calls); in print_cpu() 164 P(next_timer); in print_cpu() [all …]
|
| /linux/drivers/gpu/drm/i915/display/ |
| A D | intel_overlay.c | 1484 P(OBUF_0Y); in intel_overlay_print_error_state() 1485 P(OBUF_1Y); in intel_overlay_print_error_state() 1492 P(UV_VPH); in intel_overlay_print_error_state() 1496 P(DWINSZ); in intel_overlay_print_error_state() 1497 P(SWIDTH); in intel_overlay_print_error_state() 1502 P(OCLRC0); in intel_overlay_print_error_state() 1503 P(OCLRC1); in intel_overlay_print_error_state() 1504 P(DCLRKV); in intel_overlay_print_error_state() 1505 P(DCLRKM); in intel_overlay_print_error_state() 1510 P(OCMD); in intel_overlay_print_error_state() [all …]
|
| /linux/crypto/async_tx/ |
| A D | async_pq.c | 26 #define P(b, d) (b[d-2]) macro 182 &P(blocks, disks), 2, in async_gen_syndrome() 225 if (P(blocks, disks)) in async_gen_syndrome() 227 P(offsets, disks), in async_gen_syndrome() 257 if (!P(blocks, disks)) { in async_gen_syndrome() 259 P(offsets, disks) = 0; in async_gen_syndrome() 335 if (!P(blocks, disks)) { in async_syndrome_val() 340 P(offsets, disks), len, in async_syndrome_val() 412 P(blocks, disks) = NULL; in async_syndrome_val() 425 P(blocks, disks) = p_src; in async_syndrome_val() [all …]
|
| /linux/arch/powerpc/perf/ |
| A D | isa207-common.c | 238 ret |= P(SNOOP, HIT); in isa207_find_source() 242 ret = REM | P(HOPS, 0); in isa207_find_source() 254 ret = PH(LVL, L2) | LEVEL(L2) | REM | P(SNOOP, HIT) | P(HOPS, 0); in isa207_find_source() 256 ret = PH(LVL, L2) | LEVEL(L2) | REM | P(SNOOP, HITM) | P(HOPS, 0); in isa207_find_source() 258 ret = PH(LVL, L3) | LEVEL(L3) | REM | P(SNOOP, HIT) | P(HOPS, 0); in isa207_find_source() 260 ret = PH(LVL, L3) | LEVEL(L3) | REM | P(SNOOP, HITM) | P(HOPS, 0); in isa207_find_source() 266 ret |= P(SNOOP, HIT); in isa207_find_source() 268 ret |= P(SNOOP, HITM); in isa207_find_source() 317 dsrc->val |= P(OP, LOAD); in isa207_get_mem_data_src() 323 dsrc->val |= P(OP, NA); in isa207_get_mem_data_src() [all …]
|
| /linux/fs/jfs/ |
| A D | jfs_btree.h | 54 #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;\
|
| /linux/Documentation/hwmon/ |
| A D | max16601.rst | 71 curr[P+2]_label "iin1.P" 72 curr[P+2]_input VCORE phase P input current. 89 curr[N+P+5]_label "iout1.P" 90 curr[N+P+5]_input VCORE phase P output current.
|
| /linux/net/9p/ |
| A D | Kconfig | 3 # 9P protocol configuration 20 tristate "9P Virtio Transport" 28 tristate "9P Xen Transport" 36 tristate "9P RDMA Transport (Experimental)" 43 Say Y if you want the 9P subsystem to log debug information.
|
| /linux/Documentation/s390/ |
| A D | config3270.sh | 16 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
|
| /linux/scripts/ |
| A D | parse-maintainers.pl | 12 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";
|