Lines Matching defs:CSR0
196 #define CSR0 0
795 lp->a.write_csr(ioaddr, CSR0, CSR0_STOP); /* stop the chip */
891 lp->a.write_csr(ioaddr, CSR0, CSR0_STOP); /* stop the chip */
905 lp->a.write_csr(ioaddr, CSR0, CSR0_STOP); /* Set STOP bit */
953 lp->a.write_csr(ioaddr, CSR0, CSR0_START); /* Set STRT bit */
972 lp->a.write_csr(ioaddr, CSR0, CSR0_STOP); /* Set STOP bit */
1363 lp->a.write_csr(ioaddr, CSR0, CSR0_INTEN);
1392 csr0 = a->read_csr(ioaddr, CSR0);
1847 a->write_csr(ioaddr, CSR0, CSR0_INTEN | CSR0_INIT);
2200 lp->a.write_csr(ioaddr, CSR0, CSR0_INIT);
2212 if (lp->a.read_csr(ioaddr, CSR0) & CSR0_IDON)
2218 lp->a.write_csr(ioaddr, CSR0, CSR0_NORMAL);
2224 lp->a.read_csr(ioaddr, CSR0));
2343 if (lp->a.read_csr(ioaddr, CSR0) & CSR0_STOP)
2355 lp->a.write_csr(ioaddr, CSR0, CSR0_INIT);
2358 if (lp->a.read_csr(ioaddr, CSR0) & CSR0_IDON)
2361 lp->a.write_csr(ioaddr, CSR0, csr0_bits);
2373 dev->name, lp->a.read_csr(ioaddr, CSR0));
2374 lp->a.write_csr(ioaddr, CSR0, CSR0_STOP);
2417 __func__, lp->a.read_csr(ioaddr, CSR0));
2447 lp->a.write_csr(ioaddr, CSR0, CSR0_INTEN | CSR0_TXPOLL);
2472 csr0 = lp->a.read_csr(ioaddr, CSR0);
2477 lp->a.write_csr(ioaddr, CSR0, csr0 & ~0x004f);
2481 csr0, lp->a.read_csr(ioaddr, CSR0));
2515 csr0 = lp->a.read_csr(ioaddr, CSR0);
2520 lp->a.read_csr(ioaddr, CSR0));
2544 lp->a.read_csr(ioaddr, CSR0));
2547 lp->a.write_csr(ioaddr, CSR0, CSR0_STOP);
2657 lp->a.write_csr(ioaddr, CSR0, CSR0_STOP);