Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
nu11secur1ty
GitHub Repository: nu11secur1ty/Kali-Linux
Path: blob/master/ALFA-W1F1/RTL8814AU/platform/platform_hisilicon_hi3798_sdio.h
1307 views
1
/******************************************************************************
2
*
3
* Copyright(c) 2017 - 2018 Realtek Corporation.
4
*
5
* This program is free software; you can redistribute it and/or modify it
6
* under the terms of version 2 of the GNU General Public License as
7
* published by the Free Software Foundation.
8
*
9
* This program is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12
* more details.
13
*
14
*****************************************************************************/
15
#ifndef __PLATFORM_HISILICON_HI3798_SDIO_H__
16
#define __PLATFORM_HISILICON_HI3798_SDIO_H__
17
18
typedef unsigned int HI_U32;
19
20
typedef int HI_S32;
21
22
#define HI_SUCCESS 0
23
#define HI_FAILURE (-1)
24
25
extern HI_S32 HI_DRV_GPIO_SetDirBit(HI_U32 u32GpioNo, HI_U32 u32DirBit);
26
extern HI_S32 HI_DRV_GPIO_WriteBit(HI_U32 u32GpioNo, HI_U32 u32BitValue);
27
28
#endif /* __PLATFORM_HISILICON_HI3798_SDIO_H__ */
29
30