/third_party/uboot/u-boot-2020.01/drivers/mmc/ |
D | himci.c | 93 himci_writel(tmp_reg, host->base + MCI_BMOD); in hi_mci_sys_reset() 103 himci_writel(tmp_reg, host->base + MCI_BMOD); in hi_mci_sys_reset() 107 himci_writel(tmp_reg, host->base + MCI_CTRL); in hi_mci_sys_reset() 121 himci_writel(reg_value, host->base + MCI_PWREN); in hi_mci_ctrl_power() 161 himci_writel(reg, host->base + MCI_CLKENA); in hi_mci_control_cclk() 168 himci_writel(cmd_reg.cmd_arg, host->base + MCI_CMD); in hi_mci_control_cclk() 193 himci_writel(reg_value, host->base + MCI_CLKDIV); in hi_mci_set_cclk() 200 himci_writel(cmd_reg.cmd_arg, host->base + MCI_CMD); in hi_mci_set_cclk() 229 himci_writel(~(1<<host->port), host->base + MCI_RESET_N); in hi_mci_init_card() 239 himci_writel(1<<host->port, host->base + MCI_RESET_N); in hi_mci_init_card() [all …]
|
D | himci_hi3516dv300.c | 83 himci_writel(reg, i); in hi_mci_set_drv_cap() 114 himci_writel(reg_value, host->base + MCI_UHS_REG_EXT); in hi_mci_set_default_phase() 131 himci_writel(tmp_reg, CRG_REG_BASE + SDIO0_CRG); in hi_mci_sys_init() 135 himci_writel(tmp_reg, CRG_REG_BASE + SDIO0_CRG); in hi_mci_sys_init() 139 himci_writel(tmp_reg, CRG_REG_BASE + SDIO0_CRG); in hi_mci_sys_init() 150 himci_writel(tmp_reg, CRG_REG_BASE + EMMC_CRG); in hi_mci_sys_init() 154 himci_writel(tmp_reg, CRG_REG_BASE + EMMC_CRG); in hi_mci_sys_init() 158 himci_writel(tmp_reg, CRG_REG_BASE + EMMC_CRG); in hi_mci_sys_init() 175 himci_writel(reg, i); in hi_mci_sys_init()
|
D | himci_hi3516cv500.c | 83 himci_writel(reg, i); in hi_mci_set_drv_cap() 114 himci_writel(reg_value, host->base + MCI_UHS_REG_EXT); in hi_mci_set_default_phase() 131 himci_writel(tmp_reg, CRG_REG_BASE + SDIO0_CRG); in hi_mci_sys_init() 135 himci_writel(tmp_reg, CRG_REG_BASE + SDIO0_CRG); in hi_mci_sys_init() 139 himci_writel(tmp_reg, CRG_REG_BASE + SDIO0_CRG); in hi_mci_sys_init() 150 himci_writel(tmp_reg, CRG_REG_BASE + EMMC_CRG); in hi_mci_sys_init() 154 himci_writel(tmp_reg, CRG_REG_BASE + EMMC_CRG); in hi_mci_sys_init() 158 himci_writel(tmp_reg, CRG_REG_BASE + EMMC_CRG); in hi_mci_sys_init() 175 himci_writel(reg, i); in hi_mci_sys_init()
|
D | himci.h | 111 #define himci_writel(v, addr) do { writel(v, (uintptr_t)addr); \ macro
|
/third_party/uboot/u-boot-2020.01/arch/arm/mach-hi35xx/ |
D | himci_boot.c | 37 static inline void himci_writel(unsigned val, unsigned addr) in himci_writel() function 55 himci_writel(val, mmc_base + MCI_CTRL); in emmc_deinit() 58 himci_writel(ALL_INT_CLR, mmc_base + MCI_RINTSTS); in emmc_deinit() 95 himci_writel(ALL_INT_CLR, EMMC_REG_BASE + MCI_RINTSTS); in emmc_boot_mode_read() 106 himci_writel(START_CMD | DISABLE_BOOT | STOP_ABORT_CMD, EMMC_REG_BASE + MCI_CMD); in emmc_boot_mode_read() 126 himci_writel(START_CMD | DISABLE_BOOT | STOP_ABORT_CMD, mmc_base + MCI_CMD); in emmc_boot_mode_deinit()
|
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv7/hi3516cv500/ |
D | emmc_boot.c | 44 static inline void himci_writel(unsigned val, unsigned addr) in himci_writel() function 62 himci_writel(val, mmc_base + MCI_CTRL); in emmc_deinit() 65 himci_writel(ALL_INT_CLR, mmc_base + MCI_RINTSTS); in emmc_deinit() 103 himci_writel(ALL_INT_CLR, EMMC_REG_BASE + MCI_RINTSTS); in emmc_boot_mode_read() 114 himci_writel(START_CMD | DISABLE_BOOT | STOP_ABORT_CMD, in emmc_boot_mode_read() 135 himci_writel(START_CMD | DISABLE_BOOT | STOP_ABORT_CMD, mmc_base + MCI_CMD); in emmc_boot_mode_deinit()
|
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv7/hi3516dv300/ |
D | emmc_boot.c | 46 static inline void himci_writel(unsigned val, unsigned addr) in himci_writel() function 64 himci_writel(val, mmc_base + MCI_CTRL); in emmc_deinit() 67 himci_writel(ALL_INT_CLR, mmc_base + MCI_RINTSTS); in emmc_deinit() 105 himci_writel(ALL_INT_CLR, EMMC_REG_BASE + MCI_RINTSTS); in emmc_boot_mode_read() 116 himci_writel(START_CMD | DISABLE_BOOT | STOP_ABORT_CMD, in emmc_boot_mode_read() 137 himci_writel(START_CMD | DISABLE_BOOT | STOP_ABORT_CMD, mmc_base + MCI_CMD); in emmc_boot_mode_deinit()
|
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv7/hi3516av300/ |
D | emmc_boot.c | 47 static inline void himci_writel(unsigned val, unsigned addr) in himci_writel() function 65 himci_writel(val, mmc_base + MCI_CTRL); in emmc_deinit() 68 himci_writel(ALL_INT_CLR, mmc_base + MCI_RINTSTS); in emmc_deinit() 106 himci_writel(ALL_INT_CLR, EMMC_REG_BASE + MCI_RINTSTS); in emmc_boot_mode_read() 117 himci_writel(START_CMD | DISABLE_BOOT | in emmc_boot_mode_read() 138 himci_writel(START_CMD | DISABLE_BOOT | in emmc_boot_mode_deinit()
|