OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010 Broadcom Corporation | 2 * Copyright (c) 2010 Broadcom Corporation |
3 * | 3 * |
4 * Permission to use, copy, modify, and/or distribute this software for any | 4 * Permission to use, copy, modify, and/or distribute this software for any |
5 * purpose with or without fee is hereby granted, provided that the above | 5 * purpose with or without fee is hereby granted, provided that the above |
6 * copyright notice and this permission notice appear in all copies. | 6 * copyright notice and this permission notice appear in all copies. |
7 * | 7 * |
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY | 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include <bcmsdbus.h> /* bcmsdh to/from specific controller APIs */ | 24 #include <bcmsdbus.h> /* bcmsdh to/from specific controller APIs */ |
25 #include <sdiovar.h> /* ioctl/iovars */ | 25 #include <sdiovar.h> /* ioctl/iovars */ |
26 | 26 |
27 #include <linux/mmc/core.h> | 27 #include <linux/mmc/core.h> |
28 #include <linux/mmc/sdio_func.h> | 28 #include <linux/mmc/sdio_func.h> |
29 #include <linux/mmc/sdio_ids.h> | 29 #include <linux/mmc/sdio_ids.h> |
30 | 30 |
31 #include <dngl_stats.h> | 31 #include <dngl_stats.h> |
32 #include <dhd.h> | 32 #include <dhd.h> |
33 | 33 |
34 #if defined(CONFIG_PM_SLEEP) | |
35 #include <linux/suspend.h> | |
36 extern volatile bool dhd_mmc_suspend; | |
37 #endif | |
38 #include "bcmsdh_sdmmc.h" | 34 #include "bcmsdh_sdmmc.h" |
39 | 35 |
40 extern int sdio_function_init(void); | 36 extern int sdio_function_init(void); |
41 extern void sdio_function_cleanup(void); | 37 extern void sdio_function_cleanup(void); |
42 | 38 |
43 #if !defined(OOB_INTR_ONLY) | 39 #if !defined(OOB_INTR_ONLY) |
44 static void IRQHandler(struct sdio_func *func); | 40 static void IRQHandler(struct sdio_func *func); |
45 static void IRQHandlerF2(struct sdio_func *func); | 41 static void IRQHandlerF2(struct sdio_func *func); |
46 #endif /* !defined(OOB_INTR_ONLY) */ | 42 #endif /* !defined(OOB_INTR_ONLY) */ |
47 static int sdioh_sdmmc_get_cisaddr(sdioh_info_t *sd, u32 regaddr); | 43 static int sdioh_sdmmc_get_cisaddr(sdioh_info_t *sd, u32 regaddr); |
(...skipping 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1237 | 1233 |
1238 int sdioh_start(sdioh_info_t *si, int stage) | 1234 int sdioh_start(sdioh_info_t *si, int stage) |
1239 { | 1235 { |
1240 return 0; | 1236 return 0; |
1241 } | 1237 } |
1242 | 1238 |
1243 int sdioh_stop(sdioh_info_t *si) | 1239 int sdioh_stop(sdioh_info_t *si) |
1244 { | 1240 { |
1245 return 0; | 1241 return 0; |
1246 } | 1242 } |
OLD | NEW |