Lines Matching defs:ctrl2
910 #define DMA64_DD_PARITY(dd) parity32((dd)->addrlow ^ (dd)->addrhigh ^ (dd)->ctrl1 ^ (dd)->ctrl2)
916 uint32 ctrl2 = bufcount & D64_CTRL2_BC_MASK;
929 W_SM(&ddring[outidx].ctrl2, BUS_SWAP32(ctrl2));
939 ctrl2 |= (ae << D64_CTRL2_AE_SHIFT) & D64_CTRL2_AE;
943 W_SM(&ddring[outidx].ctrl2, BUS_SWAP32(ctrl2));
947 W_SM(&ddring[outidx].ctrl2, BUS_SWAP32(ctrl2 | D64_CTRL2_PARITY));
2123 R_SM(&ring[i].ctrl2), R_SM(&ring[i].ctrl1));
3549 size = (BUS_SWAP32(R_SM(&di->txd64[i].ctrl2)) & D64_CTRL2_BC_MASK);
3728 w = BUS_SWAP32(R_SM(&di->txd64[old].ctrl2));
3729 W_SM(&di->txd64[new].ctrl2, BUS_SWAP32(w));
3966 uint32 ctrl2 = bufcount & D64_CTRL2_BC_MASK;
3971 W_SM(&ddring[outidx].ctrl2, BUS_SWAP32(ctrl2));
3975 W_SM(&ddring[outidx].ctrl2, BUS_SWAP32(ctrl2 | D64_CTRL2_PARITY));