Home
last modified time | relevance | path

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

123

/Linux-v5.10/include/linux/mmc/
Dcore.h26 struct mmc_command { struct
134 struct mmc_command *stop; /* stop command */ argument
145 struct mmc_command *sbc; /* SET_BLOCK_COUNT for multiblock */
146 struct mmc_command *cmd;
148 struct mmc_command *stop;
170 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd,
/Linux-v5.10/drivers/mmc/core/
Dsd_ops.c24 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()
Dmmc_ops.c59 struct mmc_command cmd = {}; in __mmc_send_status()
88 struct mmc_command cmd = {}; in _mmc_select_card()
124 struct mmc_command cmd = {}; in mmc_set_dsr()
137 struct mmc_command cmd = {}; in mmc_go_idle()
173 struct mmc_command cmd = {}; in mmc_send_op_cond()
217 struct mmc_command cmd = {}; in mmc_set_relative_addr()
230 struct mmc_command cmd = {}; in mmc_send_cxd_native()
254 struct mmc_command cmd = {}; in mmc_send_cxd_data()
390 struct mmc_command cmd = {}; in mmc_spi_read_ocr()
405 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;
Dsdio_ops.c20 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()
Dcore.c84 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()
536 struct mmc_command cmd; in mmc_cqe_recovery()
621 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd, int retries) in mmc_wait_for_cmd()
1188 struct mmc_command cmd = {}; in mmc_set_uhs_voltage()
1641 struct mmc_command cmd = {}; in mmc_do_erase()
1692 memset(&cmd, 0, sizeof(struct mmc_command)); in mmc_do_erase()
1707 memset(&cmd, 0, sizeof(struct mmc_command)); in mmc_do_erase()
2044 struct mmc_command cmd = {}; in mmc_set_blocklen()
Dmmc_test.c250 static int mmc_test_busy(struct mmc_command *cmd) in mmc_test_busy()
262 struct mmc_command cmd = {}; in mmc_test_wait_busy()
266 memset(&cmd, 0, sizeof(struct mmc_command)); in mmc_test_wait_busy()
294 struct mmc_command cmd = {}; in mmc_test_buffer_transfer()
295 struct mmc_command stop = {}; in mmc_test_buffer_transfer()
771 struct mmc_command sbc;
772 struct mmc_command cmd;
773 struct mmc_command stop;
774 struct mmc_command status;
893 struct mmc_command cmd = {}; in mmc_test_simple_transfer()
[all …]
/Linux-v5.10/drivers/mmc/host/
Dmxs-mmc.c53 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()
Dmeson-mx-sdio.c121 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()
340 struct mmc_command *cmd = mrq->cmd; in meson_mx_mmc_request()
364 struct mmc_command *cmd) in meson_mx_mmc_read_response()
391 struct mmc_command *cmd = host->cmd; in meson_mx_mmc_process_cmd_irq()
445 struct mmc_command *cmd = host->cmd, *next_cmd; in meson_mx_mmc_irq_thread()
Drtsx_pci_sdmmc.c95 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()
694 struct mmc_command cmd = {}; in sd_tuning_rx_cmd()
773 static inline int sdio_extblock_cmd(struct mmc_command *cmd, in sdio_extblock_cmd()
[all …]
Dsdhci.h532 struct mmc_command *cmd; /* Current command */
533 struct mmc_command *data_cmd; /* Current data command */
534 struct mmc_command *deferred_cmd; /* Deferred command */
635 struct mmc_command *cmd);
809 void __sdhci_set_timeout(struct sdhci_host *host, struct mmc_command *cmd);
Dsdhci.c53 static bool sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd);
150 static inline bool sdhci_data_line_cmd(struct mmc_command *cmd) in sdhci_data_line_cmd()
866 struct mmc_command *cmd, in sdhci_target_timeout()
895 struct mmc_command *cmd) in sdhci_calc_sw_timeout()
927 static u8 sdhci_calc_timeout(struct sdhci_host *host, struct mmc_command *cmd, in sdhci_calc_timeout()
1018 void __sdhci_set_timeout(struct sdhci_host *host, struct mmc_command *cmd) in __sdhci_set_timeout()
1035 static void sdhci_set_timeout(struct sdhci_host *host, struct mmc_command *cmd) in sdhci_set_timeout()
1079 static void sdhci_prepare_data(struct sdhci_host *host, struct mmc_command *cmd) in sdhci_prepare_data()
1212 struct mmc_command *cmd) in sdhci_external_dma_setup()
1281 struct mmc_command *cmd) in __sdhci_external_dma_prepare_data()
[all …]
Dmeson-gx-mmc.c152 struct mmc_command *cmd;
212 static struct mmc_command *meson_mmc_get_next_command(struct mmc_command *cmd) in meson_mmc_get_next_command()
682 static void meson_mmc_set_response_bits(struct mmc_command *cmd, u32 *cmd_cfg) in meson_mmc_set_response_bits()
737 static void meson_mmc_start_cmd(struct mmc_host *mmc, struct mmc_command *cmd) in meson_mmc_start_cmd()
824 static void meson_mmc_read_resp(struct mmc_host *mmc, struct mmc_command *cmd) in meson_mmc_read_resp()
841 struct mmc_command *cmd; in meson_mmc_irq()
932 struct mmc_command *next_cmd, *cmd = host->cmd; in meson_mmc_irq_thread()
Dmeson-mx-sdhc-mmc.c48 struct mmc_command *cmd;
135 struct mmc_command *cmd) in meson_mx_sdhc_start_cmd()
386 struct mmc_command *cmd = mrq->cmd; in meson_mx_sdhc_request()
543 struct mmc_command *cmd = host->cmd; in meson_mx_sdhc_irq()
577 struct mmc_command *cmd; in meson_mx_sdhc_irq_thread()
Dandroid-goldfish.c110 struct mmc_command *cmd;
146 goldfish_mmc_start_command(struct goldfish_mmc_host *host, struct mmc_command *cmd) in goldfish_mmc_start_command()
253 struct mmc_command *cmd) in goldfish_mmc_cmd_done()
Djz4740_mmc.c160 struct mmc_command *cmd;
622 struct mmc_command *cmd) in jz4740_mmc_read_response()
645 struct mmc_command *cmd) in jz4740_mmc_send_command()
709 struct mmc_command *cmd = host->req->cmd; in jz_mmc_prepare_data_transfer()
725 struct mmc_command *cmd = host->req->cmd; in jz_mmc_irq_worker()
806 struct mmc_command *cmd = host->cmd; in jz_mmc_irq()
Ds3cmci.c181 static void prepare_dbgmsg(struct s3cmci_host *host, struct mmc_command *cmd, in prepare_dbgmsg()
200 static void dbg_dumpcmd(struct s3cmci_host *host, struct mmc_command *cmd, in dbg_dumpcmd()
229 struct mmc_command *cmd, int fail) { } in dbg_dumpcmd()
231 static void prepare_dbgmsg(struct s3cmci_host *host, struct mmc_command *cmd, in prepare_dbgmsg()
603 struct mmc_command *cmd; in s3cmci_irq()
824 struct mmc_command *cmd; in finalize_request()
917 struct mmc_command *cmd) in s3cmci_send_command()
1101 struct mmc_command *cmd = host->cmd_is_stop ? mrq->stop : mrq->cmd; in s3cmci_send_request()
Dmmc_spi.c230 static char *maptype(struct mmc_command *cmd) in maptype()
243 struct mmc_command *cmd, int cs_on) in mmc_spi_response_get()
431 struct mmc_command *cmd, int cs_on) in mmc_spi_command_send()
863 mmc_spi_data_do(struct mmc_spi_host *host, struct mmc_command *cmd, in mmc_spi_data_do()
1038 struct mmc_command stop; in mmc_spi_request()
1043 struct mmc_command *cmd; in mmc_spi_request()
Dmtk-sd.c404 struct mmc_command *cmd;
625 struct mmc_request *mrq, struct mmc_command *cmd);
942 struct mmc_request *mrq, struct mmc_command *cmd) in msdc_cmd_find_resp()
970 struct mmc_request *mrq, struct mmc_command *cmd) in msdc_cmd_prepare_raw_cmd()
1025 struct mmc_command *cmd, struct mmc_data *data) in msdc_start_data()
1043 struct mmc_command *cmd) in msdc_auto_cmd_done()
1094 struct mmc_command *cmd, struct mmc_data *data) in msdc_track_cmd_data()
1127 struct mmc_request *mrq, struct mmc_command *cmd) in msdc_cmd_done()
1200 struct mmc_request *mrq, struct mmc_command *cmd) in msdc_cmd_is_ready()
1232 struct mmc_request *mrq, struct mmc_command *cmd) in msdc_start_command()
[all …]
Dmmci.h392 struct mmc_command *cmd;
393 struct mmc_command stop_abort;
Dalcor.c47 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()
Ddw_mmc.h167 struct mmc_command *cmd;
169 struct mmc_command stop_abort;
Dmvsdio.c140 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()
Dtoshsd.h166 struct mmc_command *cmd;/* Current command */
Drtsx_usb_sdmmc.c92 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()
668 struct mmc_command cmd = {}; in sd_tuning_rx_cmd()
809 struct mmc_command *cmd = mrq->cmd; in sdmmc_request()

123