hc
2024-05-11 297b60346df8beafee954a0fd7c2d64f33f3b9bc
kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h
....@@ -1,17 +1,6 @@
1
+// SPDX-License-Identifier: ISC
12 /*
23 * 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.
154 */
165
176 #ifndef BRCMFMAC_SDIO_H
....@@ -189,7 +178,6 @@
189178 bool sd_irq_requested;
190179 bool irq_en; /* irq enable flags */
191180 spinlock_t irq_en_lock;
192
- bool irq_wake; /* irq wake enable flags */
193181 bool sg_support;
194182 uint max_request_size;
195183 ushort max_segment_count;
....@@ -379,9 +367,12 @@
379367 }
380368 #endif /* CONFIG_PM_SLEEP */
381369
370
+int brcmf_sdiod_probe(struct brcmf_sdio_dev *sdiodev);
371
+int brcmf_sdiod_remove(struct brcmf_sdio_dev *sdiodev);
372
+
382373 struct brcmf_sdio *brcmf_sdio_probe(struct brcmf_sdio_dev *sdiodev);
383374 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);
385376
386377 void brcmf_sdio_wd_timer(struct brcmf_sdio *bus, bool active);
387378 void brcmf_sdio_wowl_config(struct device *dev, bool enabled);