Lines Matching refs:PIOP0

920     for (i = 1000000; inw(PIOP0(base)) && (i-- > 0); )
926 if (inw(PIOP0(base)) == (SCB_SW_CX|SCB_SW_CNA))
973 scb_status = inw(PIOP0(base));
975 scb_command = inw(PIOP0(base));
1530 int_type = (inw(PIOP0(base)) & SCB_SW_INT);
1658 status = inw(PIOP0(base));
1712 rbd_offset = inw(PIOP0(base));
1717 if (inw(PIOP0(base)) & RBD_SW_EOF)
1719 outw(PIOP0(base), 0);
1721 if ((l_rbdp = inw(PIOP0(base))) == I82586NULL)
1724 outw(PIOP0(base), 0);
1726 outw(PIOP0(base), I82586NULL);
1728 outw(PIOP0(base), inw(PIOP0(base)) | AC_CW_EL);
1730 outw(PIOP0(base), f_rbdp); /* end_rbd->next_rbd_offset */
1732 outw(PIOP0(base), inw(PIOP0(base)) & ~AC_CW_EL);
1804 outw(PIOP0(base), 0); /* act_count */
1820 outw(PIOP0(base), inw(PIOP0(base)) + count);
1828 outw(PIOP0(base), tbd_p); /* next_tbd_offset */
1830 outw(PIOP0(base), 0); /* act_count */
1866 outw(PIOP0(base), inw(PIOP0(base)) + ETHERMIN - clen);
1871 outw(PIOP0(base), inw(PIOP0(base)) | TBD_SW_EOF);
1873 outw(PIOP0(base), I82586NULL);
1889 if (inw(PIOP0(base)) == 0) { /* it's done, we can go */
1896 outw(PIOP0(base), SCB_CU_STRT); /* new command */
1947 outw(PIOP0(base), rbd_p);
1987 if (inw(PIOP0(base)) & SCB_RUS_READY){
1993 outw(PIOP0(base), SCB_RU_STRT); /* command */
1996 outw(PIOP0(base), rfa);
2020 status = inw(PIOP0(base));
2024 sc->unit, inw(PIOP0(base)));
2034 if (inw(PIOP0(base)) & 0x0800) {
2064 if (inw(PIOP0(base)) & SCB_SW_INT) {
2067 sc->unit, inw(PIOP0(base)));
2162 outw(PIOP0(base), SCB_CU_STRT);
2168 if (inw(PIOP0(base)) & AC_SW_C)
2170 if (i == 0xffff || !(inw(PIOP0(base)) & AC_SW_OK)) {
2172 sc->unit, str, inw(PIOP0(base)) & AC_SW_OK, inw(PIOP0(base)), inw(PIOR0(base)));
2174 printf("scb_status %x\n", inw(PIOP0(base)));
2176 printf("scb_command %x\n", inw(PIOP0(base)));
2178 printf("scb_cbl %x\n", inw(PIOP0(base)));
2180 printf("cu_cmd %x\n", inw(PIOP0(base)));
2185 if ((inw(PIOP0(base)) & SCB_SW_INT) && (inw(PIOP0(base)) != SCB_SW_CNA)) {
2188 sc->unit, str, inw(PIOP0(base)));
2219 for (i = 1000000; inw(PIOP0(base)) && (i-- > 0); )