Searched refs:buf_prd (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/scsi/mvsas/ |
D | mv_64xx.c | 555 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()
|
D | mv_94xx.c | 787 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()
|
D | mv_sas.c | 315 void *buf_prd; in mvs_task_prep_smp() local 360 buf_prd = buf_tmp; in mvs_task_prep_smp() 397 MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); in mvs_task_prep_smp() 437 void *buf_prd; in mvs_task_prep_ata() local 504 buf_prd = buf_tmp; in mvs_task_prep_ata() 545 MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); in mvs_task_prep_ata() 549 TRASH_BUCKET_SIZE, tei->n_elem, buf_prd); in mvs_task_prep_ata() 565 void *buf_prd; in mvs_task_prep_ssp() local 620 buf_prd = buf_tmp; in mvs_task_prep_ssp() 690 MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); in mvs_task_prep_ssp()
|
/Linux-v5.4/drivers/scsi/pm8001/ |
D | pm80xx_hwi.c | 4095 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_ssp_io_req() 4097 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm80xx_chip_ssp_io_req() 4125 ccb->buf_prd); in pm80xx_chip_ssp_io_req() 4128 buf_prd[0]); in pm80xx_chip_ssp_io_req() 4155 ccb->buf_prd); in pm80xx_chip_ssp_io_req() 4157 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm80xx_chip_ssp_io_req() 4184 ccb->buf_prd); in pm80xx_chip_ssp_io_req() 4187 buf_prd[0]); in pm80xx_chip_ssp_io_req() 4276 ccb->n_elem, ccb->buf_prd); in pm80xx_chip_sata_req() 4278 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm80xx_chip_sata_req() [all …]
|
D | pm8001_hwi.c | 4216 struct pm8001_prd *buf_prd = prd; in pm8001_chip_make_sg() local 4219 buf_prd->addr = cpu_to_le64(sg_dma_address(sg)); in pm8001_chip_make_sg() 4220 buf_prd->im_len.len = cpu_to_le32(sg_dma_len(sg)); in pm8001_chip_make_sg() 4221 buf_prd->im_len.e = 0; in pm8001_chip_make_sg() 4222 buf_prd++; in pm8001_chip_make_sg() 4337 pm8001_chip_make_sg(task->scatter, ccb->n_elem, ccb->buf_prd); in pm8001_chip_ssp_io_req() 4339 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm8001_chip_ssp_io_req() 4410 pm8001_chip_make_sg(task->scatter, ccb->n_elem, ccb->buf_prd); in pm8001_chip_sata_req() 4412 offsetof(struct pm8001_ccb_info, buf_prd[0]); in pm8001_chip_sata_req()
|
D | pm8001_sas.h | 304 struct pm8001_prd buf_prd[PM8001_MAX_DMA_SG]; member
|