Home | History | Annotate | Download | only in pci

Lines Matching refs:byte

142 	int byte = (irq / 8), bit = (irq % 8);
145 printf("eb64plus_intr_enable: enabling %d (%d:%d)\n", irq, byte, bit);
147 eb64plus_intr_mask[byte] &= ~(1 << bit);
149 bus_space_write_1(eb64plus_intrgate_iot, eb64plus_intrgate_ioh, byte,
150 eb64plus_intr_mask[byte]);
156 int byte = (irq / 8), bit = (irq % 8);
159 printf("eb64plus_intr_disable: disabling %d (%d:%d)\n", irq, byte, bit);
161 eb64plus_intr_mask[byte] |= (1 << bit);
163 bus_space_write_1(eb64plus_intrgate_iot, eb64plus_intrgate_ioh, byte,
164 eb64plus_intr_mask[byte]);