Lines Matching refs:mmc_host
343 void (*mmc_cd)(struct mmc_host *, unsigned long); in db1200_mmc_cdfn()
361 static int db1200_mmc_cd_setup(void *mmc_host, int en) in db1200_mmc_cd_setup() argument
367 db1200_mmc_cdfn, 0, "sd_insert", mmc_host); in db1200_mmc_cd_setup()
372 db1200_mmc_cdfn, 0, "sd_eject", mmc_host); in db1200_mmc_cd_setup()
374 free_irq(DB1200_SD0_INSERT_INT, mmc_host); in db1200_mmc_cd_setup()
384 free_irq(DB1200_SD0_INSERT_INT, mmc_host); in db1200_mmc_cd_setup()
385 free_irq(DB1200_SD0_EJECT_INT, mmc_host); in db1200_mmc_cd_setup()
392 static void db1200_mmc_set_power(void *mmc_host, int state) in db1200_mmc_set_power() argument
401 static int db1200_mmc_card_readonly(void *mmc_host) in db1200_mmc_card_readonly() argument
406 static int db1200_mmc_card_inserted(void *mmc_host) in db1200_mmc_card_inserted() argument
434 void (*mmc_cd)(struct mmc_host *, unsigned long); in pb1200_mmc1_cdfn()
452 static int pb1200_mmc1_cd_setup(void *mmc_host, int en) in pb1200_mmc1_cd_setup() argument
458 pb1200_mmc1_cdfn, 0, "sd1_insert", mmc_host); in pb1200_mmc1_cd_setup()
463 pb1200_mmc1_cdfn, 0, "sd1_eject", mmc_host); in pb1200_mmc1_cd_setup()
465 free_irq(PB1200_SD1_INSERT_INT, mmc_host); in pb1200_mmc1_cd_setup()
475 free_irq(PB1200_SD1_INSERT_INT, mmc_host); in pb1200_mmc1_cd_setup()
476 free_irq(PB1200_SD1_EJECT_INT, mmc_host); in pb1200_mmc1_cd_setup()
496 static void pb1200_mmc1_set_power(void *mmc_host, int state) in pb1200_mmc1_set_power() argument
505 static int pb1200_mmc1_card_readonly(void *mmc_host) in pb1200_mmc1_card_readonly() argument
510 static int pb1200_mmc1_card_inserted(void *mmc_host) in pb1200_mmc1_card_inserted() argument