Home
last modified time | relevance | path

Searched refs:sd_handle (Results 1 – 7 of 7) sorted by relevance

/arm-trusted-firmware-2.8.0/include/drivers/brcm/emmc/
A Demmc_csl_sd.h64 void data_xfer_setup(struct sd_handle *handle, uint8_t *data,
66 int reset_card(struct sd_handle *handle);
67 int reset_host_ctrl(struct sd_handle *handle);
68 int init_card(struct sd_handle *handle, int detection);
69 int init_mmc_card(struct sd_handle *handle);
72 int select_blk_sz(struct sd_handle *handle, uint16_t size);
73 int check_error(struct sd_handle *handle, uint32_t ints);
75 int process_data_xfer(struct sd_handle *handle, uint8_t *buffer,
87 int32_t set_config(struct sd_handle *handle, uint32_t speed,
93 int set_boot_config(struct sd_handle *handle, uint32_t config);
[all …]
A Demmc_csl_sdcmd.h135 struct sd_handle { struct
140 int sd_cmd0(struct sd_handle *handle); argument
142 int sd_cmd2(struct sd_handle *handle);
143 int sd_cmd3(struct sd_handle *handle);
144 int sd_cmd7(struct sd_handle *handle, uint32_t rca);
148 int sd_cmd17(struct sd_handle *handle,
150 int sd_cmd18(struct sd_handle *handle,
153 int sd_cmd24(struct sd_handle *handle,
155 int sd_cmd25(struct sd_handle *handle,
160 int sd_cmd36(struct sd_handle *handle, uint32_t end);
[all …]
A Dbcm_emmc.h46 struct sd_handle sdHandle;
/arm-trusted-firmware-2.8.0/drivers/brcm/emmc/
A Demmc_chal_sd.c197 if (sd_handle == NULL) in chal_sd_init()
302 if (sd_handle == NULL) in chal_sd_set_speed()
344 if (sd_handle == NULL) in chal_sd_check_cap()
363 if (sd_handle == NULL) in chal_sd_start()
393 if (sd_handle == NULL) in chal_sd_get_atuo12_error()
409 if (sd_handle == NULL) in chal_sd_get_present_status()
426 if (sd_handle == NULL) in chal_sd_config_bus_width()
467 if (sd_handle == NULL) in chal_sd_set_dma()
504 if (sd_handle == NULL) in chal_sd_get_dma_addr()
522 if (sd_handle == NULL) in chal_sd_send_cmd()
[all …]
A Demmc_pboot_hal_memory_drv.c57 struct sd_handle *sd_handle = sdio_gethandle(); in emmc_partition_select() local
59 if (sd_handle->device == 0) { in emmc_partition_select()
104 struct sd_handle *p_sdhandle; in bcm_emmc_init()
168 struct sd_handle *sd_handle = sdio_gethandle(); in emmc_read() local
170 if (sd_handle->device == 0) { in emmc_read()
184 struct sd_handle *sd_handle = sdio_gethandle(); in emmc_block_erase() local
186 if (sd_handle->device == 0) { in emmc_block_erase()
234 struct sd_handle *sd_handle = sdio_gethandle(); in emmc_write() local
236 if (sd_handle->device == 0) { in emmc_write()
252 struct sd_handle *sd_handle = sdio_gethandle(); in send_sdio_cmd() local
[all …]
A Demmc_csl_sdcard.c52 static int abort_err(struct sd_handle *handle);
191 static int abort_err(struct sd_handle *handle) in abort_err()
398 int init_mmc_card(struct sd_handle *handle) in init_mmc_card()
500 int reset_card(struct sd_handle *handle) in reset_card()
520 static int xfer_data(struct sd_handle *handle, in xfer_data()
588 int read_block(struct sd_handle *handle, in read_block()
613 int read_block(struct sd_handle *handle, in read_block()
625 int write_block(struct sd_handle *handle, in write_block()
942 int reset_host_ctrl(struct sd_handle *handle) in reset_host_ctrl()
949 static void pstate_log(struct sd_handle *handle) in pstate_log()
[all …]
A Demmc_csl_sdcmd.c19 int sd_cmd0(struct sd_handle *handle) in sd_cmd0()
57 int sd_cmd2(struct sd_handle *handle) in sd_cmd2()
68 int sd_cmd3(struct sd_handle *handle) in sd_cmd3()
92 int sd_cmd7(struct sd_handle *handle, uint32_t rca) in sd_cmd7()
312 int sd_cmd17(struct sd_handle *handle, in sd_cmd17()
366 int sd_cmd18(struct sd_handle *handle, in sd_cmd18()
457 int sd_cmd35(struct sd_handle *handle, uint32_t start) in sd_cmd35()
483 int sd_cmd36(struct sd_handle *handle, uint32_t end) in sd_cmd36()
509 int sd_cmd38(struct sd_handle *handle) in sd_cmd38()
537 int sd_cmd24(struct sd_handle *handle, in sd_cmd24()
[all …]

Completed in 31 milliseconds