tag | line | file | source code |
cardbase | 256 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R1, WT_FN_RDYFN | WT_RDY_RT | INT_ERR_Rx | EXT_INT_ENAB); |
cardbase | 272 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, RES_Rx_CRC); |
cardbase | 275 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R1, |
cardbase | 318 | drivers/net/pi2.c | port = lp->cardbase + TMR1; |
cardbase | 322 | drivers/net/pi2.c | port = lp->cardbase + TMR2; |
cardbase | 323 | drivers/net/pi2.c | wrtscc(lp->cardbase, lp->base + CTL, R1, INT_ALL_Rx | EXT_INT_ENAB); |
cardbase | 327 | drivers/net/pi2.c | outb_p(sc | LSB_MSB | MODE0, lp->cardbase + TMRCMD); |
cardbase | 334 | drivers/net/pi2.c | wrtscc(lp->cardbase, lp->base + CTL, R15, CTSIE); |
cardbase | 335 | drivers/net/pi2.c | wrtscc(lp->cardbase, lp->base + CTL, R0, RES_EXT_INT); |
cardbase | 367 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, RES_EXT_INT); |
cardbase | 368 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, RES_EXT_INT); |
cardbase | 369 | drivers/net/pi2.c | if ((rdscc(lp->cardbase, cmd, R0) & DCD) != 0) { |
cardbase | 373 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R15, CTSIE | DCDIE); |
cardbase | 384 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R5, TxCRC_ENAB | RTS | Tx8); |
cardbase | 407 | drivers/net/pi2.c | st = rdscc(lp->cardbase, lp->base + CTL, R0); /* Fetch status */ |
cardbase | 410 | drivers/net/pi2.c | wrtscc(lp->cardbase, CTL + lp->base, R0, RES_EXT_INT); |
cardbase | 438 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R1, WT_FN_RDYFN | EXT_INT_ENAB); |
cardbase | 455 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, RES_Tx_CRC | RES_Tx_P); |
cardbase | 458 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R15, TxUIE); |
cardbase | 461 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R1, WT_RDY_ENAB | WT_FN_RDYFN | EXT_INT_ENAB); |
cardbase | 464 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, RES_EOM_L); |
cardbase | 474 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, RES_EXT_INT); |
cardbase | 475 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, RES_EXT_INT); |
cardbase | 476 | drivers/net/pi2.c | if ((rdscc(lp->cardbase, cmd, R0) & DCD) != 0) { |
cardbase | 480 | drivers/net/pi2.c | wrtscc(lp->cardbase, CTL + lp->base, R15, CTSIE | DCDIE); |
cardbase | 491 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R5, TxCRC_ENAB | RTS | Tx8); |
cardbase | 519 | drivers/net/pi2.c | rse = rdscc(lp->cardbase, cmd, R1); /* Get special condition bits from R1 */ |
cardbase | 576 | drivers/net/pi2.c | wrtscc(lp->cardbase, lp->base + CTL, R0, ERR_RES); /* error reset */ |
cardbase | 594 | drivers/net/pi2.c | rse = rdscc(lp->cardbase, cmd, R1); /* get status byte from R1 */ |
cardbase | 596 | drivers/net/pi2.c | if ((rdscc(lp->cardbase, cmd, R0)) & Rx_CH_AV) { |
cardbase | 618 | drivers/net/pi2.c | *lp->rcp++ = rdscc(lp->cardbase, cmd, R8); /* char to rcv buff */ |
cardbase | 622 | drivers/net/pi2.c | (void) rdscc(lp->cardbase, cmd, R8); |
cardbase | 623 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, ERR_RES); /* reset err latch */ |
cardbase | 708 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, RES_EXT_INT); |
cardbase | 709 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, RES_EXT_INT); |
cardbase | 710 | drivers/net/pi2.c | if ((rdscc(lp->cardbase, cmd, R0) & DCD) != 0) { |
cardbase | 714 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R15, CTSIE | DCDIE); |
cardbase | 735 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R8, c); |
cardbase | 741 | drivers/net/pi2.c | if ((rdscc(lp->cardbase, cmd, R0) & 0x40)) { |
cardbase | 746 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, SEND_ABORT); |
cardbase | 755 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R10, CRCPS | NRZI); |
cardbase | 757 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R10, CRCPS); |
cardbase | 759 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, RES_Tx_P); /* reset Tx Int Pend */ |
cardbase | 784 | drivers/net/pi2.c | st = rdscc(lp->cardbase, cmd, R0); /* Fetch status */ |
cardbase | 786 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, RES_EXT_INT); |
cardbase | 793 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, SEND_ABORT); |
cardbase | 821 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, RES_Tx_CRC); /* reset for next frame */ |
cardbase | 825 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R10, CRCPS | NRZI | ABUNDER); |
cardbase | 827 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R10, CRCPS | ABUNDER); |
cardbase | 830 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R8, c); /* First char out now */ |
cardbase | 831 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, RES_EOM_L); /* Reset end of message latch */ |
cardbase | 839 | drivers/net/pi2.c | while((rdscc(lp->cardbase, cmd, R0) & 0x04) == 0) |
cardbase | 841 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R8, c); |
cardbase | 847 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R15, TxUIE); /* allow Underrun int only */ |
cardbase | 848 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, RES_EXT_INT); |
cardbase | 849 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R1, TxINT_ENAB | EXT_INT_ENAB); /* Tx/Ext ints */ |
cardbase | 859 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, RES_EXT_INT); |
cardbase | 860 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, RES_EXT_INT); |
cardbase | 861 | drivers/net/pi2.c | if ((rdscc(lp->cardbase, cmd, R0) & DCD) != 0) { |
cardbase | 865 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R15, CTSIE | DCDIE); |
cardbase | 886 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, RES_Tx_CRC); /* reset for next frame */ |
cardbase | 890 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R10, CRCPS | NRZI | ABUNDER); |
cardbase | 892 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R10, CRCPS | ABUNDER); |
cardbase | 895 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R8, c); /* First char out now */ |
cardbase | 896 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, RES_EOM_L); /* Reset end of message latch */ |
cardbase | 904 | drivers/net/pi2.c | while((rdscc(lp->cardbase, cmd, R0) & 0x04) == 0) |
cardbase | 906 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R8, c); |
cardbase | 912 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R15, TxUIE); /* allow Underrun int only */ |
cardbase | 913 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, RES_EXT_INT); |
cardbase | 915 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R1, TxINT_ENAB | EXT_INT_ENAB); |
cardbase | 928 | drivers/net/pi2.c | (void) rdscc(lp->cardbase, cmd, R8); |
cardbase | 929 | drivers/net/pi2.c | (void) rdscc(lp->cardbase, cmd, R8); |
cardbase | 930 | drivers/net/pi2.c | (void) rdscc(lp->cardbase, cmd, R8); |
cardbase | 1011 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R15, 0); |
cardbase | 1012 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R3, Rx8); /* Rx off */ |
cardbase | 1016 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R1, WT_FN_RDYFN | EXT_INT_ENAB); |
cardbase | 1018 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R1, 0); /* No interrupts */ |
cardbase | 1025 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R12, tc & 0xFF); /* lower byte */ |
cardbase | 1026 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R13, (tc >> 8) & 0xFF); /* upper byte */ |
cardbase | 1029 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R5, TxCRC_ENAB | RTS | TxENAB | Tx8 | DTR); |
cardbase | 1033 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R5, Tx8 | DTR); /* TX off */ |
cardbase | 1039 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R14, BRSRC); |
cardbase | 1043 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R12, tc & 0xFF); /* lower byte */ |
cardbase | 1044 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R13, (tc >> 8) & 0xFF); /* upper byte */ |
cardbase | 1046 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R14, BRSRC | SEARCH); |
cardbase | 1048 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R14, BRSRC | BRENABL); |
cardbase | 1052 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R3, Rx8); /* Make sure rx is off */ |
cardbase | 1053 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R0, ERR_RES); /* reset err latch */ |
cardbase | 1054 | drivers/net/pi2.c | dummy = rdscc(lp->cardbase, cmd, R1); /* get status byte from R1 */ |
cardbase | 1055 | drivers/net/pi2.c | (void) rdscc(lp->cardbase, cmd, R8); |
cardbase | 1056 | drivers/net/pi2.c | (void) rdscc(lp->cardbase, cmd, R8); |
cardbase | 1058 | drivers/net/pi2.c | (void) rdscc(lp->cardbase, cmd, R8); |
cardbase | 1061 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R3, RxENABLE | Rx8); |
cardbase | 1070 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R1, (INT_ALL_Rx | EXT_INT_ENAB)); |
cardbase | 1072 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R15, BRKIE); /* allow ABORT int */ |
cardbase | 1107 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R9, CHRA); /* Reset channel A */ |
cardbase | 1108 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R2, 0xff); /* Initialize interrupt vector */ |
cardbase | 1111 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R9, CHRB); /* Reset channel B */ |
cardbase | 1116 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R1, 0); |
cardbase | 1119 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R15, 0); |
cardbase | 1122 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R4, SDLC | X1CLK); |
cardbase | 1126 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R10, CRCPS | NRZI); |
cardbase | 1129 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R11, TCBR | RCDPLL | TRxCDP | TRxCOI); |
cardbase | 1132 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R11, TCDPLL | RCDPLL | TRxCBR | TRxCOI); |
cardbase | 1134 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R10, CRCPS); |
cardbase | 1136 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R11, TCTRxCP); |
cardbase | 1140 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R6, 0); |
cardbase | 1143 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R7, FLAG); |
cardbase | 1148 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R5, Tx8 | DTR); |
cardbase | 1151 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R3, Rx8); /* 8 bits/char */ |
cardbase | 1154 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R14, BRSRC); /* BRG off, keep Pclk source */ |
cardbase | 1165 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R12, tc & 0xFF); /* lower byte */ |
cardbase | 1166 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R13, (tc >> 8) & 0xFF); /* upper byte */ |
cardbase | 1173 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R14, BRSRC | SSBR); |
cardbase | 1176 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R14, BRSRC | SSRTxC); |
cardbase | 1178 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R14, BRSRC | SEARCH); /* SEARCH mode, keep BRG src */ |
cardbase | 1179 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R14, BRSRC | BRENABL); /* Enable the BRG */ |
cardbase | 1182 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R1, (INT_ALL_Rx | EXT_INT_ENAB)); |
cardbase | 1184 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R15, BRKIE); /* ABORT int */ |
cardbase | 1187 | drivers/net/pi2.c | wrtscc(lp->cardbase, cmd, R3, RxENABLE | RxCRC_ENAB | Rx8); |
cardbase | 1194 | drivers/net/pi2.c | int cardbase; |
cardbase | 1197 | drivers/net/pi2.c | cardbase = dev->base_addr & 0x3f0; |
cardbase | 1201 | drivers/net/pi2.c | wrtscc(cardbase, dev->base_addr + CTL, R9, FHWRES); /* Hardware reset */ |
cardbase | 1203 | drivers/net/pi2.c | wrtscc(cardbase, dev->base_addr + CTL, R9, 0); |
cardbase | 1338 | drivers/net/pi2.c | lp->cardbase = dev->base_addr & 0x3f0; |
cardbase | 1375 | drivers/net/pi2.c | wrtscc(lp->cardbase, CTL + lp->base, R1, EXT_INT_ENAB); |
cardbase | 1377 | drivers/net/pi2.c | wrtscc(lp->cardbase, CTL + lp->base, R9, MIE | NV); |
cardbase | 1388 | drivers/net/pi2.c | wrtscc(lp->cardbase, dev->base_addr + CTL, R9, FHWRES); /* Hardware reset */ |
cardbase | 1390 | drivers/net/pi2.c | wrtscc(lp->cardbase, dev->base_addr + CTL, R9, 0); |
cardbase | 1481 | drivers/net/pi2.c | wrtscc(lp->cardbase, CTL + lp->base, R9, MIE | NV); |
cardbase | 1531 | drivers/net/pi2.c | while ((st = rdscc(lp->cardbase, pi0a.base_addr | CHANA | CTL, R3)) != 0) { |
cardbase | 1560 | drivers/net/pi2.c | wrtscc(lp->cardbase, lp->base + CTL, R0, RES_H_IUS); |
cardbase | 120 | drivers/net/pi2.h | int cardbase; /* Base address of card */ |
cardbase | 265 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R1, WT_FN_RDYFN | WT_RDY_RT | INT_ERR_Rx | EXT_INT_ENAB); |
cardbase | 281 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R0, RES_Rx_CRC); |
cardbase | 284 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R1, |
cardbase | 327 | drivers/net/pt.c | outb_p(pt_sercfg |= PT_LOOPA_ON, lp->cardbase + SERIAL_CFG); |
cardbase | 329 | drivers/net/pt.c | outb_p(pt_sercfg &= ~PT_LOOPA_ON, lp->cardbase + SERIAL_CFG); |
cardbase | 332 | drivers/net/pt.c | outb_p(pt_sercfg |= PT_LOOPB_ON, lp->cardbase + SERIAL_CFG); |
cardbase | 334 | drivers/net/pt.c | outb_p(pt_sercfg &= ~PT_LOOPB_ON, lp->cardbase + SERIAL_CFG); |
cardbase | 378 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R9, CHRA); /* Reset channel A */ |
cardbase | 379 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R2, 0xff); /* Initialise interrupt vector */ |
cardbase | 381 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R9, CHRB); /* Reset channel B */ |
cardbase | 385 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R1, 0); |
cardbase | 388 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R15, 0); |
cardbase | 391 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R4, SDLC | X1CLK); |
cardbase | 397 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R10, CRCPS | NRZI); |
cardbase | 400 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R10, CRCPS); |
cardbase | 407 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R11, TCBR | RCDPLL | TRxCDP | TRxCOI); |
cardbase | 411 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R11, TCTRxCP | RCRTxCP | TRxCBR); |
cardbase | 412 | drivers/net/pt.c | wrtscc(lp->cardbase,cmd, R14, 0); /* wiz1 */ |
cardbase | 416 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R6, 0); |
cardbase | 419 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R7, FLAG); |
cardbase | 422 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R5, Tx8 | DTR); |
cardbase | 425 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R3, AUTO_ENAB | Rx8); |
cardbase | 428 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R14, BRSRC); |
cardbase | 435 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R12, tc & 0xff); /* lower byte */ |
cardbase | 436 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R13, (tc >> 8) & 0xff); /* upper byte */ |
cardbase | 446 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R14, BRSRC | SSBR); |
cardbase | 447 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R14, BRSRC | SEARCH); /* SEARCH mode, keep BRG src */ |
cardbase | 448 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R14, BRSRC | BRENABL); /* Enable the BRG */ |
cardbase | 452 | drivers/net/pt.c | outb_p( (pt_sercfg &= ~PT_EXTCLKA), (lp->cardbase + SERIAL_CFG) ); |
cardbase | 454 | drivers/net/pt.c | outb_p( (pt_sercfg &= ~PT_EXTCLKB), (lp->cardbase + SERIAL_CFG) ); |
cardbase | 460 | drivers/net/pt.c | outb_p( (pt_sercfg |= PT_EXTCLKA), (lp->cardbase + SERIAL_CFG) ); |
cardbase | 462 | drivers/net/pt.c | outb_p( (pt_sercfg |= PT_EXTCLKB), (lp->cardbase + SERIAL_CFG) ); |
cardbase | 466 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R1, (INT_ALL_Rx | EXT_INT_ENAB)); |
cardbase | 468 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R15, BRKIE); /* ABORT int */ |
cardbase | 472 | drivers/net/pt.c | outb_p( (pt_sercfg |= PT_DTRA_ON), (lp->cardbase + SERIAL_CFG) ); |
cardbase | 474 | drivers/net/pt.c | outb_p( (pt_sercfg |= PT_DTRB_ON), (lp->cardbase + SERIAL_CFG) ); |
cardbase | 477 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R3, RxENABLE | RxCRC_ENAB | AUTO_ENAB | Rx8 ); |
cardbase | 496 | drivers/net/pt.c | wrtscc(lp->cardbase, lp->base + CTL, R9, FHWRES); |
cardbase | 498 | drivers/net/pt.c | outb_p((pt_sercfg = 0), lp->cardbase + SERIAL_CFG); |
cardbase | 499 | drivers/net/pt.c | outb_p((pt_dmacfg = 0), lp->cardbase + DMA_CFG); |
cardbase | 506 | drivers/net/pt.c | wrtscc(lp->cardbase, lp->base + CTL, R9, MIE | DLC | NV | CHRA); |
cardbase | 507 | drivers/net/pt.c | outb_p( (pt_sercfg &= ~PT_DTRA_ON), lp->cardbase + SERIAL_CFG); |
cardbase | 509 | drivers/net/pt.c | wrtscc(lp->cardbase, lp->base + CTL, R9, MIE | DLC | NV | CHRB); |
cardbase | 510 | drivers/net/pt.c | outb_p( (pt_sercfg &= ~PT_DTRB_ON), lp->cardbase + SERIAL_CFG); |
cardbase | 648 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R15, 0); |
cardbase | 649 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R3, AUTO_ENAB | Rx8); /* Rx off */ |
cardbase | 655 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R1, WT_FN_RDYFN | EXT_INT_ENAB); |
cardbase | 658 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R1, 0); |
cardbase | 667 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R12, tc & 0xff); |
cardbase | 668 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R13, (tc >> 8) & 0xff); |
cardbase | 672 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R5, TxCRC_ENAB | RTS | TxENAB | Tx8 | DTR); |
cardbase | 678 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R5, Tx8 | DTR); |
cardbase | 685 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R14, BRSRC); |
cardbase | 688 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R12, tc & 0xff); |
cardbase | 689 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R13, (tc >> 8) & 0xff); |
cardbase | 692 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R14, BRSRC | SEARCH); |
cardbase | 694 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R14, BRSRC | BRENABL); |
cardbase | 699 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R3, AUTO_ENAB | Rx8); |
cardbase | 702 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R0, ERR_RES); |
cardbase | 705 | drivers/net/pt.c | (void) rdscc(lp->cardbase, cmd, R1); |
cardbase | 708 | drivers/net/pt.c | (void) rdscc(lp->cardbase, cmd, R8); |
cardbase | 709 | drivers/net/pt.c | (void) rdscc(lp->cardbase, cmd, R8); |
cardbase | 710 | drivers/net/pt.c | (void) rdscc(lp->cardbase, cmd, R8); |
cardbase | 713 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R3, RxENABLE | AUTO_ENAB | Rx8 ); |
cardbase | 725 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R1, INT_ALL_Rx | EXT_INT_ENAB); |
cardbase | 728 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R15, BRKIE ); |
cardbase | 802 | drivers/net/pt.c | lp->cardbase = dev->base_addr & 0x3f0; |
cardbase | 846 | drivers/net/pt.c | outb_p( pt_sercfg |= PT_EI, lp->cardbase + INT_CFG); |
cardbase | 856 | drivers/net/pt.c | outb_p( (pt_sercfg &= ~ PT_EI), lp->cardbase + INT_CFG); |
cardbase | 953 | drivers/net/pt.c | lp->saved_RR0 = rdscc(lp->cardbase, lp->base + CTL, R0) & ~ZCOUNT; |
cardbase | 958 | drivers/net/pt.c | wrtscc(lp->cardbase, lp->base + CTL, R9, MIE | NV); |
cardbase | 959 | drivers/net/pt.c | outb_p( pt_sercfg |= PT_EI, lp->cardbase + INT_CFG); |
cardbase | 1133 | drivers/net/pt.c | wrtscc(lp->cardbase, lp->base + CTL, R1, INT_ALL_Rx | EXT_INT_ENAB); |
cardbase | 1136 | drivers/net/pt.c | outb_p(time & 0xff, lp->cardbase + TMR1); |
cardbase | 1137 | drivers/net/pt.c | outb_p((time >> 8)&0xff, lp->cardbase + TMR1); |
cardbase | 1139 | drivers/net/pt.c | outb_p(time & 0xff, lp->cardbase + TMR2); |
cardbase | 1140 | drivers/net/pt.c | outb_p((time >> 8)&0xff, lp->cardbase + TMR2); |
cardbase | 1190 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R0, RES_EXT_INT); |
cardbase | 1191 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R0, RES_EXT_INT); |
cardbase | 1192 | drivers/net/pt.c | if ((rdscc(lp->cardbase, cmd, R0) & DCD) != 0) |
cardbase | 1197 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R15, DCDIE); |
cardbase | 1210 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R5, TxCRC_ENAB | RTS | Tx8); |
cardbase | 1225 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R8, c); |
cardbase | 1231 | drivers/net/pt.c | if ((rdscc(lp->cardbase, cmd, R0) & TxEOM)) |
cardbase | 1236 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R0, SEND_ABORT); |
cardbase | 1246 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R10, CRCPS | NRZI); |
cardbase | 1248 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R10, CRCPS | NRZ); |
cardbase | 1251 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R0, RES_Tx_P); |
cardbase | 1280 | drivers/net/pt.c | rse = rdscc(lp->cardbase, cmd, R1); |
cardbase | 1289 | drivers/net/pt.c | if (rdscc(lp->cardbase, cmd, R0) & Rx_CH_AV && !lp->dmachan) |
cardbase | 1315 | drivers/net/pt.c | *lp->rcp++ = rdscc(lp->cardbase, cmd, R8); |
cardbase | 1319 | drivers/net/pt.c | (void) rdscc(lp->cardbase, cmd, R8); |
cardbase | 1320 | drivers/net/pt.c | (void) rdscc(lp->cardbase, cmd, R8); |
cardbase | 1321 | drivers/net/pt.c | (void) rdscc(lp->cardbase, cmd, R8); |
cardbase | 1324 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R0, ERR_RES); |
cardbase | 1328 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R3, RxENABLE | ENT_HM | AUTO_ENAB | Rx8); |
cardbase | 1370 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R3, RxENABLE | ENT_HM | AUTO_ENAB | Rx8); |
cardbase | 1427 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R0, ERR_RES); |
cardbase | 1434 | drivers/net/pt.c | while( rdscc(lp->cardbase, lp->base + CTL, R0) & Rx_CH_AV) { |
cardbase | 1535 | drivers/net/pt.c | wrtscc(lp->cardbase, lp->base + CTL, R0, RES_H_IUS); |
cardbase | 1573 | drivers/net/pt.c | st = rdscc(lp->cardbase, cmd, R0); |
cardbase | 1579 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R0, RES_EXT_INT); |
cardbase | 1597 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R0, SEND_ABORT); |
cardbase | 1635 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R1, WT_FN_RDYFN | EXT_INT_ENAB); |
cardbase | 1646 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R0, RES_Tx_CRC | RES_Tx_P); |
cardbase | 1649 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R15, TxUIE); |
cardbase | 1652 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R1, WT_RDY_ENAB | WT_FN_RDYFN | EXT_INT_ENAB); |
cardbase | 1655 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R0, RES_EOM_L); |
cardbase | 1664 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R0, RES_Tx_CRC); |
cardbase | 1669 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R10, CRCPS | NRZI | ABUNDER); |
cardbase | 1671 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R10, CRCPS | NRZ | ABUNDER); |
cardbase | 1674 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R8, c); |
cardbase | 1677 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R0, RES_EOM_L); |
cardbase | 1689 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R15, TxUIE); |
cardbase | 1692 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R0, RES_EXT_INT); |
cardbase | 1695 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R1, TxINT_ENAB | EXT_INT_ENAB); |
cardbase | 1706 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R0, RES_EXT_INT); |
cardbase | 1707 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R0, RES_EXT_INT); |
cardbase | 1708 | drivers/net/pt.c | if ((rdscc(lp->cardbase, cmd, R0) & DCD) != 0) |
cardbase | 1713 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R15, DCDIE); |
cardbase | 1725 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R5, TxCRC_ENAB | RTS | Tx8); |
cardbase | 1752 | drivers/net/pt.c | (void) rdscc(lp->cardbase, cmd, R8); |
cardbase | 1753 | drivers/net/pt.c | (void) rdscc(lp->cardbase, cmd, R8); |
cardbase | 1754 | drivers/net/pt.c | (void) rdscc(lp->cardbase, cmd, R8); |
cardbase | 1760 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R3, RxENABLE | ENT_HM | AUTO_ENAB | Rx8); |
cardbase | 1785 | drivers/net/pt.c | (void)rdscc(lp->cardbase, cmd, R8); |
cardbase | 1786 | drivers/net/pt.c | (void)rdscc(lp->cardbase, cmd, R8); |
cardbase | 1787 | drivers/net/pt.c | (void)rdscc(lp->cardbase, cmd, R8); |
cardbase | 1794 | drivers/net/pt.c | wrtscc(lp->cardbase, cmd, R3, RxENABLE | ENT_HM | AUTO_ENAB | Rx8); |
cardbase | 161 | drivers/net/pt.h | int cardbase; /* Base address of card */ |