#include "reg_helper.h"
#include "resource.h"
#include "dwb.h"
#include "dcn30_dwb.h"
#define REG(reg) …
#define CTX …
#undef FN
#define FN(reg_name, field_name) …
#define DC_LOGGER …
static bool dwb3_get_caps(struct dwbc *dwbc, struct dwb_caps *caps)
{ … }
void dwb3_config_fc(struct dwbc *dwbc, struct dc_dwb_params *params)
{ … }
bool dwb3_enable(struct dwbc *dwbc, struct dc_dwb_params *params)
{ … }
bool dwb3_disable(struct dwbc *dwbc)
{ … }
void dwb3_set_fc_enable(struct dwbc *dwbc, enum dwb_frame_capture_enable enable)
{ … }
bool dwb3_update(struct dwbc *dwbc, struct dc_dwb_params *params)
{ … }
bool dwb3_is_enabled(struct dwbc *dwbc)
{ … }
void dwb3_set_stereo(struct dwbc *dwbc,
struct dwb_stereo_params *stereo_params)
{ … }
void dwb3_set_new_content(struct dwbc *dwbc,
bool is_new_content)
{ … }
void dwb3_set_denorm(struct dwbc *dwbc, struct dc_dwb_params *params)
{ … }
static const struct dwbc_funcs dcn30_dwbc_funcs = …;
void dcn30_dwbc_construct(struct dcn30_dwbc *dwbc30,
struct dc_context *ctx,
const struct dcn30_dwbc_registers *dwbc_regs,
const struct dcn30_dwbc_shift *dwbc_shift,
const struct dcn30_dwbc_mask *dwbc_mask,
int inst)
{ … }
void dwb3_set_host_read_rate_control(struct dwbc *dwbc, bool host_read_delay)
{ … }