blob: 839fae01d96c2d065066ee7447f124502917d9b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
/*
* Stubs for some of the bottom edge functions.
*
* These stubs are optional functions in the bottom edge (SDIO driver
* interface) API that not all platforms or SDIO drivers may support.
*
* They're declared as weak symbols so they can be overridden by
* simply providing a non-weak declaration.
*
* Copyright (C) 2007-2008 by Cambridge Silicon Radio Ltd.
*
* Refer to LICENSE.txt included with this source code for details on
* the license terms.
*
*/
#include "csr_wifi_hip_unifi.h"
void __attribute__((weak)) CsrSdioFunctionIdle(CsrSdioFunction *function)
{
}
void __attribute__((weak)) CsrSdioFunctionActive(CsrSdioFunction *function)
{
}
CsrResult __attribute__((weak)) CsrSdioPowerOn(CsrSdioFunction *function)
{
return CSR_RESULT_SUCCESS;
}
void __attribute__((weak)) CsrSdioPowerOff(CsrSdioFunction *function)
{
}
CsrResult __attribute__((weak)) CsrSdioHardReset(CsrSdioFunction *function)
{
return CSR_SDIO_RESULT_NOT_RESET;
}
CsrResult __attribute__((weak)) CsrSdioBlockSizeSet(CsrSdioFunction *function,
u16 blockSize)
{
return CSR_RESULT_SUCCESS;
}
CsrResult __attribute__((weak)) CsrSdioSuspend(CsrSdioFunction *function)
{
return CSR_RESULT_SUCCESS;
}
CsrResult __attribute__((weak)) CsrSdioResume(CsrSdioFunction *function)
{
return CSR_RESULT_SUCCESS;
}
int __attribute__((weak)) csr_sdio_linux_install_irq(CsrSdioFunction *function)
{
return 0;
}
int __attribute__((weak)) csr_sdio_linux_remove_irq(CsrSdioFunction *function)
{
return 0;
}
void __attribute__((weak)) CsrSdioInsertedAcknowledge(CsrSdioFunction *function, CsrResult result)
{
}
void __attribute__((weak)) CsrSdioRemovedAcknowledge(CsrSdioFunction *function)
{
}
void __attribute__((weak)) CsrSdioSuspendAcknowledge(CsrSdioFunction *function, CsrResult result)
{
}
void __attribute__((weak)) CsrSdioResumeAcknowledge(CsrSdioFunction *function, CsrResult result)
{
}
|