1Z8530_INTERRUPT(9) Public Functions Provided Z8530_INTERRUPT(9)
2
3
4
6 z8530_interrupt - Handle an interrupt from a Z8530
7
9 irqreturn_t z8530_interrupt(int irq, void * dev_id);
10
12 irq
13 Interrupt number
14
15 dev_id
16 The Z8530 device that is interrupting.
17
19 A Z85[2]30 device has stuck its hand in the air for attention. We scan
20 both the channels on the chip for events and then call the channel
21 specific call backs for each channel that has events. We have to use
22 callback functions because the two channels can be in different modes.
23
24 Locking is done for the handlers. Note that locking is done at the chip
25 level (the 5uS delay issue is per chip not per channel). c->lock for
26 both channels points to dev->lock
27
29 Alan Cox <alan@lxorguk.ukuu.org.uk>
30 Author.
31
33Kernel Hackers Manual 3.10 June 2019 Z8530_INTERRUPT(9)