Searched refs:srbcmd (Results 1 – 3 of 3) sorted by relevance
467 struct aac_srb *srbcmd = NULL; in aac_send_raw_srb() local620 srbcmd = (struct aac_srb *) fib_data(srbfib); in aac_send_raw_srb()624 srbcmd->function = cpu_to_le32(SRBF_ExecuteScsi); // Force this in aac_send_raw_srb()625 srbcmd->channel = cpu_to_le32(user_srbcmd->channel); in aac_send_raw_srb()626 srbcmd->id = cpu_to_le32(user_srbcmd->id); in aac_send_raw_srb()627 srbcmd->lun = cpu_to_le32(user_srbcmd->lun); in aac_send_raw_srb()628 srbcmd->timeout = cpu_to_le32(user_srbcmd->timeout); in aac_send_raw_srb()629 srbcmd->flags = cpu_to_le32(flags); in aac_send_raw_srb()630 srbcmd->retry_limit = 0; // Obsolete parameter in aac_send_raw_srb()631 srbcmd->cdb_size = cpu_to_le32(user_srbcmd->cdb_size); in aac_send_raw_srb()[all …]
1477 struct aac_srb * srbcmd; in aac_scsi_common() local1498 srbcmd = (struct aac_srb*) fib_data(fib); in aac_scsi_common()1499 srbcmd->function = cpu_to_le32(SRBF_ExecuteScsi); in aac_scsi_common()1500 srbcmd->channel = cpu_to_le32(aac_logical_to_phys(scmd_channel(cmd))); in aac_scsi_common()1501 srbcmd->id = cpu_to_le32(scmd_id(cmd)); in aac_scsi_common()1502 srbcmd->lun = cpu_to_le32(cmd->device->lun); in aac_scsi_common()1503 srbcmd->flags = cpu_to_le32(flag); in aac_scsi_common()1507 srbcmd->timeout = cpu_to_le32(timeout); // timeout in seconds in aac_scsi_common()1508 srbcmd->retry_limit = 0; /* Obsolete parameter */ in aac_scsi_common()1509 srbcmd->cdb_size = cpu_to_le32(cmd->cmd_len); in aac_scsi_common()[all …]
2295 struct aac_srb *srbcmd; in aac_send_wellness_command() local2317 srbcmd = (struct aac_srb *)fib_data(fibptr); in aac_send_wellness_command()2319 srbcmd->function = cpu_to_le32(SRBF_ExecuteScsi); in aac_send_wellness_command()2320 srbcmd->channel = cpu_to_le32(vbus); in aac_send_wellness_command()2321 srbcmd->id = cpu_to_le32(vid); in aac_send_wellness_command()2322 srbcmd->lun = 0; in aac_send_wellness_command()2323 srbcmd->flags = cpu_to_le32(SRB_DataOut); in aac_send_wellness_command()2324 srbcmd->timeout = cpu_to_le32(10); in aac_send_wellness_command()2325 srbcmd->retry_limit = 0; in aac_send_wellness_command()2326 srbcmd->cdb_size = cpu_to_le32(12); in aac_send_wellness_command()[all …]