Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpio/
Dgpio-xgene-sb.c89 int lvl_type = GPIO_INT_LEVEL_H; in xgene_gpio_sb_irq_set_type() local
94 lvl_type = GPIO_INT_LEVEL_H; in xgene_gpio_sb_irq_set_type()
98 lvl_type = GPIO_INT_LEVEL_L; in xgene_gpio_sb_irq_set_type()
107 d->hwirq, lvl_type); in xgene_gpio_sb_irq_set_type()
Dgpio-tegra.c294 unsigned int gpio = d->hwirq, port = GPIO_PORT(gpio), lvl_type; in tegra_gpio_irq_set_type() local
303 lvl_type = GPIO_INT_LVL_EDGE_RISING; in tegra_gpio_irq_set_type()
307 lvl_type = GPIO_INT_LVL_EDGE_FALLING; in tegra_gpio_irq_set_type()
311 lvl_type = GPIO_INT_LVL_EDGE_BOTH; in tegra_gpio_irq_set_type()
315 lvl_type = GPIO_INT_LVL_LEVEL_HIGH; in tegra_gpio_irq_set_type()
319 lvl_type = GPIO_INT_LVL_LEVEL_LOW; in tegra_gpio_irq_set_type()
330 val |= lvl_type << GPIO_BIT(gpio); in tegra_gpio_irq_set_type()
Dgpio-bcm-kona.c406 u32 lvl_type; in bcm_kona_gpio_irq_set_type() local
414 lvl_type = GPIO_GPCTR0_ITR_CMD_RISING_EDGE; in bcm_kona_gpio_irq_set_type()
418 lvl_type = GPIO_GPCTR0_ITR_CMD_FALLING_EDGE; in bcm_kona_gpio_irq_set_type()
422 lvl_type = GPIO_GPCTR0_ITR_CMD_BOTH_EDGE; in bcm_kona_gpio_irq_set_type()
438 val |= lvl_type << GPIO_GPCTR0_ITR_SHIFT; in bcm_kona_gpio_irq_set_type()