/src/sys/arch/zaurus/dev/ |
zmci.c | 63 int sc_detect_pin; member in struct:zmci_softc 97 sc->sc_detect_pin = C3000_GPIO_SD_DETECT_PIN; 99 pxa2x0_gpio_set_function(sc->sc_detect_pin, GPIO_IN); 103 sc->sc_detect_pin = C860_GPIO_SD_DETECT_PIN; 106 pxa2x0_gpio_set_function(sc->sc_detect_pin, GPIO_IN); 112 sc->sc_detect_ih = pxa2x0_gpio_intr_establish(sc->sc_detect_pin, 148 pxa2x0_gpio_clear_intr(sc->sc_detect_pin); 197 if (!pxa2x0_gpio_get_bit(sc->sc_detect_pin))
|
zmci.c | 63 int sc_detect_pin; member in struct:zmci_softc 97 sc->sc_detect_pin = C3000_GPIO_SD_DETECT_PIN; 99 pxa2x0_gpio_set_function(sc->sc_detect_pin, GPIO_IN); 103 sc->sc_detect_pin = C860_GPIO_SD_DETECT_PIN; 106 pxa2x0_gpio_set_function(sc->sc_detect_pin, GPIO_IN); 112 sc->sc_detect_ih = pxa2x0_gpio_intr_establish(sc->sc_detect_pin, 148 pxa2x0_gpio_clear_intr(sc->sc_detect_pin); 197 if (!pxa2x0_gpio_get_bit(sc->sc_detect_pin))
|
zmci.c | 63 int sc_detect_pin; member in struct:zmci_softc 97 sc->sc_detect_pin = C3000_GPIO_SD_DETECT_PIN; 99 pxa2x0_gpio_set_function(sc->sc_detect_pin, GPIO_IN); 103 sc->sc_detect_pin = C860_GPIO_SD_DETECT_PIN; 106 pxa2x0_gpio_set_function(sc->sc_detect_pin, GPIO_IN); 112 sc->sc_detect_ih = pxa2x0_gpio_intr_establish(sc->sc_detect_pin, 148 pxa2x0_gpio_clear_intr(sc->sc_detect_pin); 197 if (!pxa2x0_gpio_get_bit(sc->sc_detect_pin))
|
/src/sys/arch/hpcarm/dev/ |
wzero3_mci.c | 61 int sc_detect_pin; member in struct:wzero3mci_softc 159 sc->sc_detect_pin = model->detect_pin; 163 if (sc->sc_detect_pin >= 0) { 164 pxa2x0_gpio_set_function(sc->sc_detect_pin, GPIO_IN); 165 sc->sc_detect_ih = pxa2x0_gpio_intr_establish(sc->sc_detect_pin, 202 pxa2x0_gpio_clear_intr(sc->sc_detect_pin); 247 if (sc->sc_detect_pin >= 0) { 248 if (pxa2x0_gpio_get_bit(sc->sc_detect_pin))
|
wzero3_mci.c | 61 int sc_detect_pin; member in struct:wzero3mci_softc 159 sc->sc_detect_pin = model->detect_pin; 163 if (sc->sc_detect_pin >= 0) { 164 pxa2x0_gpio_set_function(sc->sc_detect_pin, GPIO_IN); 165 sc->sc_detect_ih = pxa2x0_gpio_intr_establish(sc->sc_detect_pin, 202 pxa2x0_gpio_clear_intr(sc->sc_detect_pin); 247 if (sc->sc_detect_pin >= 0) { 248 if (pxa2x0_gpio_get_bit(sc->sc_detect_pin))
|
wzero3_mci.c | 61 int sc_detect_pin; member in struct:wzero3mci_softc 159 sc->sc_detect_pin = model->detect_pin; 163 if (sc->sc_detect_pin >= 0) { 164 pxa2x0_gpio_set_function(sc->sc_detect_pin, GPIO_IN); 165 sc->sc_detect_ih = pxa2x0_gpio_intr_establish(sc->sc_detect_pin, 202 pxa2x0_gpio_clear_intr(sc->sc_detect_pin); 247 if (sc->sc_detect_pin >= 0) { 248 if (pxa2x0_gpio_get_bit(sc->sc_detect_pin))
|