/drivers/video/fbdev/matrox/ |
H A D | g450_pll.h | 6 int matroxfb_g450_setclk(struct matrox_fb_info *minfo, unsigned int fout,
|
H A D | g450_pll.c | 106 unsigned int *vco, unsigned int fout) 112 if (fout > (vcomax / 2)) { 113 if (fout > vcomax) { 116 *vco = fout; 123 tvco = g450_f2vco(p, fout); 331 static int __g450_setclk(struct matrox_fb_info *minfo, unsigned int fout, argument 363 if (fout >= minfo->max_pixel_clock_panellink) 438 for (mnp = g450_firstpll(minfo, pi, &xvco, fout); mnp != NO_MORE_MNP; mnp = g450_nextpll(minfo, pi, &xvco, mnp)) { 463 delta = pll_freq_delta(fout, g450_vco2f(mnp, vco)); 516 int matroxfb_g450_setclk(struct matrox_fb_info *minfo, unsigned int fout, argument 104 g450_firstpll(const struct matrox_fb_info *minfo, const struct matrox_pll_limits *pi, unsigned int *vco, unsigned int fout) argument [all...] |
H A D | matroxfb_Ti3026.c | 441 static void ti3026_setMCLK(struct matrox_fb_info *minfo, int fout) argument 451 f_pll = Ti3026_calcclock(minfo, fout, minfo->max_pixel_clock, &mclk_n, &mclk_m, &mclk_p);
|
H A D | matroxfb_DAC1064.c | 87 static void DAC1064_setpclk(struct matrox_fb_info *minfo, unsigned long fout) argument 93 DAC1064_calcclock(minfo, fout, minfo->max_pixel_clock, &m, &n, &p);
|
/drivers/clk/ |
H A D | clk-axi-clkgen.c | 143 static void axi_clkgen_calc_params(unsigned long fin, unsigned long fout, argument 151 fout /= 1000; 171 dout = DIV_ROUND_CLOSEST(fvco, fout); 174 if (abs(f - fout) < abs(best_f - fout)) { 179 if (best_f == fout)
|
H A D | clk-si570.c | 133 * @fout: Factory frequency output 136 static int si570_get_defaults(struct clk_si570 *data, u64 fout) argument 151 fdco = fout * data->n1 * data->hs_div; 157 data->frequency = fout; 446 err = of_property_read_u32(client->dev.of_node, "factory-fout", 449 dev_err(&client->dev, "'factory-fout' property missing\n");
|
/drivers/staging/iio/frequency/ |
H A D | ad9832.c | 25 static unsigned long ad9832_calc_freqreg(unsigned long mclk, unsigned long fout) argument 27 unsigned long long freqreg = (u64) fout * 34 unsigned addr, unsigned long fout) 38 if (fout > (st->mclk / 2)) 41 regval = ad9832_calc_freqreg(st->mclk, fout); 33 ad9832_write_frequency(struct ad9832_state *st, unsigned addr, unsigned long fout) argument
|
H A D | ad9834.c | 28 static unsigned int ad9834_calc_freqreg(unsigned long mclk, unsigned long fout) argument 30 unsigned long long freqreg = (u64) fout * (u64) (1 << AD9834_FREQ_BITS); 37 unsigned long addr, unsigned long fout) 41 if (fout > (st->mclk / 2)) 44 regval = ad9834_calc_freqreg(st->mclk, fout); 36 ad9834_write_frequency(struct ad9834_state *st, unsigned long addr, unsigned long fout) argument
|
/drivers/staging/line6/ |
H A D | playback.c | 170 struct usb_iso_packet_descriptor *fout = local 185 fout->offset = urb_size; 186 fout->length = fsize;
|
/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_dsi.c | 361 unsigned long fin, unsigned long fout, u8 *p, u16 *m, u8 *s) 378 tmp = (u64)fout * (_p << _s); 392 delta = abs(fout - tmp); 416 unsigned long fin, fout; local 432 fout = exynos_dsi_pll_find_pms(dsi, fin, freq, &p, &m, &s); 433 if (!fout) { 438 dev_dbg(dsi->dev, "PLL freq %lu, (p %d, m %d, s %d)\n", fout, p, m, s); 454 if (fout < freq_bands[band]) 473 return fout; 360 exynos_dsi_pll_find_pms(struct exynos_dsi *dsi, unsigned long fin, unsigned long fout, u8 *p, u16 *m, u8 *s) argument
|
/drivers/video/fbdev/ |
H A D | sstfb.c | 292 int m, m2, n, p, best_err, fout; local 310 fout = (DAC_FREF * (m + 2)) / ((1 << p) * (n + 2)); 311 if ((abs(fout - freq) < best_err) && (m > 0)) { 314 best_err = abs(fout - freq);
|
H A D | tdfxfb.c | 571 int fout, freq; local 715 reg.vidpll = do_calc_pll(freq, &fout); 717 reg.mempll = do_calc_pll(..., &fout); 718 reg.gfxpll = do_calc_pll(..., &fout);
|
/drivers/media/pci/bt8xx/ |
H A D | bttv-driver.c | 804 static void set_pll_freq(struct bttv *btv, unsigned int fin, unsigned int fout) argument 810 fout/=4; 812 fout*=12; 813 fi=fout/fin; 815 fout=(fout%fin)*256; 816 fh=fout/fin; 818 fout=(fout%fin)*256; 819 fl=fout/fi [all...] |
/drivers/staging/dgap/ |
H A D | dgap.c | 5257 unsigned char *in, *cout, *fout; local 5262 fout = fbuf; 5281 *fout++ = TTY_NORMAL; 5291 *fout++ = TTY_NORMAL; 5310 *fout++ = TTY_BREAK; 5313 *fout++ = TTY_PARITY;
|