Searched refs:SONIC_READ (Results 1 – 4 of 4) sorted by relevance
68 #define SONIC_READ(reg) (nubus_readw(dev->base_addr + (reg * 4) \ macro248 val = SONIC_READ(SONIC_CAP2); in mac_onboard_sonic_ethernet_addr()251 val = SONIC_READ(SONIC_CAP1); in mac_onboard_sonic_ethernet_addr()254 val = SONIC_READ(SONIC_CAP0); in mac_onboard_sonic_ethernet_addr()310 sr = SONIC_READ(SONIC_SR); in mac_onboard_sonic_probe()325 SONIC_READ(SONIC_SR), lp->dma_bitmode ? 32 : 16, in mac_onboard_sonic_probe()330 SONIC_READ(SONIC_DCR) & 0xffff, in mac_onboard_sonic_probe()331 SONIC_READ(SONIC_DCR2) & 0xffff); in mac_onboard_sonic_probe()462 board->name, SONIC_READ(SONIC_SR), in mac_sonic_nubus_probe_board()467 SONIC_READ(SONIC_DCR) & 0xffff, in mac_sonic_nubus_probe_board()[all …]
163 bits = SONIC_READ(SONIC_CMD) & mask; in sonic_quiesce()358 status = SONIC_READ(SONIC_ISR) & SONIC_IMR_DEFAULT; in sonic_interrupt()454 u16 tcr = SONIC_READ(SONIC_TCR); in sonic_interrupt()476 status = SONIC_READ(SONIC_ISR) & SONIC_IMR_DEFAULT; in sonic_interrupt()525 unsigned int entry = sonic_rr_entry(dev, SONIC_READ(SONIC_RWP)); in sonic_update_rra()526 unsigned int end = sonic_rr_entry(dev, SONIC_READ(SONIC_RRP)); in sonic_update_rra()606 rbe = rbe || SONIC_READ(SONIC_ISR) & SONIC_INT_RBE; in sonic_rx()644 lp->stats.rx_crc_errors += SONIC_READ(SONIC_CRCT); in sonic_get_stats()646 lp->stats.rx_frame_errors += SONIC_READ(SONIC_FAET); in sonic_get_stats()648 lp->stats.rx_missed_errors += SONIC_READ(SONIC_MPT); in sonic_get_stats()[all …]
56 #define SONIC_READ(reg) (*((volatile unsigned int *)dev->base_addr+reg)) macro127 silicon_revision = SONIC_READ(SONIC_SR); in sonic_probe1()146 val = SONIC_READ(SONIC_CAP0-i); in sonic_probe1()
70 #define SONIC_READ(reg) \ macro140 silicon_revision = SONIC_READ(SONIC_SR); in sonic_probe1()166 unsigned int val = SONIC_READ(SONIC_CAP0-i); in sonic_probe1()