Lines Matching refs:sdmadesc
640 u64 *sdmadesc, u64 addr, u64 dwlen, u64 dwoffset) in make_sdma_desc() argument
644 sdmadesc[1] = addr >> 32; in make_sdma_desc()
646 sdmadesc[0] = (addr & 0xfffffffcULL) << 32; in make_sdma_desc()
648 sdmadesc[0] |= (dd->ipath_sdma_generation & 3ULL) << 30; in make_sdma_desc()
650 sdmadesc[0] |= (dwlen & 0x7ffULL) << 16; in make_sdma_desc()
652 sdmadesc[0] |= dwoffset & 0x7ffULL; in make_sdma_desc()
674 u64 sdmadesc[2]; in ipath_sdma_verbs_send() local
706 make_sdma_desc(dd, sdmadesc, (u64) addr, dwoffset, 0); in ipath_sdma_verbs_send()
709 sdmadesc[0] |= 1ULL << 12; in ipath_sdma_verbs_send()
711 sdmadesc[0] |= 1ULL << 14; /* SDmaUseLargeBuf */ in ipath_sdma_verbs_send()
716 *descqp++ = cpu_to_le64(sdmadesc[0]); in ipath_sdma_verbs_send()
717 *descqp++ = cpu_to_le64(sdmadesc[1]); in ipath_sdma_verbs_send()
745 make_sdma_desc(dd, sdmadesc, (u64) addr, dw, dwoffset); in ipath_sdma_verbs_send()
748 sdmadesc[0] |= 1ULL << 14; in ipath_sdma_verbs_send()
750 *descqp++ = cpu_to_le64(sdmadesc[0]); in ipath_sdma_verbs_send()
751 *descqp++ = cpu_to_le64(sdmadesc[1]); in ipath_sdma_verbs_send()