Home
last modified time | relevance | path

Searched refs:mmc_command (Results 1 – 25 of 61) sorted by relevance

123

/Linux-v4.19/include/linux/mmc/
Dcore.h29 struct mmc_command { struct
140 struct mmc_command *stop; /* stop command */ argument
151 struct mmc_command *sbc; /* SET_BLOCK_COUNT for multiblock */
152 struct mmc_command *cmd;
154 struct mmc_command *stop;
176 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd,
/Linux-v4.19/drivers/mmc/core/
Dsd_ops.c28 struct mmc_command cmd = {}; in mmc_app_cmd()
69 struct mmc_command *cmd, int retries) in mmc_wait_for_app_cmd()
123 struct mmc_command cmd = {}; in mmc_app_set_bus_width()
144 struct mmc_command cmd = {}; in mmc_send_app_op_cond()
188 struct mmc_command cmd = {}; in mmc_send_if_cond()
220 struct mmc_command cmd = {}; in mmc_send_relative_addr()
239 struct mmc_command cmd = {}; in mmc_app_send_scr()
293 struct mmc_command cmd = {}; in mmc_sd_switch()
335 struct mmc_command cmd = {}; in mmc_app_sd_status()
Dmmc_ops.c61 struct mmc_command cmd = {}; in __mmc_send_status()
90 struct mmc_command cmd = {}; in _mmc_select_card()
126 struct mmc_command cmd = {}; in mmc_set_dsr()
139 struct mmc_command cmd = {}; in mmc_go_idle()
175 struct mmc_command cmd = {}; in mmc_send_op_cond()
213 struct mmc_command cmd = {}; in mmc_set_relative_addr()
226 struct mmc_command cmd = {}; in mmc_send_cxd_native()
250 struct mmc_command cmd = {}; in mmc_send_cxd_data()
386 struct mmc_command cmd = {}; in mmc_spi_read_ocr()
401 struct mmc_command cmd = {}; in mmc_spi_set_crc()
[all …]
Dqueue.h42 struct mmc_command sbc;
43 struct mmc_command cmd;
44 struct mmc_command stop;
Dsd_ops.h19 struct mmc_command;
31 struct mmc_command *cmd, int retries);
Dsdio_ops.c24 struct mmc_command cmd = {}; in mmc_send_io_op_cond()
69 struct mmc_command cmd = {}; in mmc_io_rw_direct_host()
122 struct mmc_command cmd = {}; in mmc_io_rw_extended()
Dcore.c87 struct mmc_command *cmd = mrq->cmd; in mmc_should_fail_request()
143 struct mmc_command *cmd = mrq->cmd; in mmc_request_done()
401 struct mmc_command *cmd; in mmc_wait_for_req_done()
555 struct mmc_command cmd; in mmc_cqe_recovery()
640 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd, int retries) in mmc_wait_for_cmd()
1520 struct mmc_command cmd = {}; in mmc_set_uhs_voltage()
1968 struct mmc_command cmd = {}; in mmc_do_erase()
2021 memset(&cmd, 0, sizeof(struct mmc_command)); in mmc_do_erase()
2036 memset(&cmd, 0, sizeof(struct mmc_command)); in mmc_do_erase()
2075 memset(&cmd, 0, sizeof(struct mmc_command)); in mmc_do_erase()
[all …]
Dmmc_test.c252 static int mmc_test_busy(struct mmc_command *cmd) in mmc_test_busy()
264 struct mmc_command cmd = {}; in mmc_test_wait_busy()
268 memset(&cmd, 0, sizeof(struct mmc_command)); in mmc_test_wait_busy()
296 struct mmc_command cmd = {}; in mmc_test_buffer_transfer()
297 struct mmc_command stop = {}; in mmc_test_buffer_transfer()
773 struct mmc_command sbc;
774 struct mmc_command cmd;
775 struct mmc_command stop;
776 struct mmc_command status;
892 struct mmc_command cmd = {}; in mmc_test_simple_transfer()
[all …]
/Linux-v4.19/drivers/mmc/host/
Dmeson-mx-sdio.c124 struct mmc_command *cmd;
147 static struct mmc_command *meson_mx_mmc_get_next_cmd(struct mmc_command *cmd) in meson_mx_mmc_get_next_cmd()
159 struct mmc_command *cmd) in meson_mx_mmc_start_cmd()
340 struct mmc_command *cmd = mrq->cmd; in meson_mx_mmc_request()
372 struct mmc_command *cmd) in meson_mx_mmc_read_response()
399 struct mmc_command *cmd = host->cmd; in meson_mx_mmc_process_cmd_irq()
453 struct mmc_command *cmd = host->cmd, *next_cmd; in meson_mx_mmc_irq_thread()
Dmxs-mmc.c67 struct mmc_command *cmd;
136 struct mmc_command *cmd);
140 struct mmc_command *cmd = host->cmd; in mxs_mmc_request_done()
193 struct mmc_command *cmd = host->cmd; in mxs_mmc_irq_handler()
266 struct mmc_command *cmd = host->cmd; in mxs_mmc_bc()
300 struct mmc_command *cmd = host->cmd; in mxs_mmc_ac()
360 struct mmc_command *cmd = host->cmd; in mxs_mmc_adtc()
472 struct mmc_command *cmd) in mxs_mmc_start_cmd()
Drtsx_pci_sdmmc.c107 static void sd_cmd_set_sd_cmd(struct rtsx_pcr *pcr, struct mmc_command *cmd) in sd_cmd_set_sd_cmd()
122 static int sd_response_type(struct mmc_command *cmd) in sd_response_type()
222 struct mmc_command *cmd) in sd_send_cmd_get_rsp()
339 static int sd_read_data(struct realtek_pci_sdmmc *host, struct mmc_command *cmd, in sd_read_data()
393 struct mmc_command *cmd, u16 byte_cnt, u8 *buf, int buf_len, in sd_write_data()
445 struct mmc_command *cmd = mrq->cmd; in sd_read_long_data()
503 struct mmc_command *cmd = mrq->cmd; in sd_write_long_data()
586 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 …]
Dsdhci.h506 struct mmc_command *cmd; /* Current command */
507 struct mmc_command *data_cmd; /* Current data command */
594 struct mmc_command *cmd);
708 void sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd);
Dandroid-goldfish.c114 struct mmc_command *cmd;
151 goldfish_mmc_start_command(struct goldfish_mmc_host *host, struct mmc_command *cmd) in goldfish_mmc_start_command()
258 struct mmc_command *cmd) in goldfish_mmc_cmd_done()
Dmtk-sd.c370 struct mmc_command *cmd;
527 struct mmc_request *mrq, struct mmc_command *cmd);
794 struct mmc_request *mrq, struct mmc_command *cmd) in msdc_cmd_find_resp()
822 struct mmc_request *mrq, struct mmc_command *cmd) in msdc_cmd_prepare_raw_cmd()
876 struct mmc_command *cmd, struct mmc_data *data) in msdc_start_data()
894 struct mmc_command *cmd) in msdc_auto_cmd_done()
919 struct mmc_command *cmd, struct mmc_data *data) in msdc_track_cmd_data()
948 struct mmc_request *mrq, struct mmc_command *cmd) in msdc_cmd_done()
1019 struct mmc_request *mrq, struct mmc_command *cmd) in msdc_cmd_is_ready()
1051 struct mmc_request *mrq, struct mmc_command *cmd) in msdc_start_command()
[all …]
Dmeson-gx-mmc.c157 struct mmc_command *cmd;
299 static struct mmc_command *meson_mmc_get_next_command(struct mmc_command *cmd) in meson_mmc_get_next_command()
862 static void meson_mmc_set_response_bits(struct mmc_command *cmd, u32 *cmd_cfg) in meson_mmc_set_response_bits()
917 static void meson_mmc_start_cmd(struct mmc_host *mmc, struct mmc_command *cmd) in meson_mmc_start_cmd()
1003 static void meson_mmc_read_resp(struct mmc_host *mmc, struct mmc_command *cmd) in meson_mmc_read_resp()
1020 struct mmc_command *cmd; in meson_mmc_irq()
1086 struct mmc_command *next_cmd, *cmd = host->cmd; in meson_mmc_irq_thread()
Djz4740_mmc.c148 struct mmc_command *cmd;
635 struct mmc_command *cmd) in jz4740_mmc_read_response()
658 struct mmc_command *cmd) in jz4740_mmc_send_command()
722 struct mmc_command *cmd = host->req->cmd; in jz_mmc_prepare_data_transfer()
738 struct mmc_command *cmd = host->req->cmd; in jz_mmc_irq_worker()
817 struct mmc_command *cmd = host->cmd; in jz_mmc_irq()
Dmmc_spi.c250 static char *maptype(struct mmc_command *cmd) in maptype()
263 struct mmc_command *cmd, int cs_on) in mmc_spi_response_get()
447 struct mmc_command *cmd, int cs_on) in mmc_spi_command_send()
878 mmc_spi_data_do(struct mmc_spi_host *host, struct mmc_command *cmd, in mmc_spi_data_do()
1056 struct mmc_command stop; in mmc_spi_request()
1061 struct mmc_command *cmd; in mmc_spi_request()
Ds3cmci.c192 static void prepare_dbgmsg(struct s3cmci_host *host, struct mmc_command *cmd, in prepare_dbgmsg()
211 static void dbg_dumpcmd(struct s3cmci_host *host, struct mmc_command *cmd, in dbg_dumpcmd()
240 struct mmc_command *cmd, int fail) { } in dbg_dumpcmd()
242 static void prepare_dbgmsg(struct s3cmci_host *host, struct mmc_command *cmd, in prepare_dbgmsg()
616 struct mmc_command *cmd; in s3cmci_irq()
837 struct mmc_command *cmd; in finalize_request()
930 struct mmc_command *cmd) in s3cmci_send_command()
1121 struct mmc_command *cmd = host->cmd_is_stop ? mrq->stop : mrq->cmd; in s3cmci_send_request()
Ddw_mmc.h171 struct mmc_command *cmd;
173 struct mmc_command stop_abort;
Dtoshsd.h170 struct mmc_command *cmd;/* Current command */
Dmvsdio.c143 struct mmc_command *cmd = mrq->cmd; in mvsd_request()
198 struct mmc_command *stop = data->stop; in mvsd_request()
244 static u32 mvsd_finish_cmd(struct mvsd_host *host, struct mmc_command *cmd, in mvsd_finish_cmd()
467 struct mmc_command *cmd = mrq->cmd; in mvsd_irq()
Drtsx_usb_sdmmc.c102 static int sd_read_data(struct rtsx_usb_sdmmc *host, struct mmc_command *cmd, in sd_read_data()
209 static int sd_write_data(struct rtsx_usb_sdmmc *host, struct mmc_command *cmd, in sd_write_data()
296 struct mmc_command *cmd) in sd_send_cmd_get_rsp()
558 struct mmc_command *cmd = mrq->cmd; in sd_normal_rw()
684 struct mmc_command cmd = {}; in sd_tuning_rx_cmd()
825 struct mmc_command *cmd = mrq->cmd; in sdmmc_request()
Dtifm_sd.c330 static unsigned int tifm_sd_op_flags(struct mmc_command *cmd) in tifm_sd_op_flags()
372 static void tifm_sd_exec(struct tifm_sd *host, struct mmc_command *cmd) in tifm_sd_exec()
391 static void tifm_sd_fetch_resp(struct mmc_command *cmd, struct tifm_dev *sock) in tifm_sd_fetch_resp()
406 struct mmc_command *cmd = host->req->cmd; in tifm_sd_check_status()
509 struct mmc_command *cmd = NULL; in tifm_sd_card_event()
Dvub300.c336 struct mmc_command *cmd;
895 struct mmc_command *cmd = vub300->cmd; in send_command()
1434 struct mmc_command *cmd, struct mmc_data *data) in __command_read_data()
1506 struct mmc_command *cmd, struct mmc_data *data) in __command_write_data()
1594 struct mmc_command *cmd, in __vub300_command_response()
1714 struct mmc_command *cmd) in construct_request_response()
1751 struct mmc_command *cmd = vub300->cmd; in vub300_cmndwork_thread()
1798 struct mmc_command *cmd, u8 Function) in examine_cyclic_buffer()
1855 struct mmc_command *cmd) in satisfy_request_from_offloaded_data()
1903 struct mmc_command *cmd = req->cmd; in vub300_mmc_request()
/Linux-v4.19/drivers/staging/mt7621-mmc/
Dsd.c229 struct mmc_command *cmd,
233 static int msdc_tune_cmdrsp(struct msdc_host *host, struct mmc_command *cmd);
522 struct mmc_command *stop = host->mrq->stop; in msdc_abort_data()
708 static inline u32 msdc_cmd_find_resp(struct mmc_command *cmd) in msdc_cmd_find_resp()
753 struct mmc_command *cmd, in msdc_command_start()
848 struct mmc_command *cmd, in msdc_command_resp()
938 struct mmc_command *cmd, in msdc_do_command()
1057 struct mmc_command *cmd; in msdc_do_request()
1210 struct mmc_command cmd; in msdc_app_cmd()
1214 memset(&cmd, 0, sizeof(struct mmc_command)); in msdc_app_cmd()
[all …]

123