Searched refs:SONIC_READ (Results 1 - 4 of 4) sorted by relevance

/drivers/net/ethernet/natsemi/
H A Dsonic.c279 if (!(status = SONIC_READ(SONIC_ISR) & SONIC_IMR_DEFAULT))
383 if ((SONIC_READ(SONIC_TCR) & SONIC_TCR_FU) && (sonic_debug > 2))
401 } while((status = SONIC_READ(SONIC_ISR) & SONIC_IMR_DEFAULT));
478 if (SONIC_READ(SONIC_ISR) & SONIC_INT_RBE) {
514 lp->stats.rx_crc_errors += SONIC_READ(SONIC_CRCT);
516 lp->stats.rx_frame_errors += SONIC_READ(SONIC_FAET);
518 lp->stats.rx_missed_errors += SONIC_READ(SONIC_MPT);
536 rcr = SONIC_READ(SONIC_RCR) & ~(SONIC_RCR_PRO | SONIC_RCR_AMC);
632 if (SONIC_READ(SONIC_CMD) & SONIC_CR_RRRA)
637 printk("sonic_init: status=%x i=%d\n", SONIC_READ(SONIC_CM
[all...]
H A Dmacsonic.c71 #define SONIC_READ(reg) (nubus_readw(dev->base_addr + (reg * 4) \ macro
292 val = SONIC_READ(SONIC_CAP2);
295 val = SONIC_READ(SONIC_CAP1);
298 val = SONIC_READ(SONIC_CAP0);
348 * and dev->base_addr before using SONIC_READ() or SONIC_WRITE() */
366 sr = SONIC_READ(SONIC_SR);
376 sr = SONIC_READ(SONIC_SR);
383 sr = SONIC_READ(SONIC_SR);
389 sr = SONIC_READ(SONIC_SR);
397 SONIC_READ(SONIC_DC
[all...]
H A Djazzsonic.c56 #define SONIC_READ(reg) (*((volatile unsigned int *)dev->base_addr+reg)) macro
137 silicon_revision = SONIC_READ(SONIC_SR);
165 val = SONIC_READ(SONIC_CAP0-i);
H A Dxtsonic.c69 #define SONIC_READ(reg) \ macro
149 silicon_revision = SONIC_READ(SONIC_SR);
181 unsigned int val = SONIC_READ(SONIC_CAP0-i);

Completed in 96 milliseconds