aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ath6kl/include/dbglog_api.h
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-01-22 10:38:37 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-01-22 10:38:37 -0500
commitfcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch)
treea57612d1888735a2ec7972891b68c1ac5ec8faea /drivers/staging/ath6kl/include/dbglog_api.h
parent8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff)
Added missing tegra files.HEADmaster
Diffstat (limited to 'drivers/staging/ath6kl/include/dbglog_api.h')
-rw-r--r--drivers/staging/ath6kl/include/dbglog_api.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/drivers/staging/ath6kl/include/dbglog_api.h b/drivers/staging/ath6kl/include/dbglog_api.h
new file mode 100644
index 00000000000..a53aed316e3
--- /dev/null
+++ b/drivers/staging/ath6kl/include/dbglog_api.h
@@ -0,0 +1,52 @@
1//------------------------------------------------------------------------------
2// <copyright file="dbglog_api.h" company="Atheros">
3// Copyright (c) 2004-2010 Atheros Corporation. All rights reserved.
4//
5//
6// Permission to use, copy, modify, and/or distribute this software for any
7// purpose with or without fee is hereby granted, provided that the above
8// copyright notice and this permission notice appear in all copies.
9//
10// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17//
18//
19//------------------------------------------------------------------------------
20//==============================================================================
21// This file contains host side debug primitives.
22//
23// Author(s): ="Atheros"
24//==============================================================================
25#ifndef _DBGLOG_API_H_
26#define _DBGLOG_API_H_
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32#include "dbglog.h"
33
34#define DBGLOG_HOST_LOG_BUFFER_SIZE DBGLOG_LOG_BUFFER_SIZE
35
36#define DBGLOG_GET_DBGID(arg) \
37 ((arg & DBGLOG_DBGID_MASK) >> DBGLOG_DBGID_OFFSET)
38
39#define DBGLOG_GET_MODULEID(arg) \
40 ((arg & DBGLOG_MODULEID_MASK) >> DBGLOG_MODULEID_OFFSET)
41
42#define DBGLOG_GET_NUMARGS(arg) \
43 ((arg & DBGLOG_NUM_ARGS_MASK) >> DBGLOG_NUM_ARGS_OFFSET)
44
45#define DBGLOG_GET_TIMESTAMP(arg) \
46 ((arg & DBGLOG_TIMESTAMP_MASK) >> DBGLOG_TIMESTAMP_OFFSET)
47
48#ifdef __cplusplus
49}
50#endif
51
52#endif /* _DBGLOG_API_H_ */