Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/85xx/
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_rdk.c48 u32 pxclk; in p1022rdk_set_pixel_clock() local
70 * 'pxclk' is the ratio of the platform clock to the pixel clock. in p1022rdk_set_pixel_clock()
74 pxclk = DIV_ROUND_CLOSEST(fsl_get_sys_freq(), freq); in p1022rdk_set_pixel_clock()
75 pxclk = clamp_t(u32, pxclk, 2, 255); in p1022rdk_set_pixel_clock()
81 /* Enable the clock and set the pxclk */ in p1022rdk_set_pixel_clock()
82 setbits32(&guts->clkdvdr, CLKDVDR_PXCKEN | (pxclk << 16)); in p1022rdk_set_pixel_clock()
Dp1022_ds.c378 u32 pxclk; in p1022ds_set_pixel_clock() local
400 * 'pxclk' is the ratio of the platform clock to the pixel clock. in p1022ds_set_pixel_clock()
404 pxclk = DIV_ROUND_CLOSEST(fsl_get_sys_freq(), freq); in p1022ds_set_pixel_clock()
405 pxclk = clamp_t(u32, pxclk, 2, 255); in p1022ds_set_pixel_clock()
411 /* Enable the clock and set the pxclk */ in p1022ds_set_pixel_clock()
412 setbits32(&guts->clkdvdr, CLKDVDR_PXCKEN | (pxclk << 16)); in p1022ds_set_pixel_clock()
/kernel/linux/linux-5.10/arch/powerpc/platforms/86xx/
Dmpc8610_hpcd.c226 u32 pxclk; in mpc8610hpcd_set_pixel_clock() local
248 * 'pxclk' is the ratio of the platform clock to the pixel clock. in mpc8610hpcd_set_pixel_clock()
252 pxclk = DIV_ROUND_CLOSEST(fsl_get_sys_freq(), freq) - 1; in mpc8610hpcd_set_pixel_clock()
253 pxclk = clamp_t(u32, pxclk, 2, 31); in mpc8610hpcd_set_pixel_clock()
259 /* Enable the clock and set the pxclk */ in mpc8610hpcd_set_pixel_clock()
260 setbits32(&guts->clkdvdr, CLKDVDR_PXCKEN | (pxclk << 16)); in mpc8610hpcd_set_pixel_clock()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/
Darm,komeda.txt25 - "pxclk": pixel clock
55 clock-names = "pxclk";
67 clock-names = "pxclk";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/
Darm,komeda.yaml70 const: pxclk
109 clock-names = "pxclk";
121 clock-names = "pxclk";
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
Dnouveau_bios.h170 int nouveau_bios_parse_lvds_table(struct drm_device *, int pxclk,
173 int head, int pxclk);
175 enum LVDS_script, int pxclk);
Dnouveau_bios.c67 static uint16_t clkcmptable(struct nvbios *bios, uint16_t clktable, int pxclk) in clkcmptable() argument
79 if (pxclk >= compareclk * 10) { in clkcmptable()
138 …le(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk) in run_lvds_table() argument
143 * A bitmask byte and a dual-link transition pxclk value for use in in run_lvds_table()
199 scriptptr = clkcmptable(bios, clktable, pxclk); in run_lvds_table()
211 …pt(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk) in call_lvds_script() argument
232 call_lvds_script(dev, dcbent, head, LVDS_INIT, pxclk); in call_lvds_script()
236 call_lvds_script(dev, dcbent, head, LVDS_RESET, pxclk); in call_lvds_script()
238 call_lvds_script(dev, dcbent, head, LVDS_PANEL_OFF, pxclk); in call_lvds_script()
248 ret = run_lvds_table(dev, dcbent, head, script, pxclk); in call_lvds_script()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_bios.h170 int nouveau_bios_parse_lvds_table(struct drm_device *, int pxclk,
173 int head, int pxclk);
175 enum LVDS_script, int pxclk);
Dnouveau_bios.c66 static uint16_t clkcmptable(struct nvbios *bios, uint16_t clktable, int pxclk) in clkcmptable() argument
78 if (pxclk >= compareclk * 10) { in clkcmptable()
134 …le(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk) in run_lvds_table() argument
139 * A bitmask byte and a dual-link transition pxclk value for use in in run_lvds_table()
195 scriptptr = clkcmptable(bios, clktable, pxclk); in run_lvds_table()
207 …pt(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk) in call_lvds_script() argument
228 call_lvds_script(dev, dcbent, head, LVDS_INIT, pxclk); in call_lvds_script()
232 call_lvds_script(dev, dcbent, head, LVDS_RESET, pxclk); in call_lvds_script()
234 call_lvds_script(dev, dcbent, head, LVDS_PANEL_OFF, pxclk); in call_lvds_script()
244 ret = run_lvds_table(dev, dcbent, head, script, pxclk); in call_lvds_script()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/display/komeda/
Dkomeda_dev.c117 clk = of_clk_get_by_name(np, "pxclk"); in komeda_parse_pipe_dt()
119 DRM_ERROR("get pxclk for pipeline %d failed!\n", pipe->id); in komeda_parse_pipe_dt()
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_dev.c128 clk = of_clk_get_by_name(np, "pxclk"); in komeda_parse_pipe_dt()
130 DRM_ERROR("get pxclk for pipeline %d failed!\n", pipe->id); in komeda_parse_pipe_dt()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/
Dhw.h146 * 0x08 or 0x09 pxclk in MHz
Ddfp.c542 /* pxclk of 0 is fine for PANEL_OFF, and for a in nv04_lvds_dpms()
/kernel/linux/linux-6.6/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()