Lines Matching +full:0 +full:x8014
30 #define SDHCI_SOFT_RESET 0x01000000
31 #define KONA_SDHOST_CORECTRL 0x8000
32 #define KONA_SDHOST_CD_PINCTRL 0x00000008
33 #define KONA_SDHOST_STOP_HCLK 0x00000004
34 #define KONA_SDHOST_RESET 0x00000002
35 #define KONA_SDHOST_EN 0x00000001
37 #define KONA_SDHOST_CORESTAT 0x8004
38 #define KONA_SDHOST_WP 0x00000002
39 #define KONA_SDHOST_CD_SW 0x00000001
41 #define KONA_SDHOST_COREIMR 0x8008
42 #define KONA_SDHOST_IP 0x00000001
44 #define KONA_SDHOST_COREISR 0x800C
45 #define KONA_SDHOST_COREIMSR 0x8010
46 #define KONA_SDHOST_COREDBG1 0x8014
47 #define KONA_SDHOST_COREGPO_MASK 0x8018
91 return 0; in sdhci_bcm_kona_sd_reset()
119 * and insert=0 for removal. The card detection is done by GPIO. For Broadcom
120 * IP to function properly the bit 0 of CORESTAT register needs to be set/reset
144 if (ret >= 0) in sdhci_bcm_kona_sd_card_emulate()
146 ((ret) ? KONA_SDHOST_WP : 0); in sdhci_bcm_kona_sd_card_emulate()
156 return 0; in sdhci_bcm_kona_sd_card_emulate()
164 if (mmc_gpio_get_cd(host->mmc) > 0) { in sdhci_bcm_kona_card_event()
171 sdhci_bcm_kona_sd_card_emulate(host, 0); in sdhci_bcm_kona_card_event()
222 ret = 0; in sdhci_bcm_kona_probe()
302 if (mmc_gpio_get_cd(host->mmc) > 0) in sdhci_bcm_kona_probe()
306 return 0; in sdhci_bcm_kona_probe()
309 sdhci_remove_host(host, 0); in sdhci_bcm_kona_probe()