Searched refs:srbcmd (Results 1 – 3 of 3) sorted by relevance
482 struct aac_srb *srbcmd = NULL; in aac_send_raw_srb() local635 srbcmd = (struct aac_srb *) fib_data(srbfib); in aac_send_raw_srb()639 srbcmd->function = cpu_to_le32(SRBF_ExecuteScsi); // Force this in aac_send_raw_srb()640 srbcmd->channel = cpu_to_le32(user_srbcmd->channel); in aac_send_raw_srb()641 srbcmd->id = cpu_to_le32(user_srbcmd->id); in aac_send_raw_srb()642 srbcmd->lun = cpu_to_le32(user_srbcmd->lun); in aac_send_raw_srb()643 srbcmd->timeout = cpu_to_le32(user_srbcmd->timeout); in aac_send_raw_srb()644 srbcmd->flags = cpu_to_le32(flags); in aac_send_raw_srb()645 srbcmd->retry_limit = 0; // Obsolete parameter in aac_send_raw_srb()646 srbcmd->cdb_size = cpu_to_le32(user_srbcmd->cdb_size); in aac_send_raw_srb()[all …]
1491 struct aac_srb * srbcmd; in aac_scsi_common() local1512 srbcmd = (struct aac_srb*) fib_data(fib); in aac_scsi_common()1513 srbcmd->function = cpu_to_le32(SRBF_ExecuteScsi); in aac_scsi_common()1514 srbcmd->channel = cpu_to_le32(aac_logical_to_phys(scmd_channel(cmd))); in aac_scsi_common()1515 srbcmd->id = cpu_to_le32(scmd_id(cmd)); in aac_scsi_common()1516 srbcmd->lun = cpu_to_le32(cmd->device->lun); in aac_scsi_common()1517 srbcmd->flags = cpu_to_le32(flag); in aac_scsi_common()1521 srbcmd->timeout = cpu_to_le32(timeout); // timeout in seconds in aac_scsi_common()1522 srbcmd->retry_limit = 0; /* Obsolete parameter */ in aac_scsi_common()1523 srbcmd->cdb_size = cpu_to_le32(cmd->cmd_len); in aac_scsi_common()[all …]
2308 struct aac_srb *srbcmd; in aac_send_wellness_command() local2330 srbcmd = (struct aac_srb *)fib_data(fibptr); in aac_send_wellness_command()2332 srbcmd->function = cpu_to_le32(SRBF_ExecuteScsi); in aac_send_wellness_command()2333 srbcmd->channel = cpu_to_le32(vbus); in aac_send_wellness_command()2334 srbcmd->id = cpu_to_le32(vid); in aac_send_wellness_command()2335 srbcmd->lun = 0; in aac_send_wellness_command()2336 srbcmd->flags = cpu_to_le32(SRB_DataOut); in aac_send_wellness_command()2337 srbcmd->timeout = cpu_to_le32(10); in aac_send_wellness_command()2338 srbcmd->retry_limit = 0; in aac_send_wellness_command()2339 srbcmd->cdb_size = cpu_to_le32(12); in aac_send_wellness_command()[all …]