Lines Matching defs:xoutb
173 #define xoutb outb
176 static inline void xoutb(unsigned char val, unsigned short port)
430 xoutb(dev->flags1, REG_FLAGS1(iobase));
434 xoutb((unsigned char)((dev->baudv - 1) & 0xFF), REG_BAUDRATE(iobase));
445 xoutb(stopbits, REG_STOPBITS(iobase));
493 xoutb(0x80, REG_FLAGS0(iobase));
500 xoutb(dev->flags1, REG_FLAGS1(iobase));
508 xoutb(i, REG_BUF_ADDR(iobase));
509 xoutb(dev->pts[i], REG_BUF_DATA(iobase)); /* buf data */
520 xoutb(0x04, REG_NUM_SEND(iobase));
523 xoutb(0x50, REG_FLAGS0(iobase));
564 xoutb(0x80, REG_FLAGS0(iobase));
569 xoutb(i, REG_BUF_ADDR(iobase));
582 xoutb(0x20, REG_FLAGS1(iobase));
614 /* xoutb(0x40, REG_FLAGS1(iobase)); detectCMM */
615 xoutb(dev->flags1 | 0x40, REG_FLAGS1(iobase));
622 xoutb(dev->flags1, REG_FLAGS1(iobase));
745 xoutb(0x80, REG_FLAGS0(iobase));
761 xoutb(0x80, REG_FLAGS0(iobase));
764 xoutb(0x02, REG_STOPBITS(iobase)); /* stopbits=2 */
765 xoutb(0x73, REG_BAUDRATE(iobase)); /* baud value */
766 xoutb(0x21, REG_FLAGS1(iobase)); /* T_Active=1, baud
769 xoutb(dev->flags0 & 2 ? 0x46 : 0x44, REG_FLAGS0(iobase));
800 xoutb(0x80, REG_FLAGS0(iobase)); /* reset SM */
802 xoutb(i, REG_BUF_ADDR(iobase));
808 xoutb(dev->flags1, REG_FLAGS1(iobase));
995 xoutb(k++, REG_BUF_ADDR(iobase));
1002 xoutb(dev->flags1, REG_FLAGS1(iobase));
1004 xoutb(k++, REG_BUF_ADDR(iobase));
1022 xoutb(dev->flags1, REG_FLAGS1(iobase));
1024 xoutb(0, REG_FLAGS1(iobase)); /* clear detectCMM */
1137 xoutb(0x80, REG_FLAGS0(iobase)); /* reset SM */
1157 xoutb(dev->flags1, REG_FLAGS1(iobase));
1171 xoutb(dev->flags1, REG_FLAGS1(iobase));
1177 xoutb(i, REG_BUF_ADDR(iobase));
1178 xoutb(invert_revert(dev->sbuf[i]),
1181 xoutb(i, REG_BUF_ADDR(iobase));
1182 xoutb(dev->sbuf[i], REG_BUF_DATA(iobase));
1191 xoutb(i, REG_BUF_ADDR(iobase));
1193 xoutb(0xff, REG_BUF_DATA(iobase));
1195 xoutb(0x00, REG_BUF_DATA(iobase));
1217 xoutb(invert_revert(dev->sbuf[1]), REG_NUM_BYTES(iobase));
1220 xoutb(dev->sbuf[1], REG_NUM_BYTES(iobase));
1225 xoutb((unsigned char)(nsend & 0xff), REG_NUM_SEND(iobase));
1232 xoutb(0x40 /* SM_Active */
1353 xoutb(0x80, REG_FLAGS0(iobase)); /* reset SM */
1358 xoutb(dev->flags1, REG_FLAGS1(iobase));
1548 xoutb(0x42, REG_FLAGS0(iobase));