Searched refs:srbcmd (Results 1 – 3 of 3) sorted by relevance
483 struct aac_srb *srbcmd = NULL; in aac_send_raw_srb() local631 srbcmd = (struct aac_srb *) fib_data(srbfib); in aac_send_raw_srb()635 srbcmd->function = cpu_to_le32(SRBF_ExecuteScsi); // Force this in aac_send_raw_srb()636 srbcmd->channel = cpu_to_le32(user_srbcmd->channel); in aac_send_raw_srb()637 srbcmd->id = cpu_to_le32(user_srbcmd->id); in aac_send_raw_srb()638 srbcmd->lun = cpu_to_le32(user_srbcmd->lun); in aac_send_raw_srb()639 srbcmd->timeout = cpu_to_le32(user_srbcmd->timeout); in aac_send_raw_srb()640 srbcmd->flags = cpu_to_le32(flags); in aac_send_raw_srb()641 srbcmd->retry_limit = 0; // Obsolete parameter in aac_send_raw_srb()642 srbcmd->cdb_size = cpu_to_le32(user_srbcmd->cdb_size); in aac_send_raw_srb()[all …]
1481 struct aac_srb * srbcmd; in aac_scsi_common() local1503 srbcmd = (struct aac_srb*) fib_data(fib); in aac_scsi_common()1504 srbcmd->function = cpu_to_le32(SRBF_ExecuteScsi); in aac_scsi_common()1505 srbcmd->channel = cpu_to_le32(aac_logical_to_phys(scmd_channel(cmd))); in aac_scsi_common()1506 srbcmd->id = cpu_to_le32(scmd_id(cmd)); in aac_scsi_common()1507 srbcmd->lun = cpu_to_le32(cmd->device->lun); in aac_scsi_common()1508 srbcmd->flags = cpu_to_le32(flag); in aac_scsi_common()1512 srbcmd->timeout = cpu_to_le32(timeout); // timeout in seconds in aac_scsi_common()1513 srbcmd->retry_limit = 0; /* Obsolete parameter */ in aac_scsi_common()1514 srbcmd->cdb_size = cpu_to_le32(cmd->cmd_len); in aac_scsi_common()[all …]
2284 struct aac_srb *srbcmd; in aac_send_wellness_command() local2306 srbcmd = (struct aac_srb *)fib_data(fibptr); in aac_send_wellness_command()2308 srbcmd->function = cpu_to_le32(SRBF_ExecuteScsi); in aac_send_wellness_command()2309 srbcmd->channel = cpu_to_le32(vbus); in aac_send_wellness_command()2310 srbcmd->id = cpu_to_le32(vid); in aac_send_wellness_command()2311 srbcmd->lun = 0; in aac_send_wellness_command()2312 srbcmd->flags = cpu_to_le32(SRB_DataOut); in aac_send_wellness_command()2313 srbcmd->timeout = cpu_to_le32(10); in aac_send_wellness_command()2314 srbcmd->retry_limit = 0; in aac_send_wellness_command()2315 srbcmd->cdb_size = cpu_to_le32(12); in aac_send_wellness_command()[all …]