Lines Matching refs:xoutb

172 #define	xoutb	outb  macro
175 static inline void xoutb(unsigned char val, unsigned short port) in xoutb() function
429 xoutb(dev->flags1, REG_FLAGS1(iobase)); in set_cardparameter()
433 xoutb((unsigned char)((dev->baudv - 1) & 0xFF), REG_BAUDRATE(iobase)); in set_cardparameter()
444 xoutb(stopbits, REG_STOPBITS(iobase)); in set_cardparameter()
492 xoutb(0x80, REG_FLAGS0(iobase)); in set_protocol()
499 xoutb(dev->flags1, REG_FLAGS1(iobase)); in set_protocol()
507 xoutb(i, REG_BUF_ADDR(iobase)); in set_protocol()
508 xoutb(dev->pts[i], REG_BUF_DATA(iobase)); /* buf data */ in set_protocol()
519 xoutb(0x04, REG_NUM_SEND(iobase));
522 xoutb(0x50, REG_FLAGS0(iobase));
563 xoutb(0x80, REG_FLAGS0(iobase));
568 xoutb(i, REG_BUF_ADDR(iobase));
581 xoutb(0x20, REG_FLAGS1(iobase));
614 xoutb(dev->flags1 | 0x40, REG_FLAGS1(iobase)); in io_detect_cm4000()
621 xoutb(dev->flags1, REG_FLAGS1(iobase)); in io_detect_cm4000()
745 xoutb(0x80, REG_FLAGS0(iobase)); in monitor_card()
762 xoutb(0x80, REG_FLAGS0(iobase)); in monitor_card()
765 xoutb(0x02, REG_STOPBITS(iobase)); /* stopbits=2 */ in monitor_card()
766 xoutb(0x73, REG_BAUDRATE(iobase)); /* baud value */ in monitor_card()
767 xoutb(0x21, REG_FLAGS1(iobase)); /* T_Active=1, baud in monitor_card()
770 xoutb(dev->flags0 & 2 ? 0x46 : 0x44, REG_FLAGS0(iobase)); in monitor_card()
801 xoutb(0x80, REG_FLAGS0(iobase)); /* reset SM */ in monitor_card()
803 xoutb(i, REG_BUF_ADDR(iobase)); in monitor_card()
809 xoutb(dev->flags1, REG_FLAGS1(iobase)); in monitor_card()
996 xoutb(k++, REG_BUF_ADDR(iobase)); in cmm_read()
1003 xoutb(dev->flags1, REG_FLAGS1(iobase)); in cmm_read()
1005 xoutb(k++, REG_BUF_ADDR(iobase)); in cmm_read()
1023 xoutb(dev->flags1, REG_FLAGS1(iobase)); in cmm_read()
1025 xoutb(0, REG_FLAGS1(iobase)); /* clear detectCMM */ in cmm_read()
1138 xoutb(0x80, REG_FLAGS0(iobase)); /* reset SM */ in cmm_write()
1158 xoutb(dev->flags1, REG_FLAGS1(iobase)); in cmm_write()
1172 xoutb(dev->flags1, REG_FLAGS1(iobase)); in cmm_write()
1178 xoutb(i, REG_BUF_ADDR(iobase)); in cmm_write()
1179 xoutb(invert_revert(dev->sbuf[i]), in cmm_write()
1182 xoutb(i, REG_BUF_ADDR(iobase)); in cmm_write()
1183 xoutb(dev->sbuf[i], REG_BUF_DATA(iobase)); in cmm_write()
1192 xoutb(i, REG_BUF_ADDR(iobase)); in cmm_write()
1194 xoutb(0xff, REG_BUF_DATA(iobase)); in cmm_write()
1196 xoutb(0x00, REG_BUF_DATA(iobase)); in cmm_write()
1218 xoutb(invert_revert(dev->sbuf[1]), REG_NUM_BYTES(iobase)); in cmm_write()
1221 xoutb(dev->sbuf[1], REG_NUM_BYTES(iobase)); in cmm_write()
1226 xoutb((unsigned char)(nsend & 0xff), REG_NUM_SEND(iobase)); in cmm_write()
1233 xoutb(0x40 /* SM_Active */ in cmm_write()
1354 xoutb(0x80, REG_FLAGS0(iobase)); /* reset SM */ in cmm_write()
1359 xoutb(dev->flags1, REG_FLAGS1(iobase)); in cmm_write()
1535 xoutb(0x42, REG_FLAGS0(iobase)); in cmm_ioctl()