Home
last modified time | relevance | path

Searched refs:pxclk (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/platforms/85xx/
H A 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()
H A 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()
H A 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-6.6/arch/powerpc/platforms/85xx/
H A 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()
H A 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()
H A 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/86xx/
H A 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/drivers/gpu/drm/nouveau/
H A 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);
H A 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 static int run_lvds_table(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 int call_lvds_script(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()
493 nouveau_bios_parse_lvds_table(struct drm_device *dev, int pxclk, bool *dl, bool *if_is_24bit) nouveau_bios_parse_lvds_table() argument
624 run_tmds_table(struct drm_device *dev, struct dcb_output *dcbent, int head, int pxclk) run_tmds_table() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
H A 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);
H A 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()
137 static int run_lvds_table(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk) in run_lvds_table() argument
142 * A bitmask byte and a dual-link transition pxclk value for use in in run_lvds_table()
198 scriptptr = clkcmptable(bios, clktable, pxclk); in run_lvds_table()
210 int call_lvds_script(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk) in call_lvds_script() argument
231 call_lvds_script(dev, dcbent, head, LVDS_INIT, pxclk); in call_lvds_script()
235 call_lvds_script(dev, dcbent, head, LVDS_RESET, pxclk); in call_lvds_script()
237 call_lvds_script(dev, dcbent, head, LVDS_PANEL_OFF, pxclk); in call_lvds_script()
247 ret = run_lvds_table(dev, dcbent, head, script, pxclk); in call_lvds_script()
496 nouveau_bios_parse_lvds_table(struct drm_device *dev, int pxclk, bool *dl, bool *if_is_24bit) nouveau_bios_parse_lvds_table() argument
627 run_tmds_table(struct drm_device *dev, struct dcb_output *dcbent, int head, int pxclk) run_tmds_table() argument
[all...]

Completed in 13 milliseconds