Lines Matching refs:irq_remaining
622 u32 irq_received, irq_remaining, irq_handled; in aspeed_i2c_bus_irq() local
631 irq_remaining = irq_received; in aspeed_i2c_bus_irq()
643 irq_handled = aspeed_i2c_master_irq(bus, irq_remaining); in aspeed_i2c_bus_irq()
644 irq_remaining &= ~irq_handled; in aspeed_i2c_bus_irq()
645 if (irq_remaining) in aspeed_i2c_bus_irq()
646 irq_handled |= aspeed_i2c_slave_irq(bus, irq_remaining); in aspeed_i2c_bus_irq()
648 irq_handled = aspeed_i2c_slave_irq(bus, irq_remaining); in aspeed_i2c_bus_irq()
649 irq_remaining &= ~irq_handled; in aspeed_i2c_bus_irq()
650 if (irq_remaining) in aspeed_i2c_bus_irq()
652 irq_remaining); in aspeed_i2c_bus_irq()
663 irq_handled = aspeed_i2c_master_irq(bus, irq_remaining); in aspeed_i2c_bus_irq()
666 irq_remaining &= ~irq_handled; in aspeed_i2c_bus_irq()
667 if (irq_remaining) in aspeed_i2c_bus_irq()
679 return irq_remaining ? IRQ_NONE : IRQ_HANDLED; in aspeed_i2c_bus_irq()