Searched refs:xoutb (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/char/pcmcia/ |
H A D | cm4000_cs.c | 172 #define xoutb outb macro 175 static inline void xoutb(unsigned char val, unsigned short port) xoutb() function 429 xoutb(dev->flags1, REG_FLAGS1(iobase)); set_cardparameter() 433 xoutb((unsigned char)((dev->baudv - 1) & 0xFF), REG_BAUDRATE(iobase)); set_cardparameter() 444 xoutb(stopbits, REG_STOPBITS(iobase)); set_cardparameter() 492 xoutb(0x80, REG_FLAGS0(iobase)); set_protocol() 499 xoutb(dev->flags1, REG_FLAGS1(iobase)); set_protocol() 507 xoutb(i, REG_BUF_ADDR(iobase)); set_protocol() 508 xoutb(dev->pts[i], REG_BUF_DATA(iobase)); /* buf data */ 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)); 613 /* xoutb(0x40, REG_FLAGS1(iobase)); detectCMM */ 614 xoutb(dev->flags1 | 0x40, REG_FLAGS1(iobase)); 621 xoutb(dev->flags1, REG_FLAGS1(iobase)); 744 xoutb(0x80, REG_FLAGS0(iobase)); 760 xoutb(0x80, REG_FLAGS0(iobase)); 763 xoutb(0x02, REG_STOPBITS(iobase)); /* stopbits=2 */ 764 xoutb(0x73, REG_BAUDRATE(iobase)); /* baud value */ 765 xoutb(0x21, REG_FLAGS1(iobase)); /* T_Active=1, baud 768 xoutb(dev->flags0 & 2 ? 0x46 : 0x44, REG_FLAGS0(iobase)); 799 xoutb(0x80, REG_FLAGS0(iobase)); /* reset SM */ 801 xoutb(i, REG_BUF_ADDR(iobase)); 807 xoutb(dev->flags1, REG_FLAGS1(iobase)); 994 xoutb(k++, REG_BUF_ADDR(iobase)); 1001 xoutb(dev->flags1, REG_FLAGS1(iobase)); 1003 xoutb(k++, REG_BUF_ADDR(iobase)); 1021 xoutb(dev->flags1, REG_FLAGS1(iobase)); 1023 xoutb(0, REG_FLAGS1(iobase)); /* clear detectCMM */ 1136 xoutb(0x80, REG_FLAGS0(iobase)); /* reset SM */ 1156 xoutb(dev->flags1, REG_FLAGS1(iobase)); 1170 xoutb(dev->flags1, REG_FLAGS1(iobase)); 1176 xoutb(i, REG_BUF_ADDR(iobase)); 1177 xoutb(invert_revert(dev->sbuf[i]), 1180 xoutb(i, REG_BUF_ADDR(iobase)); 1181 xoutb(dev->sbuf[i], REG_BUF_DATA(iobase)); 1190 xoutb(i, REG_BUF_ADDR(iobase)); 1192 xoutb(0xff, REG_BUF_DATA(iobase)); 1194 xoutb(0x00, REG_BUF_DATA(iobase)); 1216 xoutb(invert_revert(dev->sbuf[1]), REG_NUM_BYTES(iobase)); 1219 xoutb(dev->sbuf[1], REG_NUM_BYTES(iobase)); 1224 xoutb((unsigned char)(nsend & 0xff), REG_NUM_SEND(iobase)); 1231 xoutb(0x40 /* SM_Active */ 1352 xoutb(0x80, REG_FLAGS0(iobase)); /* reset SM */ 1357 xoutb(dev->flags1, REG_FLAGS1(iobase)); 1547 xoutb(0x42, REG_FLAGS0(iobase));
|
H A D | cm4040_cs.c | 86 #define xoutb outb macro 89 static inline void xoutb(unsigned char val, unsigned short port) xoutb() function 178 xoutb(val, iobase + REG_OFFSET_SYNC_CONTROL); write_sync_reg() 399 xoutb(dev->s_buf[i],iobase + REG_OFFSET_BULK_OUT);
|
Completed in 92 milliseconds