tag | line | file | source code |
scsi_cmd | 306 | drivers/scsi/scsi.c | unsigned char scsi_cmd [12]; |
scsi_cmd | 350 | drivers/scsi/scsi.c | scsi_cmd[0] = TEST_UNIT_READY; |
scsi_cmd | 351 | drivers/scsi/scsi.c | scsi_cmd[1] = lun << 5; |
scsi_cmd | 352 | drivers/scsi/scsi.c | scsi_cmd[2] = scsi_cmd[3] = scsi_cmd[4] = scsi_cmd[5] = 0; |
scsi_cmd | 365 | drivers/scsi/scsi.c | scsi_do_cmd (SCpnt, (void *) scsi_cmd, (void *) scsi_result, |
scsi_cmd | 410 | drivers/scsi/scsi.c | scsi_cmd[0] = INQUIRY; |
scsi_cmd | 411 | drivers/scsi/scsi.c | scsi_cmd[1] = (lun << 5) & 0xe0; |
scsi_cmd | 412 | drivers/scsi/scsi.c | scsi_cmd[2] = 0; |
scsi_cmd | 413 | drivers/scsi/scsi.c | scsi_cmd[3] = 0; |
scsi_cmd | 414 | drivers/scsi/scsi.c | scsi_cmd[4] = 255; |
scsi_cmd | 415 | drivers/scsi/scsi.c | scsi_cmd[5] = 0; |
scsi_cmd | 420 | drivers/scsi/scsi.c | scsi_do_cmd (SCpnt, (void *) scsi_cmd, (void *) scsi_result, |
scsi_cmd | 572 | drivers/scsi/scsi.c | scsi_cmd[0] = MODE_SENSE; |
scsi_cmd | 573 | drivers/scsi/scsi.c | scsi_cmd[1] = (lun << 5) & 0xe0; |
scsi_cmd | 574 | drivers/scsi/scsi.c | scsi_cmd[2] = 0x2e; |
scsi_cmd | 575 | drivers/scsi/scsi.c | scsi_cmd[3] = 0; |
scsi_cmd | 576 | drivers/scsi/scsi.c | scsi_cmd[4] = 0x2a; |
scsi_cmd | 577 | drivers/scsi/scsi.c | scsi_cmd[5] = 0; |
scsi_cmd | 582 | drivers/scsi/scsi.c | scsi_do_cmd (SCpnt, (void *) scsi_cmd, |
scsi_cmd | 244 | drivers/scsi/scsi_ioctl.c | char scsi_cmd[12]; |
scsi_cmd | 274 | drivers/scsi/scsi_ioctl.c | scsi_cmd[0] = ALLOW_MEDIUM_REMOVAL; |
scsi_cmd | 275 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
scsi_cmd | 276 | drivers/scsi/scsi_ioctl.c | scsi_cmd[2] = scsi_cmd[3] = scsi_cmd[5] = 0; |
scsi_cmd | 277 | drivers/scsi/scsi_ioctl.c | scsi_cmd[4] = SCSI_REMOVAL_PREVENT; |
scsi_cmd | 278 | drivers/scsi/scsi_ioctl.c | return ioctl_internal_command((Scsi_Device *) dev, scsi_cmd); |
scsi_cmd | 282 | drivers/scsi/scsi_ioctl.c | scsi_cmd[0] = ALLOW_MEDIUM_REMOVAL; |
scsi_cmd | 283 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
scsi_cmd | 284 | drivers/scsi/scsi_ioctl.c | scsi_cmd[2] = scsi_cmd[3] = scsi_cmd[5] = 0; |
scsi_cmd | 285 | drivers/scsi/scsi_ioctl.c | scsi_cmd[4] = SCSI_REMOVAL_ALLOW; |
scsi_cmd | 286 | drivers/scsi/scsi_ioctl.c | return ioctl_internal_command((Scsi_Device *) dev, scsi_cmd); |
scsi_cmd | 288 | drivers/scsi/scsi_ioctl.c | scsi_cmd[0] = TEST_UNIT_READY; |
scsi_cmd | 289 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
scsi_cmd | 290 | drivers/scsi/scsi_ioctl.c | scsi_cmd[2] = scsi_cmd[3] = scsi_cmd[5] = 0; |
scsi_cmd | 291 | drivers/scsi/scsi_ioctl.c | scsi_cmd[4] = 0; |
scsi_cmd | 292 | drivers/scsi/scsi_ioctl.c | return ioctl_internal_command((Scsi_Device *) dev, scsi_cmd); |