Home
last modified time | relevance | path

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

123

/openbmc/linux/include/linux/mmc/
H A 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;
175 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd,
/openbmc/linux/drivers/mmc/core/
H A Dmmc_ops.c66 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()
150 struct mmc_command cmd = {}; in mmc_go_idle()
188 struct mmc_command *cmd = data->cmd; in __mmc_send_op_cond_cb()
225 struct mmc_command cmd = {}; in mmc_send_op_cond()
251 struct mmc_command cmd = {}; in mmc_set_relative_addr()
264 struct mmc_command cmd = {}; in mmc_send_cxd_native()
287 struct mmc_command cmd = {}; in mmc_send_adtc_data()
[all …]
H A Dsd_ops.c25 struct mmc_command cmd = {}; in mmc_app_cmd()
53 struct mmc_command *cmd) in mmc_wait_for_app_cmd()
99 struct mmc_command cmd = {}; in mmc_app_set_bus_width()
120 struct mmc_command cmd = {}; in mmc_send_app_op_cond()
165 struct mmc_command cmd = {}; in __mmc_send_if_cond()
241 struct mmc_command cmd = {}; in mmc_send_relative_addr()
260 struct mmc_command cmd = {}; in mmc_app_send_scr()
332 struct mmc_command cmd = {}; in mmc_app_sd_status()
H A Dqueue.h42 struct mmc_command sbc;
43 struct mmc_command cmd;
44 struct mmc_command stop;
H A 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()
H A Dmmc_ops.h23 struct mmc_command;
41 bool mmc_prepare_busy_cmd(struct mmc_host *host, struct mmc_command *cmd,
H A Dcore.c85 struct mmc_command *cmd = mrq->cmd; in mmc_should_fail_request()
141 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()
626 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd, int retries) in mmc_wait_for_cmd()
1207 struct mmc_command cmd = {}; in mmc_set_uhs_voltage()
1604 struct mmc_command cmd = {}; in mmc_do_erase()
1655 memset(&cmd, 0, sizeof(struct mmc_command)); in mmc_do_erase()
1670 memset(&cmd, 0, sizeof(struct mmc_command)); in mmc_do_erase()
1991 struct mmc_command cmd = {}; in mmc_set_blocklen()
H A Dmmc_test.c249 static int mmc_test_busy(struct mmc_command *cmd) in mmc_test_busy()
261 struct mmc_command cmd = {}; in mmc_test_wait_busy()
265 memset(&cmd, 0, sizeof(struct mmc_command)); in mmc_test_wait_busy()
293 struct mmc_command cmd = {}; in mmc_test_buffer_transfer()
294 struct mmc_command stop = {}; in mmc_test_buffer_transfer()
756 struct mmc_command sbc;
757 struct mmc_command cmd;
758 struct mmc_command stop;
759 struct mmc_command status;
878 struct mmc_command cmd = {}; in mmc_test_simple_transfer()
[all …]
/openbmc/linux/drivers/mmc/host/
H A 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()
444 struct mmc_command *cmd = host->cmd, *next_cmd; in meson_mx_mmc_irq_thread()
H A Dmxs-mmc.c52 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 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()
584 struct mmc_command *cmd = mrq->cmd; in sd_normal_rw()
704 struct mmc_command cmd = {}; in sd_tuning_rx_cmd()
783 static inline int sdio_extblock_cmd(struct mmc_command *cmd, in sdio_extblock_cmd()
[all …]
H A Dsdhci.h548 struct mmc_command *cmd; /* Current command */
549 struct mmc_command *data_cmd; /* Current data command */
550 struct mmc_command *deferred_cmd; /* Deferred command */
652 struct mmc_command *cmd);
826 void __sdhci_set_timeout(struct sdhci_host *host, struct mmc_command *cmd);
H A Dmmci.h400 bool (*busy_complete)(struct mmci_host *host, struct mmc_command *cmd, u32 status, u32 err_msk);
409 struct mmc_command *cmd;
410 struct mmc_command stop_abort;
H A Dsdhci.c52 static bool sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd);
149 static inline bool sdhci_data_line_cmd(struct mmc_command *cmd) in sdhci_data_line_cmd()
904 struct mmc_command *cmd, in sdhci_target_timeout()
933 struct mmc_command *cmd) in sdhci_calc_sw_timeout()
965 static u8 sdhci_calc_timeout(struct sdhci_host *host, struct mmc_command *cmd, in sdhci_calc_timeout()
1053 void __sdhci_set_timeout(struct sdhci_host *host, struct mmc_command *cmd) in __sdhci_set_timeout()
1070 static void sdhci_set_timeout(struct sdhci_host *host, struct mmc_command *cmd) in sdhci_set_timeout()
1114 static void sdhci_prepare_data(struct sdhci_host *host, struct mmc_command *cmd) in sdhci_prepare_data()
1247 struct mmc_command *cmd) in sdhci_external_dma_setup()
1317 struct mmc_command *cmd) in __sdhci_external_dma_prepare_data()
[all …]
H A Dmeson-gx-mmc.c155 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 Dmmc_spi.c203 static char *maptype(struct mmc_command *cmd) in maptype()
216 struct mmc_command *cmd, int cs_on) in mmc_spi_response_get()
401 struct mmc_command *cmd, int cs_on) in mmc_spi_command_send()
772 mmc_spi_data_do(struct mmc_spi_host *host, struct mmc_command *cmd, in mmc_spi_data_do()
904 struct mmc_command stop; in mmc_spi_request()
909 struct mmc_command *cmd; in mmc_spi_request()
H A Dlitex_mmc.c280 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 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()
H A Djz4740_mmc.c160 struct mmc_command *cmd;
655 struct mmc_command *cmd) in jz4740_mmc_read_response()
678 struct mmc_command *cmd) in jz4740_mmc_send_command()
742 struct mmc_command *cmd = host->req->cmd; in jz_mmc_prepare_data_transfer()
758 struct mmc_command *cmd = host->req->cmd; in jz_mmc_irq_worker()
841 struct mmc_command *cmd = host->cmd; in jz_mmc_irq()
H A Dsunplus-mmc.c198 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 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()
H A 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()
H A Ddw_mmc.h171 struct mmc_command *cmd;
173 struct mmc_command stop_abort;
H A 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()
H A Dvub300.c333 struct mmc_command *cmd;
892 struct mmc_command *cmd = vub300->cmd; in send_command()
1429 struct mmc_command *cmd, struct mmc_data *data) in __command_read_data()
1501 struct mmc_command *cmd, struct mmc_data *data) in __command_write_data()
1589 struct mmc_command *cmd, in __vub300_command_response()
1709 struct mmc_command *cmd) in construct_request_response()
1749 struct mmc_command *cmd = vub300->cmd; in vub300_cmndwork_thread()
1796 struct mmc_command *cmd, u8 Function) in examine_cyclic_buffer()
1853 struct mmc_command *cmd) in satisfy_request_from_offloaded_data()
1901 struct mmc_command *cmd = req->cmd; in vub300_mmc_request()

123