Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/drivers/brcm/emmc/
Demmc_pboot_hal_memory_drv.c27 static uint32_t sdio_idle(struct sd_handle *p_sdhandle);
29 static uint32_t sdio_read(struct sd_handle *p_sdhandle,
36 static uint32_t sdio_write(struct sd_handle *p_sdhandle,
43 static int32_t bcm_emmc_card_ready_state(struct sd_handle *p_sdhandle);
104 struct sd_handle *p_sdhandle; in bcm_emmc_init() local
115 p_sdhandle = sdio_init(); in bcm_emmc_init()
117 if (p_sdhandle == NULL) { in bcm_emmc_init()
124 result = bcm_emmc_card_ready_state(p_sdhandle); in bcm_emmc_init()
128 if (sdio_idle(p_sdhandle) == EMMC_BOOT_OK) { in bcm_emmc_init()
129 set_config(p_sdhandle, SD_NORMAL_SPEED, MAX_CMD_RETRY, USE_DMA, in bcm_emmc_init()
[all …]