/kernel/linux/linux-5.10/drivers/block/paride/ |
H A D | on26.c | 40 #define P1 w2(5);w2(0xd);w2(5);w2(0xd);w2(5);w2(4); macro 55 case 0: w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr() 61 case 1: w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr() 85 case 1: w0(1); P1; w0(r); P2; w0(0); P1; in on26_write_regr() 112 w0(2); P1; w0(8); P2; in on26_connect() 113 w0(2); P1; w0(x); P2; in on26_connect() 119 else { w0(4); P1; w in on26_disconnect() [all...] |
H A D | dstr.c | 37 #define P1 w2(5);w2(0xd);w2(5);w2(4); macro 53 w0(0x81); P1; in dstr_read_regr() 55 P2; w0(r); P1; in dstr_read_regr() 80 w0(0x81); P1; in dstr_write_regr() 82 P2; w0(r); P1; in dstr_write_regr() 119 w0(0x81); P1; in dstr_read_block() 121 P2; w0(0x82); P1; P3; w0(0x20); P1; in dstr_read_block() 161 w0(0x81); P1; in dstr_write_block() 163 P2; w0(0x82); P1; P in dstr_write_block() [all...] |
H A D | comm.c | 36 #define P1 w2(5);w2(0xd);w2(0xd);w2(5);w2(4); macro 53 case 0: w0(r); P1; w0(0); in comm_read_regr() 57 case 1: w0(r+0x20); P1; in comm_read_regr() 80 case 1: w0(r); P1; w0(val); P2; in comm_write_regr() 114 case 0: w0(0x48); P1; in comm_read_block() 122 case 1: w0(0x68); P1; w0(0); in comm_read_block() 156 case 1: w0(0x68); P1; in comm_write_block()
|
/kernel/linux/linux-6.6/drivers/ata/pata_parport/ |
H A D | on26.c | 28 #define P1 \ macro 51 w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr() 57 w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr() 79 w0(1); P1; w0(r); P2; w0(0); P1; in on26_write_regr() 113 w0(2); P1; w0(8); P2; in on26_connect() 114 w0(2); P1; w0(x); P2; in on26_connect() 122 w0(4); P1; w in on26_disconnect() [all...] |
H A D | dstr.c | 29 #define P1 w2(5);w2(0xd);w2(5);w2(4); macro 45 w0(0x81); P1; in dstr_read_regr() 50 P2; w0(r); P1; in dstr_read_regr() 73 w0(0x81); P1; in dstr_write_regr() 78 P2; w0(r); P1; in dstr_write_regr() 119 w0(0x81); P1; in dstr_read_block() 124 P2; w0(0x82); P1; P3; w0(0x20); P1; in dstr_read_block() 168 w0(0x81); P1; in dstr_write_block() 173 P2; w0(0x82); P1; P in dstr_write_block() [all...] |
H A D | comm.c | 27 #define P1 w2(5);w2(0xd);w2(0xd);w2(5);w2(4); macro 44 w0(r); P1; w0(0); in comm_read_regr() 49 w0(r+0x20); P1; in comm_read_regr() 71 w0(r); P1; w0(val); P2; in comm_write_regr() 105 w0(0x48); P1; in comm_read_block() 113 w0(0x68); P1; w0(0); in comm_read_block() 150 w0(0x68); P1; in comm_write_block()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | nv50.c | 380 int N, M, P1, P2; in nv50_clk_calc() local 399 freq = calc_div(core, vdec, &P1); in nv50_clk_calc() 412 divsv |= P1 << 8; in nv50_clk_calc() 433 calc_div(freq, dom6, &P1); in nv50_clk_calc() 436 divsv |= P1; in nv50_clk_calc() 459 freq = calc_pll(clk, 0x4028, core, &N, &M, &P1); in nv50_clk_calc() 464 0x80000000 | (P1 << 19) | (P1 << 16)); in nv50_clk_calc() 473 if (P1-- && shader == (core << 1)) { in nv50_clk_calc() 474 clk_mask(hwsq, spll[0], 0xc03f0100, (P1 << 1 in nv50_clk_calc() [all...] |
H A D | mcp77.c | 211 int N, M, P1, P2 = 0; in mcp77_clk_calc() local 219 clock = calc_pll(clk, 0x4028, (core << 1), &N, &M, &P1); in mcp77_clk_calc() 228 if(P1 > 2) { in mcp77_clk_calc() 229 P2 = P1 - 2; in mcp77_clk_calc() 230 P1 = 2; in mcp77_clk_calc() 237 clk->cpost = (1 << P1) << 16; in mcp77_clk_calc() 245 clock = calc_pll(clk, 0x4020, shader, &N, &M, &P1); in mcp77_clk_calc() 257 clk->sctrl = P1 << 16; in mcp77_clk_calc() 263 clock = calc_P(500000, vdec, &P1); in mcp77_clk_calc() 269 clk->vdiv = P1 << 1 in mcp77_clk_calc() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | nv50.c | 381 int N, M, P1, P2; in nv50_clk_calc() local 400 freq = calc_div(core, vdec, &P1); in nv50_clk_calc() 413 divsv |= P1 << 8; in nv50_clk_calc() 434 calc_div(freq, dom6, &P1); in nv50_clk_calc() 437 divsv |= P1; in nv50_clk_calc() 460 freq = calc_pll(clk, 0x4028, core, &N, &M, &P1); in nv50_clk_calc() 465 0x80000000 | (P1 << 19) | (P1 << 16)); in nv50_clk_calc() 474 if (P1-- && shader == (core << 1)) { in nv50_clk_calc() 475 clk_mask(hwsq, spll[0], 0xc03f0100, (P1 << 1 in nv50_clk_calc() [all...] |
H A D | mcp77.c | 208 int N, M, P1, P2 = 0; in mcp77_clk_calc() local 216 clock = calc_pll(clk, 0x4028, (core << 1), &N, &M, &P1); in mcp77_clk_calc() 225 if(P1 > 2) { in mcp77_clk_calc() 226 P2 = P1 - 2; in mcp77_clk_calc() 227 P1 = 2; in mcp77_clk_calc() 234 clk->cpost = (1 << P1) << 16; in mcp77_clk_calc() 242 clock = calc_pll(clk, 0x4020, shader, &N, &M, &P1); in mcp77_clk_calc() 254 clk->sctrl = P1 << 16; in mcp77_clk_calc() 260 clock = calc_P(500000, vdec, &P1); in mcp77_clk_calc() 266 clk->vdiv = P1 << 1 in mcp77_clk_calc() [all...] |
/kernel/linux/linux-5.10/security/apparmor/include/ |
H A D | perms.h | 107 #define xcheck_ns_profile_profile(P1, P2, FN, args...) \ 110 if (P1->ns == P2->ns) \ 111 ____e = FN((P1), (P2), args); \
|
H A D | label.h | 174 /* for each combination of P1 in L1, and P2 in L2 */ 175 #define label_for_each_comb(I, L1, L2, P1, P2) \ 177 ((P1) = (L1)->vec[(I).i]) && ((P2) = (L2)->vec[(I).j]); \ 180 #define fn_for_each_comb(L1, L2, P1, P2, FN) \ 184 label_for_each_comb(i, (L1), (L2), (P1), (P2)) { \
|
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | stan.S | 33 | U = r + r*s*(P1 + s*(P2 + s*P3)), and 39 | U = r + r*s*(P1 + s*(P2 + s*P3)), and 230 faddx TANP1,%fp2 | ...P1+S(P2+SP3) 233 fmulx %fp1,%fp2 | ...S(P1+S(P2+SP3)) 236 fmulx %fp0,%fp2 | ...RS(P1+S(P2+SP3)) 241 faddx %fp2,%fp0 | ...R+RS(P1+S(P2+SP3)) 268 faddx TANP1,%fp2 | ...P1+S(P2+SP3) 271 fmulx %fp0,%fp2 | ...S(P1+S(P2+SP3)) 274 fmulx %fp1,%fp2 | ...RS(P1+S(P2+SP3)) 279 faddx %fp2,%fp1 | ...R+RS(P1 [all...] |
/kernel/linux/linux-6.6/arch/m68k/fpsp040/ |
H A D | stan.S | 33 | U = r + r*s*(P1 + s*(P2 + s*P3)), and 39 | U = r + r*s*(P1 + s*(P2 + s*P3)), and 230 faddx TANP1,%fp2 | ...P1+S(P2+SP3) 233 fmulx %fp1,%fp2 | ...S(P1+S(P2+SP3)) 236 fmulx %fp0,%fp2 | ...RS(P1+S(P2+SP3)) 241 faddx %fp2,%fp0 | ...R+RS(P1+S(P2+SP3)) 268 faddx TANP1,%fp2 | ...P1+S(P2+SP3) 271 fmulx %fp0,%fp2 | ...S(P1+S(P2+SP3)) 274 fmulx %fp1,%fp2 | ...RS(P1+S(P2+SP3)) 279 faddx %fp2,%fp1 | ...R+RS(P1 [all...] |
/kernel/linux/linux-5.10/drivers/ata/ |
H A D | ata_piix.c | 106 P1 = 1, /* port 1 */ enumerator 343 { P0, NA, P1, NA }, /* 000b */ 344 { P1, NA, P0, NA }, /* 001b */ 347 { P0, P1, IDE, IDE }, /* 100b */ 348 { P1, P0, IDE, IDE }, /* 101b */ 349 { IDE, IDE, P0, P1 }, /* 110b */ 350 { IDE, IDE, P1, P0 }, /* 111b */ 359 { P0, P2, P1, P3 }, /* 00b */ 360 { IDE, IDE, P1, P3 }, /* 01b */ 377 { IDE, IDE, P1, P [all...] |
/kernel/linux/linux-6.6/drivers/ata/ |
H A D | ata_piix.c | 107 P1 = 1, /* port 1 */ enumerator 344 { P0, NA, P1, NA }, /* 000b */ 345 { P1, NA, P0, NA }, /* 001b */ 348 { P0, P1, IDE, IDE }, /* 100b */ 349 { P1, P0, IDE, IDE }, /* 101b */ 350 { IDE, IDE, P0, P1 }, /* 110b */ 351 { IDE, IDE, P1, P0 }, /* 111b */ 360 { P0, P2, P1, P3 }, /* 00b */ 361 { IDE, IDE, P1, P3 }, /* 01b */ 378 { IDE, IDE, P1, P [all...] |
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-cavium-octeon/ |
H A D | kernel-entry-init.h | 48 xor t1, t1, 0x9000 # 63-P1 54 xor t1, t1, 0x9100 # 68-P1 60 slti t1, t1, 2 # 66-P1.2 and later good.
|
/kernel/linux/linux-6.6/arch/mips/include/asm/mach-cavium-octeon/ |
H A D | kernel-entry-init.h | 48 xor t1, t1, 0x9000 # 63-P1 54 xor t1, t1, 0x9100 # 68-P1 60 slti t1, t1, 2 # 66-P1.2 and later good.
|
/kernel/linux/linux-5.10/arch/hexagon/mm/ |
H A D | strnlen_user.S | 52 P1 = cmp.gtu(end,start); define 56 if (!P1) jump exit_error; /* hit the end */
|
/kernel/linux/linux-6.6/security/apparmor/include/ |
H A D | perms.h | 168 #define xcheck_ns_profile_profile(P1, P2, FN, args...) \ 171 if (P1->ns == P2->ns) \ 172 ____e = FN((P1), (P2), args); \
|
H A D | label.h | 173 /* for each combination of P1 in L1, and P2 in L2 */ 174 #define label_for_each_comb(I, L1, L2, P1, P2) \ 176 ((P1) = (L1)->vec[(I).i]) && ((P2) = (L2)->vec[(I).j]); \ 179 #define fn_for_each_comb(L1, L2, P1, P2, FN) \ 183 label_for_each_comb(i, (L1), (L2), (P1), (P2)) { \
|
/kernel/linux/linux-5.10/drivers/iio/pressure/ |
H A D | bmp280-core.c | 60 u16 P1; member 130 enum { P1, P2, P3, P4, P5, P6, P7, P8, P9 }; enumerator 190 calib->P1 = le16_to_cpu(p_buf[P1]); in bmp280_read_calib() 321 var1 = ((((s64)1) << 47) + var1) * ((s64)calib->P1) >> 33; in bmp280_compensate_press()
|
/kernel/linux/linux-6.6/drivers/iio/pressure/ |
H A D | bmp280.h | 330 u16 P1; member 352 s16 P1; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | ramgk104.c | 133 int N1, fN1, M1, P1; member 161 const u32 rcoef = (( ram->P1 << 16) | (ram->N1 << 8) | ram->M1); in r1373f4_init() 703 const u32 rcoef = (( ram->P1 << 16) | (ram->N1 << 8) | ram->M1); in gk104_ram_calc_sddr3() 989 int *N1, int *fN1, int *M1, int *P1, in gk104_pll_calc_hiclk() 1015 *P1 = p_ref; in gk104_pll_calc_hiclk() 1026 *P1 = p_ref; in gk104_pll_calc_hiclk() 1033 *fN1 = (u16)((((best_err / *N2 * *P2) * (*P1 * *M1)) << 13) / crystal); in gk104_pll_calc_hiclk() 1037 return gk104_calc_pll_output(*fN1, 1, *N1, *P1, crystal); in gk104_pll_calc_hiclk() 1066 &ram->N1, &ram->fN1, &ram->M1, &ram->P1, in gk104_ram_calc_xits() 1078 &ram->fN1, &ram->M1, &ram->P1); in gk104_ram_calc_xits() 988 gk104_pll_calc_hiclk(int target_khz, int crystal, int *N1, int *fN1, int *M1, int *P1, int *N2, int *M2, int *P2) gk104_pll_calc_hiclk() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | ramgk104.c | 133 int N1, fN1, M1, P1; member 161 const u32 rcoef = (( ram->P1 << 16) | (ram->N1 << 8) | ram->M1); in r1373f4_init() 703 const u32 rcoef = (( ram->P1 << 16) | (ram->N1 << 8) | ram->M1); in gk104_ram_calc_sddr3() 989 int *N1, int *fN1, int *M1, int *P1, in gk104_pll_calc_hiclk() 1015 *P1 = p_ref; in gk104_pll_calc_hiclk() 1026 *P1 = p_ref; in gk104_pll_calc_hiclk() 1033 *fN1 = (u16)((((best_err / *N2 * *P2) * (*P1 * *M1)) << 13) / crystal); in gk104_pll_calc_hiclk() 1037 return gk104_calc_pll_output(*fN1, 1, *N1, *P1, crystal); in gk104_pll_calc_hiclk() 1066 &ram->N1, &ram->fN1, &ram->M1, &ram->P1, in gk104_ram_calc_xits() 1078 &ram->fN1, &ram->M1, &ram->P1); in gk104_ram_calc_xits() 988 gk104_pll_calc_hiclk(int target_khz, int crystal, int *N1, int *fN1, int *M1, int *P1, int *N2, int *M2, int *P2) gk104_pll_calc_hiclk() argument [all...] |