2 * Stubs for some of the bottom edge functions.
4 * These stubs are optional functions in the bottom edge (SDIO driver
5 * interface) API that not all platforms or SDIO drivers may support.
7 * They're declared as weak symbols so they can be overridden by
8 * simply providing a non-weak declaration.
10 * Copyright (C) 2007-2008 by Cambridge Silicon Radio Ltd.
12 * Refer to LICENSE.txt included with this source code for details on
16 #include "csr_wifi_hip_unifi.h"
18 void __attribute__((weak
)) CsrSdioFunctionIdle(CsrSdioFunction
*function
)
22 void __attribute__((weak
)) CsrSdioFunctionActive(CsrSdioFunction
*function
)
26 CsrResult
__attribute__((weak
)) CsrSdioPowerOn(CsrSdioFunction
*function
)
28 return CSR_RESULT_SUCCESS
;
31 void __attribute__((weak
)) CsrSdioPowerOff(CsrSdioFunction
*function
)
35 CsrResult
__attribute__((weak
)) CsrSdioHardReset(CsrSdioFunction
*function
)
37 return CSR_SDIO_RESULT_NOT_RESET
;
40 CsrResult
__attribute__((weak
)) CsrSdioBlockSizeSet(CsrSdioFunction
*function
,
43 return CSR_RESULT_SUCCESS
;
46 CsrResult
__attribute__((weak
)) CsrSdioSuspend(CsrSdioFunction
*function
)
48 return CSR_RESULT_SUCCESS
;
51 CsrResult
__attribute__((weak
)) CsrSdioResume(CsrSdioFunction
*function
)
53 return CSR_RESULT_SUCCESS
;
56 int __attribute__((weak
)) csr_sdio_linux_install_irq(CsrSdioFunction
*function
)
61 int __attribute__((weak
)) csr_sdio_linux_remove_irq(CsrSdioFunction
*function
)
66 void __attribute__((weak
)) CsrSdioInsertedAcknowledge(CsrSdioFunction
*function
, CsrResult result
)
70 void __attribute__((weak
)) CsrSdioRemovedAcknowledge(CsrSdioFunction
*function
)
74 void __attribute__((weak
)) CsrSdioSuspendAcknowledge(CsrSdioFunction
*function
, CsrResult result
)
78 void __attribute__((weak
)) CsrSdioResumeAcknowledge(CsrSdioFunction
*function
, CsrResult result
)