Home
last modified time | relevance | path

Searched refs:buf_prd (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/scsi/mvsas/
H A Dmv_64xx.c555 struct mvs_prd *buf_prd = prd; in mvs_64xx_make_prd() local
557 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() local
731 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()
H A Dmv_94xx.c787 struct mvs_prd *buf_prd = prd; in mvs_94xx_make_prd() local
791 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() local
995 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()
H A Dmv_sas.c314 void *buf_prd; in mvs_task_prep_smp() local
359 buf_prd = buf_tmp; in mvs_task_prep_smp()
396 MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); in mvs_task_prep_smp()
436 void *buf_prd; in mvs_task_prep_ata() local
503 buf_prd = buf_tmp; in mvs_task_prep_ata()
544 MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); in mvs_task_prep_ata()
548 TRASH_BUCKET_SIZE, tei->n_elem, buf_prd); in mvs_task_prep_ata()
564 void *buf_prd; in mvs_task_prep_ssp() local
615 buf_prd = buf_tmp; in mvs_task_prep_ssp()
684 MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); in mvs_task_prep_ssp()
/openbmc/linux/drivers/scsi/pm8001/
H A Dpm8001_init.c1230 pm8001_ha->ccb_info[i].buf_prd = dma_alloc_coherent(dev, in pm8001_init_ccb_tag()
1234 if (!pm8001_ha->ccb_info[i].buf_prd) { in pm8001_init_ccb_tag()
1287 pm8001_ha->ccb_info[i].buf_prd, in pm8001_pci_remove()
H A Dpm80xx_hwi.c4340 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_ssp_io_req()
4369 ccb->buf_prd); in pm80xx_chip_ssp_io_req()
4399 ccb->buf_prd); in pm80xx_chip_ssp_io_req()
4426 ccb->buf_prd); in pm80xx_chip_ssp_io_req()
4510 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_sata_req()
4538 ccb->buf_prd); in pm80xx_chip_sata_req()
4576 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_sata_req()
4600 ccb->buf_prd); in pm80xx_chip_sata_req()
H A Dpm8001_hwi.c3949 struct pm8001_prd *buf_prd = prd; in pm8001_chip_make_sg() local
3952 buf_prd->addr = cpu_to_le64(sg_dma_address(sg)); in pm8001_chip_make_sg()
3953 buf_prd->im_len.len = cpu_to_le32(sg_dma_len(sg)); in pm8001_chip_make_sg()
3954 buf_prd->im_len.e = 0; in pm8001_chip_make_sg()
3955 buf_prd++; in pm8001_chip_make_sg()
4062 pm8001_chip_make_sg(task->scatter, ccb->n_elem, ccb->buf_prd); in pm8001_chip_ssp_io_req()
4135 pm8001_chip_make_sg(task->scatter, ccb->n_elem, ccb->buf_prd); in pm8001_chip_sata_req()
H A Dpm8001_sas.h292 struct pm8001_prd *buf_prd; member