Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/drivers/renesas/common/emmc/
Demmc_interrupt.c49 mmc_drv_obj.error_info.info1 = GETR_32(SD_INFO1); in emmc_interrupt()
50 mmc_drv_obj.error_info.info2 = GETR_32(SD_INFO2); in emmc_interrupt()
54 mmc_drv_obj.error_info.info1 & GETR_32(SD_INFO1_MASK); in emmc_interrupt()
56 mmc_drv_obj.error_info.info2 & GETR_32(SD_INFO2_MASK); in emmc_interrupt()
59 mmc_drv_obj.error_info.status1 = GETR_32(SD_ERR_STS1); in emmc_interrupt()
60 mmc_drv_obj.error_info.status2 = GETR_32(SD_ERR_STS2); in emmc_interrupt()
63 mmc_drv_obj.error_info.dm_info1 = GETR_32(DM_CM_INFO1); in emmc_interrupt()
64 mmc_drv_obj.error_info.dm_info2 = GETR_32(DM_CM_INFO2); in emmc_interrupt()
68 mmc_drv_obj.error_info.dm_info1 & GETR_32(DM_CM_INFO1_MASK); in emmc_interrupt()
70 mmc_drv_obj.error_info.dm_info2 & GETR_32(DM_CM_INFO2_MASK); in emmc_interrupt()
[all …]
Demmc_cmd.c42 if ((GETR_32(SD_INFO2) & SD_INFO2_CBSY) == 0) in emmc_softreset()
47 if ((GETR_32(SD_INFO2) & SD_INFO2_CBSY) == 0) in emmc_softreset()
60 SETR_32(SOFT_RST, (GETR_32(SOFT_RST) & (~SOFT_RST_SDRST))); in emmc_softreset()
61 SETR_32(SOFT_RST, (GETR_32(SOFT_RST) | SOFT_RST_SDRST)); in emmc_softreset()
79 *response = GETR_32(SD_RSP10); /* [39:8] */ in emmc_read_response()
85 emmc_little_to_big(p, ((GETR_32(SD_RSP76) << 8) in emmc_read_response()
86 | (GETR_32(SD_RSP54) >> 24))); /* [127:96] */ in emmc_read_response()
87 emmc_little_to_big(p + 4, ((GETR_32(SD_RSP54) << 8) in emmc_read_response()
88 | (GETR_32(SD_RSP32) >> 24))); /* [95:64] */ in emmc_read_response()
89 emmc_little_to_big(p + 8, ((GETR_32(SD_RSP32) << 8) in emmc_read_response()
[all …]
Demmc_mount.c61 || ((GETR_32(SD_INFO2) & SD_INFO2_CBSY) != 0) in emmc_card_init()
185 ((GETR_32(SD_OPTION) & ~(SD_OPTION_TIMEOUT_CNT_MASK)) | in emmc_card_init()
268 ((GETR_32(SD_OPTION) & ~(SD_OPTION_TIMEOUT_CNT_MASK)) | in emmc_high_speed()
288 if ((GETR_32(SD_INFO2) & SD_INFO2_CBSY) != 0) { in emmc_clock_ctrl()
297 ((GETR_32(SD_CLK_CTRL) | MMC_SD_CLK_START) & in emmc_clock_ctrl()
304 ((GETR_32(SD_CLK_CTRL) & MMC_SD_CLK_STOP) & in emmc_clock_ctrl()
346 ((GETR_32(SD_OPTION) & ~(BIT15 | BIT13)) | BIT15)); in emmc_bus_width()
349 SETR_32(SD_OPTION, (GETR_32(SD_OPTION) & ~(BIT15 | BIT13))); in emmc_bus_width()
353 ((GETR_32(SD_OPTION) & ~(BIT15 | BIT13)) | BIT13)); in emmc_bus_width()
423 dataL = (GETR_32(SD_CLK_CTRL) & (~SD_CLK_CTRL_CLKDIV_MASK)); in set_sd_clk()
[all …]
Demmc_std.h25 #define GETR_32(r) (*(volatile uint32_t *)(r)) macro