Searched refs:mmc_host (Results 1 - 25 of 60) sorted by relevance

123

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mmc/core/
H A Dcore.h19 int (*awake)(struct mmc_host *);
20 int (*sleep)(struct mmc_host *);
21 void (*remove)(struct mmc_host *);
22 void (*detect)(struct mmc_host *);
23 int (*suspend)(struct mmc_host *);
24 int (*resume)(struct mmc_host *);
25 void (*power_save)(struct mmc_host *);
26 void (*power_restore)(struct mmc_host *);
29 void mmc_attach_bus(struct mmc_host *host, const struct mmc_bus_ops *ops);
30 void mmc_detach_bus(struct mmc_host *hos
[all...]
H A Dmmc_ops.h16 int mmc_deselect_cards(struct mmc_host *host);
17 int mmc_go_idle(struct mmc_host *host);
18 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
19 int mmc_all_send_cid(struct mmc_host *host, u32 *cid);
25 int mmc_send_cid(struct mmc_host *host, u32 *cid);
26 int mmc_spi_read_ocr(struct mmc_host *host, int highcap, u32 *ocrp);
27 int mmc_spi_set_crc(struct mmc_host *host, int use_crc);
28 int mmc_card_sleepawake(struct mmc_host *host, int sleep);
H A Dsd.h8 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid);
9 int mmc_sd_get_csd(struct mmc_host *host, struct mmc_card *card);
11 int mmc_sd_setup_card(struct mmc_host *host, struct mmc_card *card,
H A Dsd_ops.h16 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
17 int mmc_send_if_cond(struct mmc_host *host, u32 ocr);
18 int mmc_send_relative_addr(struct mmc_host *host, unsigned int *rca);
H A Dsdio_ops.h15 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
20 int sdio_reset(struct mmc_host *host);
H A Dhost.c27 #define cls_dev_to_mmc_host(d) container_of(d, struct mmc_host, class_dev)
31 struct mmc_host *host = cls_dev_to_mmc_host(dev);
36 .name = "mmc_host",
60 struct mmc_host *mmc_alloc_host(int extra, struct device *dev)
63 struct mmc_host *host;
68 host = kzalloc(sizeof(struct mmc_host) + extra, GFP_KERNEL);
122 int mmc_add_host(struct mmc_host *host)
155 void mmc_remove_host(struct mmc_host *host)
177 void mmc_free_host(struct mmc_host *host)
H A Dbus.h22 struct mmc_card *mmc_alloc_card(struct mmc_host *host,
H A Dcore.c91 void mmc_request_done(struct mmc_host *host, struct mmc_request *mrq)
138 mmc_start_request(struct mmc_host *host, struct mmc_request *mrq)
209 void mmc_wait_for_req(struct mmc_host *host, struct mmc_request *mrq)
233 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd, int retries)
365 int mmc_host_enable(struct mmc_host *host)
399 static int mmc_host_do_disable(struct mmc_host *host, int lazy)
431 int mmc_host_disable(struct mmc_host *host)
462 int __mmc_claim_host(struct mmc_host *host, atomic_t *abort)
503 int mmc_try_claim_host(struct mmc_host *host)
520 static void mmc_do_release_host(struct mmc_host *hos
[all...]
H A Dmmc_ops.c23 static int _mmc_select_card(struct mmc_host *host, struct mmc_card *card)
56 int mmc_deselect_cards(struct mmc_host *host)
61 int mmc_card_sleepawake(struct mmc_host *host, int sleep)
97 int mmc_go_idle(struct mmc_host *host)
136 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr)
178 int mmc_all_send_cid(struct mmc_host *host, u32 *cid)
223 mmc_send_cxd_native(struct mmc_host *host, u32 arg, u32 *cxd, int opcode)
247 mmc_send_cxd_data(struct mmc_card *card, struct mmc_host *host,
329 int mmc_send_cid(struct mmc_host *host, u32 *cid)
356 int mmc_spi_read_ocr(struct mmc_host *hos
[all...]
H A Dsdio_irq.c70 struct mmc_host *host = _host;
155 struct mmc_host *host = card->host;
176 struct mmc_host *host = card->host;
H A Dsd.c402 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid)
436 int mmc_sd_get_csd(struct mmc_host *host, struct mmc_card *card)
454 int mmc_sd_setup_card(struct mmc_host *host, struct mmc_card *card,
549 static int mmc_sd_init_card(struct mmc_host *host, u32 ocr,
651 static void mmc_sd_remove(struct mmc_host *host)
663 static void mmc_sd_detect(struct mmc_host *host)
691 static int mmc_sd_suspend(struct mmc_host *host)
711 static int mmc_sd_resume(struct mmc_host *host)
725 static void mmc_sd_power_restore(struct mmc_host *host)
749 static void mmc_sd_attach_bus_ops(struct mmc_host *hos
[all...]
H A Ddebugfs.c44 struct mmc_host *host = s->private;
137 void mmc_add_host_debugfs(struct mmc_host *host)
164 void mmc_remove_host_debugfs(struct mmc_host *host)
252 struct mmc_host *host = card->host;
H A Dmmc.c359 static int mmc_init_card(struct mmc_host *host, u32 ocr,
552 static void mmc_remove(struct mmc_host *host)
564 static void mmc_detect(struct mmc_host *host)
592 static int mmc_suspend(struct mmc_host *host)
612 static int mmc_resume(struct mmc_host *host)
626 static void mmc_power_restore(struct mmc_host *host)
634 static int mmc_sleep(struct mmc_host *host)
649 static int mmc_awake(struct mmc_host *host)
684 static void mmc_attach_bus_ops(struct mmc_host *host)
698 int mmc_attach_mmc(struct mmc_host *hos
[all...]
H A Dsd_ops.c23 static int mmc_app_cmd(struct mmc_host *host, struct mmc_card *card)
65 int mmc_wait_for_app_cmd(struct mmc_host *host, struct mmc_card *card,
149 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr)
194 int mmc_send_if_cond(struct mmc_host *host, u32 ocr)
225 int mmc_send_relative_addr(struct mmc_host *host, unsigned int *rca)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/mmc/
H A Dhost.h83 int (*enable)(struct mmc_host *host);
84 int (*disable)(struct mmc_host *host, int lazy);
85 void (*request)(struct mmc_host *host, struct mmc_request *req);
106 void (*set_ios)(struct mmc_host *host, struct mmc_ios *ios);
107 int (*get_ro)(struct mmc_host *host);
108 int (*get_cd)(struct mmc_host *host);
110 void (*enable_sdio_irq)(struct mmc_host *host, int enable);
113 void (*init_card)(struct mmc_host *host, struct mmc_card *card);
119 struct mmc_host { struct
220 extern struct mmc_host *mmc_alloc_hos
[all...]
H A Dcore.h131 struct mmc_host;
134 extern void mmc_wait_for_req(struct mmc_host *, struct mmc_request *);
135 extern int mmc_wait_for_cmd(struct mmc_host *, struct mmc_command *, int);
136 extern int mmc_wait_for_app_cmd(struct mmc_host *, struct mmc_card *,
159 extern int __mmc_claim_host(struct mmc_host *host, atomic_t *abort);
160 extern void mmc_release_host(struct mmc_host *host);
161 extern int mmc_try_claim_host(struct mmc_host *host);
169 static inline void mmc_claim_host(struct mmc_host *host)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-pxa/include/mach/
H A Dmmc.h8 struct mmc_host;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/alchemy/devboards/pb1200/
H A Dplatform.c35 static void pb1200mmc0_set_power(void *mmc_host, int state) argument
45 static int pb1200mmc0_card_readonly(void *mmc_host) argument
50 static int pb1200mmc0_card_inserted(void *mmc_host) argument
71 static void pb1200mmc1_set_power(void *mmc_host, int state) argument
81 static int pb1200mmc1_card_readonly(void *mmc_host) argument
86 static int pb1200mmc1_card_inserted(void *mmc_host) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/spi/
H A Dmmc_spi.h8 struct mmc_host;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/alchemy/devboards/db1200/
H A Dplatform.c248 void(*mmc_cd)(struct mmc_host *, unsigned long);
268 static int db1200_mmc_cd_setup(void *mmc_host, int en) argument
274 IRQF_DISABLED, "sd_insert", mmc_host);
279 IRQF_DISABLED, "sd_eject", mmc_host);
281 free_irq(DB1200_SD0_INSERT_INT, mmc_host);
291 free_irq(DB1200_SD0_INSERT_INT, mmc_host);
292 free_irq(DB1200_SD0_EJECT_INT, mmc_host);
299 static void db1200_mmc_set_power(void *mmc_host, int state) argument
308 static int db1200_mmc_card_readonly(void *mmc_host) argument
313 static int db1200_mmc_card_inserted(void *mmc_host) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mmc/host/
H A Ds3cmci.h23 struct mmc_host *mmc;
H A Dcb710-mmc.h25 static inline struct mmc_host *cb710_slot_to_mmc(struct cb710_slot *slot)
30 static inline struct cb710_slot *cb710_mmc_to_slot(struct mmc_host *mmc)
H A Dsdricoh_cs.c94 struct mmc_host *mmc; /* MMC structure */
265 static void sdricoh_request(struct mmc_host *mmc, struct mmc_request *mrq)
354 static void sdricoh_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
375 static int sdricoh_get_ro(struct mmc_host *mmc)
402 struct mmc_host *mmc = NULL;
497 struct mmc_host *mmc = link->priv;
516 struct mmc_host *mmc = link->priv;
524 struct mmc_host *mmc = link->priv;
H A Dcb710-mmc.c28 static void cb710_mmc_set_clock(struct mmc_host *mmc, int hz)
447 static int cb710_mmc_command(struct mmc_host *mmc, struct mmc_command *cmd)
487 static void cb710_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq)
569 static void cb710_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
614 static int cb710_mmc_get_ro(struct mmc_host *mmc)
624 struct mmc_host *mmc = cb710_slot_to_mmc(slot);
656 struct mmc_host *mmc = (void *)data;
675 struct mmc_host *mmc = cb710_slot_to_mmc(slot);
689 struct mmc_host *mmc = cb710_slot_to_mmc(slot);
702 struct mmc_host *mm
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/include/asm/mach-au1x00/
H A Dau1100_mmc.h44 int(*cd_setup)(void *mmc_host, int on);
45 int(*card_inserted)(void *mmc_host);
46 int(*card_readonly)(void *mmc_host);
47 void(*set_power)(void *mmc_host, int state);

Completed in 109 milliseconds

123