Home
last modified time | relevance | path

Searched refs:mmc_host (Results 1 – 4 of 4) sorted by relevance

/arch/mips/include/asm/mach-au1x00/
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);
/arch/mips/alchemy/devboards/
Ddb1200.c352 void(*mmc_cd)(struct mmc_host *, unsigned long); in db1200_mmc_cd()
372 static int db1200_mmc_cd_setup(void *mmc_host, int en) in db1200_mmc_cd_setup() argument
378 0, "sd_insert", mmc_host); in db1200_mmc_cd_setup()
383 0, "sd_eject", mmc_host); in db1200_mmc_cd_setup()
385 free_irq(DB1200_SD0_INSERT_INT, mmc_host); in db1200_mmc_cd_setup()
395 free_irq(DB1200_SD0_INSERT_INT, mmc_host); in db1200_mmc_cd_setup()
396 free_irq(DB1200_SD0_EJECT_INT, mmc_host); in db1200_mmc_cd_setup()
403 static void db1200_mmc_set_power(void *mmc_host, int state) in db1200_mmc_set_power() argument
412 static int db1200_mmc_card_readonly(void *mmc_host) in db1200_mmc_card_readonly() argument
417 static int db1200_mmc_card_inserted(void *mmc_host) in db1200_mmc_card_inserted() argument
[all …]
Ddb1000.c178 void (*mmc_cd)(struct mmc_host *, unsigned long); in db1100_mmc_cd()
187 static int db1100_mmc_cd_setup(void *mmc_host, int en) in db1100_mmc_cd_setup() argument
199 "sd0_cd", mmc_host); in db1100_mmc_cd_setup()
201 free_irq(irq, mmc_host); in db1100_mmc_cd_setup()
205 static int db1100_mmc1_cd_setup(void *mmc_host, int en) in db1100_mmc1_cd_setup() argument
217 "sd1_cd", mmc_host); in db1100_mmc1_cd_setup()
219 free_irq(irq, mmc_host); in db1100_mmc1_cd_setup()
223 static int db1100_mmc_card_readonly(void *mmc_host) in db1100_mmc_card_readonly() argument
229 static int db1100_mmc_card_inserted(void *mmc_host) in db1100_mmc_card_inserted() argument
234 static void db1100_mmc_set_power(void *mmc_host, int state) in db1100_mmc_set_power() argument
[all …]
Ddb1300.c452 void(*mmc_cd)(struct mmc_host *, unsigned long); in db1300_mmc_cd()
473 static int db1300_mmc_card_readonly(void *mmc_host) in db1300_mmc_card_readonly() argument
479 static int db1300_mmc_card_inserted(void *mmc_host) in db1300_mmc_card_inserted() argument
484 static int db1300_mmc_cd_setup(void *mmc_host, int en) in db1300_mmc_cd_setup() argument
490 "sd_insert", mmc_host); in db1300_mmc_cd_setup()
495 "sd_eject", mmc_host); in db1300_mmc_cd_setup()
497 free_irq(DB1300_SD1_INSERT_INT, mmc_host); in db1300_mmc_cd_setup()
501 if (db1300_mmc_card_inserted(mmc_host)) in db1300_mmc_cd_setup()
507 free_irq(DB1300_SD1_INSERT_INT, mmc_host); in db1300_mmc_cd_setup()
508 free_irq(DB1300_SD1_EJECT_INT, mmc_host); in db1300_mmc_cd_setup()
[all …]