Searched refs:dctr (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/irqchip/
H A Dirq-vt8500.c89 u8 edge, dctr; vt8500_irq_mask() local
99 dctr = readb(base + VT8500_ICDC + d->hwirq); vt8500_irq_mask()
100 dctr &= ~VT8500_INT_ENABLE; vt8500_irq_mask()
101 writeb(dctr, base + VT8500_ICDC + d->hwirq); vt8500_irq_mask()
109 u8 dctr; vt8500_irq_unmask() local
111 dctr = readb(base + VT8500_ICDC + d->hwirq); vt8500_irq_unmask()
112 dctr |= VT8500_INT_ENABLE; vt8500_irq_unmask()
113 writeb(dctr, base + VT8500_ICDC + d->hwirq); vt8500_irq_unmask()
120 u8 dctr; vt8500_irq_set_type() local
122 dctr = readb(base + VT8500_ICDC + d->hwirq); vt8500_irq_set_type()
123 dctr &= ~VT8500_EDGE; vt8500_irq_set_type()
129 dctr |= VT8500_TRIGGER_HIGH; vt8500_irq_set_type()
133 dctr |= VT8500_TRIGGER_FALLING; vt8500_irq_set_type()
137 dctr |= VT8500_TRIGGER_RISING; vt8500_irq_set_type()
141 writeb(dctr, base + VT8500_ICDC + d->hwirq); vt8500_irq_set_type()

Completed in 50 milliseconds