Lines Matching defs:PutByte

310 #define PutByte(reg,value) outb((value), ioaddr+(reg))
356 PutByte(XIRCREG2_GPR2, 0x04|0); /* drive MDCK low */
358 PutByte(XIRCREG2_GPR2, 0x04|1); /* and drive MDCK high */
370 PutByte(XIRCREG2_GPR2, 0x0c|2|0); /* set MDIO */
372 PutByte(XIRCREG2_GPR2, 0x0c|2|1); /* and drive MDCK high */
375 PutByte(XIRCREG2_GPR2, 0x0c|0|0); /* clear MDIO */
377 PutByte(XIRCREG2_GPR2, 0x0c|0|1); /* and drive MDCK high */
403 PutByte(XIRCREG2_GPR2, 4|0); /* drive MDCK low */
406 PutByte(XIRCREG2_GPR2, 4|1); /* drive MDCK high again */
998 PutByte(XIRCREG_CR, 0);
1018 PutByte(XIRCREG40_RXST0, (~rx_status & 0xff));
1021 PutByte(XIRCREG40_TXST0, 0);
1022 PutByte(XIRCREG40_TXST1, 0);
1132 PutByte(XIRCREG_CR, ClearRxOvrun);
1153 PutByte(XIRCREG_CR, RestartTx); /* restart transmitter process */
1188 PutByte(XIRCREG_CR, EnableIntr); /* re-enable interrupts */
1191 * PutByte(XIRCREG_CR, EnableIntr|ForceIntr);
1263 PutByte(XIRCREG_EDP, skb->data[pktlen-1]);
1266 PutByte(XIRCREG_CR, TransmitPacket|EnableIntr);
1293 PutByte(sa_info->reg_nr++, addr[5 - i]);
1295 PutByte(sa_info->reg_nr++, addr[i]);
1349 PutByte(XIRCREG42_SWC1, value | 0x06); /* set MPE and PME */
1351 PutByte(XIRCREG42_SWC1, value | 0x02); /* set MPE */
1354 PutByte(XIRCREG42_SWC1, value | 0x01);
1356 PutByte(XIRCREG40_CMD0, Offline);
1359 PutByte(XIRCREG40_CMD0, EnableRecv | Online);
1361 PutByte(XIRCREG42_SWC1, value | 0x00);
1465 PutByte(XIRCREG4_GPR1, 0); /* clear bit 0: power down */
1468 PutByte(XIRCREG4_GPR1, 1); /* set bit 0: power up */
1470 PutByte(XIRCREG4_GPR1, 1 | 4); /* set bit 0: power up, bit 2: AIC */
1484 PutByte(XIRCREG_CR, SoftReset); /* set */
1486 PutByte(XIRCREG_CR, 0); /* clear */
1494 PutByte(XIRCREG4_GPR0, 0x0e);
1507 PutByte(XIRCREG4_GPR0, 4);
1512 PutByte(XIRCREG42_SWC1, 0xC0);
1515 PutByte(XIRCREG42_SWC1, 0x80);
1529 PutByte(XIRCREG1_IMR0, 0xff); /* allow all ints */
1530 PutByte(XIRCREG1_IMR1, 1 ); /* and Set TxUnderrunDetect */
1535 PutByte(XIRCREG1_ECR, value);
1540 PutByte(XIRCREG42_SWC0, 0x20); /* disable source insertion */
1564 PutByte(XIRCREG40_RMASK0, 0xff); /* ROK, RAB, rsv, RO, CRC, AE, PTL, MP */
1565 PutByte(XIRCREG40_TMASK0, 0xff); /* TOK, TAB, SQE, LL, TU, JAB, EXC, CRS */
1566 PutByte(XIRCREG40_TMASK1, 0xb0); /* rsv, rsv, PTD, EXT, rsv,rsv,rsv, rsv*/
1567 PutByte(XIRCREG40_RXST0, 0x00); /* ROK, RAB, REN, RO, CRC, AE, PTL, MP */
1568 PutByte(XIRCREG40_TXST0, 0x00); /* TOK, TAB, SQE, LL, TU, JAB, EXC, CRS */
1569 PutByte(XIRCREG40_TXST1, 0x00); /* TEN, rsv, PTD, EXT, retry_counter:4 */
1575 PutByte(XIRCREG2_MSR, GetByte(XIRCREG2_MSR) | 0x08);
1581 PutByte(XIRCREG42_SWC1, 0xC0);
1583 PutByte(XIRCREG42_SWC1, 0x80);
1587 PutByte(XIRCREG1_ECR, GetByte(XIRCREG1_ECR | FullDuplex));
1597 PutByte(XIRCREG2_LED, 0x3b);
1599 PutByte(XIRCREG2_LED, 0x3a);
1602 PutByte(0x0b, 0x04); /* 100 Mbit LED */
1608 PutByte(XIRCREG40_CMD0, EnableRecv | Online);
1613 PutByte(XIRCREG1_IMR0, 0xff);
1616 PutByte(XIRCREG_CR, EnableIntr);
1619 PutByte(0x10, 0x11); /* unmask master-int bit */
1714 PutByte(XIRCREG4_GPR1, 0); /* clear bit 0: power down */
1733 PutByte(XIRCREG_CR, 0); /* disable interrupts */
1735 PutByte(XIRCREG1_IMR0, 0x00); /* forbid all ints */
1737 PutByte(XIRCREG4_GPR1, 0); /* clear bit 0: power down */