1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-14 18:05:36 +00:00
rtl8812au/platform/platform_hisilicon_hi3798_sdio.h

29 lines
1.0 KiB
C
Raw Normal View History

2018-07-03 14:50:43 +00:00
/******************************************************************************
*
2019-05-24 19:43:57 +00:00
* Copyright(c) 2017 - 2018 Realtek Corporation.
2018-07-03 14:50:43 +00:00
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
2018-08-24 20:52:34 +00:00
*****************************************************************************/
2019-05-24 19:43:57 +00:00
#ifndef __PLATFORM_HISILICON_HI3798_SDIO_H__
#define __PLATFORM_HISILICON_HI3798_SDIO_H__
2018-07-03 14:50:43 +00:00
2019-05-24 19:43:57 +00:00
typedef unsigned int HI_U32;
2018-08-24 20:52:34 +00:00
2019-05-24 19:43:57 +00:00
typedef int HI_S32;
2018-07-03 14:50:43 +00:00
2019-05-24 19:43:57 +00:00
#define HI_SUCCESS 0
#define HI_FAILURE (-1)
extern HI_S32 HI_DRV_GPIO_SetDirBit(HI_U32 u32GpioNo, HI_U32 u32DirBit);
extern HI_S32 HI_DRV_GPIO_WriteBit(HI_U32 u32GpioNo, HI_U32 u32BitValue);
#endif /* __PLATFORM_HISILICON_HI3798_SDIO_H__ */