Home
last modified time | relevance | path

Searched refs:sdio_des (Results 1 – 16 of 16) sorted by relevance

/bsp/bluetrum/libraries/hal_drivers/
A Ddrv_sdio.c44 struct ab32_sdio_des sdio_des; member
197 hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_transfer_by_dma()
400 clk_src = sdio->sdio_des.clk_get(sdio->sdio_des.hw_sdio); in rthw_sdio_iocfg()
542 if ((sdio_des == RT_NULL) || (sdio_des->txconfig == RT_NULL) || (sdio_des->rxconfig == RT_NULL)) in sdio_host_create()
546 (sdio_des ? (sdio_des->txconfig ? "txconfig is NULL" : "") : ""), in sdio_host_create()
547 (sdio_des ? (sdio_des->rxconfig ? "rxconfig is NULL" : "") : "") in sdio_host_create()
568 rt_memcpy(&sdio->sdio_des, sdio_des, sizeof(struct ab32_sdio_des)); in sdio_host_create()
569 sdio->sdio_des.hw_sdio = (sdio_des->hw_sdio == RT_NULL ? SDMMC0_BASE : sdio_des->hw_sdio); in sdio_host_create()
570 sdio->sdio_des.clk_get = (sdio_des->clk_get == RT_NULL ? ab32_sdio_clk_get : sdio_des->clk_get); in sdio_host_create()
645 sdio_des.hw_sdio = SDMMC0_BASE; in rt_hw_sdio_init()
[all …]
/bsp/allwinner_tina/drivers/
A Ddrv_sdio.c331 tina_mmc_t mmc = sdio_des->mmc_des;
408 sdio_des->usedma = 1;
415 sdio_des->usedma = 0;
480 if (data && sdio_des->usedma)
532 mmc_request_end(sdio_des->host, sdio_des->req);
604 tina_mmc_t mmc = sdio_des->mmc_des;
623 tina_mmc_t mmc = sdio_des->mmc_des;
631 sdio_des->flag.risr |= risr;
632 sdio_des->flag.idst |= idst;
641 if (sdio_des->usedma)
[all …]
/bsp/at32/libraries/rt_drivers/
A Ddrv_sdio.c42 struct at32_sdio_des sdio_des; member
238 hw_sdio = sdio->sdio_des.hw_sdio; in rt_hw_sdio_transfer_by_dma()
423 clk_src = sdio->sdio_des.clk_get(sdio->sdio_des.hw_sdio); in rt_hw_sdio_iocfg()
621 if ((sdio_des == RT_NULL) || (sdio_des->txconfig == RT_NULL) || (sdio_des->rxconfig == RT_NULL)) in sdio_host_create()
625 (sdio_des ? (sdio_des->txconfig ? "txconfig is NULL" : "") : ""), in sdio_host_create()
626 (sdio_des ? (sdio_des->rxconfig ? "rxconfig is NULL" : "") : "") in sdio_host_create()
647 rt_memcpy(&sdio->sdio_des, sdio_des, sizeof(struct at32_sdio_des)); in sdio_host_create()
648 …sdio->sdio_des.hw_sdio = (sdio_des->hw_sdio == RT_NULL ? (struct at32_sdio *)SDIO_BASE_ADDRESS : s… in sdio_host_create()
649 sdio->sdio_des.clk_get = (sdio_des->clk_get == RT_NULL ? at32_sdio_clk_get : sdio_des->clk_get); in sdio_host_create()
815 struct at32_sdio_des sdio_des; in rt_hw_sdio_init() local
[all …]
/bsp/ht32/libraries/ht32_drivers/
A Ddrv_sdio.c106 hw_sdio = sdio->sdio_des.hw_sdio; in rt_hw_sdio_transfer_by_dma()
299 clk_src = sdio->sdio_des.clk_get(sdio->sdio_des.hw_sdio); in rt_hw_sdio_iocfg()
547 if ((sdio_des == RT_NULL) || (sdio_des->txconfig == RT_NULL) || (sdio_des->rxconfig == RT_NULL)) in sdio_host_create()
551 (sdio_des ? (sdio_des->txconfig ? "txconfig is NULL" : "") : ""), in sdio_host_create()
552 (sdio_des ? (sdio_des->rxconfig ? "rxconfig is NULL" : "") : "") in sdio_host_create()
573 rt_memcpy(&sdio->sdio_des, sdio_des, sizeof(struct ht32_sdio_des)); in sdio_host_create()
574 …sdio->sdio_des.hw_sdio = (sdio_des->hw_sdio == RT_NULL ? (HT_SDIO_TypeDef *)SDIO_BASE_ADDRESS : sd… in sdio_host_create()
575 sdio->sdio_des.clk_get = (sdio_des->clk_get == RT_NULL ? ht32_sdio_clk_get : sdio_des->clk_get); in sdio_host_create()
679 struct ht32_sdio_des sdio_des; in rt_hw_sdio_init() local
684 sdio_des.rxconfig = dma_rx_config; in rt_hw_sdio_init()
[all …]
/bsp/apm32/libraries/Drivers/
A Ddrv_sdio.c40 struct apm32_sdio_des sdio_des; member
236 hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_transfer_by_dma()
421 clk_src = sdio->sdio_des.clk_get(sdio->sdio_des.hw_sdio); in rthw_sdio_iocfg()
619 if ((sdio_des == RT_NULL) || (sdio_des->txconfig == RT_NULL) || (sdio_des->rxconfig == RT_NULL)) in sdio_host_create()
623 (sdio_des ? (sdio_des->txconfig ? "txconfig is NULL" : "") : ""), in sdio_host_create()
624 (sdio_des ? (sdio_des->rxconfig ? "rxconfig is NULL" : "") : "") in sdio_host_create()
645 rt_memcpy(&sdio->sdio_des, sdio_des, sizeof(struct apm32_sdio_des)); in sdio_host_create()
646 …sdio->sdio_des.hw_sdio = (sdio_des->hw_sdio == RT_NULL ? (struct apm32_sdio *)SDIO_BASE_ADDRESS : in sdio_host_create()
647 … sdio->sdio_des.clk_get = (sdio_des->clk_get == RT_NULL ? apm32_sdio_clk_get : sdio_des->clk_get); in sdio_host_create()
844 struct apm32_sdio_des sdio_des; in rt_hw_sdio_init() local
[all …]
/bsp/synwit/libraries/SWM320_drivers/
A Ddrv_sdio.c54 struct swm_sdio_des sdio_des; member
362 clk_src = sdio->sdio_des.clk_get(sdio->sdio_des.swm_sdio); in swm_sdio_set_iocfg()
507 if ((sdio_des == RT_NULL) || (sdio_des->txconfig == RT_NULL) || (sdio_des->rxconfig == RT_NULL)) in swm_sdio_host_create()
511 (sdio_des ? (sdio_des->txconfig ? "txconfig is NULL" : "") : ""), in swm_sdio_host_create()
512 (sdio_des ? (sdio_des->rxconfig ? "rxconfig is NULL" : "") : "")); in swm_sdio_host_create()
532 rt_memcpy(&sdio->sdio_des, sdio_des, sizeof(struct swm_sdio_des)); in swm_sdio_host_create()
665 struct swm_sdio_des sdio_des; in swm_sdio_init() local
694 sdio_des.clk_get = swm_sdio_clock_get; in swm_sdio_init()
695 sdio_des.swm_sdio = SDIO; in swm_sdio_init()
696 sdio_des.rxconfig = swm_sdio_rxconfig; in swm_sdio_init()
[all …]
/bsp/synwit/libraries/SWM341_drivers/
A Ddrv_sdio.c54 struct swm_sdio_des sdio_des; member
362 clk_src = sdio->sdio_des.clk_get(sdio->sdio_des.swm_sdio); in swm_sdio_set_iocfg()
507 if ((sdio_des == RT_NULL) || (sdio_des->txconfig == RT_NULL) || (sdio_des->rxconfig == RT_NULL)) in swm_sdio_host_create()
511 (sdio_des ? (sdio_des->txconfig ? "txconfig is NULL" : "") : ""), in swm_sdio_host_create()
512 (sdio_des ? (sdio_des->rxconfig ? "rxconfig is NULL" : "") : "")); in swm_sdio_host_create()
532 rt_memcpy(&sdio->sdio_des, sdio_des, sizeof(struct swm_sdio_des)); in swm_sdio_host_create()
673 struct swm_sdio_des sdio_des; in swm_sdio_init() local
694 sdio_des.clk_get = swm_sdio_clock_get; in swm_sdio_init()
695 sdio_des.swm_sdio = SDIO; in swm_sdio_init()
696 sdio_des.rxconfig = swm_sdio_rxconfig; in swm_sdio_init()
[all …]
/bsp/stm32/libraries/HAL_Drivers/drivers/
A Ddrv_sdio.c43 struct stm32_sdio_des sdio_des; member
239 hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_transfer_by_dma()
424 clk_src = sdio->sdio_des.clk_get(sdio->sdio_des.hw_sdio); in rthw_sdio_iocfg()
622 if ((sdio_des == RT_NULL) || (sdio_des->txconfig == RT_NULL) || (sdio_des->rxconfig == RT_NULL)) in sdio_host_create()
626 (sdio_des ? (sdio_des->txconfig ? "txconfig is NULL" : "") : ""), in sdio_host_create()
627 (sdio_des ? (sdio_des->rxconfig ? "rxconfig is NULL" : "") : "") in sdio_host_create()
648 rt_memcpy(&sdio->sdio_des, sdio_des, sizeof(struct stm32_sdio_des)); in sdio_host_create()
649 …sdio->sdio_des.hw_sdio = (sdio_des->hw_sdio == RT_NULL ? (struct stm32_sdio *)SDIO_BASE_ADDRESS : in sdio_host_create()
650 … sdio->sdio_des.clk_get = (sdio_des->clk_get == RT_NULL ? stm32_sdio_clk_get : sdio_des->clk_get); in sdio_host_create()
847 struct stm32_sdio_des sdio_des; in rt_hw_sdio_init() local
[all …]
A Ddrv_sdmmc.c49 struct stm32_sdio_des sdio_des; member
147 SD_TypeDef *hsd = sdio->sdio_des.hw_sdio.Instance; in rthw_sdio_wait_completed()
234 SD_TypeDef *hsd = sdio->sdio_des.hw_sdio.Instance; in rthw_sdio_send_command()
259 __HAL_SD_ENABLE_IT(&sdio->sdio_des.hw_sdio, SDIO_MASKR_ALL); in rthw_sdio_send_command()
377 SD_HandleTypeDef *hsd = &sdio->sdio_des.hw_sdio; in rthw_sdio_iocfg()
379 rt_uint32_t sdmmc_clk = sdio->sdio_des.clk_get(); in rthw_sdio_iocfg()
557 __HAL_SD_CLEAR_FLAG(&sdio->sdio_des.hw_sdio, intstatus); in rthw_sdio_irq_process()
579 if (sdio_des == RT_NULL) in sdio_host_create()
604 rt_memcpy(&sdio->sdio_des, sdio_des, sizeof(struct stm32_sdio_des)); in sdio_host_create()
606 if(sdio_des->hw_sdio.Instance == SDMMC1) in sdio_host_create()
[all …]
/bsp/stm32/stm32h743-atk-apollo/board/ports/
A Ddrv_sdio.c38 struct stm32_sdio_des sdio_des; member
118 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_wait_completed()
168 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_send_command()
296 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_irq_process()
316 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_iocfg()
363 struct rt_mmcsd_host *sdio_host_create(struct stm32_sdio_des *sdio_des) in sdio_host_create() argument
368 if (sdio_des == RT_NULL) in sdio_host_create()
388 rt_memcpy(&sdio->sdio_des, sdio_des, sizeof(struct stm32_sdio_des)); in sdio_host_create()
390 sdio->sdio_des.hw_sdio = (struct stm32_sdio *)SDIO_BASE_ADDRESS; in sdio_host_create()
437 struct stm32_sdio_des sdio_des; in rt_hw_sdio_init() local
[all …]
/bsp/stm32/stm32h743-openmv-h7plus/board/ports/
A Ddrv_sdio.c39 struct stm32_sdio_des sdio_des; member
119 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_wait_completed()
169 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_send_command()
297 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_irq_process()
317 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_iocfg()
364 struct rt_mmcsd_host *sdio_host_create(struct stm32_sdio_des *sdio_des) in sdio_host_create() argument
369 if (sdio_des == RT_NULL) in sdio_host_create()
389 rt_memcpy(&sdio->sdio_des, sdio_des, sizeof(struct stm32_sdio_des)); in sdio_host_create()
391 sdio->sdio_des.hw_sdio = (struct stm32_sdio *)SDIO_BASE_ADDRESS; in sdio_host_create()
438 struct stm32_sdio_des sdio_des; in rt_hw_sdio_init() local
[all …]
/bsp/stm32/stm32h750-artpi/board/port/
A Ddrv_sdio.c44 struct stm32_sdio_des sdio_des; member
140 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_wait_completed()
196 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_send_command()
331 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_irq_process()
351 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_iocfg()
400 struct rt_mmcsd_host *sdio_host_create(struct stm32_sdio_des *sdio_des) in sdio_host_create() argument
405 if (sdio_des == RT_NULL) in sdio_host_create()
428 rt_memcpy(&sdio->sdio_des, sdio_des, sizeof(struct stm32_sdio_des)); in sdio_host_create()
430 if(sdio_des->hsd.Instance == SDMMC1) in sdio_host_create()
432 sdio->sdio_des.hw_sdio = (struct stm32_sdio *)SDIO1_BASE_ADDRESS; in sdio_host_create()
[all …]
/bsp/stm32/stm32l475-atk-pandora/board/ports/
A Ddrv_sdio_adapter.c174 struct stm32_sdio_des sdio_des; in stm32f4xx_sdio_init() local
178 sdio_des.clk_get = stm32_sdio_clock_get; in stm32f4xx_sdio_init()
179 sdio_des.hw_sdio = (struct stm32_sdio *)0x40012800U; in stm32f4xx_sdio_init()
180 sdio_des.rxconfig = DMA_RxConfig; in stm32f4xx_sdio_init()
181 sdio_des.txconfig = DMA_TxConfig; in stm32f4xx_sdio_init()
183 host = sdio_host_create(&sdio_des); in stm32f4xx_sdio_init()
/bsp/stm32/stm32mp157a-st-discovery/board/ports/
A Ddrv_sdio.c50 struct stm32_sdio_des sdio_des; member
140 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_wait_completed()
227 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_send_command()
362 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_irq_process()
382 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_iocfg()
445 struct rt_mmcsd_host *sdio_host_create(struct stm32_sdio_des *sdio_des) in sdio_host_create() argument
450 if (sdio_des == RT_NULL) in sdio_host_create()
470 rt_memcpy(&sdio->sdio_des, sdio_des, sizeof(struct stm32_sdio_des)); in sdio_host_create()
472 if(sdio_des->hsd.Instance == SDMMC1) in sdio_host_create()
474 sdio->sdio_des.hw_sdio = (struct stm32_sdio *)SDIO1_BASE_ADDRESS; in sdio_host_create()
[all …]
/bsp/stm32/stm32mp157a-st-ev1/board/ports/
A Ddrv_emmc.c45 struct stm32_sdio_des sdio_des; member
161 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_wait_completed()
248 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_send_command()
393 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_irq_process()
413 struct stm32_sdio *hw_sdio = sdio->sdio_des.hw_sdio; in rthw_sdio_iocfg()
476 struct rt_mmcsd_host *sdio_host_create(struct stm32_sdio_des *sdio_des) in sdio_host_create() argument
481 if (sdio_des == RT_NULL) in sdio_host_create()
501 rt_memcpy(&sdio->sdio_des, sdio_des, sizeof(struct stm32_sdio_des)); in sdio_host_create()
503 sdio->sdio_des.hw_sdio = (struct stm32_sdio *)EMMC_BASE_ADDRESS; in sdio_host_create()
547 struct stm32_sdio_des sdio_des; in rt_hw_sdio_init() local
[all …]
/bsp/hc32/libraries/hc32_drivers/
A Ddrv_sdio.c945 const struct hc32_sdio_des *sdio_des) in _sdio_host_create() argument
951 … (sdio_des == RT_NULL) || (sdio_des->txconfig == RT_NULL) || (sdio_des->rxconfig == RT_NULL)) in _sdio_host_create()
956 (sdio_des == RT_NULL ? "sdio_des is NULL" : ""), in _sdio_host_create()
957 (sdio_des ? (sdio_des->txconfig ? "txconfig is NULL" : "") : ""), in _sdio_host_create()
958 (sdio_des ? (sdio_des->rxconfig ? "rxconfig is NULL" : "") : "") in _sdio_host_create()
981 rt_memcpy(&sdio->des, sdio_des, sizeof(struct hc32_sdio_des)); in _sdio_host_create()
1023 const struct hc32_sdio_des sdio_des = in rt_hw_sdio_init() local
1040 host = _sdio_host_create(sdio_config, _sdio_cache_buf[i], &sdio_des); in rt_hw_sdio_init()

Completed in 735 milliseconds