Searched refs:lvl_type (Results 1 – 2 of 2) sorted by relevance
304 unsigned int gpio = d->hwirq, port = GPIO_PORT(gpio), lvl_type; in tegra_gpio_irq_set_type() local316 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()
412 u32 lvl_type; in bcm_kona_gpio_irq_set_type() local419 lvl_type = GPIO_GPCTR0_ITR_CMD_RISING_EDGE; in bcm_kona_gpio_irq_set_type()423 lvl_type = GPIO_GPCTR0_ITR_CMD_FALLING_EDGE; in bcm_kona_gpio_irq_set_type()427 lvl_type = GPIO_GPCTR0_ITR_CMD_BOTH_EDGE; in bcm_kona_gpio_irq_set_type()443 val |= lvl_type << GPIO_GPCTR0_ITR_SHIFT; in bcm_kona_gpio_irq_set_type()