Lines Matching refs:dd_dma
6433 dma_addr_t dd_dma; in qla26xx_dport_diagnostics() local
6442 dd_dma = dma_map_single(&vha->hw->pdev->dev, in qla26xx_dport_diagnostics()
6444 if (dma_mapping_error(&vha->hw->pdev->dev, dd_dma)) { in qla26xx_dport_diagnostics()
6453 mcp->mb[2] = MSW(LSD(dd_dma)); in qla26xx_dport_diagnostics()
6454 mcp->mb[3] = LSW(LSD(dd_dma)); in qla26xx_dport_diagnostics()
6455 mcp->mb[6] = MSW(MSD(dd_dma)); in qla26xx_dport_diagnostics()
6456 mcp->mb[7] = LSW(MSD(dd_dma)); in qla26xx_dport_diagnostics()
6472 dma_unmap_single(&vha->hw->pdev->dev, dd_dma, in qla26xx_dport_diagnostics()
6483 dma_addr_t dd_dma; in qla26xx_dport_diagnostics_v2() local
6490 dd_dma = dma_map_single(&vha->hw->pdev->dev, in qla26xx_dport_diagnostics_v2()
6492 if (dma_mapping_error(&vha->hw->pdev->dev, dd_dma)) { in qla26xx_dport_diagnostics_v2()
6502 mcp->mb[2] = MSW(LSD(dd_dma)); in qla26xx_dport_diagnostics_v2()
6503 mcp->mb[3] = LSW(LSD(dd_dma)); in qla26xx_dport_diagnostics_v2()
6504 mcp->mb[6] = MSW(MSD(dd_dma)); in qla26xx_dport_diagnostics_v2()
6505 mcp->mb[7] = LSW(MSD(dd_dma)); in qla26xx_dport_diagnostics_v2()
6521 dma_unmap_single(&vha->hw->pdev->dev, dd_dma, size, DMA_FROM_DEVICE); in qla26xx_dport_diagnostics_v2()