Searched refs:expected_event (Results 1 – 2 of 2) sorted by relevance
179 int expected_event = (oob_config->is_falling_edge == WHD_TRUE) ? 0 : 1; in whd_bus_spi_oob_irq_handler() local181 if (!(pins & BIT(host_oob_pin->pin)) || (gpio_pin_get_dt(host_oob_pin) != expected_event)) { in whd_bus_spi_oob_irq_handler()182 WPRINT_WHD_ERROR(("Unexpected interrupt event %d\n", expected_event)); in whd_bus_spi_oob_irq_handler()255 int expected_event = (oob_config->is_falling_edge == WHD_TRUE) ? 0 : 1; in whd_bus_spi_irq_enable() local260 if (state == expected_event && state != data->prev_irq_state) { in whd_bus_spi_irq_enable()
239 int expected_event = (oob_config->is_falling_edge == WHD_TRUE) ? 0 : 1; in whd_bus_sdio_oob_irq_handler() local241 if (!(pins & BIT(host_oob_pin->pin)) || (gpio_pin_get_dt(host_oob_pin) != expected_event)) { in whd_bus_sdio_oob_irq_handler()242 WPRINT_WHD_ERROR(("Unexpected interrupt event %d\n", expected_event)); in whd_bus_sdio_oob_irq_handler()