Lines Matching defs:dma_hw_desc
563 struct dma_cdb *dma_hw_desc;
578 dma_hw_desc = desc->hw_desc;
579 dma_hw_desc->sg1l = cpu_to_le32((u32)tmplow);
580 dma_hw_desc->sg1u |= cpu_to_le32((u32)tmphi);
597 struct dma_cdb *dma_hw_desc;
604 dma_hw_desc = desc->hw_desc;
611 psgu = &dma_hw_desc->sg1u;
617 psgu = &dma_hw_desc->sg2u;
620 psgu = &dma_hw_desc->sg3u;
644 struct dma_cdb *dma_hw_desc;
660 dma_hw_desc = desc->hw_desc;
662 psgu = dst_idx ? &dma_hw_desc->sg3u : &dma_hw_desc->sg2u;
663 psgl = dst_idx ? &dma_hw_desc->sg3l : &dma_hw_desc->sg2l;
684 struct dma_cdb *dma_hw_desc;
690 dma_hw_desc = desc->hw_desc;
691 dma_hw_desc->cnt = cpu_to_le32(byte_count);
718 struct dma_cdb *dma_hw_desc;
723 dma_hw_desc = desc->hw_desc;
724 iowrite32(qword[0], &dma_hw_desc->sg3l);
725 iowrite32(qword[4], &dma_hw_desc->sg3u);
726 iowrite32(qword[8], &dma_hw_desc->sg2l);
727 iowrite32(qword[12], &dma_hw_desc->sg2u);
809 struct dma_cdb *dma_hw_desc;
815 dma_hw_desc = desc->hw_desc;
817 switch (dma_hw_desc->opc) {
827 return le32_to_cpu(dma_hw_desc->sg1l);
836 if (le32_to_cpu(dma_hw_desc->sg1u) &
842 dma_hw_desc->sg1l) +
846 dma_hw_desc->sg1u)) >>
853 dma_hw_desc->sg1l) +
857 dma_hw_desc->sg1l) +
861 dma_hw_desc->sg1l) +
879 return le32_to_cpu(dma_hw_desc->sg1l);
882 __func__, dma_hw_desc->opc);
885 return le32_to_cpu(dma_hw_desc->sg1l);
901 struct dma_cdb *dma_hw_desc;
907 dma_hw_desc = desc->hw_desc;
910 return le32_to_cpu(dma_hw_desc->sg2l);
911 return le32_to_cpu(dma_hw_desc->sg3l);
926 struct dma_cdb *dma_hw_desc;
932 dma_hw_desc = desc->hw_desc;
934 switch (dma_hw_desc->opc) {
946 if (le32_to_cpu(dma_hw_desc->sg1u) &
949 if (((le32_to_cpu(dma_hw_desc->sg1u) >>
962 __func__, dma_hw_desc->opc);
982 struct dma_cdb *dma_hw_desc;
988 dma_hw_desc = desc->hw_desc;
989 switch (dma_hw_desc->opc) {
1003 __func__, dma_hw_desc->opc);