Home
last modified time | relevance | path

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

123456789

/linux-2.6.39/drivers/video/i810/
Di810_dvt.c215 static int i810fb_find_best_mode(u32 xres, u32 yres, u32 pixclock) in i810fb_find_best_mode() argument
222 if (std_modes[i].pixclock <= pixclock) in i810fb_find_best_mode()
223 diff = pixclock - std_modes[i].pixclock; in i810fb_find_best_mode()
236 u32 i_best = i810fb_find_best_mode(xres, yres, par->regs.pixclock); in i810fb_encode_registers()
248 u32 mode, pixclock; in i810fb_fill_var_timings() local
253 pixclock = 1000000000 / var->pixclock; in i810fb_fill_var_timings()
254 mode = i810fb_find_best_mode(xres, yres, pixclock); in i810fb_fill_var_timings()
259 var->pixclock = 1000000000 / std_modes[mode].pixclock; in i810fb_fill_var_timings()
Di810_gtf.c228 u32 i, size = 0, pixclock, wm_best = 0, min, diff; in i810_get_watermark() local
262 pixclock = 1000000/var->pixclock; in i810_get_watermark()
265 if (pixclock <= wmark[i].freq) in i810_get_watermark()
266 diff = wmark[i].freq - pixclock; in i810_get_watermark()
268 diff = pixclock - wmark[i].freq; in i810_get_watermark()
/linux-2.6.39/arch/powerpc/platforms/86xx/
Dmpc8610_hpcd.c176 void mpc8610hpcd_set_pixel_clock(unsigned int pixclock) in mpc8610hpcd_set_pixel_clock() argument
198 pr_debug("DIU pixclock in ps - %d\n", pixclock); in mpc8610hpcd_set_pixel_clock()
199 temp = 1000000000/pixclock; in mpc8610hpcd_set_pixel_clock()
201 pixclock = temp; in mpc8610hpcd_set_pixel_clock()
202 pr_debug("DIU pixclock freq - %u\n", pixclock); in mpc8610hpcd_set_pixel_clock()
204 temp = pixclock * 5 / 100; in mpc8610hpcd_set_pixel_clock()
206 minpixclock = pixclock - temp; in mpc8610hpcd_set_pixel_clock()
207 maxpixclock = pixclock + temp; in mpc8610hpcd_set_pixel_clock()
210 pixval = speed_ccb/pixclock; in mpc8610hpcd_set_pixel_clock()
225 else if (abs(temp - pixclock) < err) { in mpc8610hpcd_set_pixel_clock()
[all …]
/linux-2.6.39/drivers/video/matrox/
Dmatroxfb_g450.c245 unsigned int pixclock; in computeRegs() local
266 mt->pixclock = g450_mnp2f(minfo, mnp); in computeRegs()
270 pixclock = 1000000000U / mt->pixclock; in computeRegs()
272 dprintk(KERN_DEBUG "Got %u ps pixclock\n", pixclock); in computeRegs()
275 do_div(piic, mt->pixclock); in computeRegs()
284 hbp = (((outd->h_b_porch + pixclock) / pixclock)) & ~1; in computeRegs()
285 hfp = (((outd->h_f_porch + pixclock) / pixclock)) & ~1; in computeRegs()
286 hsl = (((outd->h_sync + pixclock) / pixclock)) & ~1; in computeRegs()
307 r->regs[0x09] = (outd->burst + pixclock - 1) / pixclock; /* burst length */ in computeRegs()
551 …mt->mnp = matroxfb_g450_setclk(minfo, mt->pixclock, (mt->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL… in matroxfb_g450_compute()
[all …]
/linux-2.6.39/drivers/video/
Dmacmodes.c113 "mac1", 60, 512, 384, pixclock, left, right, upper, lower, hslen, vslen,
117 "mac3", 50, 640, 480, pixclock, left, right, upper, lower, hslen, vslen,
121 "mac4", 60, 640, 480, pixclock, left, right, upper, lower, hslen, vslen,
125 "mac8", 50, 768, 576, pixclock, left, right, upper, lower, hslen, vslen,
277 var->pixclock = mode->pixclock; in mac_vmode_to_var()
328 if (var->pixclock > mode->pixclock) in mac_var_to_vmode()
344 if (var->pixclock > mode->pixclock) in mac_var_to_vmode()
Dfbcvt.c40 u32 pixclock; member
174 u32 pixclock; in fb_cvt_pixclock() local
177 pixclock = (cvt->f_refresh * cvt->vtotal * cvt->htotal)/1000; in fb_cvt_pixclock()
179 pixclock = (cvt->htotal * 1000000)/cvt->hperiod; in fb_cvt_pixclock()
181 pixclock /= 250; in fb_cvt_pixclock()
182 pixclock *= 250; in fb_cvt_pixclock()
183 pixclock *= 1000; in fb_cvt_pixclock()
185 return pixclock; in fb_cvt_pixclock()
274 mode->pixclock = KHZ2PICOS(cvt->pixclock/1000); in fb_cvt_convert_to_mode()
367 cvt.pixclock = fb_cvt_pixclock(&cvt); in fb_find_mode_cvt()
[all …]
Dfbmon.c397 mode->pixclock = var->pixclock; in calc_mode_timings()
551 mode->pixclock = PIXEL_CLOCK; in get_detailed_timing()
552 mode->pixclock /= 1000; in get_detailed_timing()
553 mode->pixclock = KHZ2PICOS(mode->pixclock); in get_detailed_timing()
696 int num_modes, hz, hscan, pixclock; in fb_get_monitor_limits() local
708 pixclock = PICOS2KHZ(modes[i].pixclock) * 1000; in fb_get_monitor_limits()
720 hscan = (pixclock + htotal / 2) / htotal; in fb_get_monitor_limits()
724 if (specs->dclkmax == 0 || specs->dclkmax < pixclock) in fb_get_monitor_limits()
725 specs->dclkmax = pixclock; in fb_get_monitor_limits()
727 if (specs->dclkmin == 0 || specs->dclkmin > pixclock) in fb_get_monitor_limits()
[all …]
Dasiliantfb.c112 unsigned pixclock = *ppixclock; in asiliant_calc_dclk2() local
113 unsigned Ftarget = 1000000 * (1000000 / pixclock); in asiliant_calc_dclk2()
123 ratio = 1000000 / pixclock; in asiliant_calc_dclk2()
124 remainder = 1000000 % pixclock; in asiliant_calc_dclk2()
125 Ftarget = 1000000 * ratio + (1000000 * remainder) / pixclock; in asiliant_calc_dclk2()
170 *ppixclock = pixclock; in asiliant_calc_dclk2()
186 if ((p->var.xres == 640) && (p->var.yres == 480) && (p->var.pixclock == 39722)) { in asiliant_set_timing()
230 ratio = 1000000 / var->pixclock; in asiliantfb_check_var()
231 remainder = 1000000 % var->pixclock; in asiliantfb_check_var()
232 Ftarget = 1000000 * ratio + (1000000 * remainder) / var->pixclock; in asiliantfb_check_var()
[all …]
Dmodedb.c506 var->pixclock = mode->pixclock; in fb_try_mode()
771 u32 pixclock, hfreq, htotal, vtotal; in fb_var_to_videomode() local
776 mode->pixclock = var->pixclock; in fb_var_to_videomode()
788 if (!var->pixclock) in fb_var_to_videomode()
791 pixclock = PICOS2KHZ(var->pixclock) * 1000; in fb_var_to_videomode()
803 hfreq = pixclock/htotal; in fb_var_to_videomode()
821 var->pixclock = mode->pixclock; in fb_videomode_to_var()
845 mode1->pixclock == mode2->pixclock && in fb_mode_is_equal()
Dclps711xfb.c117 unsigned int lcdcon, syscon, pixclock; in clps7111fb_set_par() local
146 pixclock = 9 * info->var.pixclock / 244140 - 1; in clps7111fb_set_par()
147 lcdcon |= pixclock << 19; in clps7111fb_set_par()
286 info->var.pixclock = 93006; /* 10.752MHz pixel clock */ in clps711x_guess_lcd_params()
324 info->var.pixclock = (((lcdcon >> 19) & 0x3f) + 1) * 244140 / 9; in clps711x_guess_lcd_params()
Dsa1100fb.c231 .pixclock = 171521, .bpp = 16,
245 .pixclock = 67797, .bpp = 16,
260 .pixclock = 174757, .bpp = 16,
283 .pixclock = 406977, .bpp = 4,
301 .pixclock = 171521, .bpp = 16,
317 .pixclock = 150000, .bpp = 4,
333 .pixclock = 150000, .bpp = 16,
346 .pixclock = 39721, .bpp = 16,
362 .pixclock = 63291, .bpp = 16,
376 .pixclock = 152500, .bpp = 8,
[all …]
/linux-2.6.39/arch/powerpc/platforms/512x/
Dmpc512x_shared.c92 void mpc512x_set_pixel_clock(unsigned int pixclock) in mpc512x_set_pixel_clock() argument
138 pr_debug("DIU pixclock in ps - %d\n", pixclock); in mpc512x_set_pixel_clock()
139 temp = (1000000000 / pixclock) * 1000; in mpc512x_set_pixel_clock()
140 pixclock = temp; in mpc512x_set_pixel_clock()
141 pr_debug("DIU pixclock freq - %u\n", pixclock); in mpc512x_set_pixel_clock()
145 minpixclock = pixclock - temp; in mpc512x_set_pixel_clock()
146 maxpixclock = pixclock + temp; in mpc512x_set_pixel_clock()
149 pixval = speed/pixclock; in mpc512x_set_pixel_clock()
164 else if (abs(temp - pixclock) < err) { in mpc512x_set_pixel_clock()
166 err = abs(temp - pixclock); in mpc512x_set_pixel_clock()
/linux-2.6.39/drivers/video/geode/
Dvideo_cs5530.c28 long pixclock; /* ps */ member
81 min = cs5530_pll_table[0].pixclock - info->var.pixclock; in cs5530_set_dclk_frequency()
84 diff = cs5530_pll_table[i].pixclock - info->var.pixclock; in cs5530_set_dclk_frequency()
Dvideo_gx.c28 long pixclock; /* ps */ member
140 min = abs(pll_table[0].pixclock - info->var.pixclock); in gx_set_dclk_frequency()
142 diff = abs(pll_table[i].pixclock - info->var.pixclock); in gx_set_dclk_frequency()
/linux-2.6.39/arch/arm/mach-rpc/include/mach/
Dacornfb.h13 #define acornfb_bandwidth(var) ((var)->pixclock * 8 / (var)->bits_per_pixel)
20 if (!var->pixclock) in acornfb_valid_pixrate()
88 div = var->pixclock / 9090; /*9921*/ in acornfb_vidc20_find_rates()
136 vidc->pll_ctl = acornfb_vidc20_find_pll(var->pixclock / div); in acornfb_vidc20_find_rates()
/linux-2.6.39/arch/arm/plat-versatile/
Dclcd.c13 .pixclock = 39721,
37 .pixclock = 15748,
62 .pixclock = 100000,
86 .pixclock = 100000,
111 .pixclock = 62500,
/linux-2.6.39/arch/arm/mach-pxa/
Dcm-x2xx.c197 .pixclock = 76923,
222 .pixclock = 38461,
246 .pixclock = 38461,
270 .pixclock = 28846,
294 .pixclock = 134615,
317 .pixclock = 57692,
Dlpd270.c293 .pixclock = 150000,
315 .pixclock = 50000,
337 .pixclock = 150000,
359 .pixclock = 25000,
381 .pixclock = 25000,
403 .pixclock = 150000,
Dzylonite.c139 .pixclock = 110000,
153 .pixclock = 50000,
173 .pixclock = 158000,
186 .pixclock = 39700,
/linux-2.6.39/drivers/staging/msm/
Dlcdc.c95 panel_pixclock_freq = mfd->fbi->var.pixclock; in lcdc_on()
115 clk_set_rate(mdp_lcdc_pclk_clk, mfd->fbi->var.pixclock); in lcdc_on()
116 clk_set_rate(mdp_lcdc_pad_pclk_clk, mfd->fbi->var.pixclock); in lcdc_on()
183 fbi->var.pixclock = mfd->panel_info.clk_rate; in lcdc_probe()
/linux-2.6.39/arch/avr32/boards/atngw100/
Devklcd10x.c38 .pixclock = KHZ2PICOS(25180),
76 .pixclock = KHZ2PICOS(6300),
114 .pixclock = KHZ2PICOS(6300),
/linux-2.6.39/include/linux/amba/
Dclcd.h116 unsigned long pixclock; member
279 regs->pixclock = var->pixclock; in clcdfb_decode()
315 CHECK(pixclock) || in clcdfb_check()
/linux-2.6.39/arch/arm/mach-imx/
Deukrea_mbimxsd25-baseboard.c108 .pixclock = KHZ2PICOS(6500),
124 .pixclock = 32000,
140 .pixclock = 25000,
/linux-2.6.39/arch/arm/mach-mx3/
Deukrea_mbimxsd-baseboard.c57 .pixclock = KHZ2PICOS(6500),
73 .pixclock = 32000,
90 .pixclock = 25000,
/linux-2.6.39/arch/arm/mach-s3c2410/
Dmach-qt2410.c113 .pixclock = 40000, /* HCLK/4 */
135 .pixclock = 40000, /* HCLK/4 */
157 .pixclock = 100000, /* HCLK/10 */

123456789