Lines Matching defs:u8Strm

547     uint8_t  u8Strm;
759 DECLINLINE(void) hdaInitTransferDescriptor(PHDASTATE pThis, PHDABDLEDESC pBdle, uint8_t u8Strm,
996 (pThis->u64DPBase & DPBASE_ADDR_MASK) + pStreamDesc->u8Strm * 8,
1004 switch(HDA_STREAM_REG(pThis, FIFOW, pStreamDesc->u8Strm))
1010 AssertMsgFailed(("unsupported value (%x) in SDFIFOW(,%d)\n", HDA_REG_IND(pThis, pStreamDesc->u8Strm), pStreamDesc->u8Strm));
1277 static void hdaStreamReset(PHDASTATE pThis, PHDABDLEDESC pBdle, PHDASTREAMTRANSFERDESC pStreamDesc, uint8_t u8Strm)
1279 LogFunc(("reset of stream (%d) started\n", u8Strm));
1283 && u8Strm <= 7));
1289 HDA_STREAM_REG(pThis, CTL, u8Strm) = 0x40000 | (HDA_STREAM_REG(pThis, CTL, u8Strm) & HDA_REG_FIELD_FLAG_MASK(SDCTL, SRST));
1292 HDA_STREAM_REG(pThis, FIFOS, u8Strm) = u8Strm < 4 ? HDA_SDINFIFO_120B : HDA_SDONFIFO_192B;
1293 HDA_STREAM_REG(pThis, FIFOW, u8Strm) = u8Strm < 4 ? HDA_SDFIFOW_8B : HDA_SDFIFOW_32B;
1294 HDA_STREAM_REG(pThis, CBL, u8Strm) = 0;
1295 HDA_STREAM_REG(pThis, LVI, u8Strm) = 0;
1296 HDA_STREAM_REG(pThis, FMT, u8Strm) = 0;
1297 HDA_STREAM_REG(pThis, BDPU, u8Strm) = 0;
1298 HDA_STREAM_REG(pThis, BDPL, u8Strm) = 0;
1299 LogFunc(("reset of stream (%d) finished\n", u8Strm));
1523 uint8_t u8Strm = 0;
1530 u8Strm = 0;
1536 u8Strm = 2;
1542 u8Strm = 4;
1550 hdaInitTransferDescriptor(pThis, pBdle, u8Strm, &StreamDesc);
1551 hdaStreamReset(pThis, pBdle, &StreamDesc, u8Strm);
2399 DECLINLINE(void) hdaInitTransferDescriptor(PHDASTATE pThis, PHDABDLEDESC pBdle, uint8_t u8Strm,
2402 Assert(pThis); Assert(pBdle); Assert(pStreamDesc); Assert(u8Strm <= 7);
2405 pStreamDesc->u8Strm = u8Strm;
2406 pStreamDesc->u32Ctl = HDA_STREAM_REG(pThis, CTL, u8Strm);
2407 pStreamDesc->u64BaseDMA = RT_MAKE_U64(HDA_STREAM_REG(pThis, BDPL, u8Strm),
2408 HDA_STREAM_REG(pThis, BDPU, u8Strm));
2409 pStreamDesc->pu32Lpib = &HDA_STREAM_REG(pThis, LPIB, u8Strm);
2410 pStreamDesc->pu32Sts = &HDA_STREAM_REG(pThis, STS, u8Strm);
2411 pStreamDesc->u32Cbl = HDA_STREAM_REG(pThis, CBL, u8Strm);
2412 pStreamDesc->u32Fifos = HDA_STREAM_REG(pThis, FIFOS, u8Strm);
2414 pBdle->u32BdleMaxCvi = HDA_STREAM_REG(pThis, LVI, u8Strm);
2622 uint8_t u8Strm;
2629 u8Strm = 0;
2637 u8Strm = 2;
2644 u8Strm = 4;
2655 hdaInitTransferDescriptor(pThis, pBdle, u8Strm, &StreamDesc);
3526 for (uint8_t u8Strm = 0; u8Strm < 8; ++u8Strm)
3530 if (u8Strm == 0)
3533 else if (u8Strm == 2)
3536 else if(u8Strm == 4)
3543 hdaInitTransferDescriptor(pThis, pBdle, u8Strm, &StreamDesc);
3545 HDA_STREAM_REG(pThis, CTL, u8Strm) = 0;
3546 hdaStreamReset(pThis, pBdle, &StreamDesc, u8Strm);