Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/natsemi/
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 …]
Dxtsonic.c73 #define SONIC_WRITE(reg,val) \ macro
155 SONIC_WRITE(SONIC_CMD,SONIC_CR_RST); in sonic_probe1()
156 SONIC_WRITE(SONIC_DCR, in sonic_probe1()
158 SONIC_WRITE(SONIC_CEP,0); in sonic_probe1()
159 SONIC_WRITE(SONIC_IMR,0); in sonic_probe1()
161 SONIC_WRITE(SONIC_CMD,SONIC_CR_RST); in sonic_probe1()
162 SONIC_WRITE(SONIC_CEP,0); in sonic_probe1()
182 SONIC_WRITE(SONIC_CRCT,0xffff); in sonic_probe1()
183 SONIC_WRITE(SONIC_FAET,0xffff); in sonic_probe1()
184 SONIC_WRITE(SONIC_MPT,0xffff); in sonic_probe1()
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()
242 SONIC_WRITE(SONIC_CMD, SONIC_CR_RST); in mac_onboard_sonic_ethernet_addr()
243 SONIC_WRITE(SONIC_CEP, 15); in mac_onboard_sonic_ethernet_addr()
330 SONIC_WRITE(SONIC_CMD, SONIC_CR_RST); in mac_onboard_sonic_probe()
332 SONIC_WRITE(SONIC_DCR, SONIC_DCR_EXBUS | SONIC_DCR_BMS | in mac_onboard_sonic_probe()
339 SONIC_WRITE(SONIC_DCR2, 0); in mac_onboard_sonic_probe()
342 SONIC_WRITE(SONIC_IMR, 0); in mac_onboard_sonic_probe()
[all …]
Djazzsonic.c58 #define SONIC_WRITE(reg,val) \ macro
142 SONIC_WRITE(SONIC_CMD,SONIC_CR_RST); in sonic_probe1()
143 SONIC_WRITE(SONIC_CEP,0); in sonic_probe1()
162 SONIC_WRITE(SONIC_CRCT,0xffff); in sonic_probe1()
163 SONIC_WRITE(SONIC_FAET,0xffff); in sonic_probe1()
164 SONIC_WRITE(SONIC_MPT,0xffff); in sonic_probe1()