/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ /* * Copyright (c) 2019 Amlogic, Inc. All rights reserved. */ #ifndef __AMLOGIC_HWSPINLOCK_H__ #define __AMLOGIC_HWSPINLOCK_H__ /* P1 ID */ #define HWSPINLOCK_ID0 0 #define HWSPINLOCK_ID1 1 #define HWSPINLOCK_ID2 2 #define HWSPINLOCK_ID3 3 #define HWSPINLOCK_ID4 4 /*S5 ID */ #define HWSPINLOCK_S5_ID0 0 #define HWSPINLOCK_S5_ID1 1 #define HWSPINLOCK_S5_ID2 2 #define HWSPINLOCK_S5_ID3 3 #define HWSPINLOCK_S5_ID4 4 #define HWSPINLOCK_S5_ID5 5 #define HWSPINLOCK_S5_ID6 6 #define HWSPINLOCK_S5_ID7 7 #define HWSPINLOCK_S5_ID8 8 #define HWSPINLOCK_S5_ID9 9 #define HWSPINLOCK_S5_ID10 10 #define HWSPINLOCK_S5_ID11 11 #define HWSPINLOCK_S5_ID12 12 #define HWSPINLOCK_S5_ID13 13 #define HWSPINLOCK_S5_ID14 14 #define HWSPINLOCK_S5_ID15 15 /* T5M ID */ #define HWSPINLOCK_T5M_ID0 0 #define HWSPINLOCK_T5M_ID1 1 #define HWSPINLOCK_T5M_ID2 2 #define HWSPINLOCK_T5M_ID3 3 #define HWSPINLOCK_T5M_ID4 4 #define HWSPINLOCK_T5M_ID5 5 #define HWSPINLOCK_T5M_ID6 6 #define HWSPINLOCK_T5M_ID7 7 /*T3X ID */ #define HWSPINLOCK_T3X_ID0 0 #define HWSPINLOCK_T3X_ID1 1 #define HWSPINLOCK_T3X_ID2 2 #define HWSPINLOCK_T3X_ID3 3 #define HWSPINLOCK_T3X_ID4 4 #define HWSPINLOCK_T3X_ID5 5 #define HWSPINLOCK_T3X_ID6 6 #define HWSPINLOCK_T3X_ID7 7 #define HWSPINLOCK_T3X_ID8 8 #define HWSPINLOCK_T3X_ID9 9 #define HWSPINLOCK_T3X_ID10 10 #define HWSPINLOCK_T3X_ID11 11 #define HWSPINLOCK_T3X_ID12 12 #define HWSPINLOCK_T3X_ID13 13 #define HWSPINLOCK_T3X_ID14 14 #define HWSPINLOCK_T3X_ID15 15 /* A4 ID */ #define HWSPINLOCK_A4_ID0 0 #define HWSPINLOCK_A4_ID1 1 #define HWSPINLOCK_A4_ID2 2 #define HWSPINLOCK_A4_ID3 3 #define HWSPINLOCK_A4_ID4 4 /* A5 ID */ #define HWSPINLOCK_A5_ID0 0 #define HWSPINLOCK_A5_ID1 1 #define HWSPINLOCK_A5_ID2 2 #define HWSPINLOCK_A5_ID3 3 #define HWSPINLOCK_A5_ID4 4 /* A9 ID */ #define HWSPINLOCK_A9_ID0 0 #define HWSPINLOCK_A9_ID1 1 #define HWSPINLOCK_A9_ID2 2 #define HWSPINLOCK_A9_ID3 3 #define HWSPINLOCK_A9_ID4 4 #define HWSPINLOCK_A9_ID5 5 #define HWSPINLOCK_A9_ID6 6 #define HWSPINLOCK_A9_ID7 7 #endif /* __AMLOGIC_HWSPINLOCK_H__ */