Home | History | Annotate | Download | only in xscale

Lines Matching defs:gh_gpio

67 	u_int gh_gpio;
287 gh->gh_gpio = gpio;
337 bit = GPIO_BIT(gh->gh_gpio);
339 reg = pxagpio_reg_read(sc, GPIO_REG(GPIO_GFER0, gh->gh_gpio));
341 pxagpio_reg_write(sc, GPIO_REG(GPIO_GFER0, gh->gh_gpio), reg);
342 reg = pxagpio_reg_read(sc, GPIO_REG(GPIO_GRER0, gh->gh_gpio));
344 pxagpio_reg_write(sc, GPIO_REG(GPIO_GRER0, gh->gh_gpio), reg);
346 pxagpio_reg_write(sc, GPIO_REG(GPIO_GEDR0, gh->gh_gpio), bit);
348 sc->sc_mask[GPIO_BANK(gh->gh_gpio)] &= ~bit;
349 sc->sc_handlers[gh->gh_gpio] = NULL;
351 if (gh->gh_gpio == 0) {
359 if (gh->gh_gpio == 1) {
663 pxa2x0_gpio_set_intr_level(gh->gh_gpio, IPL_NONE);
674 pxa2x0_gpio_set_intr_level(gh->gh_gpio, gh->gh_level);