Home
last modified time | relevance | path

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

/third_party/uboot/u-boot-2020.01/drivers/mmc/
Dhimci.c93 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 …]
Dhimci_hi3516dv300.c83 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()
Dhimci_hi3516cv500.c83 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()
Dhimci.h111 #define himci_writel(v, addr) do { writel(v, (uintptr_t)addr); \ macro
/third_party/uboot/u-boot-2020.01/arch/arm/mach-hi35xx/
Dhimci_boot.c37 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/
Demmc_boot.c44 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/
Demmc_boot.c46 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/
Demmc_boot.c47 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()