| /Linux-v5.4/drivers/mmc/core/ |
| D | mmc_ops.h | 14 struct mmc_card; 16 int mmc_select_card(struct mmc_card *card); 21 int mmc_set_relative_addr(struct mmc_card *card); 22 int mmc_send_csd(struct mmc_card *card, u32 *csd); 23 int __mmc_send_status(struct mmc_card *card, u32 *status, unsigned int retries); 24 int mmc_send_status(struct mmc_card *card, u32 *status); 28 int mmc_bus_test(struct mmc_card *card, u8 bus_width); 29 int mmc_interrupt_hpi(struct mmc_card *card); 30 int mmc_can_ext_csd(struct mmc_card *card); 31 int mmc_get_ext_csd(struct mmc_card *card, u8 **new_ext_csd); [all …]
|
| D | core.h | 15 struct mmc_card; 40 void mmc_init_erase(struct mmc_card *card); 53 int mmc_select_drive_strength(struct mmc_card *card, unsigned int max_dtr, 87 void mmc_add_card_debugfs(struct mmc_card *card); 88 void mmc_remove_card_debugfs(struct mmc_card *card); 90 int mmc_execute_tuning(struct mmc_card *card); 91 int mmc_hs200_to_hs400(struct mmc_card *card); 92 int mmc_hs400_to_hs200(struct mmc_card *card); 107 int mmc_erase(struct mmc_card *card, unsigned int from, unsigned int nr, 109 int mmc_can_erase(struct mmc_card *card); [all …]
|
| D | card.h | 17 #define mmc_dev_to_card(d) container_of(d, struct mmc_card, dev) 62 void (*vendor_fixup)(struct mmc_card *card, int data); 137 static inline void __maybe_unused add_quirk(struct mmc_card *card, int data) in add_quirk() 142 static inline void __maybe_unused remove_quirk(struct mmc_card *card, int data) in remove_quirk() 147 static inline void __maybe_unused add_limit_rate_quirk(struct mmc_card *card, in add_limit_rate_quirk() 156 static inline void __maybe_unused add_quirk_mmc(struct mmc_card *card, int data) in add_quirk_mmc() 162 static inline void __maybe_unused remove_quirk_mmc(struct mmc_card *card, in remove_quirk_mmc() 172 static inline void __maybe_unused add_quirk_sd(struct mmc_card *card, int data) in add_quirk_sd() 178 static inline void __maybe_unused remove_quirk_sd(struct mmc_card *card, in remove_quirk_sd() 185 static inline int mmc_card_lenient_fn0(const struct mmc_card *c) in mmc_card_lenient_fn0() [all …]
|
| D | bus.h | 14 struct mmc_card; 19 struct mmc_card *card = mmc_dev_to_card(dev); \ 24 struct mmc_card *mmc_alloc_card(struct mmc_host *host, 26 int mmc_add_card(struct mmc_card *card); 27 void mmc_remove_card(struct mmc_card *card); 34 int (*probe)(struct mmc_card *card); 35 void (*remove)(struct mmc_card *card); 36 void (*shutdown)(struct mmc_card *card);
|
| D | sd.h | 10 struct mmc_card; 13 int mmc_sd_get_csd(struct mmc_host *host, struct mmc_card *card); 14 void mmc_decode_cid(struct mmc_card *card); 15 int mmc_sd_setup_card(struct mmc_host *host, struct mmc_card *card, 17 unsigned mmc_sd_get_max_clock(struct mmc_card *card); 18 int mmc_sd_switch_hs(struct mmc_card *card);
|
| D | sd_ops.h | 13 struct mmc_card; 16 int mmc_app_set_bus_width(struct mmc_card *card, int width); 20 int mmc_app_send_scr(struct mmc_card *card); 21 int mmc_sd_switch(struct mmc_card *card, int mode, int group, 23 int mmc_app_sd_status(struct mmc_card *card, void *ssr); 24 int mmc_app_cmd(struct mmc_host *host, struct mmc_card *card);
|
| D | bus.c | 33 struct mmc_card *card = mmc_dev_to_card(dev); in type_show() 69 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_bus_uevent() 112 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_bus_probe() 120 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_bus_remove() 130 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_bus_shutdown() 148 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_bus_suspend() 165 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_bus_resume() 182 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_runtime_suspend() 190 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_runtime_resume() 249 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_release_card() [all …]
|
| D | mmc_ops.c | 54 int __mmc_send_status(struct mmc_card *card, u32 *status, unsigned int retries) in __mmc_send_status() 78 int mmc_send_status(struct mmc_card *card, u32 *status) in mmc_send_status() 84 static int _mmc_select_card(struct mmc_host *host, struct mmc_card *card) in _mmc_select_card() 101 int mmc_select_card(struct mmc_card *card) in mmc_select_card() 213 int mmc_set_relative_addr(struct mmc_card *card) in mmc_set_relative_addr() 248 mmc_send_cxd_data(struct mmc_card *card, struct mmc_host *host, in mmc_send_cxd_data() 297 static int mmc_spi_send_csd(struct mmc_card *card, u32 *csd) in mmc_spi_send_csd() 318 int mmc_send_csd(struct mmc_card *card, u32 *csd) in mmc_send_csd() 356 int mmc_get_ext_csd(struct mmc_card *card, u8 **new_ext_csd) in mmc_get_ext_csd() 432 int __mmc_switch_status(struct mmc_card *card, bool crc_err_fatal) in __mmc_switch_status() [all …]
|
| D | sdio_cis.c | 23 static int cistpl_vers_1(struct mmc_card *card, struct sdio_func *func, in cistpl_vers_1() 70 static int cistpl_manfid(struct mmc_card *card, struct sdio_func *func, in cistpl_manfid() 98 typedef int (tpl_parse_t)(struct mmc_card *, struct sdio_func *, 107 static int cis_tpl_parse(struct mmc_card *card, struct sdio_func *func, in cis_tpl_parse() 142 static int cistpl_funce_common(struct mmc_card *card, struct sdio_func *func, in cistpl_funce_common() 159 static int cistpl_funce_func(struct mmc_card *card, struct sdio_func *func, in cistpl_funce_func() 209 static int cistpl_funce(struct mmc_card *card, struct sdio_func *func, in cistpl_funce() 230 static int sdio_read_cis(struct mmc_card *card, struct sdio_func *func) in sdio_read_cis() 349 int sdio_read_common_cis(struct mmc_card *card) in sdio_read_common_cis() 354 void sdio_free_common_cis(struct mmc_card *card) in sdio_free_common_cis()
|
| D | sdio_cis.h | 13 struct mmc_card; 16 int sdio_read_common_cis(struct mmc_card *card); 17 void sdio_free_common_cis(struct mmc_card *card);
|
| D | host.h | 60 static inline bool mmc_card_hs200(struct mmc_card *card) in mmc_card_hs200() 65 static inline bool mmc_card_ddr52(struct mmc_card *card) in mmc_card_ddr52() 70 static inline bool mmc_card_hs400(struct mmc_card *card) in mmc_card_hs400() 75 static inline bool mmc_card_hs400es(struct mmc_card *card) in mmc_card_hs400es()
|
| D | sdio_ops.h | 15 struct mmc_card; 19 int mmc_io_rw_direct(struct mmc_card *card, int write, unsigned fn, 21 int mmc_io_rw_extended(struct mmc_card *card, int write, unsigned fn,
|
| D | mmc.c | 68 static int mmc_decode_cid(struct mmc_card *card) in mmc_decode_cid() 120 static void mmc_set_erase_size(struct mmc_card *card) in mmc_set_erase_size() 133 static int mmc_decode_csd(struct mmc_card *card) in mmc_decode_csd() 185 static void mmc_select_card_type(struct mmc_card *card) in mmc_select_card_type() 251 static void mmc_manage_enhanced_area(struct mmc_card *card, u8 *ext_csd) in mmc_manage_enhanced_area() 300 static void mmc_part_add(struct mmc_card *card, unsigned int size, in mmc_part_add() 312 static void mmc_manage_gp_partitions(struct mmc_card *card, u8 *ext_csd) in mmc_manage_gp_partitions() 362 static int mmc_decode_ext_csd(struct mmc_card *card, u8 *ext_csd) in mmc_decode_ext_csd() 656 static int mmc_read_ext_csd(struct mmc_card *card) in mmc_read_ext_csd() 694 static int mmc_compare_ext_csds(struct mmc_card *card, unsigned bus_width) in mmc_compare_ext_csds() [all …]
|
| D | sdio.c | 60 static int sdio_init_func(struct mmc_card *card, unsigned int fn) in sdio_init_func() 101 static int sdio_read_cccr(struct mmc_card *card, u32 ocr) in sdio_read_cccr() 201 static int sdio_enable_wide(struct mmc_card *card) in sdio_enable_wide() 237 static int sdio_disable_cd(struct mmc_card *card) in sdio_disable_cd() 258 static int sdio_disable_wide(struct mmc_card *card) in sdio_disable_wide() 289 static int sdio_enable_4bit_bus(struct mmc_card *card) in sdio_enable_4bit_bus() 318 static int mmc_sdio_switch_hs(struct mmc_card *card, int enable) in mmc_sdio_switch_hs() 348 static int sdio_enable_hs(struct mmc_card *card) in sdio_enable_hs() 363 static unsigned mmc_sdio_get_max_clock(struct mmc_card *card) in mmc_sdio_get_max_clock() 401 static void sdio_select_driver_type(struct mmc_card *card) in sdio_select_driver_type() [all …]
|
| D | block.c | 169 static inline int mmc_blk_part_switch(struct mmc_card *card, 212 struct mmc_card *card = md->queue.card; in power_ro_lock_show() 411 static int ioctl_rpmb_card_status_poll(struct mmc_card *card, u32 *status, in ioctl_rpmb_card_status_poll() 443 static int ioctl_do_sanitize(struct mmc_card *card) in ioctl_do_sanitize() 471 static int __mmc_blk_ioctl_cmd(struct mmc_card *card, struct mmc_blk_data *md, in __mmc_blk_ioctl_cmd() 636 struct mmc_card *card; in mmc_blk_ioctl_cmd() 684 struct mmc_card *card; in mmc_blk_ioctl_multi_cmd() 821 static int mmc_blk_part_switch_pre(struct mmc_card *card, in mmc_blk_part_switch_pre() 838 static int mmc_blk_part_switch_post(struct mmc_card *card, in mmc_blk_part_switch_post() 852 static inline int mmc_blk_part_switch(struct mmc_card *card, in mmc_blk_part_switch() [all …]
|
| D | sd.c | 72 void mmc_decode_cid(struct mmc_card *card) in mmc_decode_cid() 99 static int mmc_decode_csd(struct mmc_card *card) in mmc_decode_csd() 187 static int mmc_decode_scr(struct mmc_card *card) in mmc_decode_scr() 235 static int mmc_read_ssr(struct mmc_card *card) in mmc_read_ssr() 300 static int mmc_read_switch(struct mmc_card *card) in mmc_read_switch() 358 int mmc_sd_switch_hs(struct mmc_card *card) in mmc_sd_switch_hs() 397 static int sd_select_driver_type(struct mmc_card *card, u8 *status) in sd_select_driver_type() 428 static void sd_update_bus_speed_mode(struct mmc_card *card) in sd_update_bus_speed_mode() 461 static int sd_set_bus_speed_mode(struct mmc_card *card, u8 *status) in sd_set_bus_speed_mode() 531 static int sd_set_current_limit(struct mmc_card *card, u8 *status) in sd_set_current_limit() [all …]
|
| D | sd_ops.c | 21 int mmc_app_cmd(struct mmc_host *host, struct mmc_card *card) in mmc_app_cmd() 51 static int mmc_wait_for_app_cmd(struct mmc_host *host, struct mmc_card *card, in mmc_wait_for_app_cmd() 96 int mmc_app_set_bus_width(struct mmc_card *card, int width) in mmc_app_set_bus_width() 210 int mmc_app_send_scr(struct mmc_card *card) in mmc_app_send_scr() 264 int mmc_sd_switch(struct mmc_card *card, int mode, int group, in mmc_sd_switch() 306 int mmc_app_sd_status(struct mmc_card *card, void *ssr) in mmc_app_sd_status()
|
| D | sdio_bus.h | 10 struct mmc_card; 13 struct sdio_func *sdio_alloc_func(struct mmc_card *card);
|
| D | sdio_irq.c | 32 struct mmc_card *card = host->card; in sdio_get_pending_irqs() 60 struct mmc_card *card = host->card; in process_sdio_pending_irqs() 225 static int sdio_card_irq_get(struct mmc_card *card) in sdio_card_irq_get() 250 static int sdio_card_irq_put(struct mmc_card *card) in sdio_card_irq_put() 272 static void sdio_single_irq_set(struct mmc_card *card) in sdio_single_irq_set()
|
| D | core.c | 665 void mmc_set_data_timeout(struct mmc_data *data, const struct mmc_card *card) in mmc_set_data_timeout() 873 void mmc_get_card(struct mmc_card *card, struct mmc_ctx *ctx) in mmc_get_card() 884 void mmc_put_card(struct mmc_card *card, struct mmc_ctx *ctx) in mmc_put_card() 937 int mmc_execute_tuning(struct mmc_card *card) in mmc_execute_tuning() 1286 int mmc_select_drive_strength(struct mmc_card *card, unsigned int max_dtr, in mmc_select_drive_strength() 1503 void mmc_init_erase(struct mmc_card *card) in mmc_init_erase() 1551 static unsigned int mmc_mmc_erase_timeout(struct mmc_card *card, in mmc_mmc_erase_timeout() 1615 static unsigned int mmc_sd_erase_timeout(struct mmc_card *card, in mmc_sd_erase_timeout() 1646 static unsigned int mmc_erase_timeout(struct mmc_card *card, in mmc_erase_timeout() 1656 static int mmc_do_erase(struct mmc_card *card, unsigned int from, in mmc_do_erase() [all …]
|
| D | queue.h | 75 struct mmc_card *card; 99 extern int mmc_init_queue(struct mmc_queue *, struct mmc_card *);
|
| /Linux-v5.4/include/linux/mmc/ |
| D | host.h | 135 void (*init_card)(struct mmc_host *host, struct mmc_card *card); 160 int (*select_drive_strength)(struct mmc_card *card, 170 int (*multi_io_quirk)(struct mmc_card *card, 176 int (*cqe_enable)(struct mmc_host *host, struct mmc_card *card); 225 enum mmc_blk_status (*err_check)(struct mmc_card *, struct mmc_async_req *); 413 struct mmc_card *card; /* device attached to this host */ 556 static inline int mmc_card_hs(struct mmc_card *card) in mmc_card_hs() 563 static inline int mmc_card_uhs(struct mmc_card *card) in mmc_card_uhs()
|
| /Linux-v5.4/arch/arm/mach-omap2/ |
| D | hsmmc.h | 6 struct mmc_card; 14 void (*init_card)(struct mmc_card *card);
|
| /Linux-v5.4/include/linux/platform_data/ |
| D | hsmmc-omap.h | 32 struct mmc_card; 71 void (*init_card)(struct mmc_card *card);
|
| D | mmc-omap.h | 10 struct mmc_card; 98 void (*init_card)(struct mmc_card *card);
|