Home
last modified time | relevance | path

Searched refs:gpio_flags (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/mmc/host/
Dof_mmc_spi.c122 enum of_gpio_flags gpio_flags; in mmc_spi_get_pdata() local
124 oms->gpios[i] = of_get_gpio_flags(np, i, &gpio_flags); in mmc_spi_get_pdata()
134 if (gpio_flags & OF_GPIO_ACTIVE_LOW) in mmc_spi_get_pdata()
/linux-2.6.39/drivers/gpio/
Dgpiolib.c330 unsigned long gpio_flags) in gpio_setup_irq() argument
336 if ((desc->flags & GPIO_TRIGGER_MASK) == gpio_flags) in gpio_setup_irq()
350 if (!gpio_flags) { in gpio_setup_irq()
356 if (test_bit(FLAG_TRIG_FALL, &gpio_flags)) in gpio_setup_irq()
359 if (test_bit(FLAG_TRIG_RISE, &gpio_flags)) in gpio_setup_irq()
394 desc->flags |= gpio_flags; in gpio_setup_irq()