Lines Matching refs:curr_sg
4548 struct SGDescriptor *curr_sg; in hpsa_scatter_gather() local
4566 curr_sg = cp->SG; in hpsa_scatter_gather()
4571 hpsa_set_sg_descriptor(curr_sg, sg); in hpsa_scatter_gather()
4572 curr_sg++; in hpsa_scatter_gather()
4582 curr_sg = h->cmd_sg_list[cp->cmdindex]; in hpsa_scatter_gather()
4585 hpsa_set_sg_descriptor(curr_sg, sg); in hpsa_scatter_gather()
4586 curr_sg++; in hpsa_scatter_gather()
4591 (curr_sg - 1)->Ext = cpu_to_le32(HPSA_SG_LAST); in hpsa_scatter_gather()
4709 struct SGDescriptor *curr_sg; in hpsa_scsi_ioaccel1_queue_command() local
4745 curr_sg = cp->SG; in hpsa_scsi_ioaccel1_queue_command()
4750 curr_sg->Addr = cpu_to_le64(addr64); in hpsa_scsi_ioaccel1_queue_command()
4751 curr_sg->Len = cpu_to_le32(len); in hpsa_scsi_ioaccel1_queue_command()
4752 curr_sg->Ext = cpu_to_le32(0); in hpsa_scsi_ioaccel1_queue_command()
4753 curr_sg++; in hpsa_scsi_ioaccel1_queue_command()
4755 (--curr_sg)->Ext = cpu_to_le32(HPSA_SG_LAST); in hpsa_scsi_ioaccel1_queue_command()
4875 struct ioaccel2_sg_element *curr_sg; in hpsa_scsi_ioaccel2_queue_command() local
4917 curr_sg = cp->sg; in hpsa_scsi_ioaccel2_queue_command()
4921 curr_sg->address = cpu_to_le64(addr64); in hpsa_scsi_ioaccel2_queue_command()
4922 curr_sg->length = 0; in hpsa_scsi_ioaccel2_queue_command()
4923 curr_sg->reserved[0] = 0; in hpsa_scsi_ioaccel2_queue_command()
4924 curr_sg->reserved[1] = 0; in hpsa_scsi_ioaccel2_queue_command()
4925 curr_sg->reserved[2] = 0; in hpsa_scsi_ioaccel2_queue_command()
4926 curr_sg->chain_indicator = 0x80; in hpsa_scsi_ioaccel2_queue_command()
4928 curr_sg = h->ioaccel2_cmd_sg_list[c->cmdindex]; in hpsa_scsi_ioaccel2_queue_command()
4934 curr_sg->address = cpu_to_le64(addr64); in hpsa_scsi_ioaccel2_queue_command()
4935 curr_sg->length = cpu_to_le32(len); in hpsa_scsi_ioaccel2_queue_command()
4936 curr_sg->reserved[0] = 0; in hpsa_scsi_ioaccel2_queue_command()
4937 curr_sg->reserved[1] = 0; in hpsa_scsi_ioaccel2_queue_command()
4938 curr_sg->reserved[2] = 0; in hpsa_scsi_ioaccel2_queue_command()
4939 curr_sg->chain_indicator = 0; in hpsa_scsi_ioaccel2_queue_command()
4940 curr_sg++; in hpsa_scsi_ioaccel2_queue_command()