Lines Matching refs:dma
486 struct efc_dma *dma;
516 dma = &hw->xfer_rdy;
517 dma->size = sizeof(struct fcp_txrdy) * hw->config.n_io;
518 dma->virt = dma_alloc_coherent(&efct->pci->dev,
519 dma->size, &dma->phys, GFP_KERNEL);
520 if (!dma->virt)
560 dma = &io->def_sgl;
561 dma->size = hw->config.n_sgl *
563 dma->virt = dma_alloc_coherent(&efct->pci->dev,
564 dma->size, &dma->phys,
566 if (!dma->virt) {
889 struct efc_dma *dma;
1063 dma = &hw->loop_map;
1064 dma->size = SLI4_MIN_LOOP_MAP_BYTES;
1065 dma->virt = dma_alloc_coherent(&hw->os->pci->dev, dma->size, &dma->phys,
1067 if (!dma->virt)
1191 prq->dma.size = size;
1192 prq->dma.virt = dma_alloc_coherent(&efct->pci->dev,
1193 prq->dma.size,
1194 &prq->dma.phys,
1196 if (!prq->dma.virt) {
1217 prq->dma.size, prq->dma.virt,
1218 prq->dma.phys);
1219 memset(&prq->dma, 0, sizeof(struct efc_dma));
3298 efct_hw_firmware_write(struct efct_hw *hw, struct efc_dma *dma, u32 size,
3319 dma))
3394 struct efc_dma *dma;
3447 dma = &hw->xfer_rdy;
3449 dma->size, dma->virt, dma->phys);
3450 memset(dma, 0, sizeof(struct efc_dma));
3452 dma = &hw->loop_map;
3454 dma->size, dma->virt, dma->phys);
3455 memset(dma, 0, sizeof(struct efc_dma));