Lines Matching refs:ipg_r16
43 #define ipg_r16(reg) ioread16(ioaddr + (reg))
694 ipg_w16(ipg_r16(DEBUG_CTRL) | 0x0200, DEBUG_CTRL);
696 ipg_w16(ipg_r16(DEBUG_CTRL) | 0x0010, DEBUG_CTRL);
698 ipg_w16(ipg_r16(DEBUG_CTRL) | 0x0020, DEBUG_CTRL);
1011 temp1 = ipg_r16(IPG_FRAMESLOSTRXERRORS);
1016 temp2 = ipg_r16(IPG_CARRIERSENSEERRORS);
1018 sp->stats.tx_dropped += ipg_r16(IPG_FRAMESABORTXSCOLLS);
1019 sp->stats.tx_errors += ipg_r16(IPG_FRAMESWEXDEFERRAL) +
1027 sp->stats.rx_length_errors += ipg_r16(IPG_INRANGELENGTHERRORS) +
1028 ipg_r16(IPG_FRAMETOOLONGERRRORS);
1029 sp->stats.rx_crc_errors += ipg_r16(IPG_FRAMECHECKSEQERRORS);
1579 status = ipg_r16(INT_STATUS_ACK);
1821 (void) ipg_r16(INT_STATUS_ACK);
1826 } while (ipg_r16(INT_ENABLE) & IPG_IE_RSVD_MASK);
1996 data = ipg_r16(EEPROM_CTRL);
1998 ret = ipg_r16(EEPROM_DATA);
2069 dev->dev_addr[0] = ipg_r16(STATION_ADDRESS_0) & 0x00ff;
2070 dev->dev_addr[1] = (ipg_r16(STATION_ADDRESS_0) & 0xff00) >> 8;
2071 dev->dev_addr[2] = ipg_r16(STATION_ADDRESS_1) & 0x00ff;
2072 dev->dev_addr[3] = (ipg_r16(STATION_ADDRESS_1) & 0xff00) >> 8;
2073 dev->dev_addr[4] = ipg_r16(STATION_ADDRESS_2) & 0x00ff;
2074 dev->dev_addr[5] = (ipg_r16(STATION_ADDRESS_2) & 0xff00) >> 8;