linux/drivers/ras/amd/atl/system.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * AMD Address Translation Library
 *
 * system.c : Functions to read and save system-wide data
 *
 * Copyright (c) 2023, Advanced Micro Devices, Inc.
 * All Rights Reserved.
 *
 * Author: Yazen Ghannam <[email protected]>
 */

#include "internal.h"

int determine_node_id(struct addr_ctx *ctx, u8 socket_id, u8 die_id)
{}

static void df2_get_masks_shifts(u32 mask0)
{}

static void df3_get_masks_shifts(u32 mask0, u32 mask1)
{}

static void df3p5_get_masks_shifts(u32 mask0, u32 mask1, u32 mask2)
{}

static void df4_get_masks_shifts(u32 mask0, u32 mask1, u32 mask2)
{}

static int df4_get_fabric_id_mask_registers(void)
{}

static int df4_determine_df_rev(u32 reg)
{}

static int determine_df_rev_legacy(void)
{}

static int determine_df_rev(void)
{}

static int get_dram_hole_base(void)
{}

static void get_num_maps(void)
{}

static void apply_node_id_shift(void)
{}

static void dump_df_cfg(void)
{}

int get_df_system_info(void)
{}