Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/scsi/mvsas/
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()
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()
Dmv_sas.c313 void *buf_prd; in mvs_task_prep_smp() local
358 buf_prd = buf_tmp; in mvs_task_prep_smp()
395 MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); in mvs_task_prep_smp()
435 void *buf_prd; in mvs_task_prep_ata() local
502 buf_prd = buf_tmp; in mvs_task_prep_ata()
543 MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); in mvs_task_prep_ata()
547 TRASH_BUCKET_SIZE, tei->n_elem, buf_prd); in mvs_task_prep_ata()
563 void *buf_prd; in mvs_task_prep_ssp() local
618 buf_prd = buf_tmp; in mvs_task_prep_ssp()
688 MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); in mvs_task_prep_ssp()
/Linux-v5.15/drivers/scsi/pm8001/
Dpm80xx_hwi.c4402 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_ssp_io_req()
4428 ccb->buf_prd); in pm80xx_chip_ssp_io_req()
4456 ccb->buf_prd); in pm80xx_chip_ssp_io_req()
4481 ccb->buf_prd); in pm80xx_chip_ssp_io_req()
4571 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_sata_req()
4593 ccb->buf_prd); in pm80xx_chip_sata_req()
4631 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_sata_req()
4653 ccb->buf_prd); in pm80xx_chip_sata_req()
Dpm8001_init.c1209 pm8001_ha->ccb_info[i].buf_prd = dma_alloc_coherent(&pdev->dev, in pm8001_init_ccb_tag()
1213 if (!pm8001_ha->ccb_info[i].buf_prd) { in pm8001_init_ccb_tag()
Dpm8001_hwi.c4136 struct pm8001_prd *buf_prd = prd; in pm8001_chip_make_sg() local
4139 buf_prd->addr = cpu_to_le64(sg_dma_address(sg)); in pm8001_chip_make_sg()
4140 buf_prd->im_len.len = cpu_to_le32(sg_dma_len(sg)); in pm8001_chip_make_sg()
4141 buf_prd->im_len.e = 0; in pm8001_chip_make_sg()
4142 buf_prd++; in pm8001_chip_make_sg()
4257 pm8001_chip_make_sg(task->scatter, ccb->n_elem, ccb->buf_prd); in pm8001_chip_ssp_io_req()
4330 pm8001_chip_make_sg(task->scatter, ccb->n_elem, ccb->buf_prd); in pm8001_chip_sata_req()
Dpm8001_sas.h289 struct pm8001_prd *buf_prd; member