Home
last modified time | relevance | path

Searched refs:M1 (Results 1 – 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dnv40.c64 int M1 = (coef & 0x000000ff) >> 0; in read_pll_2() local
68 if ((ctrl & 0x80000000) && M1) { in read_pll_2()
69 khz = ref * N1 / M1; in read_pll_2()
125 int *N1, int *M1, int *N2, int *M2, int *log2P) in nv40_clk_calc_pll() argument
138 ret = nv04_pll_calc(subdev, &pll, khz, N1, M1, N2, M2, log2P); in nv40_clk_calc_pll()
151 int N1, M1, N2, M2, log2P; in nv40_clk_calc() local
156 &N1, &M1, &N2, &M2, &log2P); in nv40_clk_calc()
162 clk->npll_coef = (N1 << 8) | M1; in nv40_clk_calc()
165 clk->npll_coef = (N2 << 24) | (M2 << 16) | (N1 << 8) | M1; in nv40_clk_calc()
171 &N1, &M1, NULL, NULL, &log2P); in nv40_clk_calc()
[all …]
Dpllnv04.c151 int M1, N1, M2, N2, log2P; in getMNP_double() local
164 for (M1 = minM1; M1 <= maxM1; M1++) { in getMNP_double()
165 if (crystal/M1 < minU1) in getMNP_double()
167 if (crystal/M1 > maxU1) in getMNP_double()
171 calcclk1 = crystal * N1 / M1; in getMNP_double()
212 *pM1 = M1; in getMNP_double()
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()
Dnv04.c35 int N1, M1, N2, M2, P; in nv04_clk_pll_calc() local
36 int ret = nv04_pll_calc(&clock->subdev, info, clk, &N1, &M1, &N2, &M2, &P); in nv04_clk_pll_calc()
40 pv->M1 = M1; in nv04_clk_pll_calc()
Dmcp77.c57 int N1, M1; in read_pll() local
71 M1 = (coef & 0x000000ff); in read_pll()
72 if ((ctrl & 0x80000000) && M1) { in read_pll()
73 clock = ref * N1 / M1; in read_pll()
Dpll.h9 int *N1, int *M1, int *N2, int *M2, int *P);
Dnv50.c166 int N1, N2, M1, M2; in read_pll() local
177 M1 = (coef & 0x000000ff); in read_pll()
178 if ((ctrl & 0x80000000) && M1) { in read_pll()
179 freq = ref * N1 / M1; in read_pll()
/kernel/linux/linux-5.10/Documentation/i2c/
Di2c-topology.rst132 '--------' | | mux M1 |--. .--------.
141 2. M1 locks muxes on its parent (the root adapter in this case).
142 3. M1 calls ->select to ready the mux.
143 4. M1 (presumably) does some I2C transfers as part of its select.
146 5. M1 feeds the I2C transfer from step 1 to its parent adapter as a
148 6. M1 calls ->deselect, if it has one.
150 8. M1 unlocks muxes on its parent.
192 '--------' | | mux M1 |--. .--------.
201 2. M1 locks muxes on its parent (the root adapter in this case).
202 3. M1 locks its parent adapter.
[all …]
/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()
60 nvkm_mask(device, info.reg + 4, 0x00ff00ff, (M1 << 16) | N1); in nv50_devinit_pll_set()
69 nvkm_wr32(device, info.reg + 4, (N1 << 8) | M1); in nv50_devinit_pll_set()
73 nvkm_wr32(device, info.reg + 4, (N1 << 8) | M1); in nv50_devinit_pll_set()
Dnv04.c164 if (oldM && pv->M1 && (oldN / oldM < pv->N1 / pv->M1)) in setPLL_single()
363 int N1, M1, N2, M2, P; in nv04_devinit_pll_set() local
370 ret = nv04_pll_calc(subdev, &info, freq, &N1, &M1, &N2, &M2, &P); in nv04_devinit_pll_set()
376 pv.M1 = M1; in nv04_devinit_pll_set()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramnv40.c40 int N1, M1, N2, M2; in nv40_ram_calc() local
49 ret = nv04_pll_calc(subdev, &pll, freq, &N1, &M1, &N2, &M2, &log2P); in nv40_ram_calc()
57 ram->coef = (N1 << 8) | M1; in nv40_ram_calc()
60 ram->coef = (N2 << 24) | (M2 << 16) | (N1 << 8) | M1; in nv40_ram_calc()
Dramgf100.c143 int N1, M1, P; in gf100_ram_calc() local
216 &N1, NULL, &M1, &P); in gf100_ram_calc()
225 ram_wr32(fuc, 0x10fe24, (P << 16) | (N1 << 8) | M1); in gf100_ram_calc()
231 &N1, NULL, &M1, &P); in gf100_ram_calc()
238 ram_wr32(fuc, 0x132004, (P << 16) | (N1 << 8) | M1); in gf100_ram_calc()
Dramgk104.c133 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() argument
995 *M1 = 1; in gk104_pll_calc_hiclk()
1033 *fN1 = (u16)((((best_err / *N2 * *P2) * (*P1 * *M1)) << 13) / 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()
Dramnv50.c231 int N1, M1, N2, M2, P; in nv50_ram_calc() local
332 &N1, &M1, &N2, &M2, &P); in nv50_ram_calc()
356 ram_mask(hwsq, 0x00400c, 0x0000ffff, (N1 << 8) | M1); in nv50_ram_calc()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dpll.h9 uint8_t N1, M1, N2, M2; member
11 uint8_t M1, N1, M2, N2;
/kernel/linux/linux-5.10/arch/xtensa/variants/dc232b/include/variant/
Dtie-asm.h50 rsr \at2, M1
93 wsr \at2, M1
/kernel/linux/linux-5.10/arch/xtensa/variants/de212/include/variant/
Dtie-asm.h97 rsr.M1 \at1 // MAC16 option
152 wsr.M1 \at1 // MAC16 option
/kernel/linux/linux-5.10/arch/xtensa/variants/dc233c/include/variant/
Dtie-asm.h106 rsr \at1, M1 // MAC16 option
171 wsr \at1, M1 // MAC16 option
/kernel/linux/linux-5.10/arch/xtensa/variants/csp/include/variant/
Dtie-asm.h109 rsr.M1 \at1 // MAC16 option
176 wsr.M1 \at1 // MAC16 option
/kernel/linux/linux-5.10/arch/x86/crypto/
Dpoly1305-x86_64-cryptogams.pl2209 my ($M0,$M1,$M2,$M3,$M4) = map("%zmm$_",(25..29));
2299 vpmuludq $T1,$R0,$M1
2305 vpaddq $M1,$D1,$D1 # d1 += r1'*r0
2311 vpmuludq $T2,$S4,$M1
2317 vpaddq $M1,$D1,$D1 # d1 += r2'*5*r4
2325 vpmuludq $T3,$S3,$M1
2330 vpaddq $M1,$D1,$D1 # d1 += r3'*5*r3
2336 vpmuludq $T4,$S2,$M1
2341 vpaddq $M1,$D1,$D1 # d1 += r2'*5*r2
2364 vpsrlq \$26,$D1,$M1
[all …]
/kernel/linux/linux-5.10/arch/m68k/fpsp040/
Dsetox.S162 | X = (M1+M)log2 + Jlog2/64 + R, |M1+M| >= 16380.
164 | When that is the case, AdjScale = 2^(M1) where M1 is
190 | 8.4 K := (N-J)/64, M1 := truncate(K/2), M = K-M1, AdjFlag := 1.
192 | 8.6 Create the values Scale = 2^M, AdjScale = 2^M1.
598 asrl #1,%d0 | ...D0 is M1
600 addiw #0x3FFF,%d0 | ...biased expo. of 2^(M1)
601 movew %d0,ADJSCALE(%a6) | ...ADJSCALE := 2^(M1)
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/
Dhw.c153 pllvals->M1 &= 0xf; /* only 4 bits */ in nouveau_hw_decode_pll()
208 if (!pv->M1 || !pv->M2) in nouveau_hw_pllvals_to_clk()
211 return pv->N1 * pv->N2 * pv->refclk / (pv->M1 * pv->M2) >> pv->log2P; in nouveau_hw_pllvals_to_clk()
271 if (pv.M1 >= pll_lim.vco1.min_m && pv.M1 <= pll_lim.vco1.max_m && in nouveau_hw_fix_bad_vpll()
279 pv.M1 = pll_lim.vco1.max_m; in nouveau_hw_fix_bad_vpll()
/kernel/linux/linux-5.10/arch/xtensa/variants/test_kc705_be/include/variant/
Dtie-asm.h109 rsr.M1 \at1 // MAC16 option
176 wsr.M1 \at1 // MAC16 option
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtl818x/
DKconfig45 Dlink DWL-650 v M1
/kernel/linux/linux-5.10/arch/xtensa/variants/test_kc705_hifi/include/variant/
Dtie-asm.h106 rsr.M1 \at1 // MAC16 option
173 wsr.M1 \at1 // MAC16 option
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dsun8i-h3-nanopi-m1.dts46 model = "FriendlyArm NanoPi M1";

12