Home
last modified time | relevance | path

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

123

/linux-2.4.37.9/drivers/video/matrox/
Dmatroxfb_g450.c240 unsigned int pixclock; in computeRegs() local
261 mt->pixclock = g450_mnp2f(PMINFO mnp); in computeRegs()
265 pixclock = 1000000000U / mt->pixclock; in computeRegs()
267 dprintk(KERN_DEBUG "Got %u ps pixclock\n", pixclock); in computeRegs()
270 do_div(piic, mt->pixclock); in computeRegs()
279 hbp = (((outd->h_b_porch + pixclock) / pixclock)) & ~1; in computeRegs()
280 hfp = (((outd->h_f_porch + pixclock) / pixclock)) & ~1; in computeRegs()
281 hsl = (((outd->h_sync + pixclock) / pixclock)) & ~1; in computeRegs()
302 r->regs[0x09] = (outd->burst + pixclock - 1) / pixclock; /* burst length */ in computeRegs()
544 …mt->mnp = matroxfb_g450_setclk(PMINFO mt->pixclock, (mt->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL… in matroxfb_g450_compute()
[all …]
Dmatroxfb_base.c692 if (var->pixclock < 15000) in matroxfb_decode_var()
693 var->pixclock = 15000; /* limit for "normal" gclk & mclk */ in matroxfb_decode_var()
1009 ACCESS_FBINFO(crtc1).pixclock = mt.pixclock; in matroxfb_set_var()
1649 static unsigned int pixclock; /* "matrox:pixclock:xxxxx" */ variable
2166 if (tmp > pixclock) pixclock = tmp; in initMatrox2()
2169 if (pixclock) { in initMatrox2()
2170 if (pixclock < 2000) /* > 500MHz */ in initMatrox2()
2171 pixclock = 4000; /* 250MHz */ in initMatrox2()
2172 if (pixclock > 1000000) in initMatrox2()
2173 pixclock = 1000000; /* 1MHz */ in initMatrox2()
[all …]
Dmatroxfb_misc.c142 unsigned int pixclock = var->pixclock; in matroxfb_var2my() local
146 if (!pixclock) pixclock = 10000; /* 10ns = 100MHz */ in matroxfb_var2my()
147 mt->pixclock = 1000000000 / pixclock; in matroxfb_var2my()
148 if (mt->pixclock < 1) mt->pixclock = 1; in matroxfb_var2my()
Dmatroxfb_DAC1064.c295 } else if (ACCESS_FBINFO(crtc2).pixclock == ACCESS_FBINFO(features).pll.ref_freq) { in g450_set_plls()
326 pxc = ACCESS_FBINFO(crtc1).pixclock; in g450_set_plls()
328 pxc = ACCESS_FBINFO(crtc2).pixclock; in g450_set_plls()
603 DAC1064_setpclk(PMINFO m->pixclock); in m1064_compute()
634 …m->mnp = matroxfb_g450_setclk(PMINFO m->pixclock, (m->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL_C … in g450_compute()
636 m->pixclock = g450_mnp2f(PMINFO m->mnp); in g450_compute()
Dmatroxfb_base.h320 unsigned int pixclock; member
616 unsigned int pixclock; member
621 unsigned int pixclock; member
/linux-2.4.37.9/drivers/video/
Dmacmodes.c111 "mac1", 60, 512, 384, pixclock, left, right, upper, lower, hslen, vslen,
115 "mac2", 60, 512, 384, pixclock, left, right, upper, lower, hslen, vslen,
119 "mac3", 50, 640, 480, pixclock, left, right, upper, lower, hslen, vslen,
123 "mac4", 60, 640, 480, pixclock, left, right, upper, lower, hslen, vslen,
127 "mac7", 75, 640, 870, pixclock, left, right, upper, lower, hslen, vslen,
131 "mac8", 50, 768, 576, pixclock, left, right, upper, lower, hslen, vslen,
444 var->pixclock = mode->pixclock; in mac_vmode_to_var()
491 if (var->pixclock > mode->pixclock) in mac_var_to_vmode()
Dsa1100fb.c462 pixclock: 171521, bpp: 16,
476 pixclock: 67797, bpp: 16,
494 pixclock: 407766, bpp: 4,
508 pixclock: 174757, bpp: 16,
532 pixclock: 0, bpp: 8,
550 pixclock: 171521, bpp: 8,
556 pixclock: 171521, bpp: 8,
562 pixclock: 171521, bpp: 8,
568 pixclock: 171521, bpp: 4,
598 pixclock: 171521, bpp: 16,
[all …]
Dfbmon.c46 int fbmon_valid_timings(u_int pixclock, u_int htotal, u_int vtotal, in fbmon_valid_timings() argument
57 hpicos = (unsigned long long)htotal*(unsigned long long)pixclock; in fbmon_valid_timings()
Dacornfb.c129 struct pixclock { struct
136 static struct pixclock arc_clocks[] = { argument
145 static struct pixclock a5k_clocks[] = {
155 static struct pixclock *
156 acornfb_valid_pixrate(u_long pixclock) in acornfb_valid_pixrate() argument
161 if (pixclock > arc_clocks[i].min_clock && in acornfb_valid_pixrate()
162 pixclock < arc_clocks[i].max_clock) in acornfb_valid_pixrate()
168 if (pixclock > a5k_clocks[i].min_clock && in acornfb_valid_pixrate()
169 pixclock < a5k_clocks[i].max_clock) in acornfb_valid_pixrate()
192 struct pixclock *pclk; in acornfb_set_timing()
[all …]
Dvga16fb.c205 unsigned int pixclock, in vga16fb_clock_chip() argument
209 u32 pixclock; in vga16fb_clock_chip() member
221 err = pixclock - best->pixclock; in vga16fb_clock_chip()
223 for (ptr = vgaclocks + 1; ptr->pixclock; ptr++) { in vga16fb_clock_chip()
226 tmp = pixclock - ptr->pixclock; in vga16fb_clock_chip()
235 par->var.pixclock = best->pixclock; in vga16fb_clock_chip()
415 vga16fb_clock_chip(par, var->pixclock, info); in vga16fb_decode_var()
Dneofb.c1054 unsigned int pixclock = var->pixclock; in neofb_decode_var() local
1058 if (!pixclock) pixclock = 10000; /* 10ns = 100MHz */ in neofb_decode_var()
1059 timings.pixclock = 1000000000 / pixclock; in neofb_decode_var()
1060 if (timings.pixclock < 1) timings.pixclock = 1; in neofb_decode_var()
1073 if (timings.pixclock > info->maxClock) in neofb_decode_var()
1389 neoCalcVCLK (info, par, timings.pixclock); in neofb_decode_var()
1756 pixclock: 39722,
1774 pixclock: 25000,
1792 pixclock: 15385,
1811 pixclock: 9260,
[all …]
Dpvr2fb.c136 u_long pixclock; member
654 if (var->pixclock != TV_CLK && var->pixclock != VGA_CLK) { in pvr2_decode_var()
655 DPRINTK("Invalid pixclock value %d\n", var->pixclock); in pvr2_decode_var()
658 par->pixclock = var->pixclock; in pvr2_decode_var()
797 var->pixclock = par->pixclock; in pvr2_encode_var()
Dmodedb.c290 var->pixclock = mode->pixclock; in __fb_try_mode()
Dcontrolfb.c1021 unsigned long pixclock; in control_var_to_par() local
1094 pixclock = (var->pixclock < CONTROL_PIXCLOCK_MIN)? CONTROL_PIXCLOCK_MIN: in control_var_to_par()
1095 var->pixclock; in control_var_to_par()
1096 if (calc_clock_params(pixclock, r->clock_params)) in control_var_to_par()
1213 var->pixclock = CONTROL_PIXCLOCK_BASE * par->regvals.clock_params[0]; in control_par_to_var()
1214 var->pixclock /= par->regvals.clock_params[1]; in control_par_to_var()
1215 var->pixclock >>= par->regvals.clock_params[2]; in control_par_to_var()
Dq40fb.c116 var->pixclock=0; in q40fb_get_var()
153 if(var->pixclock!=0) in q40fb_set_var()
Dsa1100fb.h28 u_long pixclock; member
Datafb.c578 var->pixclock=31041; in tt_encode_var()
961 if (var->pixclock > 1) in falcon_decode_var()
962 var->pixclock -= 1; in falcon_decode_var()
988 if (var->pixclock > f32.t * plen) in falcon_decode_var()
993 if (var->pixclock == 0) { in falcon_decode_var()
1024 if (var->pixclock == 0) { in falcon_decode_var()
1056 if (f25.t*i >= var->pixclock && f25.t*i < pcl) { in falcon_decode_var()
1060 if (f32.t*i >= var->pixclock && f32.t*i < pcl) { in falcon_decode_var()
1064 if (fext.t && fext.t*i >= var->pixclock && fext.t*i < pcl) { in falcon_decode_var()
1319 var->pixclock = hw->sync & 0x1 ? fext.t : in falcon_encode_var()
[all …]
Dtgafb.c355 var->nonstd || (1000000000/var->pixclock) > TGA_PLL_MAX_FREQ || in tgafb_decode_var()
358 || !fbmon_valid_timings(var->pixclock, var->htotal, var->vtotal, info)) in tgafb_decode_var()
388 par->pll_freq = 1000000000/var->pixclock; in tgafb_decode_var()
439 var->pixclock = 1000000000/par->pll_freq; in tgafb_encode_var()
Dretz3fb.c73 int pixclock; member
700 freq = 2000000000 / var->pixclock; in retz3_set_video()
824 par->pixclock = var->pixclock; in retz3_decode_var()
880 var->pixclock = par->pixclock; in retz3_encode_var()
Damifb.c522 static u_long pixclock[3]; /* SHRES/HIRES/LORES: index = clk_shift */ variable
1690 pixclock[TAG_SHRES] = (tmp + 4) / 8; /* SHRES: 35 ns / 28 MHz */ in amifb_init()
1691 pixclock[TAG_HIRES] = (tmp + 2) / 4; /* HIRES: 70 ns / 14 MHz */ in amifb_init()
1692 pixclock[TAG_LORES] = (tmp + 1) / 2; /* LORES: 140 ns / 7 MHz */ in amifb_init()
1701 tag = mode->pixclock; in amifb_init()
1703 mode->pixclock = pixclock[tag]; in amifb_init()
1990 if (var->pixclock <= pixclock[clk_shift]) in ami_decode_var()
2351 if (!fbmon_valid_timings(pixclock[clk_shift], htotal, vtotal, in ami_decode_var()
2415 var->pixclock = pixclock[clk_shift]; in ami_encode_var()
Dpm3fb.c101 u32 pixclock; /* pixclock in KHz */ member
1184 …(void)pm3fb_CalculateClock(l_fb_info, l_fb_info->current_par->pixclock, PM3_REF_CLOCK, &m, &n, &p); in pm3fb_write_mode()
1188 l_fb_info->current_par->pixclock, (int) m, (int) n, in pm3fb_write_mode()
1337 curpar->pixclock = PM3_SCALE_TO_CLOCK(pre, feedback, post); in pm3fb_read_mode()
1388 curpar->width, curpar->height, curpar->pixclock, in pm3fb_read_mode()
2892 if ((!var->pixclock) || in pm3fb_decode_var()
2916 temp_p.pixclock = PICOS2KHZ(var->pixclock); in pm3fb_decode_var()
2917 if (temp_p.pixclock > PM3_MAX_PIXCLOCK) { in pm3fb_decode_var()
2919 temp_p.pixclock); in pm3fb_decode_var()
2938 temp_p.width, temp_p.height, temp_p.pixclock, in pm3fb_decode_var()
[all …]
/linux-2.4.37.9/include/asm-arm/arch-riscstation/
Dacornfb.h66 div = var->pixclock / 9090; /*9921*/ in acornfb_vidc20_find_rates()
87 bandwidth = var->pixclock * 8 / var->bits_per_pixel; in acornfb_vidc20_find_rates()
100 vidc->pll_ctl = acornfb_vidc20_find_pll(var->pixclock / div); in acornfb_vidc20_find_rates()
/linux-2.4.37.9/include/asm-arm/arch-rpc/
Dacornfb.h65 div = var->pixclock / 9090; /*9921*/ in acornfb_vidc20_find_rates()
86 bandwidth = var->pixclock * 8 / var->bits_per_pixel; in acornfb_vidc20_find_rates()
99 vidc->pll_ctl = acornfb_vidc20_find_pll(var->pixclock / div); in acornfb_vidc20_find_rates()
/linux-2.4.37.9/include/asm-arm/arch-cl7500/
Dacornfb.h13 bandwidth = var->pixclock * 8 / var->bits_per_pixel; in acornfb_vidc20_find_rates()
/linux-2.4.37.9/include/linux/
Dfb.h202 __u32 pixclock; /* pixel clock in ps (pico seconds) */ member
429 extern int fbmon_valid_timings(u_int pixclock, u_int htotal, u_int vtotal,
453 u32 pixclock; member

123