summaryrefslogtreecommitdiff
path: root/arch/mips/mach-octeon/include/mach/cvmx-dbg-defs.h
blob: 9f91feec18b7e4a04eba47c11d4afb92abff9752 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2020 Marvell International Ltd.
 *
 * Configuration and status register (CSR) type definitions for
 * Octeon dbg.
 */

#ifndef __CVMX_DBG_DEFS_H__
#define __CVMX_DBG_DEFS_H__

#define CVMX_DBG_DATA (0x00011F00000001E8ull)

/**
 * cvmx_dbg_data
 *
 * DBG_DATA = Debug Data Register
 *
 * Value returned on the debug-data lines from the RSLs
 */
union cvmx_dbg_data {
	u64 u64;
	struct cvmx_dbg_data_s {
		u64 reserved_23_63 : 41;
		u64 c_mul : 5;
		u64 dsel_ext : 1;
		u64 data : 17;
	} s;
};

typedef union cvmx_dbg_data cvmx_dbg_data_t;

#endif