Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpio/
Dgpio-xgene-sb.c78 int lvl_type = GPIO_INT_LEVEL_H; in xgene_gpio_sb_irq_set_type() local
83 lvl_type = GPIO_INT_LEVEL_H; in xgene_gpio_sb_irq_set_type()
87 lvl_type = GPIO_INT_LEVEL_L; in xgene_gpio_sb_irq_set_type()
96 d->hwirq, lvl_type); in xgene_gpio_sb_irq_set_type()
Dgpio-tegra.c302 unsigned int gpio = d->hwirq, port = GPIO_PORT(gpio), lvl_type; in tegra_gpio_irq_set_type() local
311 lvl_type = GPIO_INT_LVL_EDGE_RISING; in tegra_gpio_irq_set_type()
315 lvl_type = GPIO_INT_LVL_EDGE_FALLING; in tegra_gpio_irq_set_type()
319 lvl_type = GPIO_INT_LVL_EDGE_BOTH; in tegra_gpio_irq_set_type()
323 lvl_type = GPIO_INT_LVL_LEVEL_HIGH; in tegra_gpio_irq_set_type()
327 lvl_type = GPIO_INT_LVL_LEVEL_LOW; in tegra_gpio_irq_set_type()
338 val |= lvl_type << GPIO_BIT(gpio); in tegra_gpio_irq_set_type()
Dgpio-bcm-kona.c408 u32 lvl_type; in bcm_kona_gpio_irq_set_type() local
416 lvl_type = GPIO_GPCTR0_ITR_CMD_RISING_EDGE; in bcm_kona_gpio_irq_set_type()
420 lvl_type = GPIO_GPCTR0_ITR_CMD_FALLING_EDGE; in bcm_kona_gpio_irq_set_type()
424 lvl_type = GPIO_GPCTR0_ITR_CMD_BOTH_EDGE; in bcm_kona_gpio_irq_set_type()
440 val |= lvl_type << GPIO_GPCTR0_ITR_SHIFT; in bcm_kona_gpio_irq_set_type()