Home
last modified time | relevance | path

Searched refs:ufs_params (Results 1 – 5 of 5) sorted by relevance

/external/arm-trusted-firmware/drivers/ufs/
Dufs.c30 static ufs_params_t ufs_params; variable
59 assert((ufs_params.reg_base != 0) && (val != NULL)); in ufshc_dme_get()
61 base = ufs_params.reg_base; in ufshc_dme_get()
94 assert((ufs_params.reg_base != 0)); in ufshc_dme_set()
96 base = ufs_params.reg_base; in ufshc_dme_set()
161 data = mmio_read_32(ufs_params.reg_base + UTRLDBR); in get_empty_slot()
185 base = ufs_params.desc_base + (slot * UFS_DESC_SIZE); in get_utrd()
221 mmio_write_32(ufs_params.reg_base + UTRLBA, in ufs_prepare_cmd()
223 mmio_write_32(ufs_params.reg_base + UTRLBAU, in ufs_prepare_cmd()
324 mmio_write_32(ufs_params.reg_base + UTRLBA, in ufs_prepare_query()
[all …]
/external/arm-trusted-firmware/plat/hisilicon/hikey960/
Dhikey960_bl1_setup.c172 dw_ufs_params_t ufs_params; in hikey960_ufs_init() local
174 memset(&ufs_params, 0, sizeof(ufs_params)); in hikey960_ufs_init()
175 ufs_params.reg_base = UFS_REG_BASE; in hikey960_ufs_init()
176 ufs_params.desc_base = HIKEY960_UFS_DESC_BASE; in hikey960_ufs_init()
177 ufs_params.desc_size = HIKEY960_UFS_DESC_SIZE; in hikey960_ufs_init()
179 if ((ufs_params.flags & UFS_FLAGS_SKIPINIT) == 0) in hikey960_ufs_init()
181 dw_ufs_init(&ufs_params); in hikey960_ufs_init()
Dhikey960_bl2_setup.c147 dw_ufs_params_t ufs_params; in hikey960_init_ufs() local
149 memset(&ufs_params, 0, sizeof(ufs_params_t)); in hikey960_init_ufs()
150 ufs_params.reg_base = UFS_REG_BASE; in hikey960_init_ufs()
151 ufs_params.desc_base = HIKEY960_UFS_DESC_BASE; in hikey960_init_ufs()
152 ufs_params.desc_size = HIKEY960_UFS_DESC_SIZE; in hikey960_init_ufs()
154 dw_ufs_init(&ufs_params); in hikey960_init_ufs()
/external/arm-trusted-firmware/drivers/synopsys/ufs/
Ddw_ufs.c193 ufs_params_t ufs_params; in dw_ufs_init() local
195 memset(&ufs_params, 0, sizeof(ufs_params)); in dw_ufs_init()
196 ufs_params.reg_base = params->reg_base; in dw_ufs_init()
197 ufs_params.desc_base = params->desc_base; in dw_ufs_init()
198 ufs_params.desc_size = params->desc_size; in dw_ufs_init()
199 ufs_params.flags = params->flags; in dw_ufs_init()
200 ufs_init(&dw_ufs_ops, &ufs_params); in dw_ufs_init()
/external/arm-trusted-firmware/include/drivers/
Dufs.h521 typedef struct ufs_params { struct