Home
last modified time | relevance | path

Searched refs:regs_and_bypass (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
Dvg_clk_mgr.c239 static void vg_dump_clk_registers(struct clk_state_registers_and_bypass *regs_and_bypass, in vg_dump_clk_registers() argument
249 regs_and_bypass->dcfclk = internal.CLK1_CLK3_CURRENT_CNT / 10; in vg_dump_clk_registers()
250 regs_and_bypass->dcf_deep_sleep_divider = internal.CLK1_CLK3_DS_CNTL / 10; in vg_dump_clk_registers()
251 regs_and_bypass->dcf_deep_sleep_allow = internal.CLK1_CLK3_ALLOW_DS; in vg_dump_clk_registers()
252 regs_and_bypass->dprefclk = internal.CLK1_CLK2_CURRENT_CNT / 10; in vg_dump_clk_registers()
253 regs_and_bypass->dispclk = internal.CLK1_CLK0_CURRENT_CNT / 10; in vg_dump_clk_registers()
254 regs_and_bypass->dppclk = internal.CLK1_CLK1_CURRENT_CNT / 10; in vg_dump_clk_registers()
256 regs_and_bypass->dppclk_bypass = internal.CLK1_CLK1_BYPASS_CNTL & 0x0007; in vg_dump_clk_registers()
257 if (regs_and_bypass->dppclk_bypass < 0 || regs_and_bypass->dppclk_bypass > 4) in vg_dump_clk_registers()
258 regs_and_bypass->dppclk_bypass = 0; in vg_dump_clk_registers()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
Drn_clk_mgr.c305 static void rn_dump_clk_registers(struct clk_state_registers_and_bypass *regs_and_bypass, in rn_dump_clk_registers() argument
315 regs_and_bypass->dcfclk = internal.CLK1_CLK3_CURRENT_CNT / 10; in rn_dump_clk_registers()
316 regs_and_bypass->dcf_deep_sleep_divider = internal.CLK1_CLK3_DS_CNTL / 10; in rn_dump_clk_registers()
317 regs_and_bypass->dcf_deep_sleep_allow = internal.CLK1_CLK3_ALLOW_DS; in rn_dump_clk_registers()
318 regs_and_bypass->dprefclk = internal.CLK1_CLK2_CURRENT_CNT / 10; in rn_dump_clk_registers()
319 regs_and_bypass->dispclk = internal.CLK1_CLK0_CURRENT_CNT / 10; in rn_dump_clk_registers()
320 regs_and_bypass->dppclk = internal.CLK1_CLK1_CURRENT_CNT / 10; in rn_dump_clk_registers()
322 regs_and_bypass->dppclk_bypass = internal.CLK1_CLK1_BYPASS_CNTL & 0x0007; in rn_dump_clk_registers()
323 if (regs_and_bypass->dppclk_bypass < 0 || regs_and_bypass->dppclk_bypass > 4) in rn_dump_clk_registers()
324 regs_and_bypass->dppclk_bypass = 0; in rn_dump_clk_registers()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
Ddcn32_clk_mgr.c503 static void dcn32_dump_clk_registers(struct clk_state_registers_and_bypass *regs_and_bypass, in dcn32_dump_clk_registers() argument
541 regs_and_bypass->dispclk = (DENTIST_DIVIDER_RANGE_SCALE_FACTOR in dcn32_dump_clk_registers()
547 regs_and_bypass->dppclk = (DENTIST_DIVIDER_RANGE_SCALE_FACTOR in dcn32_dump_clk_registers()
553 regs_and_bypass->dprefclk = (DENTIST_DIVIDER_RANGE_SCALE_FACTOR in dcn32_dump_clk_registers()
559 regs_and_bypass->dcfclk = (DENTIST_DIVIDER_RANGE_SCALE_FACTOR in dcn32_dump_clk_registers()
565 regs_and_bypass->dtbclk = (DENTIST_DIVIDER_RANGE_SCALE_FACTOR in dcn32_dump_clk_registers()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Dclk_mgr.h262 void (*dump_clk_registers)(struct clk_state_registers_and_bypass *regs_and_bypass,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/
Ddcn316_clk_mgr.c262 static void dcn316_dump_clk_registers(struct clk_state_registers_and_bypass *regs_and_bypass, in dcn316_dump_clk_registers() argument
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
Ddcn31_clk_mgr.c326 static void dcn31_dump_clk_registers(struct clk_state_registers_and_bypass *regs_and_bypass, in dcn31_dump_clk_registers() argument
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
Ddcn315_clk_mgr.c228 static void dcn315_dump_clk_registers(struct clk_state_registers_and_bypass *regs_and_bypass, in dcn315_dump_clk_registers() argument
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
Ddcn314_clk_mgr.c345 static void dcn314_dump_clk_registers(struct clk_state_registers_and_bypass *regs_and_bypass, in dcn314_dump_clk_registers() argument