Searched refs:irq_idx (Results 1 – 4 of 4) sorted by relevance
106 int irq_idx = IRQ_IDX(irq); in baboon_irq_enable() local112 baboon_disabled &= ~(1 << irq_idx); in baboon_irq_enable()119 int irq_idx = IRQ_IDX(irq); in baboon_irq_disable() local125 baboon_disabled |= 1 << irq_idx; in baboon_irq_disable()132 int irq_idx = IRQ_IDX(irq); in baboon_irq_clear() local134 baboon->mb_ifr &= ~(1 << irq_idx); in baboon_irq_clear()139 int irq_idx = IRQ_IDX(irq); in baboon_irq_pending() local141 return baboon->mb_ifr & (1 << irq_idx); in baboon_irq_pending()
165 int irq_idx = IRQ_IDX(irq); in psc_irq_enable() local171 psc_write_byte(pIER, (1 << irq_idx) | 0x80); in psc_irq_enable()176 int irq_idx = IRQ_IDX(irq); in psc_irq_disable() local182 psc_write_byte(pIER, 1 << irq_idx); in psc_irq_disable()187 int irq_idx = IRQ_IDX(irq); in psc_irq_clear() local190 psc_write_byte(pIFR, 1 << irq_idx); in psc_irq_clear()196 int irq_idx = IRQ_IDX(irq); in psc_irq_pending() local199 return psc_read_byte(pIFR) & (1 << irq_idx); in psc_irq_pending()
543 int irq_idx = IRQ_IDX(irq); in via_irq_enable() local550 via1[vIER] = IER_SET_BIT(irq_idx); in via_irq_enable()553 via2[gIER] = IER_SET_BIT(irq_idx); in via_irq_enable()557 nubus_disabled &= ~(1 << irq_idx); in via_irq_enable()566 via2[rSIER] = IER_SET_BIT(irq_idx); in via_irq_enable()574 via2[vDirA] &= ~(1 << irq_idx); in via_irq_enable()582 int irq_idx = IRQ_IDX(irq); in via_irq_disable() local589 via1[vIER] = IER_CLR_BIT(irq_idx); in via_irq_disable()591 via2[gIER] = IER_CLR_BIT(irq_idx); in via_irq_disable()595 nubus_disabled |= 1 << irq_idx; in via_irq_disable()[all …]
460 int irq_idx = IRQ_IDX(irq); in scc_irq_enable() local462 scc_mask |= (1 << irq_idx); in scc_irq_enable()467 int irq_idx = IRQ_IDX(irq); in scc_irq_disable() local469 scc_mask &= ~(1 << irq_idx); in scc_irq_disable()