.. | .. |
---|
| 1 | +// SPDX-License-Identifier: ISC |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (c) 2010 Broadcom Corporation |
---|
3 | | - * |
---|
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 |
---|
6 | | - * copyright notice and this permission notice appear in all copies. |
---|
7 | | - * |
---|
8 | | - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
---|
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 |
---|
11 | | - * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
---|
12 | | - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION |
---|
13 | | - * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
---|
14 | | - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
---|
15 | 4 | */ |
---|
16 | 5 | |
---|
17 | 6 | #ifndef BRCMFMAC_SDIO_H |
---|
.. | .. |
---|
189 | 178 | bool sd_irq_requested; |
---|
190 | 179 | bool irq_en; /* irq enable flags */ |
---|
191 | 180 | spinlock_t irq_en_lock; |
---|
192 | | - bool irq_wake; /* irq wake enable flags */ |
---|
193 | 181 | bool sg_support; |
---|
194 | 182 | uint max_request_size; |
---|
195 | 183 | ushort max_segment_count; |
---|
.. | .. |
---|
379 | 367 | } |
---|
380 | 368 | #endif /* CONFIG_PM_SLEEP */ |
---|
381 | 369 | |
---|
| 370 | +int brcmf_sdiod_probe(struct brcmf_sdio_dev *sdiodev); |
---|
| 371 | +int brcmf_sdiod_remove(struct brcmf_sdio_dev *sdiodev); |
---|
| 372 | + |
---|
382 | 373 | struct brcmf_sdio *brcmf_sdio_probe(struct brcmf_sdio_dev *sdiodev); |
---|
383 | 374 | void brcmf_sdio_remove(struct brcmf_sdio *bus); |
---|
384 | | -void brcmf_sdio_isr(struct brcmf_sdio *bus); |
---|
| 375 | +void brcmf_sdio_isr(struct brcmf_sdio *bus, bool in_isr); |
---|
385 | 376 | |
---|
386 | 377 | void brcmf_sdio_wd_timer(struct brcmf_sdio *bus, bool active); |
---|
387 | 378 | void brcmf_sdio_wowl_config(struct device *dev, bool enabled); |
---|