Lines Matching refs:scsi_cmd
204 unsigned char scsi_cmd[MAX_COMMAND_SIZE]; in scsi_unlock_floptical() local
207 scsi_cmd[0] = MODE_SENSE; in scsi_unlock_floptical()
208 scsi_cmd[1] = 0; in scsi_unlock_floptical()
209 scsi_cmd[2] = 0x2e; in scsi_unlock_floptical()
210 scsi_cmd[3] = 0; in scsi_unlock_floptical()
211 scsi_cmd[4] = 0x2a; /* size */ in scsi_unlock_floptical()
212 scsi_cmd[5] = 0; in scsi_unlock_floptical()
213 scsi_execute_cmd(sdev, scsi_cmd, REQ_OP_DRV_IN, result, 0x2a, in scsi_unlock_floptical()
646 unsigned char scsi_cmd[MAX_COMMAND_SIZE]; in scsi_probe_lun() local
672 memset(scsi_cmd, 0, 6); in scsi_probe_lun()
673 scsi_cmd[0] = INQUIRY; in scsi_probe_lun()
674 scsi_cmd[4] = (unsigned char) try_inquiry_len; in scsi_probe_lun()
678 result = scsi_execute_cmd(sdev, scsi_cmd, REQ_OP_DRV_IN, in scsi_probe_lun()
1401 unsigned char scsi_cmd[MAX_COMMAND_SIZE]; in scsi_report_lun_scan() local
1458 scsi_cmd[0] = REPORT_LUNS; in scsi_report_lun_scan()
1463 memset(&scsi_cmd[1], 0, 5); in scsi_report_lun_scan()
1468 put_unaligned_be32(length, &scsi_cmd[6]); in scsi_report_lun_scan()
1470 scsi_cmd[10] = 0; /* reserved */ in scsi_report_lun_scan()
1471 scsi_cmd[11] = 0; /* control */ in scsi_report_lun_scan()
1488 result = scsi_execute_cmd(sdev, scsi_cmd, REQ_OP_DRV_IN, in scsi_report_lun_scan()