staging: ath6kl: Convert enum A_STATUS to int
[deliverable/linux.git] / drivers / staging / ath6kl / include / ar6000_diag.h
CommitLineData
30295c89
VM
1//------------------------------------------------------------------------------
2// <copyright file="ar6000_diag.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// Author(s): ="Atheros"
22//==============================================================================
23
24#ifndef AR6000_DIAG_H_
25#define AR6000_DIAG_H_
26
27
1f4c34bd 28int
30295c89
VM
29ar6000_ReadRegDiag(HIF_DEVICE *hifDevice, A_UINT32 *address, A_UINT32 *data);
30
1f4c34bd 31int
30295c89
VM
32ar6000_WriteRegDiag(HIF_DEVICE *hifDevice, A_UINT32 *address, A_UINT32 *data);
33
1f4c34bd 34int
30295c89
VM
35ar6000_ReadDataDiag(HIF_DEVICE *hifDevice, A_UINT32 address,
36 A_UCHAR *data, A_UINT32 length);
37
1f4c34bd 38int
30295c89
VM
39ar6000_WriteDataDiag(HIF_DEVICE *hifDevice, A_UINT32 address,
40 A_UCHAR *data, A_UINT32 length);
41
1f4c34bd 42int
30295c89
VM
43ar6k_ReadTargetRegister(HIF_DEVICE *hifDevice, int regsel, A_UINT32 *regval);
44
45void
46ar6k_FetchTargetRegs(HIF_DEVICE *hifDevice, A_UINT32 *targregs);
47
48#endif /*AR6000_DIAG_H_*/
This page took 0.063307 seconds and 5 git commands to generate.