Searched refs:SDIO_InitStruct (Results 1 – 3 of 3) sorted by relevance
28 void SDIO_StructInit(SDIO_InitTypeDef* SDIO_InitStruct) in SDIO_StructInit() argument31 SDIO_InitStruct->TXBD_BAR = (u32)NULL; /* init txbd_bar */ in SDIO_StructInit()32 SDIO_InitStruct->TXBD_RING_SIZE = 20; /* init TXBD ring size */ in SDIO_StructInit()33 SDIO_InitStruct->TX_BUFFER_SIZE = 0xFF; /* init txbuf_size */ in SDIO_StructInit()36 SDIO_InitStruct->RXBD_BAR = (u32)NULL; /* init rxbd_bar reg */ in SDIO_StructInit()37 SDIO_InitStruct->RXBD_RING_SIZE = 32; /* init rxbd ring size */ in SDIO_StructInit()38 SDIO_InitStruct->RXBD_FREE_TH = 5; /* init AHB rx_blk_size */ in SDIO_StructInit()
432 SDIO_InitTypeDef SDIO_InitStruct; in SPDIO_Device_Init() local484 SDIO_StructInit(&SDIO_InitStruct); in SPDIO_Device_Init()485 SDIO_InitStruct.TXBD_BAR = (u32)pgSPDIODev->pTXBDAddrAligned; in SPDIO_Device_Init()486 SDIO_InitStruct.TXBD_RING_SIZE = obj->rx_bd_num; //SDIO_TX_BD_NUM; in SPDIO_Device_Init()487 SDIO_InitStruct.TX_BUFFER_SIZE = ((((obj->rx_bd_bufsz-1)/SPDIO_TX_BUF_SZ_UNIT)+1)&0xff); in SPDIO_Device_Init()488 SDIO_InitStruct.RXBD_BAR = (u32)pgSPDIODev->pRXBDAddrAligned; in SPDIO_Device_Init()489 SDIO_InitStruct.RXBD_RING_SIZE = obj->tx_bd_num; in SPDIO_Device_Init()490 SDIO_InitStruct.RXBD_FREE_TH = RX_BD_FREE_TH; in SPDIO_Device_Init()492 SDIO_Init((&SDIO_InitStruct)); in SPDIO_Device_Init()
149 _LONG_CALL_ void SDIO_StructInit(SDIO_InitTypeDef* SDIO_InitStruct);
Completed in 6 milliseconds