addr_ctx
struct addr_ctx ctx;
static int addr_over_limit(struct addr_ctx *ctx)
static bool legacy_hole_en(struct addr_ctx *ctx)
static u64 add_legacy_hole(struct addr_ctx *ctx, u64 addr)
static u64 remove_legacy_hole(struct addr_ctx *ctx, u64 addr)
static u64 get_base_addr(struct addr_ctx *ctx)
u64 add_base_and_hole(struct addr_ctx *ctx, u64 addr)
u64 remove_base_and_hole(struct addr_ctx *ctx, u64 addr)
static bool late_hole_remove(struct addr_ctx *ctx)
static int df4_dehash_addr(struct addr_ctx *ctx)
static int df2_dehash_addr(struct addr_ctx *ctx)
static int df4p5_dehash_addr(struct addr_ctx *ctx)
static int mi300_dehash_addr(struct addr_ctx *ctx)
static int df3_dehash_addr(struct addr_ctx *ctx)
int dehash_address(struct addr_ctx *ctx)
static int df3_6chan_dehash_addr(struct addr_ctx *ctx)
static int init_df4p5_denorm_ctx(struct addr_ctx *ctx, struct df4p5_denorm_ctx *denorm_ctx)
static u64 make_space_for_coh_st_id(struct addr_ctx *ctx)
static int denorm_addr_df4p5_np2(struct addr_ctx *ctx)
int denormalize_address(struct addr_ctx *ctx)
static u16 get_coh_st_id_df2(struct addr_ctx *ctx)
static u16 get_dst_fabric_id(struct addr_ctx *ctx)
static u16 get_coh_st_id_df4(struct addr_ctx *ctx)
static u16 get_coh_st_id_mi300(struct addr_ctx *ctx)
static u16 calculate_coh_st_id(struct addr_ctx *ctx)
static u64 insert_coh_st_id_at_intlv_bit(struct addr_ctx *ctx, u64 denorm_addr, u16 coh_st_id)
static u64 insert_coh_st_id_split_2_1(struct addr_ctx *ctx, u64 denorm_addr, u16 coh_st_id)
static u64 insert_coh_st_id_split_2_2(struct addr_ctx *ctx, u64 denorm_addr, u16 coh_st_id)
static u64 insert_coh_st_id(struct addr_ctx *ctx, u64 denorm_addr, u16 coh_st_id)
static u16 get_logical_coh_st_fabric_id_mi300(struct addr_ctx *ctx)
static u16 get_logical_coh_st_fabric_id(struct addr_ctx *ctx)
static u64 make_space_for_coh_st_id_at_intlv_bit(struct addr_ctx *ctx)
static u16 get_logical_coh_st_fabric_id_for_current_spa(struct addr_ctx *ctx,
static int denorm_addr_common(struct addr_ctx *ctx)
static int denorm_addr_df3_6chan(struct addr_ctx *ctx)
static int denorm_addr_df4_np2(struct addr_ctx *ctx)
static u64 make_space_for_coh_st_id_split_2_1(struct addr_ctx *ctx)
static u64 normalize_addr_df4p5_np2(struct addr_ctx *ctx, struct df4p5_denorm_ctx *denorm_ctx,
static void recalculate_hashed_bits_df4p5_np2(struct addr_ctx *ctx,
static u64 make_space_for_coh_st_id_mi300(struct addr_ctx *ctx)
static bool match_logical_coh_st_fabric_id(struct addr_ctx *ctx,
static bool match_norm_addr(struct addr_ctx *ctx, struct df4p5_denorm_ctx *denorm_ctx)
static int check_permutations(struct addr_ctx *ctx, struct df4p5_denorm_ctx *denorm_ctx)
int determine_node_id(struct addr_ctx *ctx, u8 socket_num, u8 die_num);
int get_address_map(struct addr_ctx *ctx);
int denormalize_address(struct addr_ctx *ctx);
int dehash_address(struct addr_ctx *ctx);
u64 add_base_and_hole(struct addr_ctx *ctx, u64 addr);
u64 remove_base_and_hole(struct addr_ctx *ctx, u64 addr);
static inline void atl_debug_on_bad_intlv_mode(struct addr_ctx *ctx)
static int get_dram_offset(struct addr_ctx *ctx, u64 *norm_offset)
static int df2_get_intlv_mode(struct addr_ctx *ctx)
static int df3_6ch_get_dram_addr_map(struct addr_ctx *ctx)
static int df2_get_dram_addr_map(struct addr_ctx *ctx)
static int df3_get_dram_addr_map(struct addr_ctx *ctx)
static int df4_get_dram_addr_map(struct addr_ctx *ctx)
static int df4p5_get_dram_addr_map(struct addr_ctx *ctx)
static int df3_get_intlv_mode(struct addr_ctx *ctx)
static int df3p5_get_intlv_mode(struct addr_ctx *ctx)
static int get_dram_addr_map(struct addr_ctx *ctx)
static int get_coh_st_fabric_id(struct addr_ctx *ctx)
static int find_normalized_offset(struct addr_ctx *ctx, u64 *norm_offset)
static bool valid_map(struct addr_ctx *ctx)
static int get_address_map_common(struct addr_ctx *ctx)
static int df4_get_intlv_mode(struct addr_ctx *ctx)
static u8 get_num_intlv_chan(struct addr_ctx *ctx)
static void calculate_intlv_bits(struct addr_ctx *ctx)
static u8 get_intlv_bit_pos(struct addr_ctx *ctx)
static u8 get_num_intlv_dies(struct addr_ctx *ctx)
static int df4p5_get_intlv_mode(struct addr_ctx *ctx)
static u8 get_num_intlv_sockets(struct addr_ctx *ctx)
static int get_global_map_data(struct addr_ctx *ctx)
static inline bool map_bits_valid(struct addr_ctx *ctx, u8 bit1, u8 bit2,
static int validate_address_map(struct addr_ctx *ctx)
int get_address_map(struct addr_ctx *ctx)
static int get_intlv_mode(struct addr_ctx *ctx)
int determine_node_id(struct addr_ctx *ctx, u8 socket_id, u8 die_id)