Home
last modified time | relevance | path

Searched refs:pcd (Results 1 – 20 of 20) sorted by relevance

/drivers/video/fbdev/omap/
Dlcdc.c462 int pcd; in setup_regs() local
497 if (!panel->pcd) in setup_regs()
498 calc_ck_div(is_tft, panel->pixel_clock * 1000, &pcd); in setup_regs()
504 lck / panel->pcd / 1000, panel->name); in setup_regs()
506 pcd = panel->pcd; in setup_regs()
508 l |= pcd & 0xff; in setup_regs()
513 panel->pixel_clock = lck / pcd / 1000; in setup_regs()
Dlcd_htcherald.c33 .pcd = 0, /* 15 */
Dlcd_palmte.c32 .pcd = 0,
Dlcd_palmz71.c37 .pcd = 0,
Dlcd_palmtt.c43 .pcd = 0,
Dlcd_inn1510.c43 .pcd = 12,
Dlcd_osk.c63 .pcd = 12,
Dlcd_h3.c59 .pcd = 0,
Dlcd_inn1610.c74 .pcd = 12,
Dlcd_ams_delta.c118 .pcd = 0,
Domapfb.h75 int pcd; /* pixel clock divider. member
/drivers/block/paride/
Dpcd.c207 static struct pcd_unit pcd[PCD_UNITS]; variable
311 for (unit = 0, cd = pcd; unit < PCD_UNITS; unit++, cd++) { in pcd_init_units()
689 for (unit = 0, cd = pcd; unit < PCD_UNITS; unit++, cd++) { in pcd_probe_capabilities()
728 cd = pcd; in pcd_detect()
738 for (unit = 0, cd = pcd; unit < PCD_UNITS; unit++, cd++) { in pcd_detect()
759 for (unit = 0, cd = pcd; unit < PCD_UNITS; unit++, cd++) { in pcd_detect()
780 cd = &pcd[pcd_queue]; in set_next_request()
1022 for (unit = 0, cd = pcd; unit < PCD_UNITS; unit++, cd++) { in pcd_init()
1033 for (unit = 0, cd = pcd; unit < PCD_UNITS; unit++, cd++) { in pcd_init()
1049 for (unit = 0, cd = pcd; unit < PCD_UNITS; unit++, cd++) { in pcd_exit()
Dmkd24 for u in 0 1 2 3 ; do mkdev pcd$u b 46 $u ; done
DMakefile26 obj-$(CONFIG_PARIDE_PCD) += pcd.o
DKconfig36 build it as a loadable module. The module will be called pcd. You
/drivers/video/fbdev/
Dsa1100fb.c597 unsigned int pcd = clk_get_rate(fbi->clk) / 100 / 1000; in get_pcd() local
599 pcd *= pixclock; in get_pcd()
600 pcd /= 10000000; in get_pcd()
602 return pcd + 1; /* make up for integer math truncations */ in get_pcd()
613 u_int half_screen_size, yres, pcd; in sa1100fb_activate_var() local
676 pcd = get_pcd(fbi, var->pixclock); in sa1100fb_activate_var()
677 new_regs.lccr3 = LCCR3_PixClkDiv(pcd) | fbi->inf->lccr3 | in sa1100fb_activate_var()
980 u_int pcd; in sa1100fb_freq_transition() local
988 pcd = get_pcd(fbi, fbi->fb.var.pixclock); in sa1100fb_freq_transition()
989 fbi->reg_lccr3 = (fbi->reg_lccr3 & ~0xff) | LCCR3_PixClkDiv(pcd); in sa1100fb_freq_transition()
Dpxafb.c1021 unsigned long long pcd; in get_pcd() local
1026 pcd = (unsigned long long)(clk_get_rate(fbi->clk) / 10000); in get_pcd()
1027 pcd *= pixclock; in get_pcd()
1028 do_div(pcd, 100000000 * 2); in get_pcd()
1031 return (unsigned int)pcd; in get_pcd()
1040 static inline void set_hsync_time(struct pxafb_info *fbi, unsigned int pcd) in set_hsync_time() argument
1044 if ((pcd == 0) || (fbi->fb.var.hsync_len == 0)) { in set_hsync_time()
1049 htime = clk_get_rate(fbi->clk) / (pcd * fbi->fb.var.hsync_len); in set_hsync_time()
1324 unsigned int lines_per_panel, pcd = get_pcd(fbi, var->pixclock); in setup_parallel_timing() local
1352 if (pcd) { in setup_parallel_timing()
[all …]
Dau1200fb.c1081 int pcd = AU1200_LCD_MAX_CLK / (pixclock * 2) - 1; in au1200fb_fb_check_var()
1084 && (panel->control_base & LCD_CONTROL_MPI) && (pcd < 3)) { in au1200fb_fb_check_var()
1087 } else if (!pcd) { in au1200fb_fb_check_var()
/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc.c3276 int pcd; in dispc_mgr_pclk_rate() local
3281 pcd = FLD_GET(l, 7, 0); in dispc_mgr_pclk_rate()
3285 return r / pcd; in dispc_mgr_pclk_rate()
3327 int lcd, pcd; in dispc_dump_clocks_channel() local
3338 dispc_mgr_get_lcd_divisor(channel, &lcd, &pcd); in dispc_dump_clocks_channel()
3343 dispc_mgr_pclk_rate(channel), pcd); in dispc_dump_clocks_channel()
/drivers/gpu/drm/omapdrm/dss/
Ddispc.c3323 int pcd; in dispc_mgr_pclk_rate() local
3328 pcd = FLD_GET(l, 7, 0); in dispc_mgr_pclk_rate()
3332 return r / pcd; in dispc_mgr_pclk_rate()
3378 int lcd, pcd; in dispc_dump_clocks_channel() local
3388 dispc_mgr_get_lcd_divisor(dispc, channel, &lcd, &pcd); in dispc_dump_clocks_channel()
3393 dispc_mgr_pclk_rate(dispc, channel), pcd); in dispc_dump_clocks_channel()