Searched refs:SETR_32 (Results 1 – 6 of 6) sorted by relevance
/external/arm-trusted-firmware/drivers/renesas/common/emmc/ |
D | emmc_cmd.c | 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() 64 SETR_32(SD_INFO1, 0x00000000U); in emmc_softreset() 65 SETR_32(SD_INFO2, SD_INFO2_CLEAR); in emmc_softreset() 66 SETR_32(SD_INFO1_MASK, 0x00000000U); /* all interrupt disable */ in emmc_softreset() 67 SETR_32(SD_INFO2_MASK, SD_INFO2_CLEAR); /* all interrupt disable */ in emmc_softreset() 169 SETR_32(SD_INFO1_MASK, 0x00000000U); in emmc_data_transfer_dma() 170 SETR_32(SD_INFO2_MASK, (SD_INFO2_ALL_ERR | SD_INFO2_CLEAR)); in emmc_data_transfer_dma() 175 SETR_32(DM_CM_INFO1_MASK, in emmc_data_transfer_dma() 177 SETR_32(DM_CM_INFO2_MASK, in emmc_data_transfer_dma() [all …]
|
D | emmc_interrupt.c | 74 SETR_32(SD_INFO1_MASK, 0x00000000U); /* interrupt disable */ in emmc_interrupt() 75 SETR_32(SD_INFO2_MASK, SD_INFO2_CLEAR); /* interrupt disable */ in emmc_interrupt() 76 SETR_32(SD_INFO1, 0x00000000U); /* interrupt clear */ in emmc_interrupt() 77 SETR_32(SD_INFO2, SD_INFO2_CLEAR); /* interrupt clear */ in emmc_interrupt() 86 SETR_32(SD_INFO2, (GETR_32(SD_INFO2) & ~SD_INFO2_BWE)); in emmc_interrupt() 90 SETR_32(SD_INFO2, (GETR_32(SD_INFO2) & ~SD_INFO2_BRE)); in emmc_interrupt() 102 SETR_32(SD_INFO1_MASK, 0x00000000U); in emmc_interrupt() 103 SETR_32(SD_INFO2_MASK, SD_INFO2_CLEAR); in emmc_interrupt() 104 SETR_32(SD_INFO1, 0x00000000U); in emmc_interrupt() 106 SETR_32(SD_INFO2, SD_INFO2_CLEAR); in emmc_interrupt() [all …]
|
D | emmc_init.c | 84 SETR_32(SD_INFO1, 0x00000000U); /* all interrupt clear */ in emmc_dev_finalize() 85 SETR_32(SD_INFO2, SD_INFO2_CLEAR); /* all interrupt clear */ in emmc_dev_finalize() 86 SETR_32(SD_INFO1_MASK, 0x00000000U); /* all interrupt disable */ in emmc_dev_finalize() 87 SETR_32(SD_INFO2_MASK, SD_INFO2_CLEAR); /* all interrupt disable */ in emmc_dev_finalize() 88 SETR_32(SD_CLK_CTRL, 0x00000000U); /* MMC clock stop */ in emmc_dev_finalize() 112 SETR_32(SD_INFO1, 0x00000000U); /* all interrupt clear */ in emmc_dev_init() 113 SETR_32(SD_INFO2, SD_INFO2_CLEAR); /* all interrupt clear */ in emmc_dev_init() 114 SETR_32(SD_INFO1_MASK, 0x00000000U); /* all interrupt disable */ in emmc_dev_init() 115 SETR_32(SD_INFO2_MASK, SD_INFO2_CLEAR); /* all interrupt disable */ in emmc_dev_init() 117 SETR_32(HOST_MODE, 0x00000000U); /* SD_BUF access width = 64-bit */ in emmc_dev_init() [all …]
|
D | emmc_mount.c | 184 SETR_32(SD_OPTION, in emmc_card_init() 198 SETR_32(SD_SIZE, EMMC_BLOCK_LENGTH); in emmc_card_init() 267 SETR_32(SD_OPTION, in emmc_high_speed() 299 SETR_32(SD_CLK_CTRL, value); /* on */ in emmc_clock_ctrl() 306 SETR_32(SD_CLK_CTRL, value); /* off */ in emmc_clock_ctrl() 345 SETR_32(SD_OPTION, in emmc_bus_width() 349 SETR_32(SD_OPTION, (GETR_32(SD_OPTION) & ~(BIT15 | BIT13))); in emmc_bus_width() 352 SETR_32(SD_OPTION, in emmc_bus_width() 458 SETR_32(SD_CLK_CTRL, dataL); in set_sd_clk() 469 SETR_32(SD_OPTION, 0x000060EEU); /* 8 bits width */ in emmc_get_partition_access() [all …]
|
D | emmc_read.c | 40 SETR_32(SD_SECCNT, count); in emmc_multiple_block_read() 41 SETR_32(SD_STOP, 0x00000100); in emmc_multiple_block_read() 43 SETR_32(CC_EXT_MODE, (CC_EXT_MODE_CLEAR | CC_EXT_MODE_DMASDRW_ENABLE)); in emmc_multiple_block_read()
|
D | emmc_std.h | 24 #define SETR_32(r, v) (*(volatile uint32_t *)(r) = (v)) macro
|