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()
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()
347 SONIC_WRITE(SONIC_ISR, 0x7fff); in mac_onboard_sonic_probe()
471 SONIC_WRITE(SONIC_CMD, SONIC_CR_RST); in mac_sonic_nubus_probe_board()
472 SONIC_WRITE(SONIC_DCR, sonic_dcr | (dma_bitmode ? SONIC_DCR_DW : 0)); in mac_sonic_nubus_probe_board()
476 SONIC_WRITE(SONIC_DCR2, 0); in mac_sonic_nubus_probe_board()
479 SONIC_WRITE(SONIC_IMR, 0); in mac_sonic_nubus_probe_board()
480 SONIC_WRITE(SONIC_ISR, 0x7fff); in mac_sonic_nubus_probe_board()