Lines Matching refs:ioa_cb

299 	struct pmcraid_ioarcb *ioarcb = &(cmd->ioa_cb->ioarcb);  in pmcraid_init_cmdblk()
316 memset(&cmd->ioa_cb->ioarcb.cdb, 0, PMCRAID_MAX_CDB_LEN); in pmcraid_init_cmdblk()
327 cmd->ioa_cb->ioasa.ioasc = 0; in pmcraid_init_cmdblk()
328 cmd->ioa_cb->ioasa.residual_data_length = 0; in pmcraid_init_cmdblk()
694 cmd->ioa_cb->ioarcb.cdb[0]); in pmcraid_timeout_handler()
762 cmd->ioa_cb->ioarcb.cdb[0], in pmcraid_internal_done()
763 le32_to_cpu(cmd->ioa_cb->ioasa.ioasc)); in pmcraid_internal_done()
800 cmd->ioa_cb->ioarcb.cdb[0], in pmcraid_reinit_cfgtable_done()
801 le32_to_cpu(cmd->ioa_cb->ioasa.ioasc)); in pmcraid_reinit_cfgtable_done()
825 u32 ioasc = le32_to_cpu(cmd->ioa_cb->ioasa.ioasc); in pmcraid_erp_done()
831 cmd->ioa_cb->ioarcb.cdb[0], ioasc); in pmcraid_erp_done()
874 iowrite32(le64_to_cpu(cmd->ioa_cb->ioarcb.ioarcb_bus_addr), pinstance->ioarrin); in _pmcraid_fire_command()
940 cmd->ioa_cb->ioarcb.cdb[0], in pmcraid_ioa_shutdown()
941 le32_to_cpu(cmd->ioa_cb->ioasa.ioasc)); in pmcraid_ioa_shutdown()
947 cmd->ioa_cb->ioarcb.request_type = REQ_TYPE_IOACMD; in pmcraid_ioa_shutdown()
948 cmd->ioa_cb->ioarcb.resource_handle = in pmcraid_ioa_shutdown()
950 cmd->ioa_cb->ioarcb.cdb[0] = PMCRAID_IOA_SHUTDOWN; in pmcraid_ioa_shutdown()
951 cmd->ioa_cb->ioarcb.cdb[1] = PMCRAID_SHUTDOWN_NORMAL; in pmcraid_ioa_shutdown()
955 le32_to_cpu(cmd->ioa_cb->ioarcb.response_handle)); in pmcraid_ioa_shutdown()
976 u32 ioasc = le32_to_cpu(cmd->ioa_cb->ioasa.ioasc); in pmcraid_get_fwversion_done()
1004 struct pmcraid_ioarcb *ioarcb = &cmd->ioa_cb->ioarcb; in pmcraid_get_fwversion()
1047 struct pmcraid_ioarcb *ioarcb = &cmd->ioa_cb->ioarcb; in pmcraid_identify_hrrq()
1103 if (cmd->ioa_cb->ioarcb.cdb[1] == PMCRAID_HCAM_CODE_CONFIG_CHANGE) in pmcraid_send_hcam_cmd()
1156 ioarcb = &cmd->ioa_cb->ioarcb; in pmcraid_init_hcam()
1209 struct pmcraid_ioarcb *ioarcb = &cmd->ioa_cb->ioarcb; in pmcraid_prepare_cancel_cmd()
1216 ioarcb_addr = cpu_to_be64(le64_to_cpu(cmd_to_cancel->ioa_cb->ioarcb.ioarcb_bus_addr)); in pmcraid_prepare_cancel_cmd()
1221 ioarcb->resource_handle = cmd_to_cancel->ioa_cb->ioarcb.resource_handle; in pmcraid_prepare_cancel_cmd()
1273 cmd->ioa_cb->ioarcb.cdb[0], in pmcraid_cancel_ccn()
1274 le32_to_cpu(cmd->ioa_cb->ioasa.ioasc)); in pmcraid_cancel_ccn()
1682 cmd->ioa_cb->ioarcb.cdb[0], in pmcraid_ioasc_logger()
1683 le32_to_cpu(cmd->ioa_cb->ioarcb.resource_handle), in pmcraid_ioasc_logger()
1747 u32 ioasc = le32_to_cpu(cmd->ioa_cb->ioasa.ioasc); in pmcraid_process_ccn()
1785 u32 ioasc = le32_to_cpu(cmd->ioa_cb->ioasa.ioasc); in pmcraid_process_ldn()
1996 cmd->ioa_cb->ioasa.ioasc = in pmcraid_fail_outstanding_cmds()
1998 cmd->ioa_cb->ioasa.ilid = in pmcraid_fail_outstanding_cmds()
2012 __le32 resp = cmd->ioa_cb->ioarcb.response_handle; in pmcraid_fail_outstanding_cmds()
2021 cmd->ioa_cb->ioarcb.cdb[0], in pmcraid_fail_outstanding_cmds()
2419 struct pmcraid_ioarcb *ioarcb = &cmd->ioa_cb->ioarcb; in pmcraid_request_sense()
2434 memset(&cmd->ioa_cb->ioasa, 0, sizeof(struct pmcraid_ioasa)); in pmcraid_request_sense()
2474 struct pmcraid_ioarcb *ioarcb = &cmd->ioa_cb->ioarcb; in pmcraid_cancel_all()
2511 struct pmcraid_ioasa *ioasa = &cmd->ioa_cb->ioasa; in pmcraid_frame_auto_sense()
2584 struct pmcraid_ioasa *ioasa = &cmd->ioa_cb->ioasa; in pmcraid_error_handler()
2744 ioarcb = &cmd->ioa_cb->ioarcb; in pmcraid_reset_device()
2759 cmd->ioa_cb->ioarcb.cdb[0], in pmcraid_reset_device()
2760 le32_to_cpu(cmd->ioa_cb->ioarcb.resource_handle), in pmcraid_reset_device()
2761 le32_to_cpu(cmd->ioa_cb->ioarcb.response_handle) >> 2); in pmcraid_reset_device()
2781 ioasc = le32_to_cpu(cmd->ioa_cb->ioasa.ioasc); in pmcraid_reset_device()
2811 le32_to_cpu(cmd->ioa_cb->ioarcb.response_handle) >> 2, in _pmcraid_io_done()
2812 cmd->ioa_cb->ioarcb.cdb[0], in _pmcraid_io_done()
2840 u32 ioasc = le32_to_cpu(cmd->ioa_cb->ioasa.ioasc); in pmcraid_io_done()
2841 u32 reslen = le32_to_cpu(cmd->ioa_cb->ioasa.residual_data_length); in pmcraid_io_done()
2872 cmd->ioa_cb->ioarcb.cdb[0], in pmcraid_abort_cmd()
2873 le32_to_cpu(cmd->ioa_cb->ioarcb.response_handle) >> 2); in pmcraid_abort_cmd()
2879 le32_to_cpu(cancel_cmd->ioa_cb->ioarcb.response_handle) >> 2, in pmcraid_abort_cmd()
2880 cancel_cmd->ioa_cb->ioarcb.cdb[0], in pmcraid_abort_cmd()
2881 le32_to_cpu(cancel_cmd->ioa_cb->ioarcb.resource_handle)); in pmcraid_abort_cmd()
2907 ioasc = le32_to_cpu(cancel_cmd->ioa_cb->ioasa.ioasc); in pmcraid_abort_complete()
3139 struct pmcraid_ioarcb *ioarcb = &cmd->ioa_cb->ioarcb; in pmcraid_init_ioadls()
3192 struct pmcraid_ioarcb *ioarcb = &(cmd->ioa_cb->ioarcb); in pmcraid_build_ioadl()
3292 ioarcb = &(cmd->ioa_cb->ioarcb); in pmcraid_queuecommand_lck()
4131 pinstance->cmd_list[i]->ioa_cb, in pmcraid_release_control_blocks()
4133 pinstance->cmd_list[i]->ioa_cb = NULL; in pmcraid_release_control_blocks()
4202 pinstance->cmd_list[i]->ioa_cb = in pmcraid_allocate_control_blocks()
4208 if (!pinstance->cmd_list[i]->ioa_cb) { in pmcraid_allocate_control_blocks()
4901 struct pmcraid_ioarcb *ioarcb = &cmd->ioa_cb->ioarcb; in pmcraid_set_supported_devs()
4943 struct pmcraid_ioarcb *ioarcb = &cmd->ioa_cb->ioarcb; in pmcraid_set_timestamp()
5117 struct pmcraid_ioarcb *ioarcb = &cmd->ioa_cb->ioarcb; in pmcraid_querycfg()