Home
last modified time | relevance | path

Searched refs:CHAL_HANDLE (Results 1 – 6 of 6) sorted by relevance

/external/arm-trusted-firmware/include/drivers/brcm/emmc/
Demmc_chal_sd.h169 int32_t chal_sd_start(CHAL_HANDLE *sdHandle, uint32_t mode,
171 int32_t chal_sd_config(CHAL_HANDLE *sdHandle, uint32_t speed,
175 int32_t chal_sd_set_dma(CHAL_HANDLE *sdHandle, uint32_t mode);
176 uintptr_t chal_sd_get_dma_addr(CHAL_HANDLE *handle);
177 int32_t chal_sd_config_bus_width(CHAL_HANDLE *sdHandle, int32_t width);
178 int32_t chal_sd_send_cmd(CHAL_HANDLE *sdHandle, uint32_t cmdIndex,
180 int32_t chal_sd_set_dma_addr(CHAL_HANDLE *sdHandle, uintptr_t address);
181 int32_t chal_sd_set_clock(CHAL_HANDLE *sdHandle,
184 int32_t chal_sd_setup_xfer(CHAL_HANDLE *sdHandle, uint8_t *data,
186 int32_t chal_sd_write_buffer(CHAL_HANDLE *sdHandle, uint32_t length,
[all …]
Demmc_chal_types.h16 #ifndef CHAL_HANDLE
17 typedef void *CHAL_HANDLE; ///< void pointer (32 bits wide) typedef
/external/arm-trusted-firmware/drivers/brcm/emmc/
Demmc_csl_sdcard.c107 chal_sd_set_clock((CHAL_HANDLE *) handle->device, div_ctrl_setting, 0); in process_csd_mmc_speed()
109 chal_sd_set_clock((CHAL_HANDLE *) handle->device, div_ctrl_setting, 1); in process_csd_mmc_speed()
165 chal_sd_config_bus_width((CHAL_HANDLE *) handle->device, in set_card_data_width()
202 chal_sd_send_cmd((CHAL_HANDLE *) handle->device, in abort_err()
218 chal_sd_get_response((CHAL_HANDLE *) handle->device, in abort_err()
229 chal_sd_get_present_status((CHAL_HANDLE *) handle->device); in abort_err()
330 chal_sd_config_bus_width((CHAL_HANDLE *) handle->device, in init_card()
360 chal_sd_config_bus_width((CHAL_HANDLE *) handle->device, in init_card()
371 chal_sd_config_bus_width((CHAL_HANDLE *) handle->device, in init_card()
382 chal_sd_config_bus_width((CHAL_HANDLE *) handle->device, in init_card()
[all …]
Demmc_chal_sd.c188 int32_t chal_sd_init(CHAL_HANDLE *sd_handle) in chal_sd_init()
298 void chal_sd_set_speed(CHAL_HANDLE *sd_handle, uint32_t speed) in chal_sd_set_speed()
340 int32_t chal_sd_check_cap(CHAL_HANDLE *sd_handle, uint32_t caps) in chal_sd_check_cap()
356 int32_t chal_sd_start(CHAL_HANDLE *sd_handle, in chal_sd_start()
389 int32_t chal_sd_get_atuo12_error(CHAL_HANDLE *sd_handle) in chal_sd_get_atuo12_error()
405 uint32_t chal_sd_get_present_status(CHAL_HANDLE *sd_handle) in chal_sd_get_present_status()
421 int32_t chal_sd_config_bus_width(CHAL_HANDLE *sd_handle, int32_t width) in chal_sd_config_bus_width()
461 int32_t chal_sd_set_dma(CHAL_HANDLE *sd_handle, uint32_t mode) in chal_sd_set_dma()
500 uintptr_t chal_sd_get_dma_addr(CHAL_HANDLE *sd_handle) in chal_sd_get_dma_addr()
516 int32_t chal_sd_send_cmd(CHAL_HANDLE *sd_handle, uint32_t cmd_idx, in chal_sd_send_cmd()
[all …]
Demmc_csl_sdcmd.c719 chal_sd_get_present_status((CHAL_HANDLE *) handle->device); in send_cmd()
739 chal_sd_send_cmd((CHAL_HANDLE *) handle->device, cmdIndex, in send_cmd()
758 present = chal_sd_get_present_status((CHAL_HANDLE *) in send_cmd()
767 chal_sd_get_present_status((CHAL_HANDLE *) in send_cmd()
776 chal_sd_get_response((CHAL_HANDLE *) handle->device, in send_cmd()
791 chal_sd_get_present_status((CHAL_HANDLE *) in send_cmd()
827 chal_sd_get_present_status((CHAL_HANDLE *) in send_cmd()
Demmc_pboot_hal_memory_drv.c292 if (chal_sd_start((CHAL_HANDLE *) p_sdhandle->device, in sdio_init()