Lines Matching defs:curr
1876 uint16 curr;
1879 curr = B2I(((R_REG(di->osh, &di->d64txregs->status0) & D64_XS0_CD_MASK) -
1881 di->xs0cd = curr;
1883 curr = B2I(R_REG(di->osh, &di->d32txregs->status) & XS_CD_MASK, dma32dd_t);
1884 di->xs0cd = curr;
1888 return NTXDACTIVE(curr, di->txout);
1919 uint16 curr, ptr;
1920 curr = B2I(((R_REG(di->osh, &di->d64rxregs->status0) & D64_RS0_CD_MASK) -
1924 return NRXDACTIVE(curr, ptr);
2679 DMA_NONE(("dma_getnexttxp: bogus curr: start %d end %d txout %d force %d\n",
2687 uint16 i, curr;
2700 curr = (uint16)B2I(R_REG(di->osh, &di->d32rxregs->status) & RS_CD_MASK, dma32dd_t);
2701 di->rs0cd = curr;
2703 curr = di->rs0cd;
2705 /* ignore curr if forceall */
2706 if (!forceall && (i == curr))
3589 DMA_NONE(("dma_getnexttxp: bogus curr: start %d end %d txout %d force %d\n",
3598 uint16 i, curr;
3617 curr = (uint16)B2I(((R_REG(di->osh, &di->d64rxregs->status0) & D64_RS0_CD_MASK) -
3619 di->rs0cd = curr;
3621 curr = di->rs0cd;
3623 /* ignore curr if forceall */
3624 if (!forceall && (i == curr))
3814 uint16 curr;
3825 curr = (uint16)(B2I(((R_REG(di->osh, &di->d64txregs->status0) &
3830 curr == di->xs0cd_snapshot) {
3835 di->xs0cd_snapshot = di->xs0cd = curr;