/Linux-v5.4/include/linux/mmc/ |
D | core.h | 26 struct mmc_command { struct 137 struct mmc_command *stop; /* stop command */ argument 148 struct mmc_command *sbc; /* SET_BLOCK_COUNT for multiblock */ 149 struct mmc_command *cmd; 151 struct mmc_command *stop; 173 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd,
|
/Linux-v5.4/drivers/mmc/core/ |
D | sd_ops.c | 24 struct mmc_command cmd = {}; in mmc_app_cmd() 52 struct mmc_command *cmd) in mmc_wait_for_app_cmd() 98 struct mmc_command cmd = {}; in mmc_app_set_bus_width() 119 struct mmc_command cmd = {}; in mmc_send_app_op_cond() 163 struct mmc_command cmd = {}; in mmc_send_if_cond() 195 struct mmc_command cmd = {}; in mmc_send_relative_addr() 214 struct mmc_command cmd = {}; in mmc_app_send_scr() 268 struct mmc_command cmd = {}; in mmc_sd_switch() 310 struct mmc_command cmd = {}; in mmc_app_sd_status()
|
D | mmc_ops.c | 57 struct mmc_command cmd = {}; in __mmc_send_status() 86 struct mmc_command cmd = {}; in _mmc_select_card() 122 struct mmc_command cmd = {}; in mmc_set_dsr() 135 struct mmc_command cmd = {}; in mmc_go_idle() 171 struct mmc_command cmd = {}; in mmc_send_op_cond() 215 struct mmc_command cmd = {}; in mmc_set_relative_addr() 228 struct mmc_command cmd = {}; in mmc_send_cxd_native() 252 struct mmc_command cmd = {}; in mmc_send_cxd_data() 388 struct mmc_command cmd = {}; in mmc_spi_read_ocr() 403 struct mmc_command cmd = {}; in mmc_spi_set_crc() [all …]
|
D | queue.h | 42 struct mmc_command sbc; 43 struct mmc_command cmd; 44 struct mmc_command stop;
|
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()
|
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() 399 struct mmc_command *cmd; in mmc_wait_for_req_done() 553 struct mmc_command cmd; in mmc_cqe_recovery() 638 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd, int retries) in mmc_wait_for_cmd() 1205 struct mmc_command cmd = {}; in mmc_set_uhs_voltage() 1659 struct mmc_command cmd = {}; in mmc_do_erase() 1712 memset(&cmd, 0, sizeof(struct mmc_command)); in mmc_do_erase() 1727 memset(&cmd, 0, sizeof(struct mmc_command)); in mmc_do_erase() 1766 memset(&cmd, 0, sizeof(struct mmc_command)); in mmc_do_erase() [all …]
|
D | mmc_test.c | 248 static int mmc_test_busy(struct mmc_command *cmd) in mmc_test_busy() 260 struct mmc_command cmd = {}; in mmc_test_wait_busy() 264 memset(&cmd, 0, sizeof(struct mmc_command)); in mmc_test_wait_busy() 292 struct mmc_command cmd = {}; in mmc_test_buffer_transfer() 293 struct mmc_command stop = {}; in mmc_test_buffer_transfer() 769 struct mmc_command sbc; 770 struct mmc_command cmd; 771 struct mmc_command stop; 772 struct mmc_command status; 888 struct mmc_command cmd = {}; in mmc_test_simple_transfer() [all …]
|
/Linux-v5.4/drivers/mmc/host/ |
D | mxs-mmc.c | 53 struct mmc_command *cmd; 122 struct mmc_command *cmd); 126 struct mmc_command *cmd = host->cmd; in mxs_mmc_request_done() 179 struct mmc_command *cmd = host->cmd; in mxs_mmc_irq_handler() 252 struct mmc_command *cmd = host->cmd; in mxs_mmc_bc() 286 struct mmc_command *cmd = host->cmd; in mxs_mmc_ac() 346 struct mmc_command *cmd = host->cmd; in mxs_mmc_adtc() 458 struct mmc_command *cmd) in mxs_mmc_start_cmd()
|
D | meson-mx-sdio.c | 121 struct mmc_command *cmd; 144 static struct mmc_command *meson_mx_mmc_get_next_cmd(struct mmc_command *cmd) in meson_mx_mmc_get_next_cmd() 156 struct mmc_command *cmd) in meson_mx_mmc_start_cmd() 337 struct mmc_command *cmd = mrq->cmd; in meson_mx_mmc_request() 369 struct mmc_command *cmd) in meson_mx_mmc_read_response() 396 struct mmc_command *cmd = host->cmd; in meson_mx_mmc_process_cmd_irq() 450 struct mmc_command *cmd = host->cmd, *next_cmd; in meson_mx_mmc_irq_thread()
|
D | rtsx_pci_sdmmc.c | 95 static void sd_cmd_set_sd_cmd(struct rtsx_pcr *pcr, struct mmc_command *cmd) in sd_cmd_set_sd_cmd() 110 static int sd_response_type(struct mmc_command *cmd) in sd_response_type() 210 struct mmc_command *cmd) in sd_send_cmd_get_rsp() 327 static int sd_read_data(struct realtek_pci_sdmmc *host, struct mmc_command *cmd, in sd_read_data() 381 struct mmc_command *cmd, u16 byte_cnt, u8 *buf, int buf_len, in sd_write_data() 433 struct mmc_command *cmd = mrq->cmd; in sd_read_long_data() 491 struct mmc_command *cmd = mrq->cmd; in sd_write_long_data() 574 struct mmc_command *cmd = mrq->cmd; in sd_normal_rw() 691 struct mmc_command cmd = {}; in sd_tuning_rx_cmd() 770 static inline int sdio_extblock_cmd(struct mmc_command *cmd, in sdio_extblock_cmd() [all …]
|
D | sdhci.h | 538 struct mmc_command *cmd; /* Current command */ 539 struct mmc_command *data_cmd; /* Current data command */ 633 struct mmc_command *cmd); 749 void sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd);
|
D | meson-gx-mmc.c | 152 struct mmc_command *cmd; 213 static struct mmc_command *meson_mmc_get_next_command(struct mmc_command *cmd) in meson_mmc_get_next_command() 685 static void meson_mmc_set_response_bits(struct mmc_command *cmd, u32 *cmd_cfg) in meson_mmc_set_response_bits() 740 static void meson_mmc_start_cmd(struct mmc_host *mmc, struct mmc_command *cmd) in meson_mmc_start_cmd() 827 static void meson_mmc_read_resp(struct mmc_host *mmc, struct mmc_command *cmd) in meson_mmc_read_resp() 844 struct mmc_command *cmd; in meson_mmc_irq() 935 struct mmc_command *next_cmd, *cmd = host->cmd; in meson_mmc_irq_thread()
|
D | android-goldfish.c | 111 struct mmc_command *cmd; 147 goldfish_mmc_start_command(struct goldfish_mmc_host *host, struct mmc_command *cmd) in goldfish_mmc_start_command() 254 struct mmc_command *cmd) in goldfish_mmc_cmd_done()
|
D | jz4740_mmc.c | 148 struct mmc_command *cmd; 609 struct mmc_command *cmd) in jz4740_mmc_read_response() 632 struct mmc_command *cmd) in jz4740_mmc_send_command() 696 struct mmc_command *cmd = host->req->cmd; in jz_mmc_prepare_data_transfer() 712 struct mmc_command *cmd = host->req->cmd; in jz_mmc_irq_worker() 793 struct mmc_command *cmd = host->cmd; in jz_mmc_irq()
|
D | mmci.h | 375 struct mmc_command *cmd; 376 struct mmc_command stop_abort;
|
D | mmc_spi.c | 236 static char *maptype(struct mmc_command *cmd) in maptype() 249 struct mmc_command *cmd, int cs_on) in mmc_spi_response_get() 433 struct mmc_command *cmd, int cs_on) in mmc_spi_command_send() 865 mmc_spi_data_do(struct mmc_spi_host *host, struct mmc_command *cmd, in mmc_spi_data_do() 1040 struct mmc_command stop; in mmc_spi_request() 1045 struct mmc_command *cmd; in mmc_spi_request()
|
D | mtk-sd.c | 396 struct mmc_command *cmd; 592 struct mmc_request *mrq, struct mmc_command *cmd); 885 struct mmc_request *mrq, struct mmc_command *cmd) in msdc_cmd_find_resp() 913 struct mmc_request *mrq, struct mmc_command *cmd) in msdc_cmd_prepare_raw_cmd() 967 struct mmc_command *cmd, struct mmc_data *data) in msdc_start_data() 985 struct mmc_command *cmd) in msdc_auto_cmd_done() 1010 struct mmc_command *cmd, struct mmc_data *data) in msdc_track_cmd_data() 1041 struct mmc_request *mrq, struct mmc_command *cmd) in msdc_cmd_done() 1114 struct mmc_request *mrq, struct mmc_command *cmd) in msdc_cmd_is_ready() 1146 struct mmc_request *mrq, struct mmc_command *cmd) in msdc_start_command() [all …]
|
D | alcor.c | 47 struct mmc_command *cmd; 239 struct mmc_command *cmd) in alcor_prepare_data() 263 struct mmc_command *cmd, bool set_timeout) in alcor_send_cmd() 423 struct mmc_command *cmd = host->cmd; in alcor_cmd_irq_done() 780 struct mmc_command *cmd = mrq->cmd; in alcor_pre_req()
|
D | s3cmci.c | 188 static void prepare_dbgmsg(struct s3cmci_host *host, struct mmc_command *cmd, in prepare_dbgmsg() 207 static void dbg_dumpcmd(struct s3cmci_host *host, struct mmc_command *cmd, in dbg_dumpcmd() 236 struct mmc_command *cmd, int fail) { } in dbg_dumpcmd() 238 static void prepare_dbgmsg(struct s3cmci_host *host, struct mmc_command *cmd, in prepare_dbgmsg() 612 struct mmc_command *cmd; in s3cmci_irq() 833 struct mmc_command *cmd; in finalize_request() 926 struct mmc_command *cmd) in s3cmci_send_command() 1117 struct mmc_command *cmd = host->cmd_is_stop ? mrq->stop : mrq->cmd; in s3cmci_send_request()
|
D | dw_mmc.h | 167 struct mmc_command *cmd; 169 struct mmc_command stop_abort;
|
D | mvsdio.c | 140 struct mmc_command *cmd = mrq->cmd; in mvsd_request() 195 struct mmc_command *stop = data->stop; in mvsd_request() 241 static u32 mvsd_finish_cmd(struct mvsd_host *host, struct mmc_command *cmd, in mvsd_finish_cmd() 464 struct mmc_command *cmd = mrq->cmd; in mvsd_irq()
|
D | toshsd.h | 166 struct mmc_command *cmd;/* Current command */
|
D | rtsx_usb_sdmmc.c | 92 static int sd_read_data(struct rtsx_usb_sdmmc *host, struct mmc_command *cmd, in sd_read_data() 199 static int sd_write_data(struct rtsx_usb_sdmmc *host, struct mmc_command *cmd, in sd_write_data() 286 struct mmc_command *cmd) in sd_send_cmd_get_rsp() 548 struct mmc_command *cmd = mrq->cmd; in sd_normal_rw() 674 struct mmc_command cmd = {}; in sd_tuning_rx_cmd() 815 struct mmc_command *cmd = mrq->cmd; in sdmmc_request()
|
D | tifm_sd.c | 326 static unsigned int tifm_sd_op_flags(struct mmc_command *cmd) in tifm_sd_op_flags() 369 static void tifm_sd_exec(struct tifm_sd *host, struct mmc_command *cmd) in tifm_sd_exec() 388 static void tifm_sd_fetch_resp(struct mmc_command *cmd, struct tifm_dev *sock) in tifm_sd_fetch_resp() 403 struct mmc_command *cmd = host->req->cmd; in tifm_sd_check_status() 506 struct mmc_command *cmd = NULL; in tifm_sd_card_event()
|
D | vub300.c | 333 struct mmc_command *cmd; 892 struct mmc_command *cmd = vub300->cmd; in send_command() 1431 struct mmc_command *cmd, struct mmc_data *data) in __command_read_data() 1503 struct mmc_command *cmd, struct mmc_data *data) in __command_write_data() 1591 struct mmc_command *cmd, in __vub300_command_response() 1711 struct mmc_command *cmd) in construct_request_response() 1748 struct mmc_command *cmd = vub300->cmd; in vub300_cmndwork_thread() 1795 struct mmc_command *cmd, u8 Function) in examine_cyclic_buffer() 1852 struct mmc_command *cmd) in satisfy_request_from_offloaded_data() 1900 struct mmc_command *cmd = req->cmd; in vub300_mmc_request()
|