#include "reg_helper.h"
#include "core_types.h"
#include "dcn31_dccg.h"
#include "dal_asic_id.h"
#define TO_DCN_DCCG(dccg) …
#define REG(reg) …
#undef FN
#define FN(reg_name, field_name) …
#define CTX …
#define DC_LOGGER …
void dccg31_update_dpp_dto(struct dccg *dccg, int dpp_inst, int req_dppclk)
{ … }
static enum phyd32clk_clock_source get_phy_mux_symclk(
struct dcn_dccg *dccg_dcn,
enum phyd32clk_clock_source src)
{ … }
static void dccg31_enable_dpstreamclk(struct dccg *dccg, int otg_inst)
{ … }
static void dccg31_disable_dpstreamclk(struct dccg *dccg, int otg_inst)
{ … }
void dccg31_set_dpstreamclk(
struct dccg *dccg,
enum streamclk_source src,
int otg_inst,
int dp_hpo_inst)
{ … }
void dccg31_enable_symclk32_se(
struct dccg *dccg,
int hpo_se_inst,
enum phyd32clk_clock_source phyd32clk)
{ … }
void dccg31_disable_symclk32_se(
struct dccg *dccg,
int hpo_se_inst)
{ … }
void dccg31_enable_symclk32_le(
struct dccg *dccg,
int hpo_le_inst,
enum phyd32clk_clock_source phyd32clk)
{ … }
void dccg31_disable_symclk32_le(
struct dccg *dccg,
int hpo_le_inst)
{ … }
void dccg31_set_symclk32_le_root_clock_gating(
struct dccg *dccg,
int hpo_le_inst,
bool enable)
{ … }
void dccg31_disable_dscclk(struct dccg *dccg, int inst)
{ … }
void dccg31_enable_dscclk(struct dccg *dccg, int inst)
{ … }
void dccg31_set_physymclk(
struct dccg *dccg,
int phy_inst,
enum physymclk_clock_source clk_src,
bool force_enable)
{ … }
void dccg31_set_dtbclk_dto(
struct dccg *dccg,
const struct dtbclk_dto_params *params)
{ … }
void dccg31_set_audio_dtbclk_dto(
struct dccg *dccg,
const struct dtbclk_dto_params *params)
{ … }
void dccg31_get_dccg_ref_freq(struct dccg *dccg,
unsigned int xtalin_freq_inKhz,
unsigned int *dccg_ref_freq_inKhz)
{ … }
void dccg31_set_dispclk_change_mode(
struct dccg *dccg,
enum dentist_dispclk_change_mode change_mode)
{ … }
void dccg31_init(struct dccg *dccg)
{ … }
void dccg31_otg_add_pixel(struct dccg *dccg,
uint32_t otg_inst)
{ … }
void dccg31_otg_drop_pixel(struct dccg *dccg,
uint32_t otg_inst)
{ … }
static const struct dccg_funcs dccg31_funcs = …;
struct dccg *dccg31_create(
struct dc_context *ctx,
const struct dccg_registers *regs,
const struct dccg_shift *dccg_shift,
const struct dccg_mask *dccg_mask)
{ … }