Searched refs:addr_ctx (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/ras/amd/atl/ |
| H A D | map.c | 15 static int df2_get_intlv_mode(struct addr_ctx *ctx) in df2_get_intlv_mode() 30 static int df3_get_intlv_mode(struct addr_ctx *ctx) in df3_get_intlv_mode() 36 static int df3p5_get_intlv_mode(struct addr_ctx *ctx) in df3p5_get_intlv_mode() 46 static int df4_get_intlv_mode(struct addr_ctx *ctx) in df4_get_intlv_mode() 59 static int df4p5_get_intlv_mode(struct addr_ctx *ctx) in df4p5_get_intlv_mode() 80 static int get_intlv_mode(struct addr_ctx *ctx) in get_intlv_mode() 143 static int get_dram_offset(struct addr_ctx *ctx, u64 *norm_offset) in get_dram_offset() 182 static int df3_6ch_get_dram_addr_map(struct addr_ctx *ctx) in df3_6ch_get_dram_addr_map() 212 static int df2_get_dram_addr_map(struct addr_ctx *ctx) in df2_get_dram_addr_map() 227 static int df3_get_dram_addr_map(struct addr_ctx *ctx) in df3_get_dram_addr_map() [all …]
|
| H A D | core.c | 20 static int addr_over_limit(struct addr_ctx *ctx) in addr_over_limit() 42 static bool legacy_hole_en(struct addr_ctx *ctx) in legacy_hole_en() 52 static u64 add_legacy_hole(struct addr_ctx *ctx, u64 addr) in add_legacy_hole() 63 static u64 remove_legacy_hole(struct addr_ctx *ctx, u64 addr) in remove_legacy_hole() 74 static u64 get_base_addr(struct addr_ctx *ctx) in get_base_addr() 86 u64 add_base_and_hole(struct addr_ctx *ctx, u64 addr) in add_base_and_hole() 91 u64 remove_base_and_hole(struct addr_ctx *ctx, u64 addr) in remove_base_and_hole() 96 static bool late_hole_remove(struct addr_ctx *ctx) in late_hole_remove() 112 struct addr_ctx ctx; in norm_to_sys_addr()
|
| H A D | internal.h | 247 struct addr_ctx { struct 273 int determine_node_id(struct addr_ctx *ctx, u8 socket_num, u8 die_num); argument 276 int get_address_map(struct addr_ctx *ctx); 278 int denormalize_address(struct addr_ctx *ctx); 279 int dehash_address(struct addr_ctx *ctx); 284 u64 add_base_and_hole(struct addr_ctx *ctx, u64 addr); 285 u64 remove_base_and_hole(struct addr_ctx *ctx, u64 addr); 364 static inline void atl_debug_on_bad_intlv_mode(struct addr_ctx *ctx) in atl_debug_on_bad_intlv_mode()
|
| H A D | denormalize.c | 19 static u16 get_dst_fabric_id(struct addr_ctx *ctx) in get_dst_fabric_id() 44 static u64 make_space_for_coh_st_id_at_intlv_bit(struct addr_ctx *ctx) in make_space_for_coh_st_id_at_intlv_bit() 70 static u64 make_space_for_coh_st_id_split_2_1(struct addr_ctx *ctx) in make_space_for_coh_st_id_split_2_1() 94 static u64 make_space_for_coh_st_id_mi300(struct addr_ctx *ctx) in make_space_for_coh_st_id_mi300() 121 static u64 make_space_for_coh_st_id(struct addr_ctx *ctx) in make_space_for_coh_st_id() 156 static u16 get_coh_st_id_df2(struct addr_ctx *ctx) in get_coh_st_id_df2() 196 static u16 get_coh_st_id_df4(struct addr_ctx *ctx) in get_coh_st_id_df4() 256 static u16 get_coh_st_id_mi300(struct addr_ctx *ctx) in get_coh_st_id_mi300() 282 static u16 calculate_coh_st_id(struct addr_ctx *ctx) in calculate_coh_st_id() 323 static u64 insert_coh_st_id_at_intlv_bit(struct addr_ctx *ctx, u64 denorm_addr, u16 coh_st_id) in insert_coh_st_id_at_intlv_bit() [all …]
|
| H A D | dehash.c | 15 static int df2_dehash_addr(struct addr_ctx *ctx) in df2_dehash_addr() 34 static int df3_dehash_addr(struct addr_ctx *ctx) in df3_dehash_addr() 86 static int df3_6chan_dehash_addr(struct addr_ctx *ctx) in df3_6chan_dehash_addr() 135 static int df4_dehash_addr(struct addr_ctx *ctx) in df4_dehash_addr() 207 static int df4p5_dehash_addr(struct addr_ctx *ctx) in df4p5_dehash_addr() 317 static int mi300_dehash_addr(struct addr_ctx *ctx) in mi300_dehash_addr() 391 int dehash_address(struct addr_ctx *ctx) in dehash_address()
|
| H A D | system.c | 21 int determine_node_id(struct addr_ctx *ctx, u8 socket_id, u8 die_id) in determine_node_id()
|