/linux-6.6.21/drivers/video/fbdev/via/ |
D | vt1636.c | 186 index = get_clk_range_index(plvds_setting_info->vclk); in viafb_vt1636_patch_skew_on_vt3324() 210 index = get_clk_range_index(plvds_setting_info->vclk); in viafb_vt1636_patch_skew_on_vt3327() 227 index = get_clk_range_index(plvds_setting_info->vclk); in viafb_vt1636_patch_skew_on_vt3364()
|
D | chip.h | 141 u32 vclk; /*panel mode clock value */ member
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | rs780_dpm.c | 570 if ((new_ps->vclk == old_ps->vclk) && in rs780_set_uvd_clock_before_set_eng_clock() 577 radeon_set_uvd_clocks(rdev, new_ps->vclk, new_ps->dclk); in rs780_set_uvd_clock_before_set_eng_clock() 587 if ((new_ps->vclk == old_ps->vclk) && in rs780_set_uvd_clock_after_set_eng_clock() 594 radeon_set_uvd_clocks(rdev, new_ps->vclk, new_ps->dclk); in rs780_set_uvd_clock_after_set_eng_clock() 727 rps->vclk = le32_to_cpu(non_clock_info->ulVCLK); in rs780_parse_pplib_non_clock_info() 730 rps->vclk = 0; in rs780_parse_pplib_non_clock_info() 735 if ((rps->vclk == 0) || (rps->dclk == 0)) { in rs780_parse_pplib_non_clock_info() 736 rps->vclk = RS780_DEFAULT_VCLK_FREQ; in rs780_parse_pplib_non_clock_info() 945 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in rs780_dpm_print_power_state() 994 seq_printf(m, "uvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in rs780_dpm_debugfs_print_current_performance_level()
|
D | trinity_dpm.c | 854 if ((rps->vclk == 0) && (rps->dclk == 0)) in trinity_uvd_clocks_zero() 866 if ((rps1->vclk == rps2->vclk) && in trinity_uvd_clocks_equal() 899 radeon_set_uvd_clocks(rdev, new_rps->vclk, new_rps->dclk); in trinity_setup_uvd_clocks() 910 radeon_set_uvd_clocks(rdev, new_rps->vclk, new_rps->dclk); in trinity_setup_uvd_clocks() 1414 if ((rps->vclk == pi->sys_info.uvd_clock_table_entries[i].vclk) && in trinity_get_uvd_clock_index() 1648 rps->vclk = le32_to_cpu(non_clock_info->ulVCLK); in trinity_parse_pplib_non_clock_info() 1651 rps->vclk = 0; in trinity_parse_pplib_non_clock_info() 1891 pi->sys_info.uvd_clock_table_entries[i].vclk = in trinity_parse_sys_info_table() 1977 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in trinity_dpm_print_power_state() 2002 seq_printf(m, "uvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in trinity_dpm_debugfs_print_current_performance_level()
|
D | sumo_dpm.c | 824 radeon_set_uvd_clocks(rdev, new_rps->vclk, new_rps->dclk); in sumo_setup_uvd_clocks() 840 if ((new_rps->vclk == old_rps->vclk) && in sumo_set_uvd_clock_before_set_eng_clock() 858 if ((new_rps->vclk == old_rps->vclk) && in sumo_set_uvd_clock_after_set_eng_clock() 1414 rps->vclk = le32_to_cpu(non_clock_info->ulVCLK); in sumo_parse_pplib_non_clock_info() 1417 rps->vclk = 0; in sumo_parse_pplib_non_clock_info() 1804 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in sumo_dpm_print_power_state() 1827 seq_printf(m, "uvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in sumo_dpm_debugfs_print_current_performance_level() 1835 seq_printf(m, "uvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in sumo_dpm_debugfs_print_current_performance_level()
|
D | trinity_dpm.h | 69 u32 vclk; member
|
D | rv770_dpm.c | 1440 if ((new_ps->vclk == old_ps->vclk) && in rv770_set_uvd_clock_before_set_eng_clock() 1447 radeon_set_uvd_clocks(rdev, new_ps->vclk, new_ps->dclk); in rv770_set_uvd_clock_before_set_eng_clock() 1457 if ((new_ps->vclk == old_ps->vclk) && in rv770_set_uvd_clock_after_set_eng_clock() 1464 radeon_set_uvd_clocks(rdev, new_ps->vclk, new_ps->dclk); in rv770_set_uvd_clock_after_set_eng_clock() 2155 rps->vclk = le32_to_cpu(non_clock_info->ulVCLK); in rv7xx_parse_pplib_non_clock_info() 2158 rps->vclk = 0; in rv7xx_parse_pplib_non_clock_info() 2163 if ((rps->vclk == 0) || (rps->dclk == 0)) { in rv7xx_parse_pplib_non_clock_info() 2164 rps->vclk = RV770_DEFAULT_VCLK_FREQ; in rv7xx_parse_pplib_non_clock_info() 2442 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in rv770_dpm_print_power_state() 2486 seq_printf(m, "uvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in rv770_dpm_debugfs_print_current_performance_level()
|
/linux-6.6.21/Documentation/devicetree/bindings/media/ |
D | aspeed-video.txt | 13 - clock-names: "vclk" and "eclk" 29 clock-names = "vclk", "eclk";
|
/linux-6.6.21/drivers/gpu/drm/exynos/ |
D | exynos7_drm_decon.c | 50 struct clk *vclk; member 147 clkdiv = DIV_ROUND_UP(clk_get_rate(ctx->vclk), ideal_clk); in decon_calc_clkdiv() 723 ctx->vclk = devm_clk_get(dev, "decon0_vclk"); in decon_probe() 724 if (IS_ERR(ctx->vclk)) { in decon_probe() 726 ret = PTR_ERR(ctx->vclk); in decon_probe() 785 clk_disable_unprepare(ctx->vclk); in exynos7_decon_suspend() 819 ret = clk_prepare_enable(ctx->vclk); in exynos7_decon_resume()
|
/linux-6.6.21/drivers/media/platform/renesas/rzg2l-cru/ |
D | rzg2l-csi2.c | 731 struct clk *vclk; in rzg2l_csi2_probe() local 757 vclk = clk_get(&pdev->dev, "video"); in rzg2l_csi2_probe() 758 if (IS_ERR(vclk)) in rzg2l_csi2_probe() 759 return dev_err_probe(&pdev->dev, PTR_ERR(vclk), in rzg2l_csi2_probe() 761 csi2->vclk_rate = clk_get_rate(vclk); in rzg2l_csi2_probe() 762 clk_put(vclk); in rzg2l_csi2_probe()
|
D | rzg2l-core.c | 265 cru->vclk = devm_clk_get(&pdev->dev, "video"); in rzg2l_cru_probe() 266 if (IS_ERR(cru->vclk)) in rzg2l_cru_probe() 267 return dev_err_probe(&pdev->dev, PTR_ERR(cru->vclk), in rzg2l_cru_probe()
|
D | rzg2l-video.c | 466 clk_disable_unprepare(cru->vclk); in rzg2l_cru_vclk_unprepare() 471 return clk_prepare_enable(cru->vclk); in rzg2l_cru_vclk_prepare() 503 clk_disable_unprepare(cru->vclk); in rzg2l_cru_set_stream() 512 ret = clk_prepare_enable(cru->vclk); in rzg2l_cru_set_stream() 546 clk_disable_unprepare(cru->vclk); in rzg2l_cru_set_stream()
|
D | rzg2l-cru.h | 106 struct clk *vclk; member
|
/linux-6.6.21/drivers/gpu/drm/renesas/rcar-du/ |
D | rzg2l_mipi_dsi.c | 41 struct clk *vclk; member 289 clk_set_rate(dsi->vclk, mode->clock * 1000); in rzg2l_mipi_dsi_startup() 722 dsi->vclk = devm_clk_get(dsi->dev, "vclk"); in rzg2l_mipi_dsi_probe() 723 if (IS_ERR(dsi->vclk)) in rzg2l_mipi_dsi_probe() 724 return PTR_ERR(dsi->vclk); in rzg2l_mipi_dsi_probe()
|
/linux-6.6.21/drivers/gpu/drm/logicvc/ |
D | logicvc_drm.h | 57 struct clk *vclk; member
|
/linux-6.6.21/drivers/video/fbdev/aty/ |
D | aty128fb.c | 426 u32 vclk; member 1365 u32 vclk; /* in .01 MHz */ in aty128_var_to_pll() local 1369 vclk = 100000000 / period_in_ps; /* convert units to 10 kHz */ in aty128_var_to_pll() 1372 if (vclk > c.ppll_max) in aty128_var_to_pll() 1373 vclk = c.ppll_max; in aty128_var_to_pll() 1374 if (vclk * 12 < c.ppll_min) in aty128_var_to_pll() 1375 vclk = c.ppll_min/12; in aty128_var_to_pll() 1379 output_freq = post_dividers[i] * vclk; in aty128_var_to_pll() 1394 pll->vclk = vclk; in aty128_var_to_pll() 1398 pll->feedback_divider, vclk, output_freq, in aty128_var_to_pll() [all …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv04/ |
D | arb.c | 252 nouveau_calc_arb(struct drm_device *dev, int vclk, int bpp, int *burst, int *lwm) in nouveau_calc_arb() argument 258 nv04_update_arb(dev, vclk, bpp, burst, lwm); in nouveau_calc_arb()
|
/linux-6.6.21/Documentation/devicetree/bindings/display/bridge/ |
D | renesas,dsi.yaml | 66 - const: vclk 156 clock-names = "pllclk", "sysclk", "aclk", "pclk", "vclk", "lpclk";
|
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | smu8_hwmgr.c | 140 if (clock <= ptable->entries[i].vclk) in smu8_get_uvd_level() 148 if (clock >= ptable->entries[i].vclk) in smu8_get_uvd_level() 513 (i < uvd_table->count) ? uvd_table->entries[i].vclk : 0; in smu8_upload_pptable_to_smu() 597 clock = table->entries[level].vclk; in smu8_init_uvd_limit() 599 clock = table->entries[table->count - 1].vclk; in smu8_init_uvd_limit() 1427 smu8_ps->uvd_clocks.vclk = ps->uvd_clocks.VCLK; in smu8_dpm_get_pp_table_entry() 1735 uint32_t sclk, vclk, dclk, ecclk, tmp, activity_percent; in smu8_read_sensor() local 1769 vclk = uvd_table->entries[uvd_index].vclk; in smu8_read_sensor() 1770 *((uint32_t *)value) = vclk; in smu8_read_sensor() 1905 ptable->entries[ptable->count - 1].vclk; in smu8_dpm_update_uvd_dpm()
|
D | hwmgr_ppt.h | 60 uint32_t vclk; /* UVD V-clock */ member
|
/linux-6.6.21/Documentation/devicetree/bindings/display/samsung/ |
D | samsung,fimd.yaml | 119 samsung,invert-vclk: 185 samsung,invert-vclk;
|
/linux-6.6.21/Documentation/devicetree/bindings/display/ |
D | xylon,logicvc-display.yaml | 45 # vclk is required and must be provided as first item. 46 - const: vclk 228 clock-names = "vclk", "lvdsclk";
|
/linux-6.6.21/drivers/media/platform/aspeed/ |
D | aspeed-video.c | 288 struct clk *vclk; member 665 clk_disable(video->vclk); in aspeed_video_off() 676 clk_enable(video->vclk); in aspeed_video_on() 2110 video->vclk = devm_clk_get(dev, "vclk"); in aspeed_video_init() 2111 if (IS_ERR(video->vclk)) { in aspeed_video_init() 2113 rc = PTR_ERR(video->vclk); in aspeed_video_init() 2117 rc = clk_prepare(video->vclk); in aspeed_video_init() 2144 clk_unprepare(video->vclk); in aspeed_video_init() 2196 clk_unprepare(video->vclk); in aspeed_video_probe() 2218 clk_unprepare(video->vclk); in aspeed_video_remove()
|
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/inc/ |
D | power_state.h | 184 unsigned long vclk; member
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/ |
D | dcn301_smu.h | 38 uint32_t vclk; member
|