Home
last modified time | relevance | path

Searched refs:lclk (Results 1 – 16 of 16) sorted by relevance

/Linux-v6.1/drivers/clk/
Dclk-lochnagar.c147 struct lochnagar_clk *lclk = lochnagar_hw_to_lclk(hw); in lochnagar_clk_prepare() local
148 struct lochnagar_clk_priv *priv = lclk->priv; in lochnagar_clk_prepare()
152 ret = regmap_update_bits(regmap, lclk->cfg_reg, in lochnagar_clk_prepare()
153 lclk->ena_mask, lclk->ena_mask); in lochnagar_clk_prepare()
156 lclk->name, ret); in lochnagar_clk_prepare()
163 struct lochnagar_clk *lclk = lochnagar_hw_to_lclk(hw); in lochnagar_clk_unprepare() local
164 struct lochnagar_clk_priv *priv = lclk->priv; in lochnagar_clk_unprepare()
168 ret = regmap_update_bits(regmap, lclk->cfg_reg, lclk->ena_mask, 0); in lochnagar_clk_unprepare()
171 lclk->name, ret); in lochnagar_clk_unprepare()
176 struct lochnagar_clk *lclk = lochnagar_hw_to_lclk(hw); in lochnagar_clk_set_parent() local
[all …]
/Linux-v6.1/drivers/gpu/drm/msm/dp/
Ddp_debug.c37 u64 lclk = 0; in dp_debug_show() local
85 lclk = debug->link->link_params.rate * 1000; in dp_debug_show()
86 seq_printf(seq, "\t\tlclk = %lld\n", lclk); in dp_debug_show()
Ddp_ctrl.c43 u64 lclk; /* 162, 270, 540 and 810 */ member
314 tu->lclk_fp = drm_fixp_from_fraction(in->lclk, 1); in dp_panel_update_tu_timings()
949 in.lclk = ctrl->link->link_params.rate / 1000; in dp_ctrl_calc_tu_parameters()
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Darcturus_ppt.h56 uint32_t lclk[MAX_PCIE_CONF]; member
Dsmu_v11_0.c648 &smu->smu_table.boot_values.lclk); in smu_v11_0_get_vbios_bootup_values()
Darcturus_ppt.c937 smu->smu_table.boot_values.lclk / 100); in arcturus_print_clk_levels()
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Daldebaran_ppt.h56 uint32_t lclk[ALDEBARAN_MAX_PCIE_CONF]; member
/Linux-v6.1/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc.c67 int (*calc_scaling) (unsigned long pclk, unsigned long lclk,
2104 static int check_horiz_timing_omap3(unsigned long pclk, unsigned long lclk, in check_horiz_timing_omap3() argument
2122 blank = div_u64((u64)(t->hbp + t->hsw + t->hfp) * lclk, pclk); in check_horiz_timing_omap3()
2136 val = div_u64((u64)(nonactive - pos_x) * lclk, pclk); in check_horiz_timing_omap3()
2147 val = div_u64((u64)nonactive * lclk, pclk); in check_horiz_timing_omap3()
2249 static int dispc_ovl_calc_scaling_24xx(unsigned long pclk, unsigned long lclk, in dispc_ovl_calc_scaling_24xx() argument
2295 static int dispc_ovl_calc_scaling_34xx(unsigned long pclk, unsigned long lclk, in dispc_ovl_calc_scaling_34xx() argument
2326 error = check_horiz_timing_omap3(pclk, lclk, mgr_timings, in dispc_ovl_calc_scaling_34xx()
2361 if (check_horiz_timing_omap3(pclk, lclk, mgr_timings, pos_x, in_width, in dispc_ovl_calc_scaling_34xx()
2380 static int dispc_ovl_calc_scaling_44xx(unsigned long pclk, unsigned long lclk, in dispc_ovl_calc_scaling_44xx() argument
[all …]
/Linux-v6.1/drivers/gpu/drm/omapdrm/dss/
Ddispc.c103 unsigned long pclk, unsigned long lclk,
2144 static int check_horiz_timing_omap3(unsigned long pclk, unsigned long lclk, in check_horiz_timing_omap3() argument
2164 lclk, pclk); in check_horiz_timing_omap3()
2178 val = div_u64((u64)(nonactive - pos_x) * lclk, pclk); in check_horiz_timing_omap3()
2189 val = div_u64((u64)nonactive * lclk, pclk); in check_horiz_timing_omap3()
2292 unsigned long pclk, unsigned long lclk, in dispc_ovl_calc_scaling_24xx() argument
2341 unsigned long pclk, unsigned long lclk, in dispc_ovl_calc_scaling_34xx() argument
2374 error = check_horiz_timing_omap3(pclk, lclk, vm, in dispc_ovl_calc_scaling_34xx()
2409 if (check_horiz_timing_omap3(pclk, lclk, vm, pos_x, in_width, in dispc_ovl_calc_scaling_34xx()
2429 unsigned long pclk, unsigned long lclk, in dispc_ovl_calc_scaling_44xx() argument
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega10_hwmgr.h143 uint32_t lclk[MAX_PCIE_CONF]; member
Dvega12_hwmgr.h122 uint32_t lclk[MAX_PCIE_CONF]; member
Dvega20_hwmgr.h174 uint32_t lclk[MAX_PCIE_CONF]; member
Dvega10_hwmgr.c1277 pcie_table->lclk[i] = in vega10_setup_default_pcie_table()
1280 pcie_table->lclk[i] = in vega10_setup_default_pcie_table()
1573 pcie_table->lclk[i], &(pp_table->LclkDid[i])); in vega10_populate_smc_link_levels()
1586 pcie_table->lclk[j], &(pp_table->LclkDid[i])); in vega10_populate_smc_link_levels()
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu12/
Dsmu_v12_0.c404 &smu->smu_table.boot_values.lclk); in smu_v12_0_get_vbios_bootup_values()
/Linux-v6.1/drivers/video/fbdev/
Dpxafb.c1238 unsigned long lclk = clk_get_rate(fbi->clk); in setup_smart_timing() local
1248 LCCR1_BegLnDel(__smart_timing(t1, lclk)) | in setup_smart_timing()
1249 LCCR1_EndLnDel(__smart_timing(t2, lclk)) | in setup_smart_timing()
1250 LCCR1_HorSnchWdth(__smart_timing(t3, lclk)); in setup_smart_timing()
1253 fbi->reg_lccr3 = fbi->lccr3 | LCCR3_PixClkDiv(__smart_timing(t4, lclk)); in setup_smart_timing()
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h303 uint32_t lclk; member