Home
last modified time | relevance | path

Searched refs:n2 (Results 1 – 16 of 16) sorted by relevance

/drivers/char/hw_random/
DMakefile12 obj-$(CONFIG_HW_RANDOM_N2RNG) += n2-rng.o
13 n2-rng-y := n2-drv.o n2-asm.o
DKconfig98 module will be called n2-rng.
/drivers/isdn/hisax/
Ds0box.c39 register u_char n1, n2; in readreg() local
48 n2 = (inb_p(padr + 1) >> 3) & 0x17; in readreg()
51 return nibtab[n1] | (nibtab[n2] << 4); in readreg()
58 register u_char n1, n2; in read_fifo() local
68 n2 = (inb_p(padr + 1) >> 3) & 0x17; in read_fifo()
69 *(data++) = nibtab[n1] | (nibtab[n2] << 4); in read_fifo()
/drivers/media/common/tuners/
Dmc44s803.c221 u32 r1, r2, n1, n2, lo1, lo2, freq, val; in mc44s803_set_params() local
234 n2 = (freq - MC44S803_IF2 + 50000) / 100000; in mc44s803_set_params()
235 lo2 = ((60 * n2) + (r2 / 2)) / r2; in mc44s803_set_params()
257 MC44S803_REG_SM(n2-2, MC44S803_LO2); in mc44s803_set_params()
Dmt20xx.c72 int n1=1,n2,f; in mt2032_spurcheck() local
83 n2=-n1; in mt2032_spurcheck()
86 n2--; in mt2032_spurcheck()
88 tuner_dbg("spurtest n1=%d n2=%d ftest=%d\n",n1,n2,f); in mt2032_spurcheck()
92 } while ( (f>(f2-spectrum_to)) || (n2>-5)); in mt2032_spurcheck()
/drivers/video/savage/
Dsavagefb_driver.c426 unsigned char n1, n2, best_n1=16+2, best_n2=2, best_m=125+2; in SavageCalcClock() local
440 for (n2=min_n2; n2<=max_n2; n2++) { in SavageCalcClock()
442 m = (freq * n1 * (1 << n2) + HALF_BASE_FREQ) / in SavageCalcClock()
448 diff = freq * (1 << n2) * n1 - BASE_FREQ * m; in SavageCalcClock()
455 best_n2 = n2; in SavageCalcClock()
473 unsigned char n1, n2; in common_calc_clock() local
478 for (n2 = min_n2; n2 <= max_n2; n2++) { in common_calc_clock()
480 m = (freq * n1 * (1 << n2) + HALF_BASE_FREQ) / in common_calc_clock()
486 diff = freq * (1 << n2) * n1 - BASE_FREQ * m; in common_calc_clock()
493 best_n2 = n2; in common_calc_clock()
[all …]
/drivers/media/video/
Dbw-qcam.c246 int n1, n2; in qc_command() local
255 n2 = qc_waithand(q, 0); in qc_command()
257 cmd = (n1 & 0xf0) | ((n2 & 0xf0) >> 4); in qc_command()
263 int n1, n2; in qc_readparam() local
270 n2 = qc_waithand(q, 0); in qc_readparam()
272 cmd = (n1 & 0xf0) | ((n2 & 0xf0) >> 4); in qc_readparam()
/drivers/ssb/
Dmain.c982 u32 n1, n2, clock, m1, m2, m3, mc; in ssb_calc_clock_rate() local
985 n2 = ((n & SSB_CHIPCO_CLK_N2) >> SSB_CHIPCO_CLK_N2_SHIFT); in ssb_calc_clock_rate()
997 n2 += SSB_CHIPCO_CLK_F5_BIAS; in ssb_calc_clock_rate()
1001 n2 += SSB_CHIPCO_CLK_T2_BIAS; in ssb_calc_clock_rate()
1003 SSB_WARN_ON(!((n2 >= 5) && (n2 <= 23))); in ssb_calc_clock_rate()
1014 clock = SSB_CHIPCO_CLK_BASE2 * n1 * n2; in ssb_calc_clock_rate()
1017 clock = SSB_CHIPCO_CLK_BASE1 * n1 * n2; in ssb_calc_clock_rate()
/drivers/tty/
Dn_gsm.c261 int n2; /* Retry count */ member
1374 gsm->cretries = gsm->n2; in gsm_control_send()
1507 dlci->retries = gsm->n2; in gsm_dlci_begin_open()
1529 dlci->retries = gsm->n2; in gsm_dlci_begin_close()
2185 gsm->n2 = N2; in gsm_alloc_mux()
2498 if (c->n2 < 3) in gsmld_config()
2548 gsm->n2 = c->n2; in gsmld_config()
2584 c.n2 = gsm->n2; in gsmld_ioctl()
/drivers/net/wan/
DMakefile39 obj-$(CONFIG_N2) += n2.o
Dcycx_x25.c256 cfg.n2 = 5; in cycx_x25_wan_init()
323 if (conf->u.x25.n2) in cycx_x25_wan_init()
324 cfg.n2 = min_t(unsigned int, conf->u.x25.n2, 30); in cycx_x25_wan_init()
1552 pr_info("# level 2 retransm.=%d\n", conf->n2); in cycx_x25_dump_config()
DKconfig263 will be called n2.
/drivers/net/wireless/bcmdhd/
Dsiutils.c1039 uint32 n1, n2, clock, m1, m2, m3, mc; in si_clock_rate() local
1042 n2 = (n & CN_N2_MASK) >> CN_N2_SHIFT; in si_clock_rate()
1054 n2 += CC_F5_BIAS; in si_clock_rate()
1057 n2 += CC_T2_BIAS; in si_clock_rate()
1059 ASSERT((n2 >= 5) && (n2 <= 23)); in si_clock_rate()
1067 clock = CC_CLOCK_BASE2 * n1 * n2; in si_clock_rate()
1069 clock = CC_CLOCK_BASE1 * n1 * n2; in si_clock_rate()
/drivers/media/video/gspca/
Dt613.c874 static const u8 n2[] = in sd_init() local
915 reg_w_buf(gspca_dev, n2, sizeof n2); in sd_init()
/drivers/pinctrl/
Dcore.c641 struct pinctrl_setting *setting, *n2; in pinctrl_put_locked() local
644 list_for_each_entry_safe(setting, n2, &state->settings, node) { in pinctrl_put_locked()
/drivers/staging/octeon/
Dethernet-tx.c258 pko_command.s.n2 = 1; /* Don't pollute L2 with the outgoing packet */ in cvm_oct_xmit()