Lines Matching refs:PutByte
312 #define PutByte(reg,value) outb((value), ioaddr+(reg)) macro
358 PutByte(XIRCREG2_GPR2, 0x04|0); /* drive MDCK low */ in mii_idle()
360 PutByte(XIRCREG2_GPR2, 0x04|1); /* and drive MDCK high */ in mii_idle()
372 PutByte(XIRCREG2_GPR2, 0x0c|2|0); /* set MDIO */ in mii_putbit()
374 PutByte(XIRCREG2_GPR2, 0x0c|2|1); /* and drive MDCK high */ in mii_putbit()
377 PutByte(XIRCREG2_GPR2, 0x0c|0|0); /* clear MDIO */ in mii_putbit()
379 PutByte(XIRCREG2_GPR2, 0x0c|0|1); /* and drive MDCK high */ in mii_putbit()
405 PutByte(XIRCREG2_GPR2, 4|0); /* drive MDCK low */ in mii_getbit()
408 PutByte(XIRCREG2_GPR2, 4|1); /* drive MDCK high again */ in mii_getbit()
996 PutByte(XIRCREG_CR, 0); in xirc2ps_interrupt()
1016 PutByte(XIRCREG40_RXST0, (~rx_status & 0xff)); in xirc2ps_interrupt()
1019 PutByte(XIRCREG40_TXST0, 0); in xirc2ps_interrupt()
1020 PutByte(XIRCREG40_TXST1, 0); in xirc2ps_interrupt()
1130 PutByte(XIRCREG_CR, ClearRxOvrun); in xirc2ps_interrupt()
1151 PutByte(XIRCREG_CR, RestartTx); /* restart transmitter process */ in xirc2ps_interrupt()
1186 PutByte(XIRCREG_CR, EnableIntr); /* re-enable interrupts */ in xirc2ps_interrupt()
1261 PutByte(XIRCREG_EDP, skb->data[pktlen-1]); in do_start_xmit()
1264 PutByte(XIRCREG_CR, TransmitPacket|EnableIntr); in do_start_xmit()
1291 PutByte(sa_info->reg_nr++, addr[5 - i]); in set_address()
1293 PutByte(sa_info->reg_nr++, addr[i]); in set_address()
1347 PutByte(XIRCREG42_SWC1, value | 0x06); /* set MPE and PME */ in set_multicast_list()
1349 PutByte(XIRCREG42_SWC1, value | 0x02); /* set MPE */ in set_multicast_list()
1352 PutByte(XIRCREG42_SWC1, value | 0x01); in set_multicast_list()
1354 PutByte(XIRCREG40_CMD0, Offline); in set_multicast_list()
1357 PutByte(XIRCREG40_CMD0, EnableRecv | Online); in set_multicast_list()
1359 PutByte(XIRCREG42_SWC1, value | 0x00); in set_multicast_list()
1462 PutByte(XIRCREG4_GPR1, 0); /* clear bit 0: power down */ in hardreset()
1465 PutByte(XIRCREG4_GPR1, 1); /* set bit 0: power up */ in hardreset()
1467 PutByte(XIRCREG4_GPR1, 1 | 4); /* set bit 0: power up, bit 2: AIC */ in hardreset()
1481 PutByte(XIRCREG_CR, SoftReset); /* set */ in do_reset()
1483 PutByte(XIRCREG_CR, 0); /* clear */ in do_reset()
1491 PutByte(XIRCREG4_GPR0, 0x0e); in do_reset()
1504 PutByte(XIRCREG4_GPR0, 4); in do_reset()
1509 PutByte(XIRCREG42_SWC1, 0xC0); in do_reset()
1512 PutByte(XIRCREG42_SWC1, 0x80); in do_reset()
1526 PutByte(XIRCREG1_IMR0, 0xff); /* allow all ints */ in do_reset()
1527 PutByte(XIRCREG1_IMR1, 1 ); /* and Set TxUnderrunDetect */ in do_reset()
1532 PutByte(XIRCREG1_ECR, value); in do_reset()
1537 PutByte(XIRCREG42_SWC0, 0x20); /* disable source insertion */ in do_reset()
1561 PutByte(XIRCREG40_RMASK0, 0xff); /* ROK, RAB, rsv, RO, CRC, AE, PTL, MP */ in do_reset()
1562 PutByte(XIRCREG40_TMASK0, 0xff); /* TOK, TAB, SQE, LL, TU, JAB, EXC, CRS */ in do_reset()
1563 PutByte(XIRCREG40_TMASK1, 0xb0); /* rsv, rsv, PTD, EXT, rsv,rsv,rsv, rsv*/ in do_reset()
1564 PutByte(XIRCREG40_RXST0, 0x00); /* ROK, RAB, REN, RO, CRC, AE, PTL, MP */ in do_reset()
1565 PutByte(XIRCREG40_TXST0, 0x00); /* TOK, TAB, SQE, LL, TU, JAB, EXC, CRS */ in do_reset()
1566 PutByte(XIRCREG40_TXST1, 0x00); /* TEN, rsv, PTD, EXT, retry_counter:4 */ in do_reset()
1572 PutByte(XIRCREG2_MSR, GetByte(XIRCREG2_MSR) | 0x08); in do_reset()
1578 PutByte(XIRCREG42_SWC1, 0xC0); in do_reset()
1580 PutByte(XIRCREG42_SWC1, 0x80); in do_reset()
1584 PutByte(XIRCREG1_ECR, GetByte(XIRCREG1_ECR | FullDuplex)); in do_reset()
1594 PutByte(XIRCREG2_LED, 0x3b); in do_reset()
1596 PutByte(XIRCREG2_LED, 0x3a); in do_reset()
1599 PutByte(0x0b, 0x04); /* 100 Mbit LED */ in do_reset()
1605 PutByte(XIRCREG40_CMD0, EnableRecv | Online); in do_reset()
1610 PutByte(XIRCREG1_IMR0, 0xff); in do_reset()
1613 PutByte(XIRCREG_CR, EnableIntr); in do_reset()
1616 PutByte(0x10, 0x11); /* unmask master-int bit */ in do_reset()
1711 PutByte(XIRCREG4_GPR1, 0); /* clear bit 0: power down */ in do_powerdown()
1730 PutByte(XIRCREG_CR, 0); /* disable interrupts */ in do_stop()
1732 PutByte(XIRCREG1_IMR0, 0x00); /* forbid all ints */ in do_stop()
1734 PutByte(XIRCREG4_GPR1, 0); /* clear bit 0: power down */ in do_stop()