#include "wilc_wlan_if.h"
#include "wilc_wlan.h"
-
#ifdef WILC1000_SINGLE_TRANSFER
#define WILC_SDIO_BLOCK_SIZE 256
#else
{
sdio_cmd52_t cmd;
-
/**
* Review: BIG ENDIAN
**/
cnt |= (cmd.data << 16);
return cnt;
-
-
}
/********************************************
}
-
if (rest > 0) {
cmd.block_mode = 1;
cmd.increment = 1;
#endif /* platform */
}
-
if (nleft > 0) {
cmd.block_mode = 0;
cmd.increment = 1;
cmd.buffer = buf;
cmd.block_size = block_size;
-
if (addr > 0) {
if (!sdio_set_func0_csa_address(addr))
goto _fail_;
}
-
if (rest > 0) {
cmd.block_mode = 1;
cmd.increment = 1;
}
g_sdio.dPrint(N_ERR, "[wilc sdio]: has_thrpt_enh3 = %d...\n", g_sdio.has_thrpt_enh3);
-
return 1;
_fail_:
}
#endif /* WILC_SDIO_IRQ_GPIO */
-
{
uint32_t vmm_ctl;
{
uint32_t reg;
-
if (nint > MAX_NUM_INT) {
g_sdio.dPrint(N_ERR, "[wilc sdio]: Too many interupts (%d)...\n", nint);
return 0;
return 0;
}
-
g_sdio.nint = nint;
/**
uint32_t reg;
int ret, i;
-
/**
* interrupt pin mux select
**/
return 1;
}
-
/********************************************
*
* Global sdio HIF function table