Home
last modified time | relevance | path

Searched refs:mmc_card (Results 1 – 25 of 53) sorted by relevance

123

/linux/drivers/mmc/core/
A Dcore.h15 struct mmc_card;
42 void mmc_init_erase(struct mmc_card *card);
93 void mmc_add_card_debugfs(struct mmc_card *card);
94 void mmc_remove_card_debugfs(struct mmc_card *card);
110 int mmc_execute_tuning(struct mmc_card *card);
111 int mmc_hs200_to_hs400(struct mmc_card *card);
112 int mmc_hs400_to_hs200(struct mmc_card *card);
121 int mmc_can_erase(struct mmc_card *card);
122 int mmc_can_trim(struct mmc_card *card);
123 int mmc_can_discard(struct mmc_card *card);
[all …]
A Dmmc_ops.h22 struct mmc_card;
25 int mmc_select_card(struct mmc_card *card);
30 int mmc_set_relative_addr(struct mmc_card *card);
33 int mmc_send_csd(struct mmc_card *card, u32 *csd);
38 int mmc_bus_test(struct mmc_card *card, u8 bus_width);
39 int mmc_can_ext_csd(struct mmc_card *card);
40 int mmc_switch_status(struct mmc_card *card, bool crc_err_fatal);
52 int mmc_switch(struct mmc_card *card, u8 set, u8 index, u8 value,
54 void mmc_run_bkops(struct mmc_card *card);
55 int mmc_cmdq_enable(struct mmc_card *card);
[all …]
A Dcard.h17 #define mmc_dev_to_card(d) container_of(d, struct mmc_card, dev)
69 void (*vendor_fixup)(struct mmc_card *card, int data);
183 static inline void __maybe_unused wl1251_quirk(struct mmc_card *card, in wl1251_quirk()
233 static inline int mmc_card_lenient_fn0(const struct mmc_card *c) in mmc_card_lenient_fn0()
238 static inline int mmc_blksz_for_byte_mode(const struct mmc_card *c) in mmc_blksz_for_byte_mode()
243 static inline int mmc_card_disable_cd(const struct mmc_card *c) in mmc_card_disable_cd()
258 static inline int mmc_card_long_read_time(const struct mmc_card *c) in mmc_card_long_read_time()
263 static inline int mmc_card_broken_irq_polling(const struct mmc_card *c) in mmc_card_broken_irq_polling()
268 static inline int mmc_card_broken_hpi(const struct mmc_card *c) in mmc_card_broken_hpi()
273 static inline int mmc_card_broken_sd_discard(const struct mmc_card *c) in mmc_card_broken_sd_discard()
[all …]
A Dbus.h15 struct mmc_card;
20 struct mmc_card *card = mmc_dev_to_card(dev); \
25 struct mmc_card *mmc_alloc_card(struct mmc_host *host,
27 int mmc_add_card(struct mmc_card *card);
28 void mmc_remove_card(struct mmc_card *card);
35 int (*probe)(struct mmc_card *card);
36 void (*remove)(struct mmc_card *card);
37 void (*shutdown)(struct mmc_card *card);
A Dsd.h10 struct mmc_card;
13 int mmc_sd_get_csd(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);
A Dbus.c34 struct mmc_card *card = mmc_dev_to_card(dev); in type_show()
129 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_bus_probe()
137 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_bus_remove()
145 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_bus_shutdown()
163 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_bus_suspend()
180 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_bus_resume()
197 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_runtime_suspend()
205 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_runtime_resume()
277 struct mmc_card *card; in mmc_alloc_card()
298 int mmc_add_card(struct mmc_card *card) in mmc_add_card()
[all …]
A Dsd_ops.h13 struct mmc_card;
16 int mmc_app_set_bus_width(struct mmc_card *card, int width);
21 int mmc_app_send_scr(struct mmc_card *card);
22 int mmc_app_sd_status(struct mmc_card *card, void *ssr);
23 int mmc_app_cmd(struct mmc_host *host, struct mmc_card *card);
A Dmmc_ops.c58 struct mmc_card *card;
93 int mmc_send_status(struct mmc_card *card, u32 *status) in mmc_send_status()
116 int mmc_select_card(struct mmc_card *card) in mmc_select_card()
249 int mmc_set_relative_addr(struct mmc_card *card) in mmc_set_relative_addr()
353 int mmc_send_csd(struct mmc_card *card, u32 *csd) in mmc_send_csd()
860 static int mmc_send_hpi_cmd(struct mmc_card *card) in mmc_send_hpi_cmd()
898 static int mmc_interrupt_hpi(struct mmc_card *card) in mmc_interrupt_hpi()
939 int mmc_can_ext_csd(struct mmc_card *card) in mmc_can_ext_csd()
966 void mmc_run_bkops(struct mmc_card *card) in mmc_run_bkops()
1024 int mmc_cmdq_enable(struct mmc_card *card) in mmc_cmdq_enable()
[all …]
A Dsdio_cis.c25 static int cistpl_vers_1(struct mmc_card *card, struct sdio_func *func, in cistpl_vers_1()
83 static int cistpl_manfid(struct mmc_card *card, struct sdio_func *func, in cistpl_manfid()
111 typedef int (tpl_parse_t)(struct mmc_card *, struct sdio_func *,
120 static int cis_tpl_parse(struct mmc_card *card, struct sdio_func *func, in cis_tpl_parse()
155 static int cistpl_funce_common(struct mmc_card *card, struct sdio_func *func, in cistpl_funce_common()
172 static int cistpl_funce_func(struct mmc_card *card, struct sdio_func *func, in cistpl_funce_func()
222 static int cistpl_funce(struct mmc_card *card, struct sdio_func *func, in cistpl_funce()
243 static int sdio_read_cis(struct mmc_card *card, struct sdio_func *func) in sdio_read_cis()
378 int sdio_read_common_cis(struct mmc_card *card) in sdio_read_common_cis()
383 void sdio_free_common_cis(struct mmc_card *card) in sdio_free_common_cis()
A Dsd.c63 struct mmc_card *card;
70 void mmc_decode_cid(struct mmc_card *card) in mmc_decode_cid()
103 static int mmc_decode_csd(struct mmc_card *card) in mmc_decode_csd()
247 static int mmc_read_ssr(struct mmc_card *card) in mmc_read_ssr()
370 int mmc_sd_switch_hs(struct mmc_card *card) in mmc_sd_switch_hs()
879 int mmc_sd_get_csd(struct mmc_card *card) in mmc_sd_get_csd()
1304 struct mmc_card *card = host->card; in sd_flush_cache()
1394 struct mmc_card *oldcard) in mmc_sd_init_card()
1396 struct mmc_card *card; in mmc_sd_init_card()
1634 struct mmc_card *card = data->card; in sd_busy_poweroff_notify_cb()
[all …]
A Dsdio_cis.h13 struct mmc_card;
16 int sdio_read_common_cis(struct mmc_card *card);
17 void sdio_free_common_cis(struct mmc_card *card);
A Dhost.h66 static inline bool mmc_card_hs200(struct mmc_card *card) in mmc_card_hs200()
71 static inline bool mmc_card_ddr52(struct mmc_card *card) in mmc_card_ddr52()
76 static inline bool mmc_card_hs400(struct mmc_card *card) in mmc_card_hs400()
81 static inline bool mmc_card_hs400es(struct mmc_card *card) in mmc_card_hs400es()
A Dsdio.c40 struct mmc_card *card = mmc_dev_to_card(dev); \
261 static int sdio_enable_wide(struct mmc_card *card) in sdio_enable_wide()
297 static int sdio_disable_cd(struct mmc_card *card) in sdio_disable_cd()
318 static int sdio_disable_wide(struct mmc_card *card) in sdio_disable_wide()
370 static int sdio_enable_4bit_bus(struct mmc_card *card) in sdio_enable_4bit_bus()
427 static int sdio_enable_hs(struct mmc_card *card) in sdio_enable_hs()
624 struct mmc_card *card) in mmc_sdio_pre_init()
659 struct mmc_card *oldcard) in mmc_sdio_init_card()
661 struct mmc_card *card; in mmc_sdio_init_card()
1153 struct mmc_card *card = host->card; in mmc_sdio_hw_reset()
[all …]
A Dsdio_ops.h15 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,
A Dmmc.c57 static int mmc_decode_cid(struct mmc_card *card) in mmc_decode_cid()
139 static int mmc_decode_csd(struct mmc_card *card) in mmc_decode_csd()
814 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_fwrev_show()
829 struct mmc_card *card = mmc_dev_to_card(dev); in mmc_dsr_show()
1070 static int mmc_select_hs(struct mmc_card *card) in mmc_select_hs()
1253 int mmc_hs200_to_hs400(struct mmc_card *card) in mmc_hs200_to_hs400()
1258 int mmc_hs400_to_hs200(struct mmc_card *card) in mmc_hs400_to_hs200()
1595 struct mmc_card *oldcard) in mmc_init_card()
1597 struct mmc_card *card; in mmc_init_card()
1964 struct mmc_card *card = host->card; in mmc_sleep()
[all …]
A Dblock.c144 struct mmc_card *card;
223 struct mmc_card *card,
710 struct mmc_card *card; in mmc_blk_ioctl_cmd()
759 struct mmc_card *card; in mmc_blk_ioctl_multi_cmd()
1130 struct mmc_card *card = mq->card; in mmc_blk_issue_drv_op()
1340 struct mmc_card *card, in mmc_apply_rel_rw()
1600 struct mmc_card *card = mq->card; in mmc_blk_cqe_recovery()
1699 struct mmc_card *card, in mmc_blk_rw_rq_prep()
1805 struct mmc_card *card = mq->card; in mmc_blk_read_single()
1915 struct mmc_card *card = mq->card; in mmc_blk_mq_rw_recovery()
[all …]
A Dcore.c925 int mmc_execute_tuning(struct mmc_card *card) in mmc_execute_tuning()
1443 void mmc_init_erase(struct mmc_card *card) in mmc_init_erase()
1819 int mmc_can_erase(struct mmc_card *card) in mmc_can_erase()
1827 int mmc_can_trim(struct mmc_card *card) in mmc_can_trim()
1836 int mmc_can_discard(struct mmc_card *card) in mmc_can_discard()
1848 int mmc_can_sanitize(struct mmc_card *card) in mmc_can_sanitize()
1857 int mmc_can_secure_erase_trim(struct mmc_card *card) in mmc_can_secure_erase_trim()
1983 bool mmc_card_is_blockaddr(struct mmc_card *card) in mmc_card_is_blockaddr()
2023 int mmc_hw_reset(struct mmc_card *card) in mmc_hw_reset()
2037 int mmc_sw_reset(struct mmc_card *card) in mmc_sw_reset()
[all …]
A Dsdio_bus.h10 struct mmc_card;
13 struct sdio_func *sdio_alloc_func(struct mmc_card *card);
A Dsd_ops.c36 int mmc_app_cmd(struct mmc_host *host, struct mmc_card *card) in mmc_app_cmd()
66 static int mmc_wait_for_app_cmd(struct mmc_host *host, struct mmc_card *card, in mmc_wait_for_app_cmd()
111 int mmc_app_set_bus_width(struct mmc_card *card, int width) in mmc_app_set_bus_width()
285 int mmc_app_send_scr(struct mmc_card *card) in mmc_app_send_scr()
339 int mmc_sd_switch(struct mmc_card *card, bool mode, int group, in mmc_sd_switch()
356 int mmc_app_sd_status(struct mmc_card *card, void *ssr) in mmc_app_sd_status()
A Dsdio_irq.c32 struct mmc_card *card = host->card; in sdio_get_pending_irqs()
60 struct mmc_card *card = host->card; in process_sdio_pending_irqs()
224 static int sdio_card_irq_get(struct mmc_card *card) in sdio_card_irq_get()
249 static int sdio_card_irq_put(struct mmc_card *card) in sdio_card_irq_put()
271 static void sdio_single_irq_set(struct mmc_card *card) in sdio_single_irq_set()
A Dqueue.c124 struct mmc_card *card = mq->card; in mmc_mq_timed_out()
177 static void mmc_queue_setup_discard(struct mmc_card *card, in mmc_queue_setup_discard()
210 struct mmc_card *card = mq->card; in mmc_mq_init_request()
235 struct mmc_card *card = mq->card; in mmc_mq_queue_rq()
347 struct mmc_card *card, unsigned int features) in mmc_alloc_disk()
421 struct gendisk *mmc_init_queue(struct mmc_queue *mq, struct mmc_card *card, in mmc_init_queue()
/linux/include/linux/mmc/
A Dhost.h172 void (*init_card)(struct mmc_host *host, struct mmc_card *card);
186 int (*execute_hs400_tuning)(struct mmc_host *host, struct mmc_card *card);
206 int (*select_drive_strength)(struct mmc_card *card,
217 int (*multi_io_quirk)(struct mmc_card *card,
226 int (*cqe_enable)(struct mmc_host *host, struct mmc_card *card);
448 struct mmc_card *card; /* device attached to this host */
605 static inline int mmc_card_hs(struct mmc_card *card) in mmc_card_hs()
612 static inline int mmc_card_uhs(struct mmc_card *card) in mmc_card_uhs()
652 int mmc_sd_switch(struct mmc_card *card, bool mode, int group,
654 int mmc_send_status(struct mmc_card *card, u32 *status);
[all …]
A Dcore.h159 struct mmc_card;
165 int mmc_hw_reset(struct mmc_card *card);
166 int mmc_sw_reset(struct mmc_card *card);
167 void mmc_set_data_timeout(struct mmc_data *data, const struct mmc_card *card);
A Dcard.h265 struct mmc_card { struct
345 static inline bool mmc_large_sector(struct mmc_card *card) in mmc_large_sector() argument
350 static inline int mmc_card_enable_async_irq(struct mmc_card *card) in mmc_card_enable_async_irq()
355 bool mmc_card_is_blockaddr(struct mmc_card *card);
/linux/include/linux/platform_data/
A Dmmc-omap.h10 struct mmc_card;
96 void (*init_card)(struct mmc_card *card);

Completed in 56 milliseconds

123