Home
last modified time | relevance | path

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

/openbmc/qemu/hw/gpio/
H A Daspeed_gpio.c265 uint32_t int_trigger = extract32(regs->int_sens_0, gpio, 1) in aspeed_evaluate_irq() local
282 if (((int_trigger == ASPEED_FALLING_EDGE) && falling_edge) || in aspeed_evaluate_irq()
283 ((int_trigger == ASPEED_RISING_EDGE) && rising_edge) || in aspeed_evaluate_irq()
284 ((int_trigger == ASPEED_LEVEL_LOW) && !gpio_curr_high) || in aspeed_evaluate_irq()
285 ((int_trigger == ASPEED_LEVEL_HIGH) && gpio_curr_high) || in aspeed_evaluate_irq()
286 ((int_trigger >= ASPEED_DUAL_EDGE) && (rising_edge || falling_edge))) in aspeed_evaluate_irq()