Lines Matching refs:CSR0
196 #define CSR0 0 macro
797 lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); /* stop the chip */ in pcnet32_set_ringparam()
893 lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); /* stop the chip */ in pcnet32_loopback_test()
907 lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); /* Set STOP bit */ in pcnet32_loopback_test()
961 lp->a->write_csr(ioaddr, CSR0, CSR0_START); /* Set STRT bit */ in pcnet32_loopback_test()
980 lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); /* Set STOP bit */ in pcnet32_loopback_test()
1364 lp->a->write_csr(ioaddr, CSR0, CSR0_INTEN); in pcnet32_poll()
1393 csr0 = a->read_csr(ioaddr, CSR0); in pcnet32_get_regs()
1872 a->write_csr(ioaddr, CSR0, CSR0_INTEN | CSR0_INIT); in pcnet32_probe1()
2218 lp->a->write_csr(ioaddr, CSR0, CSR0_INIT); in pcnet32_open()
2230 if (lp->a->read_csr(ioaddr, CSR0) & CSR0_IDON) in pcnet32_open()
2236 lp->a->write_csr(ioaddr, CSR0, CSR0_NORMAL); in pcnet32_open()
2242 lp->a->read_csr(ioaddr, CSR0)); in pcnet32_open()
2373 if (lp->a->read_csr(ioaddr, CSR0) & CSR0_STOP) in pcnet32_restart()
2385 lp->a->write_csr(ioaddr, CSR0, CSR0_INIT); in pcnet32_restart()
2388 if (lp->a->read_csr(ioaddr, CSR0) & CSR0_IDON) in pcnet32_restart()
2391 lp->a->write_csr(ioaddr, CSR0, csr0_bits); in pcnet32_restart()
2403 dev->name, lp->a->read_csr(ioaddr, CSR0)); in pcnet32_tx_timeout()
2404 lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); in pcnet32_tx_timeout()
2447 __func__, lp->a->read_csr(ioaddr, CSR0)); in pcnet32_start_xmit()
2482 lp->a->write_csr(ioaddr, CSR0, CSR0_INTEN | CSR0_TXPOLL); in pcnet32_start_xmit()
2508 csr0 = lp->a->read_csr(ioaddr, CSR0); in pcnet32_interrupt()
2513 lp->a->write_csr(ioaddr, CSR0, csr0 & ~0x004f); in pcnet32_interrupt()
2517 csr0, lp->a->read_csr(ioaddr, CSR0)); in pcnet32_interrupt()
2551 csr0 = lp->a->read_csr(ioaddr, CSR0); in pcnet32_interrupt()
2556 lp->a->read_csr(ioaddr, CSR0)); in pcnet32_interrupt()
2580 lp->a->read_csr(ioaddr, CSR0)); in pcnet32_close()
2583 lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); in pcnet32_close()
2686 lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); in pcnet32_set_multicast_list()