Home
last modified time | relevance | path

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

/linux/drivers/gpio/
H A Dgpio-xgene-sb.c80 int lvl_type = GPIO_INT_LEVEL_H; in xgene_gpio_sb_irq_set_type() local
85 lvl_type = GPIO_INT_LEVEL_H; in xgene_gpio_sb_irq_set_type()
89 lvl_type = GPIO_INT_LEVEL_L; in xgene_gpio_sb_irq_set_type()
98 d->hwirq, lvl_type); in xgene_gpio_sb_irq_set_type()
H A Dgpio-bcm-kona.c411 u32 lvl_type; in bcm_kona_gpio_irq_set_type() local
418 lvl_type = GPIO_GPCTR0_ITR_CMD_RISING_EDGE; in bcm_kona_gpio_irq_set_type()
422 lvl_type = GPIO_GPCTR0_ITR_CMD_FALLING_EDGE; in bcm_kona_gpio_irq_set_type()
426 lvl_type = GPIO_GPCTR0_ITR_CMD_BOTH_EDGE; in bcm_kona_gpio_irq_set_type()
442 val |= lvl_type << GPIO_GPCTR0_ITR_SHIFT; in bcm_kona_gpio_irq_set_type()
H A Dgpio-tegra.c290 unsigned int gpio = d->hwirq, port = GPIO_PORT(gpio), lvl_type; in tegra_gpio_irq_set_type() local
302 lvl_type = GPIO_INT_LVL_EDGE_RISING; in tegra_gpio_irq_set_type()
306 lvl_type = GPIO_INT_LVL_EDGE_FALLING; in tegra_gpio_irq_set_type()
310 lvl_type = GPIO_INT_LVL_EDGE_BOTH; in tegra_gpio_irq_set_type()
314 lvl_type = GPIO_INT_LVL_LEVEL_HIGH; in tegra_gpio_irq_set_type()
318 lvl_type = GPIO_INT_LVL_LEVEL_LOW; in tegra_gpio_irq_set_type()
329 val |= lvl_type << GPIO_BIT(gpio); in tegra_gpio_irq_set_type()