| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7615/ |
| H A D | sdio_txrx.c | 19 #include "sdio.h" 38 struct mt76_sdio *sdio = &dev->sdio; in mt7663s_refill_sched_quota() local 49 mutex_lock(&sdio->sched.lock); in mt7663s_refill_sched_quota() 50 sdio->sched.pse_mcu_quota += pse_mcu_quota; in mt7663s_refill_sched_quota() 51 sdio->sched.pse_data_quota += pse_data_quota; in mt7663s_refill_sched_quota() 52 sdio->sched.ple_data_quota += ple_data_quota; in mt7663s_refill_sched_quota() 53 mutex_unlock(&sdio->sched.lock); in mt7663s_refill_sched_quota() 87 struct mt76_sdio *sdio = &dev->sdio; in mt7663s_rx_run_queue() local 98 if (len > sdio->func->cur_blksize) in mt7663s_rx_run_queue() 99 len = roundup(len, sdio->func->cur_blksize); in mt7663s_rx_run_queue() [all …]
|
| H A D | sdio.c | 18 #include "sdio.h" 28 return sdio_readl(dev->sdio.func, MCR_WHISR, NULL); in mt7663s_read_whisr() 33 struct mt76_sdio *sdio = &dev->mt76.sdio; in mt7663s_read_pcr() local 35 return sdio_readl(sdio->func, MCR_WHLPCR, NULL); in mt7663s_read_pcr() 40 struct sdio_func *func = dev->sdio.func; in mt7663s_read_mailbox() 95 struct sdio_func *func = dev->sdio.func; in mt7663s_write_mailbox() 301 struct mt76_sdio *sdio = &mdev->sdio; in mt7663s_sta_add() local 313 mutex_lock(&sdio->sched.lock); in mt7663s_sta_add() 314 sdio->sched.pse_data_quota = pse; in mt7663s_sta_add() 315 sdio->sched.ple_data_quota = ple; in mt7663s_sta_add() [all …]
|
| H A D | sdio_mcu.c | 17 #include "sdio.h" 21 struct mt76_sdio *sdio = &dev->mt76.sdio; in mt7663s_mcu_init_sched() local 30 mutex_lock(&sdio->sched.lock); in mt7663s_mcu_init_sched() 32 sdio->sched.pse_data_quota = pse0; in mt7663s_mcu_init_sched() 33 sdio->sched.ple_data_quota = ple; in mt7663s_mcu_init_sched() 34 sdio->sched.pse_mcu_quota = pse1; in mt7663s_mcu_init_sched() 35 sdio->sched.deficit = txdwcnt << 2; in mt7663s_mcu_init_sched() 37 mutex_unlock(&sdio->sched.lock); in mt7663s_mcu_init_sched() 68 struct sdio_func *func = dev->mt76.sdio.func; in mt7663s_mcu_drv_pmctrl() 100 struct sdio_func *func = dev->mt76.sdio.func; in mt7663s_mcu_fw_pmctrl()
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | direct-io.c | 162 static inline unsigned dio_pages_present(struct dio_submit *sdio) in dio_pages_present() argument 164 return sdio->tail - sdio->head; in dio_pages_present() 170 static inline int dio_refill_pages(struct dio *dio, struct dio_submit *sdio) in dio_refill_pages() argument 174 ret = iov_iter_get_pages(sdio->iter, dio->pages, LONG_MAX, DIO_PAGES, in dio_refill_pages() 175 &sdio->from); in dio_refill_pages() 177 if (ret < 0 && sdio->blocks_available && (dio->op == REQ_OP_WRITE)) { in dio_refill_pages() 188 sdio->head = 0; in dio_refill_pages() 189 sdio->tail = 1; in dio_refill_pages() 190 sdio->from = 0; in dio_refill_pages() 191 sdio->to = PAGE_SIZE; in dio_refill_pages() [all …]
|
| /OK3568_Linux_fs/buildroot/package/murata-cyw-fw/ |
| H A D | murata-cyw-fw.mk | 27 brcmfmac43012-sdio.bin \ 28 brcmfmac43012-sdio.1LV.clm_blob \ 29 brcmfmac43012-sdio.1LV.txt \ 32 brcmfmac43340-sdio.bin \ 33 brcmfmac43340-sdio.1BW.txt \ 36 brcmfmac43362-sdio.bin \ 37 brcmfmac43362-sdio.SN8000.txt 39 brcmfmac4339-sdio.bin 41 brcmfmac4339-sdio.1CK.txt 43 brcmfmac4339-sdio.ZP.txt \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mmc/core/ |
| H A D | sdio_io.c | 12 #include <linux/mmc/sdio.h> 21 * sdio_claim_host - exclusively claim a bus for a certain SDIO function 22 * @func: SDIO function that will be accessed 24 * Claim a bus for a set of operations. The SDIO function given 37 * sdio_release_host - release a bus for a certain SDIO function 38 * @func: SDIO function that was accessed 53 * sdio_enable_func - enables a SDIO function for usage 54 * @func: SDIO function to enable 56 * Powers up and activates a SDIO function so that register 68 pr_debug("SDIO: Enabling device %s...\n", sdio_func_id(func)); in sdio_enable_func() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/ |
| H A D | sdio.c | 67 struct mt76_sdio *sdio = &dev->sdio; in mt76s_stop_txrx() local 69 cancel_work_sync(&sdio->tx.xmit_work); in mt76s_stop_txrx() 70 cancel_work_sync(&sdio->tx.status_work); in mt76s_stop_txrx() 71 cancel_work_sync(&sdio->rx.recv_work); in mt76s_stop_txrx() 72 cancel_work_sync(&sdio->rx.net_work); in mt76s_stop_txrx() 73 cancel_work_sync(&sdio->stat_work); in mt76s_stop_txrx() 173 struct mt76_sdio *sdio; in mt76s_tx_status_data() local 178 sdio = container_of(work, struct mt76_sdio, stat_work); in mt76s_tx_status_data() 179 dev = container_of(sdio, struct mt76_dev, sdio); in mt76s_tx_status_data() 191 queue_work(dev->wq, &sdio->stat_work); in mt76s_tx_status_data() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mmc/host/ |
| H A D | toshsd.h | 37 #define SD_CMD 0x00 /* also for SDIO */ 38 #define SD_ARG0 0x04 /* also for SDIO */ 39 #define SD_ARG1 0x06 /* also for SDIO */ 41 #define SD_BLOCKCOUNT 0x0a /* also for SDIO */ 42 #define SD_RESPONSE0 0x0c /* also for SDIO */ 43 #define SD_RESPONSE1 0x0e /* also for SDIO */ 44 #define SD_RESPONSE2 0x10 /* also for SDIO */ 45 #define SD_RESPONSE3 0x12 /* also for SDIO */ 46 #define SD_RESPONSE4 0x14 /* also for SDIO */ 47 #define SD_RESPONSE5 0x16 /* also for SDIO */ [all …]
|
| H A D | Kconfig | 6 comment "MMC/SD/SDIO Host Controller Drivers" 230 tristate "SDHCI support for the Cadence SD/SDIO/eMMC controller" 234 This selects the Cadence SD/SDIO/eMMC driver. 395 Needed by some Fujitsu SoC for MMC / SD / SDIO support. 406 Needed by Milbeaut SoC for MMC / SD / SDIO support. 433 MMC 5.1 compliant and supports SD, eMMC and SDIO interfaces. 445 The controller supports the SD/SDIO Spec 3.x and eMMC Spec 4.5x 552 SD/MMC/SDIO devices. 594 tristate "Marvell MMC/SD/SDIO host driver" 598 This selects the Marvell SDIO host driver. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43/ |
| H A D | sdio.c | 5 * SDIO over Sonics Silicon Backplane bus glue for b43. 18 #include "sdio.h" 51 struct b43_sdio *sdio = sdio_get_drvdata(func); in b43_sdio_interrupt_dispatcher() local 52 struct b43_wldev *dev = sdio->irq_handler_opaque; in b43_sdio_interrupt_dispatcher() 58 sdio->irq_handler(dev); in b43_sdio_interrupt_dispatcher() 67 struct b43_sdio *sdio = sdio_get_drvdata(func); in b43_sdio_request_irq() local 70 sdio->irq_handler_opaque = dev; in b43_sdio_request_irq() 71 sdio->irq_handler = handler; in b43_sdio_request_irq() 83 struct b43_sdio *sdio = sdio_get_drvdata(func); in b43_sdio_free_irq() local 88 sdio->irq_handler_opaque = NULL; in b43_sdio_free_irq() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/linux/ |
| H A D | sdio_ops_linux.c | 49 * Use CMD53 to read data from SDIO device. 51 * in SDIO ISR(host had been claimed). 105 * Use CMD53 to read data from SDIO device. 141 * Use CMD53 to write data to SDIO device. 143 * in SDIO ISR(host had been claimed). 198 * Use CMD53 to write data to SDIO device. 361 struct sdio_data *sdio; in sdio_dump_dbg_reg() local 369 sdio = dvobj_to_sdio(d); in sdio_dump_dbg_reg() 370 if (sdio->reg_dump_mark) in sdio_dump_dbg_reg() 374 sdio->reg_dump_mark = sdio->cmd53_err_cnt; in sdio_dump_dbg_reg() [all …]
|
| H A D | sdio_intf.c | 40 #if defined(RTW_ENABLE_WIFI_CONTROL_FUNC) /* temporarily add this to accept all sdio wlan id */ 46 MODULE_DEVICE_TABLE(sdio, sdio_ids); 255 RTW_PRINT_SEL(sel, "== SDIO Card Info ==\n"); in dump_sdio_card_info() 336 struct sdio_data *sdio; in rtw_sdio_dbg_reg_free() local 341 sdio = dvobj_to_sdio(d); in rtw_sdio_dbg_reg_free() 343 buf = sdio->dbg_msg; in rtw_sdio_dbg_reg_free() 344 size = sdio->dbg_msg_size; in rtw_sdio_dbg_reg_free() 346 sdio->dbg_msg = NULL; in rtw_sdio_dbg_reg_free() 347 sdio->dbg_msg_size = 0; in rtw_sdio_dbg_reg_free() 351 buf = sdio->reg_mac; in rtw_sdio_dbg_reg_free() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | bcmsdh.c | 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() 156 brcmf_dbg(SDIO, "Entering\n"); in brcmf_sdiod_intr_register() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/mvebu/ |
| H A D | pinctrl-armada-ap806.c | 24 MPP_FUNCTION(1, "sdio", "clk"), 28 MPP_FUNCTION(1, "sdio", "cmd"), 32 MPP_FUNCTION(1, "sdio", "d0"), 36 MPP_FUNCTION(1, "sdio", "d1"), 40 MPP_FUNCTION(1, "sdio", "d2"), 44 MPP_FUNCTION(1, "sdio", "d3"), 48 MPP_FUNCTION(1, "sdio", "ds")), 51 MPP_FUNCTION(1, "sdio", "d4"), 55 MPP_FUNCTION(1, "sdio", "d5"), 59 MPP_FUNCTION(1, "sdio", "d6"), [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/microchip/wilc1000/ |
| H A D | Kconfig | 6 This provides Wi-FI over an SDIO or SPI interface, and 12 tristate "Atmel WILC1000 SDIO (WiFi only)" 16 This module adds support for the SDIO interface of adapters using 17 WILC1000 chipset. The Atmel WILC1000 SDIO is a full speed interface. 18 It meets SDIO card specification version 2.0. The interface supports 23 this if your platform is using the SDIO bus. 45 mechanism for SDIO host controllers that don't support SDIO interrupt. 46 Select this option If the SDIO host controller in your platform 47 doesn't support SDIO time devision interrupt.
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/marvell/ |
| H A D | cp110-system-controller.txt | 40 - 0 5 SDIO core 46 - 1 4 SDIO 123 … mii(txerr), mss_spi(miso), tdm(drx), au(i2sextclk), au(i2sdi), ge(mdio), sdio(v18_en), pcie1(clkr… 124 mpp33 33 gpio, mii(txclk), sdio(pwr10), mss_spi(csn), tdm(fsync), au(i2smclk), sdio(bus_pwr), xg(md… 125 mpp34 34 gpio, mii(rxerr), sdio(pwr11), mss_spi(mosi), tdm(dtx), au(i2slrclk), sdio(wr_protect), ge… 126 mpp35 35 gpio, sata1(present_act), i2c1(sda), mss_spi(clk), tdm(pclk), au(i2sdo_spdifo), sdio(card_… 130 mpp39 39 gpio, sdio(wr_protect), au(i2sbclk), ptp(clk), spi0(csn1), sata1(present_act), mss_gpio0 131 mpp40 40 gpio, sdio(pwr11), synce1(clk), mss_i2c(sda), au(i2sdo_spdifo), ptp(pclk_out), spi0(clk), … 132 mpp41 41 gpio, sdio(pwr10), sdio(bus_pwr), mss_i2c(sck), au(i2slrclk), ptp(pulse), spi0(mosi), uart… 133 mpp42 42 gpio, sdio(v18_en), sdio(wr_protect), synce2(clk), au(i2smclk), mss_uart(txd), spi0(miso),… [all …]
|
| H A D | ap80x-system-controller.txt | 51 mpp0 0 gpio, sdio(clk), spi0(clk) 52 mpp1 1 gpio, sdio(cmd), spi0(miso) 53 mpp2 2 gpio, sdio(d0), spi0(mosi) 54 mpp3 3 gpio, sdio(d1), spi0(cs0n) 55 mpp4 4 gpio, sdio(d2), i2c0(sda) 56 mpp5 5 gpio, sdio(d3), i2c0(sdk) 57 mpp6 6 gpio, sdio(ds) 58 mpp7 7 gpio, sdio(d4), uart1(rxd) 59 mpp8 8 gpio, sdio(d5), uart1(txd) 60 mpp9 9 gpio, sdio(d6), spi0(cs1n) [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/mac/mac_ax/ |
| H A D | _sdio.h | 24 /* SDIO CMD address mapping */ 279 * @addtogroup SDIO 301 * @addtogroup SDIO 323 * @addtogroup SDIO 346 * @addtogroup SDIO 367 * @addtogroup SDIO 388 * @addtogroup SDIO 409 * @addtogroup SDIO 433 * @addtogroup SDIO 457 * @addtogroup SDIO [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pinctrl/ |
| H A D | marvell,kirkwood-pinctrl.txt | 39 mpp12 12 gpo, sdio(clk) 40 mpp13 13 gpio, sdio(cmd), uart1(txd) 41 mpp14 14 gpio, sdio(d0), uart1(rxd), mii(col) 42 mpp15 15 gpio, sdio(d1), uart0(rts), uart1(txd) 43 mpp16 16 gpio, sdio(d2), uart0(cts), uart1(rxd), mii(crs) 44 mpp17 17 gpio, sdio(d3) 77 mpp12 12 gpo, sdio(clk) 78 mpp13 13 gpio, sdio(cmd), uart1(txd) 79 mpp14 14 gpio, sdio(d0), uart1(rxd), mii(col) 80 mpp15 15 gpio, sdio(d1), uart0(rts), uart1(txd), sata0(act) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/ |
| H A D | sbsdpcmdev.h | 2 * Broadcom SiliconBackplane SDIO/PCMCIA hardware-specific 94 uint32 funcintmask; /* SDIO Function Interrupt Mask, SDIO rev4 */ 101 /* synchronized access to registers in SDIO clock domain */ 118 uint32 cmd52rd; /* Cmd52RdCount, 0x110, rev8, SDIO: cmd52 reads */ 119 uint32 cmd52wr; /* Cmd52WrCount, 0x114, rev8, SDIO: cmd52 writes */ 120 uint32 cmd53rd; /* Cmd53RdCount, 0x118, rev8, SDIO: cmd53 reads */ 121 uint32 cmd53wr; /* Cmd53WrCount, 0x11c, rev8, SDIO: cmd53 writes */ 122 uint32 abort; /* AbortCount, 0x120, rev8, SDIO: aborts */ 123 uint32 datacrcerror; /* DataCrcErrorCount, 0x124, rev8, SDIO: frames w/bad CRC */ 124 uint32 rdoutofsync; /* RdOutOfSyncCount, 0x128, rev8, SDIO/PCMCIA: Rd Frm OOS */ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/ |
| H A D | sbsdpcmdev.h | 2 * Broadcom SiliconBackplane SDIO/PCMCIA hardware-specific 94 uint32 funcintmask; /* SDIO Function Interrupt Mask, SDIO rev4 */ 101 /* synchronized access to registers in SDIO clock domain */ 118 uint32 cmd52rd; /* Cmd52RdCount, 0x110, rev8, SDIO: cmd52 reads */ 119 uint32 cmd52wr; /* Cmd52WrCount, 0x114, rev8, SDIO: cmd52 writes */ 120 uint32 cmd53rd; /* Cmd53RdCount, 0x118, rev8, SDIO: cmd53 reads */ 121 uint32 cmd53wr; /* Cmd53WrCount, 0x11c, rev8, SDIO: cmd53 writes */ 122 uint32 abort; /* AbortCount, 0x120, rev8, SDIO: aborts */ 123 uint32 datacrcerror; /* DataCrcErrorCount, 0x124, rev8, SDIO: frames w/bad CRC */ 124 uint32 rdoutofsync; /* RdOutOfSyncCount, 0x128, rev8, SDIO/PCMCIA: Rd Frm OOS */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/ |
| H A D | sbsdpcmdev.h | 2 * Broadcom SiliconBackplane SDIO/PCMCIA hardware-specific 94 uint32 funcintmask; /* SDIO Function Interrupt Mask, SDIO rev4 */ 101 /* synchronized access to registers in SDIO clock domain */ 118 uint32 cmd52rd; /* Cmd52RdCount, 0x110, rev8, SDIO: cmd52 reads */ 119 uint32 cmd52wr; /* Cmd52WrCount, 0x114, rev8, SDIO: cmd52 writes */ 120 uint32 cmd53rd; /* Cmd53RdCount, 0x118, rev8, SDIO: cmd53 reads */ 121 uint32 cmd53wr; /* Cmd53WrCount, 0x11c, rev8, SDIO: cmd53 writes */ 122 uint32 abort; /* AbortCount, 0x120, rev8, SDIO: aborts */ 123 uint32 datacrcerror; /* DataCrcErrorCount, 0x124, rev8, SDIO: frames w/bad CRC */ 124 uint32 rdoutofsync; /* RdOutOfSyncCount, 0x128, rev8, SDIO/PCMCIA: Rd Frm OOS */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/ |
| H A D | sbsdpcmdev.h | 2 * Broadcom SiliconBackplane SDIO/PCMCIA hardware-specific 86 uint32 funcintmask; /* SDIO Function Interrupt Mask, SDIO rev4 */ 93 /* synchronized access to registers in SDIO clock domain */ 110 uint32 cmd52rd; /* Cmd52RdCount, 0x110, rev8, SDIO: cmd52 reads */ 111 uint32 cmd52wr; /* Cmd52WrCount, 0x114, rev8, SDIO: cmd52 writes */ 112 uint32 cmd53rd; /* Cmd53RdCount, 0x118, rev8, SDIO: cmd53 reads */ 113 uint32 cmd53wr; /* Cmd53WrCount, 0x11c, rev8, SDIO: cmd53 writes */ 114 uint32 abort; /* AbortCount, 0x120, rev8, SDIO: aborts */ 115 uint32 datacrcerror; /* DataCrcErrorCount, 0x124, rev8, SDIO: frames w/bad CRC */ 116 uint32 rdoutofsync; /* RdOutOfSyncCount, 0x128, rev8, SDIO/PCMCIA: Rd Frm OOS */ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/ |
| H A D | sbsdpcmdev.h | 2 * Broadcom SiliconBackplane SDIO/PCMCIA hardware-specific 86 uint32 funcintmask; /* SDIO Function Interrupt Mask, SDIO rev4 */ 93 /* synchronized access to registers in SDIO clock domain */ 110 uint32 cmd52rd; /* Cmd52RdCount, 0x110, rev8, SDIO: cmd52 reads */ 111 uint32 cmd52wr; /* Cmd52WrCount, 0x114, rev8, SDIO: cmd52 writes */ 112 uint32 cmd53rd; /* Cmd53RdCount, 0x118, rev8, SDIO: cmd53 reads */ 113 uint32 cmd53wr; /* Cmd53WrCount, 0x11c, rev8, SDIO: cmd53 writes */ 114 uint32 abort; /* AbortCount, 0x120, rev8, SDIO: aborts */ 115 uint32 datacrcerror; /* DataCrcErrorCount, 0x124, rev8, SDIO: frames w/bad CRC */ 116 uint32 rdoutofsync; /* RdOutOfSyncCount, 0x128, rev8, SDIO/PCMCIA: Rd Frm OOS */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/ |
| H A D | sbsdpcmdev.h | 3 * Broadcom SiliconBackplane SDIO/PCMCIA hardware-specific 94 uint32 funcintmask; /* SDIO Function Interrupt Mask, SDIO rev4 */ 101 /* synchronized access to registers in SDIO clock domain */ 116 uint32 cmd52rd; /* Cmd52RdCount, 0x110, rev8, SDIO: cmd52 reads */ 117 uint32 cmd52wr; /* Cmd52WrCount, 0x114, rev8, SDIO: cmd52 writes */ 118 uint32 cmd53rd; /* Cmd53RdCount, 0x118, rev8, SDIO: cmd53 reads */ 119 uint32 cmd53wr; /* Cmd53WrCount, 0x11c, rev8, SDIO: cmd53 writes */ 120 uint32 abort; /* AbortCount, 0x120, rev8, SDIO: aborts */ 121 uint32 datacrcerror; /* DataCrcErrorCount, 0x124, rev8, SDIO: frames w/bad CRC */ 122 uint32 rdoutofsync; /* RdOutOfSyncCount, 0x128, rev8, SDIO/PCMCIA: Rd Frm OOS */ [all …]
|