Home
last modified time | relevance | path

Searched full:pxclk (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/arch/powerpc/platforms/85xx/
Dp1022_rdk.c49 u32 pxclk; in p1022rdk_set_pixel_clock() local
71 * 'pxclk' is the ratio of the platform clock to the pixel clock. in p1022rdk_set_pixel_clock()
75 pxclk = DIV_ROUND_CLOSEST(fsl_get_sys_freq(), freq); in p1022rdk_set_pixel_clock()
76 pxclk = clamp_t(u32, pxclk, 2, 255); in p1022rdk_set_pixel_clock()
82 /* Enable the clock and set the pxclk */ in p1022rdk_set_pixel_clock()
83 setbits32(&guts->clkdvdr, CLKDVDR_PXCKEN | (pxclk << 16)); in p1022rdk_set_pixel_clock()
Dt1042rdb_diu.c82 u32 pxclk; in t1042rdb_set_pixel_clock() local
105 * 'pxclk' is the ratio of the platform clock to the pixel clock. in t1042rdb_set_pixel_clock()
109 pxclk = DIV_ROUND_CLOSEST(fsl_get_sys_freq(), freq); in t1042rdb_set_pixel_clock()
110 pxclk = clamp_t(u32, pxclk, 2, 255); in t1042rdb_set_pixel_clock()
116 /* Enable the clock and set the pxclk */ in t1042rdb_set_pixel_clock()
117 setbits32(scfg + CCSR_SCFG_PIXCLKCR, PIXCLKCR_PXCKEN | (pxclk << 16)); in t1042rdb_set_pixel_clock()
Dp1022_ds.c379 u32 pxclk; in p1022ds_set_pixel_clock() local
401 * 'pxclk' is the ratio of the platform clock to the pixel clock. in p1022ds_set_pixel_clock()
405 pxclk = DIV_ROUND_CLOSEST(fsl_get_sys_freq(), freq); in p1022ds_set_pixel_clock()
406 pxclk = clamp_t(u32, pxclk, 2, 255); in p1022ds_set_pixel_clock()
412 /* Enable the clock and set the pxclk */ in p1022ds_set_pixel_clock()
413 setbits32(&guts->clkdvdr, CLKDVDR_PXCKEN | (pxclk << 16)); in p1022ds_set_pixel_clock()
/linux-6.12.1/Documentation/devicetree/bindings/display/
Darm,komeda.yaml70 const: pxclk
109 clock-names = "pxclk";
121 clock-names = "pxclk";
/linux-6.12.1/drivers/gpu/drm/nouveau/
Dnouveau_bios.h171 int nouveau_bios_parse_lvds_table(struct drm_device *, int pxclk,
174 int head, int pxclk);
176 enum LVDS_script, int pxclk);
Dnouveau_bios.c64 static uint16_t clkcmptable(struct nvbios *bios, uint16_t clktable, int pxclk) in clkcmptable() argument
76 if (pxclk >= compareclk * 10) { in clkcmptable()
135 …le(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk) in run_lvds_table() argument
140 * A bitmask byte and a dual-link transition pxclk value for use in in run_lvds_table()
196 scriptptr = clkcmptable(bios, clktable, pxclk); in run_lvds_table()
208 …pt(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk) in call_lvds_script() argument
229 call_lvds_script(dev, dcbent, head, LVDS_INIT, pxclk); in call_lvds_script()
233 call_lvds_script(dev, dcbent, head, LVDS_RESET, pxclk); in call_lvds_script()
235 call_lvds_script(dev, dcbent, head, LVDS_PANEL_OFF, pxclk); in call_lvds_script()
245 ret = run_lvds_table(dev, dcbent, head, script, pxclk); in call_lvds_script()
[all …]
/linux-6.12.1/drivers/gpu/drm/arm/display/komeda/
Dkomeda_dev.c113 clk = of_clk_get_by_name(np, "pxclk"); in komeda_parse_pipe_dt()
115 DRM_ERROR("get pxclk for pipeline %d failed!\n", pipe->id); in komeda_parse_pipe_dt()
/linux-6.12.1/drivers/gpu/drm/nouveau/dispnv04/
Dhw.h146 * 0x08 or 0x09 pxclk in MHz
Ddfp.c543 /* pxclk of 0 is fine for PANEL_OFF, and for a in nv04_lvds_dpms()