Searched refs:GETR_32 (Results 1 – 4 of 4) sorted by relevance
49 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()198 while (((GETR_32(SD_INFO2)) & SD_INFO2_BRE) == in emmc_trans_sector()201 if (((GETR_32(SD_INFO2)) & in emmc_trans_sector()[all …]
42 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()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()90 | (GETR_32(SD_RSP10) >> 24))); /* [63:32] */ in emmc_read_response()91 emmc_little_to_big(p + 12, (GETR_32(SD_RSP10) << 8)); in emmc_read_response()[all …]
61 || ((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()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()627 if ((GETR_32(SD_INFO2) & SD_INFO2_CBSY) != 0) { in emmc_set_request_mmc_clock()[all …]
25 #define GETR_32(r) (*(volatile uint32_t *)(r)) macro
Completed in 7 milliseconds