linux/arch/x86/include/asm/uv/uv_geo.h

/* SPDX-License-Identifier: GPL-2.0-or-later
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Copyright (C) 2020 Hewlett Packard Enterprise Development LP. All rights reserved.
 */

#ifndef _ASM_UV_GEO_H
#define _ASM_UV_GEO_H

/* Type declarations */

/* Size of a geoid_s structure (must be before decl. of geoid_u) */
#define GEOID_SIZE

/* Fields common to all substructures */
struct geo_common_s {};

/* Additional fields for particular types of hardware */
struct geo_node_s {};

struct geo_rtr_s {};

struct geo_iocntl_s {};

struct geo_pcicard_s {};

/* Subcomponents of a node */
struct geo_cpu_s {};

struct geo_mem_s {};

geoid_u;

/* Defined constants */

#define GEO_MAX_LEN

#define GEO_TYPE_INVALID
#define GEO_TYPE_MODULE
#define GEO_TYPE_NODE
#define GEO_TYPE_RTR
#define GEO_TYPE_IOCNTL
#define GEO_TYPE_IOCARD
#define GEO_TYPE_CPU
#define GEO_TYPE_MEM
#define GEO_TYPE_MAX

static inline int geo_rack(union geoid_u g)
{}

static inline int geo_slot(union geoid_u g)
{}

static inline int geo_blade(union geoid_u g)
{}

#endif /* _ASM_UV_GEO_H */