srbcmd 1477 drivers/scsi/aacraid/aachba.c struct aac_srb * srbcmd; srbcmd 1498 drivers/scsi/aacraid/aachba.c srbcmd = (struct aac_srb*) fib_data(fib); srbcmd 1499 drivers/scsi/aacraid/aachba.c srbcmd->function = cpu_to_le32(SRBF_ExecuteScsi); srbcmd 1500 drivers/scsi/aacraid/aachba.c srbcmd->channel = cpu_to_le32(aac_logical_to_phys(scmd_channel(cmd))); srbcmd 1501 drivers/scsi/aacraid/aachba.c srbcmd->id = cpu_to_le32(scmd_id(cmd)); srbcmd 1502 drivers/scsi/aacraid/aachba.c srbcmd->lun = cpu_to_le32(cmd->device->lun); srbcmd 1503 drivers/scsi/aacraid/aachba.c srbcmd->flags = cpu_to_le32(flag); srbcmd 1507 drivers/scsi/aacraid/aachba.c srbcmd->timeout = cpu_to_le32(timeout); // timeout in seconds srbcmd 1508 drivers/scsi/aacraid/aachba.c srbcmd->retry_limit = 0; /* Obsolete parameter */ srbcmd 1509 drivers/scsi/aacraid/aachba.c srbcmd->cdb_size = cpu_to_le32(cmd->cmd_len); srbcmd 1510 drivers/scsi/aacraid/aachba.c return srbcmd; srbcmd 1564 drivers/scsi/aacraid/aachba.c struct aac_srb * srbcmd = aac_scsi_common(fib, cmd); srbcmd 1567 drivers/scsi/aacraid/aachba.c ret = aac_build_sg64(cmd, (struct sgmap64 *) &srbcmd->sg); srbcmd 1570 drivers/scsi/aacraid/aachba.c srbcmd->count = cpu_to_le32(scsi_bufflen(cmd)); srbcmd 1572 drivers/scsi/aacraid/aachba.c memset(srbcmd->cdb, 0, sizeof(srbcmd->cdb)); srbcmd 1573 drivers/scsi/aacraid/aachba.c memcpy(srbcmd->cdb, cmd->cmnd, cmd->cmd_len); srbcmd 1578 drivers/scsi/aacraid/aachba.c ((le32_to_cpu(srbcmd->sg.count) & 0xff) * srbcmd 1595 drivers/scsi/aacraid/aachba.c struct aac_srb * srbcmd = aac_scsi_common(fib, cmd); srbcmd 1598 drivers/scsi/aacraid/aachba.c ret = aac_build_sg(cmd, (struct sgmap *)&srbcmd->sg); srbcmd 1601 drivers/scsi/aacraid/aachba.c srbcmd->count = cpu_to_le32(scsi_bufflen(cmd)); srbcmd 1603 drivers/scsi/aacraid/aachba.c memset(srbcmd->cdb, 0, sizeof(srbcmd->cdb)); srbcmd 1604 drivers/scsi/aacraid/aachba.c memcpy(srbcmd->cdb, cmd->cmnd, cmd->cmd_len); srbcmd 1609 drivers/scsi/aacraid/aachba.c (((le32_to_cpu(srbcmd->sg.count) & 0xff) - 1) * srbcmd 1767 drivers/scsi/aacraid/aachba.c struct aac_srb *srbcmd; srbcmd 1777 drivers/scsi/aacraid/aachba.c srbcmd = &srbu.srb; srbcmd 1778 drivers/scsi/aacraid/aachba.c srbcmd->flags = cpu_to_le32(SRB_DataIn); srbcmd 1779 drivers/scsi/aacraid/aachba.c srbcmd->cdb[0] = 0x26; srbcmd 1780 drivers/scsi/aacraid/aachba.c srbcmd->cdb[2] = (u8)((AAC_MAX_LUN + target) & 0x00FF); srbcmd 1781 drivers/scsi/aacraid/aachba.c srbcmd->cdb[6] = CISS_IDENTIFY_PHYSICAL_DEVICE; srbcmd 1813 drivers/scsi/aacraid/aachba.c struct aac_srb *srbcmd; srbcmd 1825 drivers/scsi/aacraid/aachba.c srbcmd = &srbu.srb; srbcmd 1826 drivers/scsi/aacraid/aachba.c srbcmd->flags = cpu_to_le32(SRB_DataIn); srbcmd 1827 drivers/scsi/aacraid/aachba.c srbcmd->cdb[0] = CISS_REPORT_PHYSICAL_LUNS; srbcmd 1828 drivers/scsi/aacraid/aachba.c srbcmd->cdb[1] = 2; /* extended reporting */ srbcmd 1829 drivers/scsi/aacraid/aachba.c srbcmd->cdb[8] = (u8)(datasize >> 8); srbcmd 1830 drivers/scsi/aacraid/aachba.c srbcmd->cdb[9] = (u8)(datasize); srbcmd 467 drivers/scsi/aacraid/commctrl.c struct aac_srb *srbcmd = NULL; srbcmd 620 drivers/scsi/aacraid/commctrl.c srbcmd = (struct aac_srb *) fib_data(srbfib); srbcmd 624 drivers/scsi/aacraid/commctrl.c srbcmd->function = cpu_to_le32(SRBF_ExecuteScsi); // Force this srbcmd 625 drivers/scsi/aacraid/commctrl.c srbcmd->channel = cpu_to_le32(user_srbcmd->channel); srbcmd 626 drivers/scsi/aacraid/commctrl.c srbcmd->id = cpu_to_le32(user_srbcmd->id); srbcmd 627 drivers/scsi/aacraid/commctrl.c srbcmd->lun = cpu_to_le32(user_srbcmd->lun); srbcmd 628 drivers/scsi/aacraid/commctrl.c srbcmd->timeout = cpu_to_le32(user_srbcmd->timeout); srbcmd 629 drivers/scsi/aacraid/commctrl.c srbcmd->flags = cpu_to_le32(flags); srbcmd 630 drivers/scsi/aacraid/commctrl.c srbcmd->retry_limit = 0; // Obsolete parameter srbcmd 631 drivers/scsi/aacraid/commctrl.c srbcmd->cdb_size = cpu_to_le32(user_srbcmd->cdb_size); srbcmd 632 drivers/scsi/aacraid/commctrl.c memcpy(srbcmd->cdb, user_srbcmd->cdb, sizeof(srbcmd->cdb)); srbcmd 700 drivers/scsi/aacraid/commctrl.c struct sgmap64* psg = (struct sgmap64*)&srbcmd->sg; srbcmd 808 drivers/scsi/aacraid/commctrl.c srbcmd->count = cpu_to_le32(byte_count); srbcmd 816 drivers/scsi/aacraid/commctrl.c struct sgmap* psg = &srbcmd->sg; srbcmd 901 drivers/scsi/aacraid/commctrl.c srbcmd->count = cpu_to_le32(byte_count); srbcmd 2295 drivers/scsi/aacraid/commsup.c struct aac_srb *srbcmd; srbcmd 2317 drivers/scsi/aacraid/commsup.c srbcmd = (struct aac_srb *)fib_data(fibptr); srbcmd 2319 drivers/scsi/aacraid/commsup.c srbcmd->function = cpu_to_le32(SRBF_ExecuteScsi); srbcmd 2320 drivers/scsi/aacraid/commsup.c srbcmd->channel = cpu_to_le32(vbus); srbcmd 2321 drivers/scsi/aacraid/commsup.c srbcmd->id = cpu_to_le32(vid); srbcmd 2322 drivers/scsi/aacraid/commsup.c srbcmd->lun = 0; srbcmd 2323 drivers/scsi/aacraid/commsup.c srbcmd->flags = cpu_to_le32(SRB_DataOut); srbcmd 2324 drivers/scsi/aacraid/commsup.c srbcmd->timeout = cpu_to_le32(10); srbcmd 2325 drivers/scsi/aacraid/commsup.c srbcmd->retry_limit = 0; srbcmd 2326 drivers/scsi/aacraid/commsup.c srbcmd->cdb_size = cpu_to_le32(12); srbcmd 2327 drivers/scsi/aacraid/commsup.c srbcmd->count = cpu_to_le32(datasize); srbcmd 2329 drivers/scsi/aacraid/commsup.c memset(srbcmd->cdb, 0, sizeof(srbcmd->cdb)); srbcmd 2330 drivers/scsi/aacraid/commsup.c srbcmd->cdb[0] = BMIC_OUT; srbcmd 2331 drivers/scsi/aacraid/commsup.c srbcmd->cdb[6] = WRITE_HOST_WELLNESS; srbcmd 2334 drivers/scsi/aacraid/commsup.c sg64 = (struct sgmap64 *)&srbcmd->sg;