Lines Matching refs:ipg_r16

47 #define ipg_r16(reg)		ioread16(ioaddr + (reg))  macro
699 ipg_w16(ipg_r16(DEBUG_CTRL) | 0x0200, DEBUG_CTRL); in ipg_io_config()
704 ipg_w16(ipg_r16(DEBUG_CTRL) | 0x0010, DEBUG_CTRL); in ipg_io_config()
709 ipg_w16(ipg_r16(DEBUG_CTRL) | 0x0020, DEBUG_CTRL); in ipg_io_config()
1014 temp1 = ipg_r16(IPG_FRAMESLOSTRXERRORS); in ipg_nic_get_stats()
1019 temp2 = ipg_r16(IPG_CARRIERSENSEERRORS); in ipg_nic_get_stats()
1021 sp->stats.tx_dropped += ipg_r16(IPG_FRAMESABORTXSCOLLS); in ipg_nic_get_stats()
1022 sp->stats.tx_errors += ipg_r16(IPG_FRAMESWEXDEFERRAL) + in ipg_nic_get_stats()
1030 sp->stats.rx_length_errors += ipg_r16(IPG_INRANGELENGTHERRORS) + in ipg_nic_get_stats()
1031 ipg_r16(IPG_FRAMETOOLONGERRRORS); in ipg_nic_get_stats()
1032 sp->stats.rx_crc_errors += ipg_r16(IPG_FRAMECHECKSEQERRORS); in ipg_nic_get_stats()
1581 status = ipg_r16(INT_STATUS_ACK); in ipg_interrupt_handler()
1819 (void) ipg_r16(INT_STATUS_ACK); in ipg_nic_stop()
1824 } while (ipg_r16(INT_ENABLE) & IPG_IE_RSVD_MASK); in ipg_nic_stop()
1994 data = ipg_r16(EEPROM_CTRL); in read_eeprom()
1996 ret = ipg_r16(EEPROM_DATA); in read_eeprom()
2065 dev->dev_addr[0] = ipg_r16(STATION_ADDRESS_0) & 0x00ff; in ipg_hw_init()
2066 dev->dev_addr[1] = (ipg_r16(STATION_ADDRESS_0) & 0xff00) >> 8; in ipg_hw_init()
2067 dev->dev_addr[2] = ipg_r16(STATION_ADDRESS_1) & 0x00ff; in ipg_hw_init()
2068 dev->dev_addr[3] = (ipg_r16(STATION_ADDRESS_1) & 0xff00) >> 8; in ipg_hw_init()
2069 dev->dev_addr[4] = ipg_r16(STATION_ADDRESS_2) & 0x00ff; in ipg_hw_init()
2070 dev->dev_addr[5] = (ipg_r16(STATION_ADDRESS_2) & 0xff00) >> 8; in ipg_hw_init()