Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/scsi/mvsas/
Dmv_64xx.c570 struct mvs_prd *buf_prd = prd; in mvs_64xx_make_prd() local
572 buf_prd->addr = cpu_to_le64(sg_dma_address(sg)); in mvs_64xx_make_prd()
573 buf_prd->len = cpu_to_le32(sg_dma_len(sg)); in mvs_64xx_make_prd()
574 buf_prd++; in mvs_64xx_make_prd()
742 struct mvs_prd *buf_prd = prd; in mvs_64xx_fix_dma() local
745 buf_prd += from; in mvs_64xx_fix_dma()
747 buf_prd->addr = cpu_to_le64(buf_dma); in mvs_64xx_fix_dma()
748 buf_prd->len = cpu_to_le32(buf_len); in mvs_64xx_fix_dma()
749 ++buf_prd; in mvs_64xx_fix_dma()
Dmv_94xx.c755 struct mvs_prd *buf_prd = prd; in mvs_94xx_make_prd() local
759 buf_prd->addr = cpu_to_le64(sg_dma_address(sg)); in mvs_94xx_make_prd()
761 buf_prd->im_len = cpu_to_le32(*(u32 *)&im_len); in mvs_94xx_make_prd()
762 buf_prd++; in mvs_94xx_make_prd()
957 struct mvs_prd *buf_prd = prd; in mvs_94xx_fix_dma() local
962 buf_prd += from; in mvs_94xx_fix_dma()
972 for (i = from; i < MAX_SG_ENTRY; i++, ++buf_prd) { in mvs_94xx_fix_dma()
974 buf_prd->addr = cpu_to_le64(virt_to_phys(buf_prd - 1)); in mvs_94xx_fix_dma()
978 buf_prd->addr = cpu_to_le64(buf_dma); in mvs_94xx_fix_dma()
981 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()
450 void *buf_prd; in mvs_task_prep_ata() local
517 buf_prd = buf_tmp; in mvs_task_prep_ata()
558 MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); in mvs_task_prep_ata()
562 TRASH_BUCKET_SIZE, tei->n_elem, buf_prd); in mvs_task_prep_ata()
578 void *buf_prd; in mvs_task_prep_ssp() local
633 buf_prd = buf_tmp; in mvs_task_prep_ssp()
703 MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); in mvs_task_prep_ssp()
/linux-4.1.27/drivers/scsi/pm8001/
Dpm80xx_hwi.c3934 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_ssp_io_req()
3936 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm80xx_chip_ssp_io_req()
3964 ccb->buf_prd); in pm80xx_chip_ssp_io_req()
3967 buf_prd[0]); in pm80xx_chip_ssp_io_req()
3994 ccb->buf_prd); in pm80xx_chip_ssp_io_req()
3996 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm80xx_chip_ssp_io_req()
4023 ccb->buf_prd); in pm80xx_chip_ssp_io_req()
4026 buf_prd[0]); in pm80xx_chip_ssp_io_req()
4115 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_sata_req()
4117 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm80xx_chip_sata_req()
[all …]
Dpm8001_hwi.c4197 struct pm8001_prd *buf_prd = prd; in pm8001_chip_make_sg() local
4200 buf_prd->addr = cpu_to_le64(sg_dma_address(sg)); in pm8001_chip_make_sg()
4201 buf_prd->im_len.len = cpu_to_le32(sg_dma_len(sg)); in pm8001_chip_make_sg()
4202 buf_prd->im_len.e = 0; in pm8001_chip_make_sg()
4203 buf_prd++; in pm8001_chip_make_sg()
4318 pm8001_chip_make_sg(task->scatter, ccb->n_elem, ccb->buf_prd); in pm8001_chip_ssp_io_req()
4320 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm8001_chip_ssp_io_req()
4391 pm8001_chip_make_sg(task->scatter, ccb->n_elem, ccb->buf_prd); in pm8001_chip_sata_req()
4393 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm8001_chip_sata_req()
Dpm8001_sas.h296 struct pm8001_prd buf_prd[PM8001_MAX_DMA_SG]; member