Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dpllnv04.c151 int M1, N1, M2, N2, log2P; in getMNP_double() local
184 N2 = (clkP * M2 + calcclk1/2) / calcclk1; in getMNP_double()
185 if (N2 < minN2) in getMNP_double()
187 if (N2 > maxN2) in getMNP_double()
192 if (N2/M2 < 4 || N2/M2 > 10) in getMNP_double()
195 calcclk2 = calcclk1 * N2 / M2; in getMNP_double()
213 *pN2 = N2; in getMNP_double()
228 int *N1, int *M1, int *N2, int *M2, int *P) in nv04_pll_calc() argument
232 if (!info->vco2.max_freq || !N2) { in nv04_pll_calc()
234 if (N2) { in nv04_pll_calc()
[all …]
Dnv40.c61 int N2 = (coef & 0xff000000) >> 24; in read_pll_2() local
72 khz = khz * N2 / M2; 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()
160 if (N2 == M2) { in nv40_clk_calc()
165 clk->npll_coef = (N2 << 24) | (M2 << 16) | (N1 << 8) | M1; in nv40_clk_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()
41 pv->N2 = N2; in nv04_clk_pll_calc()
Dpll.h8 int *N1, int *M1, int *N2, int *M2, int *P);
Dnv50.c166 int N1, N2, M1, M2; in read_pll() local
174 N2 = (coef & 0xff000000) >> 24; in read_pll()
182 freq = freq * N2 / M2; in read_pll()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dnv04.c210 bool single_stage = !pv->NM2 || pv->N2 == pv->M2; /* nv41+ only */ in setPLL_double_highregs()
216 pll1 = (pll1 & 0xfcc7ffff) | (pv->N2 & 0x18) << 21 | in setPLL_double_highregs()
217 (pv->N2 & 0x7) << 19 | 8 << 4 | (pv->M2 & 7) << 4; in setPLL_double_highregs()
296 bool single_stage = !pv->NM2 || pv->N2 == pv->M2; in setPLL_double_lowregs()
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()
377 pv.N2 = N2; in nv04_devinit_pll_set()
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()
62 (M2 << 16) | N2); in nv50_devinit_pll_set()
/linux-4.4.14/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()
55 if (N2 == M2) { in nv40_ram_calc()
60 ram->coef = (N2 << 24) | (M2 << 16) | (N1 << 8) | M1; in nv40_ram_calc()
Dramgk104.c134 int N2, M2, P2; member
160 const u32 mcoef = ((--ram->P2 << 28) | (ram->N2 << 8) | ram->M2); in r1373f4_init()
982 int *N2, int *M2, int *P2) in gk104_pll_calc_hiclk() argument
1006 *N2 = cur_N; in gk104_pll_calc_hiclk()
1018 *N2 = cur_N; in gk104_pll_calc_hiclk()
1027 *fN1 = (u16)((((best_err / *N2 * *P2) * (*P1 * *M1)) << 13) / crystal); in gk104_pll_calc_hiclk()
1061 &ram->N2, &ram->M2, &ram->P2); 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()
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dpll.h8 uint8_t N1, M1, N2, M2; member
10 uint8_t M1, N1, M2, N2;
/linux-4.4.14/drivers/cpufreq/
Dpxa2xx-cpufreq.c149 #define PXA27x_CCCR(A, L, N2) (A << 25 | N2 << 7 | L) argument
/linux-4.4.14/Documentation/networking/
Dvortex.txt88 options=N1,N2,N3,...
134 full_duplex=N1,N2,N3...
148 flow_ctrl=N1,N2,N3...
186 hw_checksums=N1,N2,N3,...
227 enable_wol=N1,N2,N3,...
Dlapb-module.txt71 T1 and T2 are protocol timing parameters and are given in units of 100ms. N2
226 LAPB_TIMEDOUT No response was received in N2 tries from the remote
241 LAPB_TIMEDOUT No response was received in N2 tries from the remote
Dgeneric-hdlc.txt122 If you have a problem with N2, C101 or PLX200SYN card, you can issue the
/linux-4.4.14/include/net/irda/
Dirlap.h168 int N2; /* N2 * F-timer = Negitiated link disconnect time */ member
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/
Dhw.c141 pllvals->N2 = pllvals->M2 = 1; in nouveau_hw_decode_pll()
156 pllvals->N2 = ((pll1 >> 21) & 0x18) | in nouveau_hw_decode_pll()
211 return pv->N1 * pv->N2 * pv->refclk / (pv->M1 * pv->M2) >> pv->log2P; in nouveau_hw_pllvals_to_clk()
Dcrtc.c160 pv->N1, pv->N2, pv->M1, pv->M2, pv->log2P); in nv_crtc_calc_state_ext()
/linux-4.4.14/drivers/net/wan/
DKconfig219 config N2 config
220 tristate "SDL RISCom/N2 support"
223 Driver for RISCom/N2 single or dual channel ISA cards by
/linux-4.4.14/net/irda/
Dirlap.c1063 self->N2 = self->qos_tx.link_disc_time.value * 1000 / in irlap_apply_connection_parameters()
1065 pr_debug("Setting N2 = %d\n", self->N2); in irlap_apply_connection_parameters()
Dirlap_event.c1521 if (self->retry_count < self->N2) { in irlap_state_nrm_p()
2153 if (self->retry_count < (self->N2 / 2)) { in irlap_state_nrm_s()
/linux-4.4.14/drivers/tty/
Dn_gsm.c73 #define N2 3 /* Retry 3 times */ macro
2187 gsm->n2 = N2; in gsm_alloc_mux()
/linux-4.4.14/Documentation/filesystems/
Dproc.txt961 /0x2c0 pages=512 vmalloc N0=128 N1=128 N2=128 N3=128
963 /0x2c0 pages=256 vmalloc N0=64 N1=64 N2=64 N3=64
970 /0x80 pages=11 vmalloc N0=3 N1=3 N2=2 N3=3
976 pages=14 vmalloc N2=14
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_lcn.c2071 u16 N1, N2, N3, N4, N5, N6, N; in wlc_lcnphy_rfseq_tbl_adc_pwrup() local
2074 N2 = 1 << ((read_phy_reg(pi, 0x4a5) & (0x7 << 12)) in wlc_lcnphy_rfseq_tbl_adc_pwrup()
2084 N = 2 * (N1 + N2 + N3 + N4 + 2 * (N5 + N6)) + 80; in wlc_lcnphy_rfseq_tbl_adc_pwrup()
/linux-4.4.14/Documentation/
Dkernel-parameters.txt2233 n2= [NET] SDL Inc. RISCom/N2 synchronous serial card