Lines Matching refs:scsi_cmd
166 u8 scsi_cmd[MAX_COMMAND_SIZE]; in drivetemp_scsi_command() local
169 memset(scsi_cmd, 0, sizeof(scsi_cmd)); in drivetemp_scsi_command()
170 scsi_cmd[0] = ATA_16; in drivetemp_scsi_command()
172 scsi_cmd[1] = (5 << 1); /* PIO Data-out */ in drivetemp_scsi_command()
177 scsi_cmd[2] = 0x06; in drivetemp_scsi_command()
180 scsi_cmd[1] = (4 << 1); /* PIO Data-in */ in drivetemp_scsi_command()
185 scsi_cmd[2] = 0x0e; in drivetemp_scsi_command()
188 scsi_cmd[4] = feature; in drivetemp_scsi_command()
189 scsi_cmd[6] = 1; /* 1 sector */ in drivetemp_scsi_command()
190 scsi_cmd[8] = lba_low; in drivetemp_scsi_command()
191 scsi_cmd[10] = lba_mid; in drivetemp_scsi_command()
192 scsi_cmd[12] = lba_high; in drivetemp_scsi_command()
193 scsi_cmd[14] = ata_command; in drivetemp_scsi_command()
195 return scsi_execute_req(st->sdev, scsi_cmd, data_dir, in drivetemp_scsi_command()