Searched refs:mmc_host (Results 1 – 4 of 4) sorted by relevance
/arch/mips/alchemy/devboards/ |
D | db1000.c | 174 static int db1100_mmc_cd_setup(void *mmc_host, int en) in db1100_mmc_cd_setup() argument 186 "sd0_cd", mmc_host); in db1100_mmc_cd_setup() 188 free_irq(irq, mmc_host); in db1100_mmc_cd_setup() 192 static int db1100_mmc1_cd_setup(void *mmc_host, int en) in db1100_mmc1_cd_setup() argument 204 "sd1_cd", mmc_host); in db1100_mmc1_cd_setup() 206 free_irq(irq, mmc_host); in db1100_mmc1_cd_setup() 210 static int db1100_mmc_card_readonly(void *mmc_host) in db1100_mmc_card_readonly() argument 216 static int db1100_mmc_card_inserted(void *mmc_host) in db1100_mmc_card_inserted() argument 221 static void db1100_mmc_set_power(void *mmc_host, int state) in db1100_mmc_set_power() argument 249 static int db1100_mmc1_card_readonly(void *mmc_host) in db1100_mmc1_card_readonly() argument [all …]
|
D | db1200.c | 354 static int db1200_mmc_cd_setup(void *mmc_host, int en) in db1200_mmc_cd_setup() argument 360 db1200_mmc_cdfn, 0, "sd_insert", mmc_host); in db1200_mmc_cd_setup() 365 db1200_mmc_cdfn, 0, "sd_eject", mmc_host); in db1200_mmc_cd_setup() 367 free_irq(DB1200_SD0_INSERT_INT, mmc_host); in db1200_mmc_cd_setup() 377 free_irq(DB1200_SD0_INSERT_INT, mmc_host); in db1200_mmc_cd_setup() 378 free_irq(DB1200_SD0_EJECT_INT, mmc_host); in db1200_mmc_cd_setup() 385 static void db1200_mmc_set_power(void *mmc_host, int state) in db1200_mmc_set_power() argument 394 static int db1200_mmc_card_readonly(void *mmc_host) in db1200_mmc_card_readonly() argument 399 static int db1200_mmc_card_inserted(void *mmc_host) in db1200_mmc_card_inserted() argument 438 static int pb1200_mmc1_cd_setup(void *mmc_host, int en) in pb1200_mmc1_cd_setup() argument [all …]
|
D | db1300.c | 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 db1300_mmc_cdfn, 0, "sd_insert", mmc_host); in db1300_mmc_cd_setup() 495 db1300_mmc_cdfn, 0, "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() 572 static int db1300_movinand_inserted(void *mmc_host) in db1300_movinand_inserted() argument [all …]
|
/arch/mips/include/asm/mach-au1x00/ |
D | au1100_mmc.h | 44 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);
|