Lines Matching refs:dctr
88 u8 edge, dctr; in vt8500_irq_mask() local
98 dctr = readb(base + VT8500_ICDC + d->hwirq); in vt8500_irq_mask()
99 dctr &= ~VT8500_INT_ENABLE; in vt8500_irq_mask()
100 writeb(dctr, base + VT8500_ICDC + d->hwirq); in vt8500_irq_mask()
108 u8 dctr; in vt8500_irq_unmask() local
110 dctr = readb(base + VT8500_ICDC + d->hwirq); in vt8500_irq_unmask()
111 dctr |= VT8500_INT_ENABLE; in vt8500_irq_unmask()
112 writeb(dctr, base + VT8500_ICDC + d->hwirq); in vt8500_irq_unmask()
119 u8 dctr; in vt8500_irq_set_type() local
121 dctr = readb(base + VT8500_ICDC + d->hwirq); in vt8500_irq_set_type()
122 dctr &= ~VT8500_EDGE; in vt8500_irq_set_type()
128 dctr |= VT8500_TRIGGER_HIGH; in vt8500_irq_set_type()
132 dctr |= VT8500_TRIGGER_FALLING; in vt8500_irq_set_type()
136 dctr |= VT8500_TRIGGER_RISING; in vt8500_irq_set_type()
140 writeb(dctr, base + VT8500_ICDC + d->hwirq); in vt8500_irq_set_type()