Lines Matching refs:SONIC_WRITE
70 #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()
343 SONIC_WRITE(SONIC_ISR, 0x7fff); in mac_onboard_sonic_probe()
464 SONIC_WRITE(SONIC_CMD, SONIC_CR_RST); in mac_sonic_nubus_probe_board()
465 SONIC_WRITE(SONIC_DCR, sonic_dcr | (dma_bitmode ? SONIC_DCR_DW : 0)); in mac_sonic_nubus_probe_board()
469 SONIC_WRITE(SONIC_DCR2, 0); in mac_sonic_nubus_probe_board()
472 SONIC_WRITE(SONIC_IMR, 0); in mac_sonic_nubus_probe_board()
473 SONIC_WRITE(SONIC_ISR, 0x7fff); in mac_sonic_nubus_probe_board()