Lines Matching refs:curr_sg
3264 struct SGDescriptor *curr_sg; in hpsa_scatter_gather() local
3275 curr_sg = cp->SG; in hpsa_scatter_gather()
3282 curr_sg = h->cmd_sg_list[cp->cmdindex]; in hpsa_scatter_gather()
3285 hpsa_set_sg_descriptor(curr_sg, sg); in hpsa_scatter_gather()
3286 curr_sg++; in hpsa_scatter_gather()
3290 (--curr_sg)->Ext = cpu_to_le32(HPSA_SG_LAST); in hpsa_scatter_gather()
3371 struct SGDescriptor *curr_sg; in hpsa_scsi_ioaccel1_queue_command() local
3401 curr_sg = cp->SG; in hpsa_scsi_ioaccel1_queue_command()
3406 curr_sg->Addr = cpu_to_le64(addr64); in hpsa_scsi_ioaccel1_queue_command()
3407 curr_sg->Len = cpu_to_le32(len); in hpsa_scsi_ioaccel1_queue_command()
3408 curr_sg->Ext = cpu_to_le32(0); in hpsa_scsi_ioaccel1_queue_command()
3409 curr_sg++; in hpsa_scsi_ioaccel1_queue_command()
3411 (--curr_sg)->Ext = cpu_to_le32(HPSA_SG_LAST); in hpsa_scsi_ioaccel1_queue_command()
3526 struct ioaccel2_sg_element *curr_sg; in hpsa_scsi_ioaccel2_queue_command() local
3560 curr_sg = cp->sg; in hpsa_scsi_ioaccel2_queue_command()
3565 curr_sg->address = cpu_to_le64(addr64); in hpsa_scsi_ioaccel2_queue_command()
3566 curr_sg->length = cpu_to_le32(len); in hpsa_scsi_ioaccel2_queue_command()
3567 curr_sg->reserved[0] = 0; in hpsa_scsi_ioaccel2_queue_command()
3568 curr_sg->reserved[1] = 0; in hpsa_scsi_ioaccel2_queue_command()
3569 curr_sg->reserved[2] = 0; in hpsa_scsi_ioaccel2_queue_command()
3570 curr_sg->chain_indicator = 0; in hpsa_scsi_ioaccel2_queue_command()
3571 curr_sg++; in hpsa_scsi_ioaccel2_queue_command()