2 * @file IxQMgrQAccess_p.h
4 * @author Intel Corporation
7 * @brief QAccess private header file
11 * IXP400 SW Release version 2.0
13 * -- Copyright Notice --
16 * Copyright 2001-2005, Intel Corporation.
17 * All rights reserved.
20 * SPDX-License-Identifier: BSD-3-Clause
22 * -- End of Copyright Notice --
25 #ifndef IXQMGRQACCESS_P_H
26 #define IXQMGRQACCESS_P_H
29 * User defined header files
34 * Global variables declarations.
36 extern volatile UINT32 * ixQMgrAqmIfQueAccRegAddr[];
39 * Initialise the Queue Access component
42 ixQMgrQAccessInit (void);
45 * read the remainder of a multi-word queue entry
46 * (the first word is already read)
49 ixQMgrQReadMWordsMinus1 (IxQMgrQId qId,
53 * Fast access : pop a q entry from a single word queue
55 extern __inline__ UINT32 ixQMgrQAccessPop(IxQMgrQId qId);
57 extern __inline__ UINT32 ixQMgrQAccessPop(IxQMgrQId qId)
59 return *(ixQMgrAqmIfQueAccRegAddr[qId]);
63 * Fast access : push a q entry in a single word queue
65 extern __inline__ void ixQMgrQAccessPush(IxQMgrQId qId, UINT32 entry);
67 extern __inline__ void ixQMgrQAccessPush(IxQMgrQId qId, UINT32 entry)
69 *(ixQMgrAqmIfQueAccRegAddr[qId]) = entry;
72 #endif/*IXQMGRQACCESS_P_H*/