Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/natsemi/
Dmacsonic.c68 #define SONIC_READ(reg) (nubus_readw(dev->base_addr + (reg * 4) \ macro
248 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 …]
Dsonic.c163 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 …]
Djazzsonic.c56 #define SONIC_READ(reg) (*((volatile unsigned int *)dev->base_addr+reg)) macro
127 silicon_revision = SONIC_READ(SONIC_SR); in sonic_probe1()
146 val = SONIC_READ(SONIC_CAP0-i); in sonic_probe1()
Dxtsonic.c70 #define SONIC_READ(reg) \ macro
140 silicon_revision = SONIC_READ(SONIC_SR); in sonic_probe1()
166 unsigned int val = SONIC_READ(SONIC_CAP0-i); in sonic_probe1()