Home
last modified time | relevance | path

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

/linux/drivers/gpio/
H A Dgpio-tegra.c304 unsigned int gpio = d->hwirq, port = GPIO_PORT(gpio), lvl_type; in tegra_gpio_irq_set_type() local
316 lvl_type = GPIO_INT_LVL_EDGE_RISING; in tegra_gpio_irq_set_type()
320 lvl_type = GPIO_INT_LVL_EDGE_FALLING; in tegra_gpio_irq_set_type()
324 lvl_type = GPIO_INT_LVL_EDGE_BOTH; in tegra_gpio_irq_set_type()
328 lvl_type = GPIO_INT_LVL_LEVEL_HIGH; in tegra_gpio_irq_set_type()
332 lvl_type = GPIO_INT_LVL_LEVEL_LOW; in tegra_gpio_irq_set_type()
343 val |= lvl_type << GPIO_BIT(gpio); in tegra_gpio_irq_set_type()