Home
last modified time | relevance | path

Searched refs:sdmadesc (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/infiniband/hw/qib/
Dqib_sdma.c327 u64 *sdmadesc, u64 addr, u64 dwlen, in make_sdma_desc() argument
333 sdmadesc[1] = addr >> 32; in make_sdma_desc()
335 sdmadesc[0] = (addr & 0xfffffffcULL) << 32; in make_sdma_desc()
337 sdmadesc[0] |= (ppd->sdma_generation & 3ULL) << in make_sdma_desc()
340 sdmadesc[0] |= (dwlen & 0x7ffULL) << SDMA_DESC_COUNT_LSB; in make_sdma_desc()
342 sdmadesc[0] |= dwoffset & 0x7ffULL; in make_sdma_desc()
535 u64 sdmadesc[2]; in qib_sdma_verbs_send() local
557 make_sdma_desc(ppd, sdmadesc, (u64) tx->txreq.addr, dwoffset, 0); in qib_sdma_verbs_send()
559 sdmadesc[0] |= SDMA_DESC_FIRST; in qib_sdma_verbs_send()
561 sdmadesc[0] |= SDMA_DESC_USE_LARGE_BUF; in qib_sdma_verbs_send()
[all …]
/linux-2.6.39/drivers/infiniband/hw/ipath/
Dipath_sdma.c640 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()
[all …]