Searched refs:read_via_reg (Results 1 - 3 of 3) sorted by relevance
/netbsd-current/sys/arch/macppc/dev/ |
H A D | viareg.h | 201 static inline int read_via_reg(int, int); 228 read_via_reg(int ign, int reg) function
|
H A D | adb_direct.c | 126 #define ADB_SR() read_via_reg(VIA1, vSR) 129 #define ADB_INTR_IS_OFF (vPB3 == (read_via_reg(VIA1, vBufB) & vPB3)) 130 #define ADB_INTR_IS_ON (0 == (read_via_reg(VIA1, vBufB) & vPB3)) 131 #define ADB_SR_INTR_IS_OFF (0 == (read_via_reg(VIA1, vIFR) & vSR_INT)) 132 #define ADB_SR_INTR_IS_ON (vSR_INT == (read_via_reg(VIA1, \ 339 reg = read_via_reg(VIA1, vIFR); /* Read the interrupts */ 945 write_via_reg(VIA1, vACR, (read_via_reg(VIA1, vACR) | 0x0c) & ~0x10);
|
H A D | pm_direct.c | 72 #define PM_SR() read_via_reg(VIA1, vSR) 79 #define PM_IS_ON (0x08 == (read_via_reg(VIA2, vBufB) & 0x08)) 80 #define PM_IS_OFF (0x00 == (read_via_reg(VIA2, vBufB) & 0x08)) 486 via1_vIER &= read_via_reg(VIA1, vIER); 723 if (read_via_reg(VIA1, vIFR) & 0x14)
|
Completed in 87 milliseconds