/linux-6.6.21/drivers/pinctrl/sunplus/ |
D | sppctl_sp7021.c | 15 #define P(x, y) PINCTRL_PIN(D(x, y), D_PIS(x, y)) macro 65 P(0, 0), P(0, 1), P(0, 2), P(0, 3), P(0, 4), P(0, 5), P(0, 6), P(0, 7), 67 P(1, 0), P(1, 1), P(1, 2), P(1, 3), P(1, 4), P(1, 5), P(1, 6), P(1, 7), 68 P(2, 0), P(2, 1), P(2, 2), P(2, 3), P(2, 4), P(2, 5), P(2, 6), P(2, 7), 69 P(3, 0), P(3, 1), P(3, 2), P(3, 3), P(3, 4), P(3, 5), P(3, 6), P(3, 7), 70 P(4, 0), P(4, 1), P(4, 2), P(4, 3), P(4, 4), P(4, 5), P(4, 6), P(4, 7), 71 P(5, 0), P(5, 1), P(5, 2), P(5, 3), P(5, 4), P(5, 5), P(5, 6), P(5, 7), 72 P(6, 0), P(6, 1), P(6, 2), P(6, 3), P(6, 4), P(6, 5), P(6, 6), P(6, 7), 73 P(7, 0), P(7, 1), P(7, 2), P(7, 3), P(7, 4), P(7, 5), P(7, 6), P(7, 7), 74 P(8, 0), P(8, 1), P(8, 2), P(8, 3), P(8, 4), P(8, 5), P(8, 6), P(8, 7), [all …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
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() 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 …]
|
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()
|
D | mcp77.c | 87 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 …]
|
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-6.6.21/arch/powerpc/perf/ |
D | isa207-common.c | 223 ret = PH(LVL, L1) | LEVEL(L1) | P(SNOOP, HIT); in isa207_find_source() 226 ret = PH(LVL, L2) | LEVEL(L2) | P(SNOOP, HIT); in isa207_find_source() 229 ret = PH(LVL, L3) | LEVEL(L3) | P(SNOOP, HIT); in isa207_find_source() 233 ret = P(SNOOP, HIT); in isa207_find_source() 238 ret |= P(LVL, HIT) | LEVEL(PMEM); in isa207_find_source() 240 ret |= PH(LVL, REM_RAM1) | REM | LEVEL(RAM) | P(HOPS, 2); in isa207_find_source() 242 ret |= P(LVL, HIT) | LEVEL(PMEM) | REM; in isa207_find_source() 244 ret |= PH(LVL, REM_RAM2) | REM | LEVEL(RAM) | P(HOPS, 3); in isa207_find_source() 252 ret |= P(SNOOP, HIT); in isa207_find_source() 257 ret = REM | P(HOPS, 0); in isa207_find_source() [all …]
|
/linux-6.6.21/mm/ |
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() 123 P("empty_pop_pages", chunk->nr_empty_pop_pages); 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() 126 P("contig_bytes", chunk_md->contig_hint * PCPU_MIN_ALLOC_SIZE); 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() [all …]
|
/linux-6.6.21/Documentation/arch/arm/nwfpe/ |
D | netwinder-fpe.rst | 14 {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 …]
|
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 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 …]
|
/linux-6.6.21/kernel/sched/ |
D | debug.c | 495 #define P(F) SEQ_printf(m, " .%-30s: %lld\n", #F, (long long)F) in print_cfs_group_stats() macro 525 P(se->load.weight); in print_cfs_group_stats() 527 P(se->avg.load_avg); in print_cfs_group_stats() 528 P(se->avg.util_avg); in print_cfs_group_stats() 529 P(se->avg.runnable_avg); in print_cfs_group_stats() 535 #undef P in print_cfs_group_stats() 719 #define P(x) \ in print_rt_rq() macro 730 P(rt_throttled); in print_rt_rq() 736 #undef P in print_rt_rq() 777 #define P(x) \ in print_cpu() macro [all …]
|
/linux-6.6.21/tools/perf/util/ |
D | mem-events.c | 565 #define P(a, b) PERF_MEM_##a##_##b in c2c_decode_stats() macro 569 if (lock & P(LOCK, LOCKED)) stats->locks++; in c2c_decode_stats() 571 if (blk & P(BLK, DATA)) stats->blk_data++; in c2c_decode_stats() 572 if (blk & P(BLK, ADDR)) stats->blk_addr++; in c2c_decode_stats() 574 if (op & P(OP, LOAD)) { in c2c_decode_stats() 583 if (lvl & P(LVL, HIT)) { in c2c_decode_stats() 584 if (lvl & P(LVL, UNC)) stats->ld_uncache++; in c2c_decode_stats() 585 if (lvl & P(LVL, IO)) stats->ld_io++; in c2c_decode_stats() 586 if (lvl & P(LVL, LFB)) stats->ld_fbhit++; in c2c_decode_stats() 587 if (lvl & P(LVL, L1 )) stats->ld_l1hit++; in c2c_decode_stats() [all …]
|
/linux-6.6.21/security/apparmor/include/ |
D | label.h | 156 #define label_for_each(I, L, P) \ argument 157 for ((I).i = 0; ((P) = (L)->vec[(I).i]); ++((I).i)) 160 #define label_for_each_cont(I, L, P) \ argument 161 for (++((I).i); ((P) = (L)->vec[(I).i]); ++((I).i)) 190 #define label_for_each_confined(I, L, P) \ argument 192 ((P) = (L)->vec[(I).i]); \ 195 #define label_for_each_in_merge(I, A, B, P) \ argument 197 ((P) = aa_label_next_in_merge(&(I), (A), (B))); \ 200 #define label_for_each_not_in_set(I, SET, SUB, P) \ argument 202 ((P) = __aa_label_next_not_in_set(&(I), (SET), (SUB))); \ [all …]
|
D | lib.h | 233 #define fn_label_build(L, P, GFP, FN) \ argument 249 label_for_each(__i, (L), (P)) { \ 260 label_for_each(__i, __lvec[__j], (P)) \ 261 __pvec[__k++] = aa_get_profile(P); \ 278 (P) = labels_profile(L); \ 288 #define __fn_build_in_ns(NS, P, NS_FN, OTHER_FN) \ argument 291 if ((P)->ns != (NS)) \ 298 #define fn_label_build_in_ns(L, P, GFP, NS_FN, OTHER_FN) \ argument 300 fn_label_build((L), (P), (GFP), \ 301 __fn_build_in_ns(labels_ns(L), (P), (NS_FN), (OTHER_FN))); \
|
/linux-6.6.21/arch/x86/events/intel/ |
D | ds.c | 72 #define P(a, b) PERF_MEM_S(a, b) macro 73 #define OP_LH (P(OP, LOAD) | P(LVL, HIT)) 74 #define LEVEL(x) P(LVLNUM, x) 75 #define REM P(REMOTE, REMOTE) 76 #define SNOOP_NONE_MISS (P(SNOOP, NONE) | P(SNOOP, MISS)) 80 P(OP, LOAD) | P(LVL, MISS) | LEVEL(L3) | P(SNOOP, NA),/* 0x00:ukn L3 */ 81 OP_LH | P(LVL, L1) | LEVEL(L1) | P(SNOOP, NONE), /* 0x01: L1 local */ 82 OP_LH | P(LVL, LFB) | LEVEL(LFB) | P(SNOOP, NONE), /* 0x02: LFB hit */ 83 OP_LH | P(LVL, L2) | LEVEL(L2) | P(SNOOP, NONE), /* 0x03: L2 hit */ 84 OP_LH | P(LVL, L3) | LEVEL(L3) | P(SNOOP, NONE), /* 0x04: L3 hit */ [all …]
|
/linux-6.6.21/Documentation/admin-guide/pm/ |
D | intel_pstate.rst | 24 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 …]
|
/linux-6.6.21/crypto/ |
D | blowfish_common.c | 305 #define ROUND(a, b, n) ({ b ^= P[n]; a ^= bf_F(b); }) 313 const u32 *P = bctx->p; in encrypt_block() local 335 yl ^= P[16]; in encrypt_block() 336 yr ^= P[17]; in encrypt_block() 348 u32 *P = ctx->p; in blowfish_setkey() local 360 P[i] = bf_pbox[i]; in blowfish_setkey() 369 P[i] = P[i] ^ temp; in blowfish_setkey() 379 P[i] = data[0]; in blowfish_setkey() 380 P[i + 1] = data[1]; in blowfish_setkey()
|
D | blowfish_generic.c | 35 #define ROUND(a, b, n) ({ b ^= P[n]; a ^= bf_F(b); }) 40 const u32 *P = ctx->p; in bf_encrypt() local 62 yl ^= P[16]; in bf_encrypt() 63 yr ^= P[17]; in bf_encrypt() 72 const u32 *P = ctx->p; in bf_decrypt() local 94 yl ^= P[1]; in bf_decrypt() 95 yr ^= P[0]; in bf_decrypt()
|
/linux-6.6.21/drivers/isdn/mISDN/ |
D | dsp_blowfish.c | 360 #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 …]
|
/linux-6.6.21/kernel/time/ |
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() 138 P(max_hang_time); in print_cpu() 140 #undef P in print_cpu() 144 # define P(x) \ in print_cpu() macro 152 P(nohz_mode); in print_cpu() 154 P(tick_stopped); in print_cpu() [all …]
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_overlay.c | 1493 #define P(x) i915_error_printf(m, " " #x ": 0x%08x\n", error->regs.x) in intel_overlay_print_error_state() macro 1494 P(OBUF_0Y); in intel_overlay_print_error_state() 1495 P(OBUF_1Y); in intel_overlay_print_error_state() 1496 P(OBUF_0U); in intel_overlay_print_error_state() 1497 P(OBUF_0V); in intel_overlay_print_error_state() 1498 P(OBUF_1U); in intel_overlay_print_error_state() 1499 P(OBUF_1V); in intel_overlay_print_error_state() 1500 P(OSTRIDE); in intel_overlay_print_error_state() 1501 P(YRGB_VPH); in intel_overlay_print_error_state() 1502 P(UV_VPH); in intel_overlay_print_error_state() [all …]
|
/linux-6.6.21/crypto/async_tx/ |
D | async_pq.c | 26 #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 …]
|
/linux-6.6.21/fs/jfs/ |
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-6.6.21/net/9p/ |
D | Kconfig | 3 # 9P protocol configuration 22 tristate "9P FD Transport" 29 tristate "9P Virtio Transport" 37 tristate "9P Xen Transport" 45 tristate "9P RDMA Transport (Experimental)" 52 Say Y if you want the 9P subsystem to log debug information.
|
/linux-6.6.21/Documentation/devicetree/bindings/clock/ |
D | marvell,armada-3700-uart-clock.yaml | 23 "TBG-A-P", "TBG-B-P", "TBG-A-S", "TBG-B-S", "xtal" 32 - const: TBG-A-P 33 - const: TBG-B-P 57 clock-names = "TBG-A-P", "TBG-B-P", "TBG-A-S", "TBG-B-S", "xtal";
|
/linux-6.6.21/Documentation/arch/s390/ |
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
|