Lines Matching refs:scsi_cmd
183 unsigned char scsi_cmd[MAX_COMMAND_SIZE]; in scsi_unlock_floptical() local
186 scsi_cmd[0] = MODE_SENSE; in scsi_unlock_floptical()
187 scsi_cmd[1] = 0; in scsi_unlock_floptical()
188 scsi_cmd[2] = 0x2e; in scsi_unlock_floptical()
189 scsi_cmd[3] = 0; in scsi_unlock_floptical()
190 scsi_cmd[4] = 0x2a; /* size */ in scsi_unlock_floptical()
191 scsi_cmd[5] = 0; in scsi_unlock_floptical()
192 scsi_execute_req(sdev, scsi_cmd, DMA_FROM_DEVICE, result, 0x2a, NULL, in scsi_unlock_floptical()
563 unsigned char scsi_cmd[MAX_COMMAND_SIZE]; in scsi_probe_lun() local
587 memset(scsi_cmd, 0, 6); in scsi_probe_lun()
588 scsi_cmd[0] = INQUIRY; in scsi_probe_lun()
589 scsi_cmd[4] = (unsigned char) try_inquiry_len; in scsi_probe_lun()
593 result = scsi_execute_req(sdev, scsi_cmd, DMA_FROM_DEVICE, in scsi_probe_lun()
1300 unsigned char scsi_cmd[MAX_COMMAND_SIZE]; in scsi_report_lun_scan() local
1358 scsi_cmd[0] = REPORT_LUNS; in scsi_report_lun_scan()
1363 memset(&scsi_cmd[1], 0, 5); in scsi_report_lun_scan()
1368 put_unaligned_be32(length, &scsi_cmd[6]); in scsi_report_lun_scan()
1370 scsi_cmd[10] = 0; /* reserved */ in scsi_report_lun_scan()
1371 scsi_cmd[11] = 0; /* control */ in scsi_report_lun_scan()
1388 result = scsi_execute_req(sdev, scsi_cmd, DMA_FROM_DEVICE, in scsi_report_lun_scan()