Searched refs:write_via_reg (Results 1 - 3 of 3) sorted by relevance
/netbsd-current/sys/arch/macppc/dev/ |
H A D | viareg.h | 200 static inline void write_via_reg(int, int, int); 236 write_via_reg(int ign, int reg, int val) function
|
H A D | adb_direct.c | 127 #define ADB_VIA_INTR_ENABLE() write_via_reg(VIA1, vIER, 0x84) 128 #define ADB_VIA_INTR_DISABLE() write_via_reg(VIA1, vIER, 0x04) 345 write_via_reg(VIA1, vIFR, reg & 0x7f); /* Clear 'em */ 459 write_via_reg(VIA1, vSR, adbOutputBuffer[adbSentChars + 1]); 528 write_via_reg(VIA1, vSR, adbOutputBuffer[adbSentChars + 1]); /* send next byte */ 630 write_via_reg(VIA1, vSR, adbOutputBuffer[adbSentChars + 1]); /* load byte for output */ 936 write_via_reg(VIA1, vIFR, 0x90); /* clear interrupt */ 945 write_via_reg(VIA1, vACR, (read_via_reg(VIA1, vACR) | 0x0c) & ~0x10); 948 write_via_reg(VIA1, vIER, 0x84);/* make sure VIA interrupts 970 write_via_reg(VIA [all...] |
H A D | pm_direct.c | 73 #define PM_VIA_INTR_ENABLE() write_via_reg(VIA1, vIER, 0x90) 74 #define PM_VIA_INTR_DISABLE() write_via_reg(VIA1, vIER, 0x10) 75 #define PM_VIA_CLR_INTR() write_via_reg(VIA1, vIFR, 0x90) 441 write_via_reg(VIA1, vSR, data); /* PM_SR() = data; */ 487 write_via_reg(VIA1, vIER, via1_vIER); 558 write_via_reg(VIA1, vIER, via1_vIER); 660 write_via_reg(VIA1, vIER, 0x10);
|
Completed in 76 milliseconds