Linux Audio

Check our new training course

Loading...
v5.4
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 * Copyright (C) 2005 MIPS Technologies, Inc.  All rights reserved.
 4 */
 5
 6#ifndef _ASM_MIPS_BOARDS_SIM_H
 7#define _ASM_MIPS_BOARDS_SIM_H
 8
 9#define STATS_ON	1
10#define STATS_OFF	2
11#define STATS_CLEAR	3
12#define STATS_DUMP	4
13#define TRACE_ON		5
14#define TRACE_OFF	6
15
16
17#define simcfg(code)						\
18({					   \
19	__asm__	 __volatile__( \
20	"sltiu $0,$0, %0" \
21		::"i"(code)					\
22		); \
23})
24
25
26
27#endif
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 * Copyright (C) 2005 MIPS Technologies, Inc.  All rights reserved.
 4 */
 5
 6#ifndef _ASM_MIPS_BOARDS_SIM_H
 7#define _ASM_MIPS_BOARDS_SIM_H
 8
 9#define STATS_ON	1
10#define STATS_OFF	2
11#define STATS_CLEAR	3
12#define STATS_DUMP	4
13#define TRACE_ON		5
14#define TRACE_OFF	6
15
16
17#define simcfg(code)						\
18({					   \
19	__asm__	 __volatile__( \
20	"sltiu $0,$0, %0" \
21		::"i"(code)					\
22		); \
23})
24
25
26
27#endif