/Linux-v5.4/drivers/clk/ |
D | clk-lochnagar.c | 147 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-v5.4/drivers/gpu/drm/amd/powerplay/ |
D | arcturus_ppt.h | 56 uint32_t lclk[MAX_PCIE_CONF]; member
|
D | vega20_ppt.h | 106 uint32_t lclk[MAX_PCIE_CONF]; member
|
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dispc.c | 67 int (*calc_scaling) (unsigned long pclk, unsigned long lclk, 2139 static int check_horiz_timing_omap3(unsigned long pclk, unsigned long lclk, in check_horiz_timing_omap3() argument 2157 blank = div_u64((u64)(t->hbp + t->hsw + t->hfp) * lclk, pclk); in check_horiz_timing_omap3() 2171 val = div_u64((u64)(nonactive - pos_x) * lclk, pclk); in check_horiz_timing_omap3() 2182 val = div_u64((u64)nonactive * lclk, pclk); in check_horiz_timing_omap3() 2284 static int dispc_ovl_calc_scaling_24xx(unsigned long pclk, unsigned long lclk, in dispc_ovl_calc_scaling_24xx() argument 2330 static int dispc_ovl_calc_scaling_34xx(unsigned long pclk, unsigned long lclk, in dispc_ovl_calc_scaling_34xx() argument 2361 error = check_horiz_timing_omap3(pclk, lclk, mgr_timings, in dispc_ovl_calc_scaling_34xx() 2396 if (check_horiz_timing_omap3(pclk, lclk, mgr_timings, pos_x, in_width, in dispc_ovl_calc_scaling_34xx() 2415 static int dispc_ovl_calc_scaling_44xx(unsigned long pclk, unsigned long lclk, in dispc_ovl_calc_scaling_44xx() argument [all …]
|
/Linux-v5.4/drivers/gpu/drm/omapdrm/dss/ |
D | dispc.c | 101 unsigned long pclk, unsigned long lclk, 2141 static int check_horiz_timing_omap3(unsigned long pclk, unsigned long lclk, in check_horiz_timing_omap3() argument 2161 lclk, pclk); in check_horiz_timing_omap3() 2175 val = div_u64((u64)(nonactive - pos_x) * lclk, pclk); in check_horiz_timing_omap3() 2186 val = div_u64((u64)nonactive * lclk, pclk); in check_horiz_timing_omap3() 2289 unsigned long pclk, unsigned long lclk, in dispc_ovl_calc_scaling_24xx() argument 2338 unsigned long pclk, unsigned long lclk, in dispc_ovl_calc_scaling_34xx() argument 2371 error = check_horiz_timing_omap3(pclk, lclk, vm, in dispc_ovl_calc_scaling_34xx() 2406 if (check_horiz_timing_omap3(pclk, lclk, vm, pos_x, in_width, in dispc_ovl_calc_scaling_34xx() 2426 unsigned long pclk, unsigned long lclk, in dispc_ovl_calc_scaling_44xx() argument [all …]
|
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | vega10_hwmgr.h | 143 uint32_t lclk[MAX_PCIE_CONF]; member
|
D | vega12_hwmgr.h | 122 uint32_t lclk[MAX_PCIE_CONF]; member
|
D | vega20_hwmgr.h | 174 uint32_t lclk[MAX_PCIE_CONF]; member
|
D | vega10_hwmgr.c | 1270 pcie_table->lclk[i] = in vega10_setup_default_pcie_table() 1273 pcie_table->lclk[i] = in vega10_setup_default_pcie_table() 1517 pcie_table->lclk[i], &(pp_table->LclkDid[i])); in vega10_populate_smc_link_levels() 1530 pcie_table->lclk[j], &(pp_table->LclkDid[i])); in vega10_populate_smc_link_levels()
|
/Linux-v5.4/drivers/video/fbdev/ |
D | pxafb.c | 1238 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()
|