#ifndef __DCE_MEM_INPUT_H__
#define __DCE_MEM_INPUT_H__
#include "dc_hw_types.h"
#include "mem_input.h"
#define TO_DCE_MEM_INPUT(mem_input) …
#define MI_DCE_BASE_REG_LIST(id) …
#define MI_DCE_PTE_REG_LIST(id) …
#if defined(CONFIG_DRM_AMD_DC_SI)
#define MI_DCE6_REG_LIST(id) …
#endif
#define MI_DCE8_REG_LIST(id) …
#define MI_DCE11_2_REG_LIST(id) …
#define MI_DCE11_REG_LIST(id) …
#define MI_DCE12_REG_LIST(id) …
struct dce_mem_input_registers { … };
#define SFB(blk_name, reg_name, field_name, post_fix) …
#if defined(CONFIG_DRM_AMD_DC_SI)
#define MI_GFX6_TILE_MASK_SH_LIST(mask_sh, blk) …
#endif
#define MI_GFX8_TILE_MASK_SH_LIST(mask_sh, blk) …
#define MI_DCP_MASK_SH_LIST(mask_sh, blk) …
#if defined(CONFIG_DRM_AMD_DC_SI)
#define MI_DCP_MASK_SH_LIST_DCE6(mask_sh, blk) …
#endif
#define MI_DCP_DCE11_MASK_SH_LIST(mask_sh, blk) …
#define MI_DCP_PTE_MASK_SH_LIST(mask_sh, blk) …
#if defined(CONFIG_DRM_AMD_DC_SI)
#define MI_DMIF_PG_MASK_SH_LIST_DCE6(mask_sh, blk) …
#define MI_DMIF_PG_MASK_SH_DCE6(mask_sh, blk) …
#define MI_DCE6_MASK_SH_LIST(mask_sh) …
#endif
#define MI_DMIF_PG_MASK_SH_LIST(mask_sh, blk) …
#define MI_DMIF_PG_MASK_SH_DCE(mask_sh, blk) …
#define MI_DCE8_MASK_SH_LIST(mask_sh) …
#define MI_DCE11_2_MASK_SH_LIST(mask_sh) …
#define MI_DCE11_MASK_SH_LIST(mask_sh) …
#define MI_GFX9_TILE_MASK_SH_LIST(mask_sh, blk) …
#define MI_DCE12_DMIF_PG_MASK_SH_LIST(mask_sh, blk) …
#define MI_GFX9_DCHUB_MASK_SH_LIST(mask_sh) …
#define MI_DCE12_MASK_SH_LIST(mask_sh) …
#define MI_REG_FIELD_LIST(type) … \
struct dce_mem_input_shift { … };
struct dce_mem_input_mask { … };
struct dce_mem_input_wa { … };
struct dce_mem_input { … };
void dce_mem_input_construct(
struct dce_mem_input *dce_mi,
struct dc_context *ctx,
int inst,
const struct dce_mem_input_registers *regs,
const struct dce_mem_input_shift *mi_shift,
const struct dce_mem_input_mask *mi_mask);
#if defined(CONFIG_DRM_AMD_DC_SI)
void dce60_mem_input_construct(
struct dce_mem_input *dce_mi,
struct dc_context *ctx,
int inst,
const struct dce_mem_input_registers *regs,
const struct dce_mem_input_shift *mi_shift,
const struct dce_mem_input_mask *mi_mask);
#endif
void dce112_mem_input_construct(
struct dce_mem_input *dce_mi,
struct dc_context *ctx,
int inst,
const struct dce_mem_input_registers *regs,
const struct dce_mem_input_shift *mi_shift,
const struct dce_mem_input_mask *mi_mask);
void dce120_mem_input_construct(
struct dce_mem_input *dce_mi,
struct dc_context *ctx,
int inst,
const struct dce_mem_input_registers *regs,
const struct dce_mem_input_shift *mi_shift,
const struct dce_mem_input_mask *mi_mask);
#endif