Lines Matching refs:cur_dsd

197 	struct dsd32	*cur_dsd;  in qla2x00_build_scsi_iocbs_32()  local
219 cur_dsd = cmd_pkt->dsd32; in qla2x00_build_scsi_iocbs_32()
232 cur_dsd = cont_pkt->dsd; in qla2x00_build_scsi_iocbs_32()
236 append_dsd32(&cur_dsd, sg); in qla2x00_build_scsi_iocbs_32()
253 struct dsd64 *cur_dsd; in qla2x00_build_scsi_iocbs_64() local
275 cur_dsd = cmd_pkt->dsd64; in qla2x00_build_scsi_iocbs_64()
288 cur_dsd = cont_pkt->dsd; in qla2x00_build_scsi_iocbs_64()
292 append_dsd64(&cur_dsd, sg); in qla2x00_build_scsi_iocbs_64()
593 struct dsd64 *cur_dsd = NULL, *next_dsd; in qla24xx_build_scsi_type_6_iocbs() local
650 &cur_dsd->address); in qla24xx_build_scsi_type_6_iocbs()
651 cur_dsd->length = cpu_to_le32(dsd_list_len); in qla24xx_build_scsi_type_6_iocbs()
652 cur_dsd++; in qla24xx_build_scsi_type_6_iocbs()
654 cur_dsd = next_dsd; in qla24xx_build_scsi_type_6_iocbs()
656 append_dsd64(&cur_dsd, cur_seg); in qla24xx_build_scsi_type_6_iocbs()
663 cur_dsd->address = 0; in qla24xx_build_scsi_type_6_iocbs()
664 cur_dsd->length = 0; in qla24xx_build_scsi_type_6_iocbs()
665 cur_dsd++; in qla24xx_build_scsi_type_6_iocbs()
704 struct dsd64 *cur_dsd; in qla24xx_build_scsi_iocbs() local
737 cur_dsd = &cmd_pkt->dsd; in qla24xx_build_scsi_iocbs()
751 cur_dsd = cont_pkt->dsd; in qla24xx_build_scsi_iocbs()
755 append_dsd64(&cur_dsd, sg); in qla24xx_build_scsi_iocbs()
843 struct dsd64 *cur_dsd = dsd; in qla24xx_walk_and_build_sglist_no_difb() local
917 &cur_dsd->address); in qla24xx_walk_and_build_sglist_no_difb()
918 cur_dsd->length = cpu_to_le32(dsd_list_len); in qla24xx_walk_and_build_sglist_no_difb()
919 cur_dsd = next_dsd; in qla24xx_walk_and_build_sglist_no_difb()
921 put_unaligned_le64(sle_dma, &cur_dsd->address); in qla24xx_walk_and_build_sglist_no_difb()
922 cur_dsd->length = cpu_to_le32(sle_dma_len); in qla24xx_walk_and_build_sglist_no_difb()
923 cur_dsd++; in qla24xx_walk_and_build_sglist_no_difb()
942 cur_dsd->address = 0; in qla24xx_walk_and_build_sglist_no_difb()
943 cur_dsd->length = 0; in qla24xx_walk_and_build_sglist_no_difb()
944 cur_dsd++; in qla24xx_walk_and_build_sglist_no_difb()
957 struct dsd64 *cur_dsd = dsd; in qla24xx_walk_and_build_sglist() local
1013 &cur_dsd->address); in qla24xx_walk_and_build_sglist()
1014 cur_dsd->length = cpu_to_le32(dsd_list_len); in qla24xx_walk_and_build_sglist()
1015 cur_dsd = next_dsd; in qla24xx_walk_and_build_sglist()
1017 append_dsd64(&cur_dsd, sg); in qla24xx_walk_and_build_sglist()
1022 cur_dsd->address = 0; in qla24xx_walk_and_build_sglist()
1023 cur_dsd->length = 0; in qla24xx_walk_and_build_sglist()
1024 cur_dsd++; in qla24xx_walk_and_build_sglist()
1030 struct dsd64 *cur_dsd, uint16_t tot_dsds, struct qla_tgt_cmd *tc) in qla24xx_walk_and_build_prot_sglist() argument
1252 &cur_dsd->address); in qla24xx_walk_and_build_prot_sglist()
1253 cur_dsd->length = cpu_to_le32(dsd_list_len); in qla24xx_walk_and_build_prot_sglist()
1254 cur_dsd = dsd_ptr->dsd_addr; in qla24xx_walk_and_build_prot_sglist()
1257 &cur_dsd->address); in qla24xx_walk_and_build_prot_sglist()
1258 cur_dsd->length = cpu_to_le32(sglen); in qla24xx_walk_and_build_prot_sglist()
1259 cur_dsd++; in qla24xx_walk_and_build_prot_sglist()
1310 &cur_dsd->address); in qla24xx_walk_and_build_prot_sglist()
1311 cur_dsd->length = cpu_to_le32(dsd_list_len); in qla24xx_walk_and_build_prot_sglist()
1312 cur_dsd = dsd_ptr->dsd_addr; in qla24xx_walk_and_build_prot_sglist()
1314 append_dsd64(&cur_dsd, sg); in qla24xx_walk_and_build_prot_sglist()
1319 cur_dsd->address = 0; in qla24xx_walk_and_build_prot_sglist()
1320 cur_dsd->length = 0; in qla24xx_walk_and_build_prot_sglist()
1321 cur_dsd++; in qla24xx_walk_and_build_prot_sglist()
1339 struct dsd64 *cur_dsd; in qla24xx_build_scsi_crc_2_iocbs() local
1476 cur_dsd = &crc_ctx_pkt->u.nobundling.data_dsd[0]; in qla24xx_build_scsi_crc_2_iocbs()
1486 cur_dsd = &crc_ctx_pkt->u.bundling.data_dsd[0]; in qla24xx_build_scsi_crc_2_iocbs()
1510 cur_dsd, tot_dsds, NULL)) in qla24xx_build_scsi_crc_2_iocbs()
1512 } else if (qla24xx_walk_and_build_sglist(ha, sp, cur_dsd, in qla24xx_build_scsi_crc_2_iocbs()
1519 cur_dsd = &crc_ctx_pkt->u.bundling.dif_dsd; in qla24xx_build_scsi_crc_2_iocbs()
1520 if (qla24xx_walk_and_build_prot_sglist(ha, sp, cur_dsd, in qla24xx_build_scsi_crc_2_iocbs()
3225 struct dsd64 *cur_dsd; in qla2x00_ct_iocb() local
3260 cur_dsd = &ct_iocb->rsp_dsd; in qla2x00_ct_iocb()
3275 cur_dsd = cont_pkt->dsd; in qla2x00_ct_iocb()
3280 append_dsd64(&cur_dsd, sg); in qla2x00_ct_iocb()
3292 struct dsd64 *cur_dsd; in qla24xx_ct_iocb() local
3321 cur_dsd = ct_iocb->dsd; in qla24xx_ct_iocb()
3333 cur_dsd = cont_pkt->dsd; in qla24xx_ct_iocb()
3338 append_dsd64(&cur_dsd, sg); in qla24xx_ct_iocb()
3353 cur_dsd = cont_pkt->dsd; in qla24xx_ct_iocb()
3358 append_dsd64(&cur_dsd, sg); in qla24xx_ct_iocb()
4055 struct dsd64 *cur_dsd; in qla25xx_build_bidir_iocb() local
4090 cur_dsd = &cmd_pkt->fcp_dsd; in qla25xx_build_bidir_iocb()
4104 cur_dsd = cont_pkt->dsd; in qla25xx_build_bidir_iocb()
4108 append_dsd64(&cur_dsd, sg); in qla25xx_build_bidir_iocb()
4126 cur_dsd = cont_pkt->dsd; in qla25xx_build_bidir_iocb()
4130 append_dsd64(&cur_dsd, sg); in qla25xx_build_bidir_iocb()