Lines Matching refs:dctr
75 u8 edge, dctr; in vt8500_irq_mask() local
85 dctr = readb(base + VT8500_ICDC + d->hwirq); in vt8500_irq_mask()
86 dctr &= ~VT8500_INT_ENABLE; in vt8500_irq_mask()
87 writeb(dctr, base + VT8500_ICDC + d->hwirq); in vt8500_irq_mask()
95 u8 dctr; in vt8500_irq_unmask() local
97 dctr = readb(base + VT8500_ICDC + d->hwirq); in vt8500_irq_unmask()
98 dctr |= VT8500_INT_ENABLE; in vt8500_irq_unmask()
99 writeb(dctr, base + VT8500_ICDC + d->hwirq); in vt8500_irq_unmask()
106 u8 dctr; in vt8500_irq_set_type() local
108 dctr = readb(base + VT8500_ICDC + d->hwirq); in vt8500_irq_set_type()
109 dctr &= ~VT8500_EDGE; in vt8500_irq_set_type()
115 dctr |= VT8500_TRIGGER_HIGH; in vt8500_irq_set_type()
119 dctr |= VT8500_TRIGGER_FALLING; in vt8500_irq_set_type()
123 dctr |= VT8500_TRIGGER_RISING; in vt8500_irq_set_type()
127 writeb(dctr, base + VT8500_ICDC + d->hwirq); in vt8500_irq_set_type()