Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/natsemi/
H A Dsonic.c189 SONIC_WRITE(SONIC_CMD, SONIC_CR_RXDIS); in sonic_close()
192 SONIC_WRITE(SONIC_IMR, 0); in sonic_close()
193 SONIC_WRITE(SONIC_ISR, 0x7fff); in sonic_close()
194 SONIC_WRITE(SONIC_CMD, SONIC_CR_RST); in sonic_close()
231 SONIC_WRITE(SONIC_CMD, SONIC_CR_RXDIS); in sonic_tx_timeout()
234 SONIC_WRITE(SONIC_IMR, 0); in sonic_tx_timeout()
235 SONIC_WRITE(SONIC_ISR, 0x7fff); in sonic_tx_timeout()
236 SONIC_WRITE(SONIC_CMD, SONIC_CR_RST); in sonic_tx_timeout()
319 SONIC_WRITE(SONIC_CMD, SONIC_CR_TXP); in sonic_send_packet()
366 SONIC_WRITE(SONIC_ISR, status); /* clear the interrupt(s) */ in sonic_interrupt()
[all …]
H A Dxtsonic.c73 #define SONIC_WRITE(reg,val) \ macro
156 SONIC_WRITE(SONIC_CMD,SONIC_CR_RST); in sonic_probe1()
157 SONIC_WRITE(SONIC_DCR, in sonic_probe1()
159 SONIC_WRITE(SONIC_CEP,0); in sonic_probe1()
160 SONIC_WRITE(SONIC_IMR,0); in sonic_probe1()
162 SONIC_WRITE(SONIC_CMD,SONIC_CR_RST); in sonic_probe1()
163 SONIC_WRITE(SONIC_CEP,0); in sonic_probe1()
184 SONIC_WRITE(SONIC_CRCT,0xffff); in sonic_probe1()
185 SONIC_WRITE(SONIC_FAET,0xffff); in sonic_probe1()
186 SONIC_WRITE(SONIC_MPT,0xffff); in sonic_probe1()
H A Dmacsonic.c70 #define SONIC_WRITE(reg,val) (nubus_writew(val, dev->base_addr + (reg * 4) \ macro
189 SONIC_WRITE(SONIC_CRCT, 0xffff); in macsonic_init()
190 SONIC_WRITE(SONIC_FAET, 0xffff); in macsonic_init()
191 SONIC_WRITE(SONIC_MPT, 0xffff); in macsonic_init()
245 SONIC_WRITE(SONIC_CMD, SONIC_CR_RST); in mac_onboard_sonic_ethernet_addr()
246 SONIC_WRITE(SONIC_CEP, 15); in mac_onboard_sonic_ethernet_addr()
334 SONIC_WRITE(SONIC_CMD, SONIC_CR_RST); in mac_onboard_sonic_probe()
336 SONIC_WRITE(SONIC_DCR, SONIC_DCR_EXBUS | SONIC_DCR_BMS | in mac_onboard_sonic_probe()
343 SONIC_WRITE(SONIC_DCR2, 0); in mac_onboard_sonic_probe()
346 SONIC_WRITE(SONIC_IMR, 0); in mac_onboard_sonic_probe()
[all …]
H A Djazzsonic.c58 #define SONIC_WRITE(reg,val) \ macro
143 SONIC_WRITE(SONIC_CMD,SONIC_CR_RST); in sonic_probe1()
144 SONIC_WRITE(SONIC_CEP,0); in sonic_probe1()
164 SONIC_WRITE(SONIC_CRCT,0xffff); in sonic_probe1()
165 SONIC_WRITE(SONIC_FAET,0xffff); in sonic_probe1()
166 SONIC_WRITE(SONIC_MPT,0xffff); in sonic_probe1()