Lines Matching refs:c2
2146 struct io_accel2_cmd *c2) in handle_ioaccel_mode2_error() argument
2152 switch (c2->error_data.serv_response) { in handle_ioaccel_mode2_error()
2154 switch (c2->error_data.status) { in handle_ioaccel_mode2_error()
2159 if (c2->error_data.data_present != in handle_ioaccel_mode2_error()
2166 data_len = c2->error_data.sense_data_len; in handle_ioaccel_mode2_error()
2169 if (data_len > sizeof(c2->error_data.sense_data_buff)) in handle_ioaccel_mode2_error()
2171 sizeof(c2->error_data.sense_data_buff); in handle_ioaccel_mode2_error()
2173 c2->error_data.sense_data_buff, data_len); in handle_ioaccel_mode2_error()
2194 switch (c2->error_data.status) { in handle_ioaccel_mode2_error()
2204 &c2->error_data.resid_cnt[0]); in handle_ioaccel_mode2_error()
2319 struct io_accel2_cmd *c2 = &h->ioaccel2_cmd_pool[c->cmdindex]; in process_ioaccel2_completion() local
2322 if (likely(c2->error_data.serv_response == 0 && in process_ioaccel2_completion()
2323 c2->error_data.status == 0)) in process_ioaccel2_completion()
2332 c2->error_data.serv_response == in process_ioaccel2_completion()
2334 if (c2->error_data.status == in process_ioaccel2_completion()
2341 if (handle_ioaccel_mode2_error(h, c, cmd, c2)) in process_ioaccel2_completion()
2381 struct io_accel2_cmd *c2; in complete_scsi_command() local
2392 c2 = &h->ioaccel2_cmd_pool[cp->cmdindex]; in complete_scsi_command()
2400 (c2->sg[0].chain_indicator == IOACCEL2_CHAIN)) in complete_scsi_command()
2401 hpsa_unmap_ioaccel2_sg_chain_block(h, c2); in complete_scsi_command()
2855 struct io_accel2_cmd *c2 = &h->ioaccel2_cmd_pool[c->cmdindex]; in hpsa_cmd_dev_match() local
2856 struct hpsa_tmf_struct *ac = (struct hpsa_tmf_struct *) c2; in hpsa_cmd_dev_match()
3747 struct io_accel2_cmd *c2 = in hpsa_get_pdisk_of_ioaccel2() local
3754 if (h->dev[i]->ioaccel_handle == le32_to_cpu(c2->scsi_nexus)) { in hpsa_get_pdisk_of_ioaccel2()
5101 struct io_accel2_cmd *c2 = &h->ioaccel2_cmd_pool[c->cmdindex]; in hpsa_command_resubmit_worker() local
5104 if (c2->error_data.serv_response == in hpsa_command_resubmit_worker()
5588 struct io_accel2_cmd *c2 = &h->ioaccel2_cmd_pool[c->cmdindex]; in setup_ioaccel2_abort_cmd() local
5589 struct hpsa_tmf_struct *ac = (struct hpsa_tmf_struct *) c2; in setup_ioaccel2_abort_cmd()
5614 memset(ac, 0, sizeof(*c2)); /* yes this is correct */ in setup_ioaccel2_abort_cmd()
5624 ac->error_len = cpu_to_le32(sizeof(c2->error_data)); in setup_ioaccel2_abort_cmd()
5712 struct io_accel2_cmd *c2; in hpsa_send_abort_ioaccel2() local
5720 c2 = &h->ioaccel2_cmd_pool[c->cmdindex]; in hpsa_send_abort_ioaccel2()
5730 __func__, tagupper, taglower, c2->error_data.serv_response); in hpsa_send_abort_ioaccel2()
5731 switch (c2->error_data.serv_response) { in hpsa_send_abort_ioaccel2()
5745 c2->error_data.serv_response); in hpsa_send_abort_ioaccel2()