Lines Matching full:sdio

5 /* ****************** SDIO CARD Interface Functions **************************/
15 #include <linux/mmc/sdio.h>
36 #include "sdio.h"
65 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdiod_oob_irqhandler()
85 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdiod_ib_irqhandler()
92 /* dummy handler for SDIO function 2 interrupt */
104 pdata = &sdiodev->settings->bus.sdio; in brcmf_sdiod_intr_register()
106 brcmf_dbg(SDIO, "Enter, register OOB IRQ %d\n", in brcmf_sdiod_intr_register()
130 /* assign GPIO to SDIO core */ in brcmf_sdiod_intr_register()
157 brcmf_dbg(SDIO, "Entering\n"); in brcmf_sdiod_intr_register()
171 brcmf_dbg(SDIO, "Entering oob=%d sd=%d\n", in brcmf_sdiod_intr_unregister()
178 pdata = &sdiodev->settings->bus.sdio; in brcmf_sdiod_intr_unregister()
305 WARN(1, "invalid sdio function number: %d\n", func->num); in brcmf_sdiod_skbuff_read()
366 * brcmf_sdiod_sglist_rw - SDIO interface function for block data access
367 * @sdiodev: brcmfmac sdio device
368 * @func: SDIO function
400 if (!write && sdiodev->settings->bus.sdio.broken_sg_support) { in brcmf_sdiod_sglist_rw()
437 mmc_cmd.arg |= (func->num & 0x7) << 28; /* SDIO func num */ in brcmf_sdiod_sglist_rw()
481 if (!write && sdiodev->settings->bus.sdio.broken_sg_support) { in brcmf_sdiod_sglist_rw()
544 brcmf_dbg(SDIO, "addr = 0x%x, size = %d\n", addr, pkt->len); in brcmf_sdiod_recv_pkt()
567 brcmf_dbg(SDIO, "addr = 0x%x, size = %d\n", in brcmf_sdiod_recv_chain()
639 brcmf_dbg(SDIO, "addr = 0x%x, size = %d\n", addr, pktq->qlen); in brcmf_sdiod_send_pkt()
696 brcmf_dbg(SDIO, "%s %d bytes at offset 0x%08x in window 0x%08x\n", in brcmf_sdiod_ramrw()
741 brcmf_dbg(SDIO, "Enter\n"); in brcmf_sdiod_abort()
746 brcmf_dbg(SDIO, "Exit\n"); in brcmf_sdiod_abort()
772 sdiodev->settings->bus.sdio.txglomsz); in brcmf_sdiod_sgtable_alloc()
784 sdiodev->txglomsz = sdiodev->settings->bus.sdio.txglomsz; in brcmf_sdiod_sgtable_alloc()
930 brcmf_dbg(SDIO, "set F2 blocksize to %d\n", f2_blksz); in brcmf_sdiod_probe()
1001 MODULE_DEVICE_TABLE(sdio, brcmf_sdmmc_ids);
1047 brcmf_dbg(SDIO, "Enter\n"); in brcmf_ops_sdio_probe()
1048 brcmf_dbg(SDIO, "Class=%x\n", func->class); in brcmf_ops_sdio_probe()
1049 brcmf_dbg(SDIO, "sdio vendor ID: 0x%04x\n", func->vendor); in brcmf_ops_sdio_probe()
1050 brcmf_dbg(SDIO, "sdio device ID: 0x%04x\n", func->device); in brcmf_ops_sdio_probe()
1051 brcmf_dbg(SDIO, "Function#: %d\n", func->num); in brcmf_ops_sdio_probe()
1080 bus_if->bus_priv.sdio = sdiodev; in brcmf_ops_sdio_probe()
1090 brcmf_dbg(SDIO, "F2 found, calling brcmf_sdiod_probe...\n"); in brcmf_ops_sdio_probe()
1097 brcmf_dbg(SDIO, "F2 init completed...\n"); in brcmf_ops_sdio_probe()
1113 brcmf_dbg(SDIO, "Enter\n"); in brcmf_ops_sdio_remove()
1114 brcmf_dbg(SDIO, "sdio vendor ID: 0x%04x\n", func->vendor); in brcmf_ops_sdio_remove()
1115 brcmf_dbg(SDIO, "sdio device ID: 0x%04x\n", func->device); in brcmf_ops_sdio_remove()
1116 brcmf_dbg(SDIO, "Function: %d\n", func->num); in brcmf_ops_sdio_remove()
1120 sdiodev = bus_if->bus_priv.sdio; in brcmf_ops_sdio_remove()
1138 brcmf_dbg(SDIO, "Exit\n"); in brcmf_ops_sdio_remove()
1144 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdio_wowl_config()
1151 if (sdiodev->settings->bus.sdio.oob_irq_supported || in brcmf_sdio_wowl_config()
1156 brcmf_dbg(SDIO, "Configuring WOWL, enabled=%d\n", enabled); in brcmf_sdio_wowl_config()
1161 brcmf_dbg(SDIO, "WOWL not supported\n"); in brcmf_sdio_wowl_config()
1173 brcmf_dbg(SDIO, "Enter: F%d\n", func->num); in brcmf_ops_sdio_suspend()
1179 sdiodev = bus_if->bus_priv.sdio; in brcmf_ops_sdio_suspend()
1186 if (sdiodev->settings->bus.sdio.oob_irq_supported) in brcmf_ops_sdio_suspend()
1187 enable_irq_wake(sdiodev->settings->bus.sdio.oob_irq_nr); in brcmf_ops_sdio_suspend()
1208 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_ops_sdio_resume()
1212 brcmf_dbg(SDIO, "Enter: F%d\n", func->num); in brcmf_ops_sdio_resume()
1222 if (sdiodev->settings->bus.sdio.oob_irq_supported) in brcmf_ops_sdio_resume()
1223 disable_irq_wake(sdiodev->settings->bus.sdio.oob_irq_nr); in brcmf_ops_sdio_resume()
1253 brcmf_dbg(SDIO, "Enter\n"); in brcmf_sdio_exit()