Searched refs:buf_prd (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/drivers/scsi/mvsas/ |
D | mv_64xx.c | 570 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()
|
D | mv_94xx.c | 755 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()
|
D | mv_sas.c | 331 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.4.14/drivers/scsi/pm8001/ |
D | pm80xx_hwi.c | 3990 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_ssp_io_req() 3992 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm80xx_chip_ssp_io_req() 4020 ccb->buf_prd); in pm80xx_chip_ssp_io_req() 4023 buf_prd[0]); in pm80xx_chip_ssp_io_req() 4050 ccb->buf_prd); in pm80xx_chip_ssp_io_req() 4052 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm80xx_chip_ssp_io_req() 4079 ccb->buf_prd); in pm80xx_chip_ssp_io_req() 4082 buf_prd[0]); in pm80xx_chip_ssp_io_req() 4171 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_sata_req() 4173 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm80xx_chip_sata_req() [all …]
|
D | pm8001_hwi.c | 4202 struct pm8001_prd *buf_prd = prd; in pm8001_chip_make_sg() local 4205 buf_prd->addr = cpu_to_le64(sg_dma_address(sg)); in pm8001_chip_make_sg() 4206 buf_prd->im_len.len = cpu_to_le32(sg_dma_len(sg)); in pm8001_chip_make_sg() 4207 buf_prd->im_len.e = 0; in pm8001_chip_make_sg() 4208 buf_prd++; in pm8001_chip_make_sg() 4323 pm8001_chip_make_sg(task->scatter, ccb->n_elem, ccb->buf_prd); in pm8001_chip_ssp_io_req() 4325 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm8001_chip_ssp_io_req() 4396 pm8001_chip_make_sg(task->scatter, ccb->n_elem, ccb->buf_prd); in pm8001_chip_sata_req() 4398 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm8001_chip_sata_req()
|
D | pm8001_sas.h | 298 struct pm8001_prd buf_prd[PM8001_MAX_DMA_SG]; member
|