Home
last modified time | relevance | path

Searched refs:dclk (Results 1 – 25 of 107) sorted by relevance

12345

/linux-6.3-rc2/drivers/gpu/drm/sun4i/
A Dsun4i_dotclock.c74 struct sun4i_tcon *tcon = dclk->tcon; in sun4i_dclk_round_rate()
169 struct sun4i_dclk *dclk; in sun4i_dclk_create() local
179 dclk = devm_kzalloc(dev, sizeof(*dclk), GFP_KERNEL); in sun4i_dclk_create()
180 if (!dclk) in sun4i_dclk_create()
182 dclk->tcon = tcon; in sun4i_dclk_create()
190 dclk->regmap = tcon->regs; in sun4i_dclk_create()
191 dclk->hw.init = &init; in sun4i_dclk_create()
193 tcon->dclk = clk_register(dev, &dclk->hw); in sun4i_dclk_create()
194 if (IS_ERR(tcon->dclk)) in sun4i_dclk_create()
195 return PTR_ERR(tcon->dclk); in sun4i_dclk_create()
[all …]
/linux-6.3-rc2/drivers/clk/hisilicon/
A Dclkdivider-hi6220.c51 val = readl_relaxed(dclk->reg) >> dclk->shift; in hi6220_clkdiv_recalc_rate()
52 val &= div_mask(dclk->width); in hi6220_clkdiv_recalc_rate()
76 dclk->width, CLK_DIVIDER_ROUND_CLOSEST); in hi6220_clkdiv_set_rate()
78 if (dclk->lock) in hi6220_clkdiv_set_rate()
79 spin_lock_irqsave(dclk->lock, flags); in hi6220_clkdiv_set_rate()
81 data = readl_relaxed(dclk->reg); in hi6220_clkdiv_set_rate()
82 data &= ~(div_mask(dclk->width) << dclk->shift); in hi6220_clkdiv_set_rate()
83 data |= value << dclk->shift; in hi6220_clkdiv_set_rate()
84 data |= dclk->mask; in hi6220_clkdiv_set_rate()
86 writel_relaxed(data, dclk->reg); in hi6220_clkdiv_set_rate()
[all …]
/linux-6.3-rc2/drivers/siox/
A Dsiox-bus-gpio.c20 struct gpio_desc *dclk; member
38 gpiod_set_value_cansleep(ddata->dclk, 0); in siox_gpio_pushpull()
60 gpiod_set_value_cansleep(ddata->dclk, 1); in siox_gpio_pushpull()
62 gpiod_set_value_cansleep(ddata->dclk, 0); in siox_gpio_pushpull()
117 ddata->dclk = devm_gpiod_get(dev, "dclk", GPIOD_OUT_LOW); in siox_gpio_probe()
118 if (IS_ERR(ddata->dclk)) { in siox_gpio_probe()
119 ret = dev_err_probe(dev, PTR_ERR(ddata->dclk), in siox_gpio_probe()
/linux-6.3-rc2/Documentation/devicetree/bindings/display/
A Dsolomon,ssd1307fb.yaml115 solomon,dclk-div:
122 solomon,dclk-frq:
162 solomon,dclk-div:
164 solomon,dclk-frq:
176 solomon,dclk-div:
178 solomon,dclk-frq:
190 solomon,dclk-div:
192 solomon,dclk-frq:
204 solomon,dclk-div:
206 solomon,dclk-frq:
[all …]
/linux-6.3-rc2/drivers/clk/
A Dclk-lmk04832.c261 struct lmk_dclk *dclk; member
1008 struct lmk04832 *lmk = dclk->lmk; in lmk04832_dclk_is_enabled()
1023 struct lmk04832 *lmk = dclk->lmk; in lmk04832_dclk_prepare()
1033 struct lmk04832 *lmk = dclk->lmk; in lmk04832_dclk_unprepare()
1044 struct lmk04832 *lmk = dclk->lmk; in lmk04832_dclk_recalc_rate()
1070 struct lmk04832 *lmk = dclk->lmk; in lmk04832_dclk_round_rate()
1092 struct lmk04832 *lmk = dclk->lmk; in lmk04832_dclk_set_rate()
1303 lmk->dclk[dclk_num].id = num; in lmk04832_register_clkout()
1304 lmk->dclk[dclk_num].lmk = lmk; in lmk04832_register_clkout()
1305 lmk->dclk[dclk_num].hw.init = &init; in lmk04832_register_clkout()
[all …]
/linux-6.3-rc2/drivers/video/fbdev/riva/
A Dnv_driver.c276 unsigned long dclk = 0; in riva_get_maxdclk() local
286 dclk = 800000; in riva_get_maxdclk()
288 dclk = 1000000; in riva_get_maxdclk()
294 dclk = 1000000; in riva_get_maxdclk()
303 dclk = 800000; in riva_get_maxdclk()
306 dclk = 1000000; in riva_get_maxdclk()
311 return dclk; in riva_get_maxdclk()
/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Dintel_bw.c22 u16 dclk, t_rp, t_rdpre, t_rc, t_ras, t_rcd; member
57 sp->dclk *= 2; in dg1_mchbar_read_qgv_point_info()
59 if (sp->dclk == 0) in dg1_mchbar_read_qgv_point_info()
80 u16 dclk; in icl_pcode_read_qgv_point_info() local
89 dclk = val & 0xffff; in icl_pcode_read_qgv_point_info()
90 sp->dclk = DIV_ROUND_UP((16667 * dclk) + (DISPLAY_VER(dev_priv) > 11 ? 500 : 0), 1000); in icl_pcode_read_qgv_point_info()
146 u16 dclk; in mtl_read_qgv_point_info() local
153 sp->dclk = DIV_ROUND_UP((16667 * dclk), 1000); in mtl_read_qgv_point_info()
297 u16 dclk = 0; in icl_sagv_max_dclk() local
301 dclk = max(dclk, qi->points[i].dclk); in icl_sagv_max_dclk()
[all …]
/linux-6.3-rc2/sound/soc/meson/
A Daxg-pdm.c94 struct clk *dclk; member
188 clk_get_rate(priv->dclk) * 2); in axg_pdm_set_sample_pointer()
253 ret = clk_set_rate(priv->dclk, rate * os); in axg_pdm_hw_params()
276 ret = clk_prepare_enable(priv->dclk); in axg_pdm_startup()
294 clk_disable_unprepare(priv->dclk); in axg_pdm_shutdown()
618 priv->dclk = devm_clk_get(dev, "dclk"); in axg_pdm_probe()
619 if (IS_ERR(priv->dclk)) in axg_pdm_probe()
620 return dev_err_probe(dev, PTR_ERR(priv->dclk), "failed to get dclk\n"); in axg_pdm_probe()
/linux-6.3-rc2/Documentation/devicetree/bindings/siox/
A Deckelmann,siox-gpio.txt5 - din-gpios, dout-gpios, dclk-gpios, dld-gpios: references gpios for the
17 dclk-gpios = <&gpio6 9 0>;
/linux-6.3-rc2/drivers/video/fbdev/core/
A Dfbmon.c1017 u32 dclk; member
1109 dclk /= 1000; in fb_get_hblank_by_dclk()
1112 h_period += (M_VAL * xres * 2 * 1000)/(5 * dclk); in fb_get_hblank_by_dclk()
1156 timings->dclk = timings->htotal * timings->hfreq; in fb_timings_vfreq()
1167 timings->dclk = timings->htotal * timings->hfreq; in fb_timings_hfreq()
1175 timings->hfreq = timings->dclk/timings->htotal; in fb_timings_dclk()
1267 if (timings->dclk > dclkmax) { in fb_get_mode()
1268 timings->dclk = dclkmax; in fb_get_mode()
1281 timings->dclk = PICOS2KHZ(val) * 1000; in fb_get_mode()
1292 timings->dclk < dclkmin || timings->dclk > dclkmax))) { in fb_get_mode()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Drs780_dpm.c571 (new_ps->dclk == old_ps->dclk)) 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()
588 (new_ps->dclk == old_ps->dclk)) 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()
728 rps->dclk = le32_to_cpu(non_clock_info->ulDCLK); in rs780_parse_pplib_non_clock_info()
731 rps->dclk = 0; in rs780_parse_pplib_non_clock_info()
735 if ((rps->vclk == 0) || (rps->dclk == 0)) { in rs780_parse_pplib_non_clock_info()
737 rps->dclk = RS780_DEFAULT_DCLK_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()
A Dtrinity_dpm.c854 if ((rps->vclk == 0) && (rps->dclk == 0)) in trinity_uvd_clocks_zero()
867 (rps1->dclk == rps2->dclk) && 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()
1415 (rps->dclk == pi->sys_info.uvd_clock_table_entries[i].dclk)) in trinity_get_uvd_clock_index()
1649 rps->dclk = le32_to_cpu(non_clock_info->ulDCLK); in trinity_parse_pplib_non_clock_info()
1652 rps->dclk = 0; in trinity_parse_pplib_non_clock_info()
1892 pi->sys_info.uvd_clock_table_entries[i].dclk = in trinity_parse_sys_info_table()
1975 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in trinity_dpm_print_power_state()
2000 seq_printf(m, "uvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in trinity_dpm_debugfs_print_current_performance_level()
A Dsumo_dpm.c824 radeon_set_uvd_clocks(rdev, new_rps->vclk, new_rps->dclk); in sumo_setup_uvd_clocks()
841 (new_rps->dclk == old_rps->dclk)) in sumo_set_uvd_clock_before_set_eng_clock()
859 (new_rps->dclk == old_rps->dclk)) in sumo_set_uvd_clock_after_set_eng_clock()
1415 rps->dclk = le32_to_cpu(non_clock_info->ulDCLK); in sumo_parse_pplib_non_clock_info()
1418 rps->dclk = 0; in sumo_parse_pplib_non_clock_info()
1802 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in sumo_dpm_print_power_state()
1825 seq_printf(m, "uvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in sumo_dpm_debugfs_print_current_performance_level()
1833 seq_printf(m, "uvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in sumo_dpm_debugfs_print_current_performance_level()
A Dtrinity_dpm.h70 u32 dclk; member
A Drv770_dpm.c1441 (new_ps->dclk == old_ps->dclk)) 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()
1458 (new_ps->dclk == old_ps->dclk)) 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()
2156 rps->dclk = le32_to_cpu(non_clock_info->ulDCLK); in rv7xx_parse_pplib_non_clock_info()
2159 rps->dclk = 0; in rv7xx_parse_pplib_non_clock_info()
2163 if ((rps->vclk == 0) || (rps->dclk == 0)) { in rv7xx_parse_pplib_non_clock_info()
2165 rps->dclk = RV770_DEFAULT_DCLK_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()
A Drv6xx_dpm.c1519 (new_ps->dclk == old_ps->dclk)) in rv6xx_set_uvd_clock_before_set_eng_clock()
1525 radeon_set_uvd_clocks(rdev, new_ps->vclk, new_ps->dclk); in rv6xx_set_uvd_clock_before_set_eng_clock()
1536 (new_ps->dclk == old_ps->dclk)) in rv6xx_set_uvd_clock_after_set_eng_clock()
1542 radeon_set_uvd_clocks(rdev, new_ps->vclk, new_ps->dclk); in rv6xx_set_uvd_clock_after_set_eng_clock()
1804 rps->dclk = RV6XX_DEFAULT_DCLK_FREQ; in rv6xx_parse_pplib_non_clock_info()
1807 rps->dclk = 0; in rv6xx_parse_pplib_non_clock_info()
2015 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in rv6xx_dpm_print_power_state()
2047 seq_printf(m, "uvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in rv6xx_dpm_debugfs_print_current_performance_level()
/linux-6.3-rc2/Documentation/devicetree/bindings/sound/
A Damlogic,axg-pdm.yaml37 - const: dclk
81 clock-names = "pclk", "dclk", "sysclk";
/linux-6.3-rc2/sound/soc/intel/skylake/
A Dskl-ssp-clk.c278 static void unregister_src_clk(struct skl_clk_data *dclk) in unregister_src_clk() argument
280 while (dclk->avail_clk_cnt--) in unregister_src_clk()
281 clkdev_drop(dclk->clk[dclk->avail_clk_cnt]->lookup); in unregister_src_clk()
/linux-6.3-rc2/arch/arm/boot/dts/
A Ddra7xx-clocks.dtsi353 mpu_dclk_div: clock-mpu-dclk-div {
446 iva_dclk: clock-iva-dclk {
567 video2_dclk_div: clock-video2-dclk-div {
576 video1_dclk_div: clock-video1-dclk-div {
585 hdmi_dclk_div: clock-hdmi-dclk-div {
650 eve_dclk_div: clock-eve-dclk-div {
1031 gpu_dclk: clock-gpu-dclk@1a0 {
1090 sata_dclk_div: clock-sata-dclk-div@1c0 {
1100 pcie2_dclk_div: clock-pcie2-dclk-div@1b8 {
1110 pcie_dclk_div: clock-pcie-dclk-div@1b4 {
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/display/rockchip/
A Drockchip-vop.yaml70 - const: dclk
117 reset-names = "axi", "ahb", "dclk";
/linux-6.3-rc2/drivers/gpu/drm/rockchip/
A Drockchip_drm_vop.c178 struct clk *dclk; member
615 ret = clk_enable(vop->dclk); in vop_enable()
683 clk_disable(vop->dclk); in vop_enable()
756 clk_disable(vop->dclk); in vop_crtc_atomic_disable()
1212 rate = clk_round_rate(vop->dclk, in vop_crtc_mode_fixup()
1980 vop->dclk = devm_clk_get(vop->dev, "dclk_vop"); in vop_initial()
1981 if (IS_ERR(vop->dclk)) { in vop_initial()
1983 return PTR_ERR(vop->dclk); in vop_initial()
1992 ret = clk_prepare(vop->dclk); in vop_initial()
2072 clk_unprepare(vop->dclk); in vop_initial()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
A Dhwmgr_ppt.h59 uint32_t dclk; /* UVD D-clock */ member
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/powerplay/inc/
A Dpower_state.h184 unsigned long dclk; member
/linux-6.3-rc2/include/linux/mfd/
A Dsi476x-platform.h121 enum si476x_dclk_config dclk; member
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
A Ddcn301_smu.h39 uint32_t dclk; member

Completed in 66 milliseconds

12345