| /linux/drivers/mmc/core/ |
| H A D | sd_ops.c | 34 struct mmc_command *cmd; 40 struct mmc_command cmd = {}; in mmc_app_cmd() 77 struct mmc_command *cmd) in mmc_wait_for_app_cmd() 123 struct mmc_command cmd = {}; in mmc_app_set_bus_width() 146 struct mmc_command *cmd = data->cmd; in sd_app_op_cond_cb() 174 struct mmc_command cmd = {}; in mmc_send_app_op_cond() 203 struct mmc_command cmd = { in mmc_send_ext_addr() 218 struct mmc_command cmd = {}; in __mmc_send_if_cond() 294 struct mmc_command cmd = {}; in mmc_send_relative_addr() 313 struct mmc_command cmd = {}; in mmc_app_send_scr() [all …]
|
| H A D | mmc_ops.c | 66 struct mmc_command *cmd; 72 struct mmc_command cmd = {}; in __mmc_send_status() 101 struct mmc_command cmd = {}; in _mmc_select_card() 137 struct mmc_command cmd = {}; in mmc_set_dsr() 149 struct mmc_command cmd = {}; in __mmc_go_idle() 196 struct mmc_command *cmd = data->cmd; in __mmc_send_op_cond_cb() 233 struct mmc_command cmd = {}; in mmc_send_op_cond() 259 struct mmc_command cmd = {}; in mmc_set_relative_addr() 272 struct mmc_command cmd = {}; in mmc_send_cxd_native() 295 struct mmc_command cmd = {}; in mmc_send_adtc_data() [all …]
|
| H A D | queue.h | 42 struct mmc_command sbc; 43 struct mmc_command cmd; 44 struct mmc_command stop;
|
| H A D | sd_uhs2.c | 46 struct mmc_command *cmd; 122 static void sd_uhs2_cmd_assemble(struct mmc_command *cmd, in sd_uhs2_cmd_assemble() 139 struct mmc_command cmd = {0}; in sd_uhs2_dev_init() 228 struct mmc_command cmd = {0}; in sd_uhs2_enum() 281 struct mmc_command cmd = {0}; in sd_uhs2_config_read() 469 struct mmc_command cmd = {0}; in sd_uhs2_config_write() 674 struct mmc_command cmd = {0}; in sd_uhs2_go_dormant() 744 struct mmc_command *cmd = data->cmd; in sd_uhs2_wait_active_state_cb() 761 struct mmc_command cmd = {0}; in sd_uhs2_go_dormant_state() 1247 struct mmc_command *cmd; in mmc_uhs2_prepare_cmd()
|
| H A D | sdio_ops.c | 20 struct mmc_command cmd = {}; in mmc_send_io_op_cond() 65 struct mmc_command cmd = {}; in mmc_io_rw_direct_host() 118 struct mmc_command cmd = {}; in mmc_io_rw_extended()
|
| H A D | mmc_ops.h | 23 struct mmc_command; 42 bool mmc_prepare_busy_cmd(struct mmc_host *host, struct mmc_command *cmd,
|
| H A D | core.c | 84 struct mmc_command *cmd = mrq->cmd; in mmc_should_fail_request() 140 struct mmc_command *cmd = mrq->cmd; in mmc_request_done() 404 struct mmc_command *cmd; in mmc_wait_for_req_done() 544 struct mmc_command cmd; in mmc_cqe_recovery() 632 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd, int retries) in mmc_wait_for_cmd() 1212 struct mmc_command cmd = {}; in mmc_set_uhs_voltage() 1632 struct mmc_command cmd = {}; in mmc_do_erase() 1689 memset(&cmd, 0, sizeof(struct mmc_command)); in mmc_do_erase() 1710 memset(&cmd, 0, sizeof(struct mmc_command)); in mmc_do_erase() 2035 struct mmc_command cmd = {}; in mmc_set_blocklen()
|
| H A D | mmc_test.c | 243 static int mmc_test_busy(struct mmc_command *cmd) in mmc_test_busy() 255 struct mmc_command cmd = {}; in mmc_test_wait_busy() 259 memset(&cmd, 0, sizeof(struct mmc_command)); in mmc_test_wait_busy() 287 struct mmc_command cmd = {}; in mmc_test_buffer_transfer() 288 struct mmc_command stop = {}; in mmc_test_buffer_transfer() 747 struct mmc_command sbc; 748 struct mmc_command cmd; 749 struct mmc_command stop; 750 struct mmc_command status; 869 struct mmc_command cmd = {}; in mmc_test_simple_transfer() [all …]
|
| /linux/include/linux/mmc/ |
| H A D | core.h | 28 struct mmc_command { struct 139 struct mmc_command *stop; /* stop command */ argument 150 struct mmc_command *sbc; /* SET_BLOCK_COUNT for multiblock */ 151 struct mmc_command *cmd; 153 struct mmc_command *stop; 181 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd,
|
| /linux/drivers/mmc/host/ |
| H A D | sdhci-uhs2.c | 71 static inline u16 uhs2_dev_cmd(struct mmc_command *cmd) in uhs2_dev_cmd() 227 void sdhci_uhs2_set_timeout(struct sdhci_host *host, struct mmc_command *cmd) in sdhci_uhs2_set_timeout() 564 static void sdhci_uhs2_prepare_data(struct sdhci_host *host, struct mmc_command *cmd) in sdhci_uhs2_prepare_data() 585 static void sdhci_uhs2_set_transfer_mode(struct sdhci_host *host, struct mmc_command *cmd) in sdhci_uhs2_set_transfer_mode() 635 static void __sdhci_uhs2_send_command(struct sdhci_host *host, struct mmc_command *cmd) in __sdhci_uhs2_send_command() 687 static bool sdhci_uhs2_send_command(struct sdhci_host *host, struct mmc_command *cmd) in sdhci_uhs2_send_command() 733 struct mmc_command *cmd, in sdhci_uhs2_send_command_retry() 738 struct mmc_command *deferred_cmd = host->deferred_cmd; in sdhci_uhs2_send_command_retry() 775 struct mmc_command *cmd = host->cmd; in __sdhci_uhs2_finish_command() 826 struct mmc_command *cmd = host->cmd; in sdhci_uhs2_finish_command() [all …]
|
| H A D | mxs-mmc.c | 52 struct mmc_command *cmd; 121 struct mmc_command *cmd); 125 struct mmc_command *cmd = host->cmd; in mxs_mmc_request_done() 178 struct mmc_command *cmd = host->cmd; in mxs_mmc_irq_handler() 251 struct mmc_command *cmd = host->cmd; in mxs_mmc_bc() 285 struct mmc_command *cmd = host->cmd; in mxs_mmc_ac() 345 struct mmc_command *cmd = host->cmd; in mxs_mmc_adtc() 457 struct mmc_command *cmd) in mxs_mmc_start_cmd()
|
| H A D | meson-mx-sdio.c | 121 struct mmc_command *cmd; 132 static struct mmc_command *meson_mx_mmc_get_next_cmd(struct mmc_command *cmd) in meson_mx_mmc_get_next_cmd() 144 struct mmc_command *cmd) in meson_mx_mmc_start_cmd() 324 struct mmc_command *cmd = mrq->cmd; in meson_mx_mmc_request() 348 struct mmc_command *cmd) in meson_mx_mmc_read_response() 377 struct mmc_command *cmd = host->cmd; in meson_mx_mmc_process_cmd_irq() 430 struct mmc_command *cmd = host->cmd, *next_cmd; in meson_mx_mmc_irq_thread()
|
| H A D | sdhci.h | 598 struct mmc_command *cmd; /* Current command */ 599 struct mmc_command *data_cmd; /* Current data command */ 600 struct mmc_command *deferred_cmd; /* Deferred command */ 705 struct mmc_command *cmd); 834 bool sdhci_data_line_cmd(struct mmc_command *cmd); 841 bool sdhci_present_error(struct sdhci_host *host, struct mmc_command *cmd, bool present); 907 void __sdhci_set_timeout(struct sdhci_host *host, struct mmc_command *cmd);
|
| H A D | loongson2-mmc.c | 249 void (*reorder_cmd_data)(struct loongson2_mmc_host *host, struct mmc_command *cmd); 250 void (*fix_data_timeout)(struct loongson2_mmc_host *host, struct mmc_command *cmd); 257 struct mmc_command *cmd) in loongson2_mmc_send_command() 330 struct mmc_command *cmd = host->cmd_is_stop ? mrq->stop : mrq->cmd; in loongson2_mmc_send_request() 358 struct mmc_command *cmd = host->cmd_is_stop ? mrq->stop : mrq->cmd; in loongson2_mmc_irq_worker() 410 struct mmc_command *cmd; in loongson2_mmc_irq() 614 struct mmc_command *cmd) in ls2k0500_mmc_reorder_cmd_data() 754 struct mmc_command *cmd) in ls2k2000_mmc_reorder_cmd_data() 776 struct mmc_command *cmd) in ls2k2000_mmc_fix_data_timeout()
|
| H A D | rtsx_pci_sdmmc.c | 96 static void sd_cmd_set_sd_cmd(struct rtsx_pcr *pcr, struct mmc_command *cmd) in sd_cmd_set_sd_cmd() 111 static int sd_response_type(struct mmc_command *cmd) in sd_response_type() 209 struct mmc_command *cmd) in sd_send_cmd_get_rsp() 326 static int sd_read_data(struct realtek_pci_sdmmc *host, struct mmc_command *cmd, in sd_read_data() 380 struct mmc_command *cmd, u16 byte_cnt, u8 *buf, int buf_len, in sd_write_data() 432 struct mmc_command *cmd = mrq->cmd; in sd_read_long_data() 490 struct mmc_command *cmd = mrq->cmd; in sd_write_long_data() 583 struct mmc_command *cmd = mrq->cmd; in sd_normal_rw() 703 struct mmc_command cmd = {}; in sd_tuning_rx_cmd() 782 static inline int sdio_extblock_cmd(struct mmc_command *cmd, in sdio_extblock_cmd() [all …]
|
| H A D | sdhci-uhs2.h | 176 struct mmc_command; 182 void sdhci_uhs2_set_timeout(struct sdhci_host *host, struct mmc_command *cmd);
|
| H A D | sdhci.c | 50 static bool sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd); 150 bool sdhci_data_line_cmd(struct mmc_command *cmd) in sdhci_data_line_cmd() 908 struct mmc_command *cmd, in sdhci_target_timeout() 937 struct mmc_command *cmd) in sdhci_calc_sw_timeout() 969 static u8 sdhci_calc_timeout(struct sdhci_host *host, struct mmc_command *cmd, in sdhci_calc_timeout() 1057 void __sdhci_set_timeout(struct sdhci_host *host, struct mmc_command *cmd) in __sdhci_set_timeout() 1074 static void sdhci_set_timeout(struct sdhci_host *host, struct mmc_command *cmd) in sdhci_set_timeout() 1207 static void sdhci_prepare_data(struct sdhci_host *host, struct mmc_command *cmd) in sdhci_prepare_data() 1257 struct mmc_command *cmd) in sdhci_external_dma_setup() 1327 struct mmc_command *cmd) in __sdhci_external_dma_prepare_data() [all …]
|
| H A D | mmci.h | 404 bool (*busy_complete)(struct mmci_host *host, struct mmc_command *cmd, u32 status, u32 err_msk); 413 struct mmc_command *cmd; 414 struct mmc_command stop_abort;
|
| H A D | meson-gx-mmc.c | 155 struct mmc_command *cmd; 217 static struct mmc_command *meson_mmc_get_next_command(struct mmc_command *cmd) in meson_mmc_get_next_command() 688 static void meson_mmc_set_response_bits(struct mmc_command *cmd, u32 *cmd_cfg) in meson_mmc_set_response_bits() 790 static void meson_mmc_start_cmd(struct mmc_host *mmc, struct mmc_command *cmd) in meson_mmc_start_cmd() 907 static void meson_mmc_read_resp(struct mmc_host *mmc, struct mmc_command *cmd) in meson_mmc_read_resp() 934 struct mmc_command *cmd; in meson_mmc_irq() 1026 struct mmc_command *next_cmd, *cmd = host->cmd; in meson_mmc_irq_thread()
|
| H A D | mmc_spi.c | 202 static char *maptype(struct mmc_command *cmd) in maptype() 215 struct mmc_command *cmd, int cs_on) in mmc_spi_response_get() 400 struct mmc_command *cmd, int cs_on) in mmc_spi_command_send() 768 mmc_spi_data_do(struct mmc_spi_host *host, struct mmc_command *cmd, in mmc_spi_data_do() 902 struct mmc_command stop; in mmc_spi_request() 907 struct mmc_command *cmd; in mmc_spi_request()
|
| H A D | litex_mmc.c | 280 static u32 litex_mmc_response_len(struct mmc_command *cmd) in litex_mmc_response_len() 342 struct mmc_command *cmd = mrq->cmd; in litex_mmc_request() 343 struct mmc_command *sbc = mrq->sbc; in litex_mmc_request() 345 struct mmc_command *stop = mrq->stop; in litex_mmc_request()
|
| H A D | meson-mx-sdhc-mmc.c | 48 struct mmc_command *cmd; 133 struct mmc_command *cmd) in meson_mx_sdhc_start_cmd() 384 struct mmc_command *cmd = mrq->cmd; in meson_mx_sdhc_request() 540 struct mmc_command *cmd = host->cmd; in meson_mx_sdhc_irq() 574 struct mmc_command *cmd; in meson_mx_sdhc_irq_thread()
|
| H A D | jz4740_mmc.c | 161 struct mmc_command *cmd; 657 struct mmc_command *cmd) in jz4740_mmc_read_response() 680 struct mmc_command *cmd) in jz4740_mmc_send_command() 744 struct mmc_command *cmd = host->req->cmd; in jz_mmc_prepare_data_transfer() 760 struct mmc_command *cmd = host->req->cmd; in jz_mmc_irq_worker() 843 struct mmc_command *cmd = host->cmd; in jz_mmc_irq()
|
| H A D | sunplus-mmc.c | 198 static void spmmc_get_rsp(struct spmmc_host *host, struct mmc_command *cmd) in spmmc_get_rsp() 359 static void spmmc_prepare_cmd(struct spmmc_host *host, struct mmc_command *cmd) in spmmc_prepare_cmd() 500 struct mmc_command stop = {}; in spmmc_send_stop_cmd() 519 struct mmc_command *cmd = mrq->cmd; in spmmc_check_error() 689 struct mmc_command *cmd; in spmmc_finish_request() 731 struct mmc_command *cmd; in spmmc_request()
|
| H A D | alcor.c | 48 struct mmc_command *cmd; 240 struct mmc_command *cmd) in alcor_prepare_data() 264 struct mmc_command *cmd, bool set_timeout) in alcor_send_cmd() 424 struct mmc_command *cmd = host->cmd; in alcor_cmd_irq_done() 781 struct mmc_command *cmd = mrq->cmd; in alcor_pre_req()
|