Searched refs:com_scr (Results 1 – 2 of 2) sorted by relevance
| /dragonfly/sys/dev/serial/ic_layer/ |
| HD | ns16550.h | 116 #define com_scr 7 /* scratch register (R/W) */ macro 165 #define com_spr com_scr /* scratch pad (and index) register (R/W) */
|
| /dragonfly/sys/dev/serial/sio/ |
| HD | sio.c | 108 #define com_scr 7 /* scratch register for 16450-16550 (R/W) */ macro 651 outb(xiobase + com_scr, 0x80); in sioprobe() 653 outb(xiobase + com_scr, 0); in sioprobe() 1101 scr = sio_getreg(com, com_scr); in sioattach() 1102 sio_setreg(com, com_scr, 0xa5); in sioattach() 1103 scr1 = sio_getreg(com, com_scr); in sioattach() 1104 sio_setreg(com, com_scr, 0x5a); in sioattach() 1105 scr2 = sio_getreg(com, com_scr); in sioattach() 1106 sio_setreg(com, com_scr, scr); in sioattach()
|