Searched refs:buf_prd (Results 1 – 3 of 3) sorted by relevance
555 struct mvs_prd *buf_prd = prd; in mvs_64xx_make_prd() local557 buf_prd->addr = cpu_to_le64(sg_dma_address(sg)); in mvs_64xx_make_prd()558 buf_prd->len = cpu_to_le32(sg_dma_len(sg)); in mvs_64xx_make_prd()559 buf_prd++; in mvs_64xx_make_prd()728 struct mvs_prd *buf_prd = prd; in mvs_64xx_fix_dma() local731 buf_prd += from; in mvs_64xx_fix_dma()733 buf_prd->addr = cpu_to_le64(buf_dma); in mvs_64xx_fix_dma()734 buf_prd->len = cpu_to_le32(buf_len); in mvs_64xx_fix_dma()735 ++buf_prd; in mvs_64xx_fix_dma()
787 struct mvs_prd *buf_prd = prd; in mvs_94xx_make_prd() local791 buf_prd->addr = cpu_to_le64(sg_dma_address(sg)); in mvs_94xx_make_prd()793 buf_prd->im_len = cpu_to_le32(*(u32 *)&im_len); in mvs_94xx_make_prd()794 buf_prd++; in mvs_94xx_make_prd()990 struct mvs_prd *buf_prd = prd; in mvs_94xx_fix_dma() local995 buf_prd += from; in mvs_94xx_fix_dma()1005 for (i = from; i < MAX_SG_ENTRY; i++, ++buf_prd) { in mvs_94xx_fix_dma()1007 buf_prd->addr = cpu_to_le64(virt_to_phys(buf_prd - 1)); in mvs_94xx_fix_dma()1011 buf_prd->addr = cpu_to_le64(buf_dma); in mvs_94xx_fix_dma()1014 buf_prd->im_len = cpu_to_le32(*(u32 *)&im_len); in mvs_94xx_fix_dma()
1274 pm8001_ha->ccb_info[i].buf_prd = dma_alloc_coherent(dev, in pm8001_init_ccb_tag()1278 if (!pm8001_ha->ccb_info[i].buf_prd) { in pm8001_init_ccb_tag()1315 pm8001_ha->ccb_info[i].buf_prd, in pm8001_pci_remove()