Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/mvsas/
Dmv_64xx.c571 struct mvs_prd *buf_prd = prd; in mvs_64xx_make_prd() local
573 buf_prd->addr = cpu_to_le64(sg_dma_address(sg)); in mvs_64xx_make_prd()
574 buf_prd->len = cpu_to_le32(sg_dma_len(sg)); in mvs_64xx_make_prd()
575 buf_prd++; in mvs_64xx_make_prd()
743 struct mvs_prd *buf_prd = prd; in mvs_64xx_fix_dma() local
746 buf_prd += from; in mvs_64xx_fix_dma()
748 buf_prd->addr = cpu_to_le64(buf_dma); in mvs_64xx_fix_dma()
749 buf_prd->len = cpu_to_le32(buf_len); in mvs_64xx_fix_dma()
750 ++buf_prd; in mvs_64xx_fix_dma()
Dmv_94xx.c803 struct mvs_prd *buf_prd = prd; in mvs_94xx_make_prd() local
807 buf_prd->addr = cpu_to_le64(sg_dma_address(sg)); in mvs_94xx_make_prd()
809 buf_prd->im_len = cpu_to_le32(*(u32 *)&im_len); in mvs_94xx_make_prd()
810 buf_prd++; in mvs_94xx_make_prd()
1005 struct mvs_prd *buf_prd = prd; in mvs_94xx_fix_dma() local
1010 buf_prd += from; in mvs_94xx_fix_dma()
1020 for (i = from; i < MAX_SG_ENTRY; i++, ++buf_prd) { in mvs_94xx_fix_dma()
1022 buf_prd->addr = cpu_to_le64(virt_to_phys(buf_prd - 1)); in mvs_94xx_fix_dma()
1026 buf_prd->addr = cpu_to_le64(buf_dma); in mvs_94xx_fix_dma()
1029 buf_prd->im_len = cpu_to_le32(*(u32 *)&im_len); in mvs_94xx_fix_dma()
Dmv_sas.c331 void *buf_prd; in mvs_task_prep_smp() local
376 buf_prd = buf_tmp; in mvs_task_prep_smp()
413 MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); in mvs_task_prep_smp()
453 void *buf_prd; in mvs_task_prep_ata() local
520 buf_prd = buf_tmp; in mvs_task_prep_ata()
561 MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); in mvs_task_prep_ata()
565 TRASH_BUCKET_SIZE, tei->n_elem, buf_prd); in mvs_task_prep_ata()
581 void *buf_prd; in mvs_task_prep_ssp() local
636 buf_prd = buf_tmp; in mvs_task_prep_ssp()
706 MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); in mvs_task_prep_ssp()
/Linux-v4.19/drivers/scsi/pm8001/
Dpm80xx_hwi.c4025 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_ssp_io_req()
4027 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm80xx_chip_ssp_io_req()
4055 ccb->buf_prd); in pm80xx_chip_ssp_io_req()
4058 buf_prd[0]); in pm80xx_chip_ssp_io_req()
4085 ccb->buf_prd); in pm80xx_chip_ssp_io_req()
4087 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm80xx_chip_ssp_io_req()
4114 ccb->buf_prd); in pm80xx_chip_ssp_io_req()
4117 buf_prd[0]); in pm80xx_chip_ssp_io_req()
4206 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_sata_req()
4208 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm80xx_chip_sata_req()
[all …]
Dpm8001_hwi.c4211 struct pm8001_prd *buf_prd = prd; in pm8001_chip_make_sg() local
4214 buf_prd->addr = cpu_to_le64(sg_dma_address(sg)); in pm8001_chip_make_sg()
4215 buf_prd->im_len.len = cpu_to_le32(sg_dma_len(sg)); in pm8001_chip_make_sg()
4216 buf_prd->im_len.e = 0; in pm8001_chip_make_sg()
4217 buf_prd++; in pm8001_chip_make_sg()
4332 pm8001_chip_make_sg(task->scatter, ccb->n_elem, ccb->buf_prd); in pm8001_chip_ssp_io_req()
4334 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm8001_chip_ssp_io_req()
4405 pm8001_chip_make_sg(task->scatter, ccb->n_elem, ccb->buf_prd); in pm8001_chip_sata_req()
4407 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm8001_chip_sata_req()
Dpm8001_sas.h305 struct pm8001_prd buf_prd[PM8001_MAX_DMA_SG]; member