Home
last modified time | relevance | path

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

123

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
A 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 …]
A 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()
A 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()
A 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()
A 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()
A Dpll.h9 int *N1, int *M1, int *N2, int *M2, int *P);
/linux/Documentation/devicetree/bindings/arm/
A Dapple.yaml15 This currently includes devices based on the "M1" SoC, starting with the
18 - Mac mini (M1, 2020)
19 - MacBook Pro (13-inch, M1, 2020)
20 - MacBook Air (M1, 2020)
35 - Marketing name ("M1")
53 - description: Apple M1 SoC based platforms
56 - apple,j274 # Mac mini (M1, 2020)
57 - apple,j293 # MacBook Pro (13-inch, M1, 2020)
58 - apple,j313 # MacBook Air (M1, 2020)
/linux/Documentation/i2c/
A Di2c-topology.rst132 '--------' | | mux M1 |--. .--------.
142 3. M1 calls ->select to ready the mux.
148 6. M1 calls ->deselect, if it has one.
150 8. M1 unlocks muxes on its parent.
192 '--------' | | mux M1 |--. .--------.
202 3. M1 locks its parent adapter.
203 4. M1 calls ->select to ready the mux.
210 7. M1 calls ->deselect, if it has one.
212 9. M1 unlocks its parent adapter.
213 10. M1 unlocks muxes on its parent.
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
A 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()
A 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()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
A 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()
A 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()
A 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()
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
A Dpll.h9 uint8_t N1, M1, N2, M2; member
11 uint8_t M1, N1, M2, N2;
/linux/arch/arm64/boot/dts/apple/
A Dt8103-j274.dts3 * Apple Mac mini (M1, 2020)
16 model = "Apple Mac mini (M1, 2020)";
/linux/arch/xtensa/variants/dc232b/include/variant/
A Dtie-asm.h50 rsr \at2, M1
93 wsr \at2, M1
/linux/arch/xtensa/variants/de212/include/variant/
A Dtie-asm.h97 rsr.M1 \at1 // MAC16 option
152 wsr.M1 \at1 // MAC16 option
/linux/arch/x86/crypto/
A Dpoly1305-x86_64-cryptogams.pl2299 vpmuludq $T1,$R0,$M1
2311 vpmuludq $T2,$S4,$M1
2325 vpmuludq $T3,$S3,$M1
2336 vpmuludq $T4,$S2,$M1
2364 vpsrlq \$26,$D1,$M1
2489 vpmuludq $H0,$R1,$M1
2509 vpmuludq $H1,$R0,$M1
2519 vpmuludq $H3,$S3,$M1
2528 vpmuludq $H4,$S2,$M1
2629 vpmuludq $H0,$R1,$M1
[all …]
/linux/Documentation/devicetree/bindings/mailbox/
A Dapple,mailbox.yaml26 ASC mailboxes are the most common variant found on the M1 used
34 interface still found on the M1. It is used for the Thunderbolt
/linux/arch/xtensa/variants/csp/include/variant/
A Dtie-asm.h109 rsr.M1 \at1 // MAC16 option
176 wsr.M1 \at1 // MAC16 option
/linux/arch/xtensa/variants/dc233c/include/variant/
A Dtie-asm.h106 rsr \at1, M1 // MAC16 option
171 wsr \at1, M1 // MAC16 option
/linux/arch/m68k/fpsp040/
A 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)
/linux/drivers/gpu/drm/nouveau/dispnv04/
A 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()
272 if (pv.M1 >= pll_lim.vco1.min_m && pv.M1 <= pll_lim.vco1.max_m && in nouveau_hw_fix_bad_vpll()
280 pv.M1 = pll_lim.vco1.max_m; in nouveau_hw_fix_bad_vpll()
/linux/Documentation/devicetree/bindings/i2c/
A Dapple,i2c.yaml13 Apple SoCs such as the M1 come with a I2C controller based on the one found
/linux/Documentation/devicetree/bindings/usb/
A Dti,tps6598x.yaml16 present on hardware with Apple SoCs such as the M1.

Completed in 41 milliseconds

123