Searched refs:dmabuf_p (Results 1 – 2 of 2) sorted by relevance
845 hxge_allocb(size_t size, uint32_t pri, p_hxge_dma_common_t dmabuf_p) in hxge_allocb() argument859 if (dmabuf_p) { in hxge_allocb()863 *dmamsg_p = *dmabuf_p; in hxge_allocb()867 buffer = (uchar_t *)dmabuf_p->kaddrp; in hxge_allocb()869 dmabuf_p->kaddrp = (void *)((char *)dmabuf_p->kaddrp + size); in hxge_allocb()870 dmabuf_p->ioaddr_pp = (void *) in hxge_allocb()871 ((char *)dmabuf_p->ioaddr_pp + size); in hxge_allocb()873 dmabuf_p->alength -= size; in hxge_allocb()874 dmabuf_p->offset += size; in hxge_allocb()875 dmabuf_p->dma_cookie.dmac_laddress += size; in hxge_allocb()[all …]
1509 nxge_allocb(size_t size, uint32_t pri, p_nxge_dma_common_t dmabuf_p) in nxge_allocb() argument1523 if (dmabuf_p) { in nxge_allocb()1526 *dmamsg_p = *dmabuf_p; in nxge_allocb()1530 buffer = (uchar_t *)dmabuf_p->kaddrp; in nxge_allocb()1532 dmabuf_p->kaddrp = (void *) in nxge_allocb()1533 ((char *)dmabuf_p->kaddrp + size); in nxge_allocb()1534 dmabuf_p->ioaddr_pp = (void *) in nxge_allocb()1535 ((char *)dmabuf_p->ioaddr_pp + size); in nxge_allocb()1536 dmabuf_p->alength -= size; in nxge_allocb()1537 dmabuf_p->offset += size; in nxge_allocb()[all …]