tag | line | file | source code |
scsi_cmd | 521 | drivers/scsi/scsi.c | unsigned char scsi_cmd[12]; |
scsi_cmd | 548 | drivers/scsi/scsi.c | scsi_cmd[0] = TEST_UNIT_READY; |
scsi_cmd | 549 | drivers/scsi/scsi.c | scsi_cmd[1] = lun << 5; |
scsi_cmd | 550 | drivers/scsi/scsi.c | scsi_cmd[2] = scsi_cmd[3] = scsi_cmd[4] = scsi_cmd[5] = 0; |
scsi_cmd | 561 | drivers/scsi/scsi.c | scsi_do_cmd (SCpnt, (void *) scsi_cmd, |
scsi_cmd | 593 | drivers/scsi/scsi.c | scsi_cmd[0] = INQUIRY; |
scsi_cmd | 594 | drivers/scsi/scsi.c | scsi_cmd[1] = (lun << 5) & 0xe0; |
scsi_cmd | 595 | drivers/scsi/scsi.c | scsi_cmd[2] = 0; |
scsi_cmd | 596 | drivers/scsi/scsi.c | scsi_cmd[3] = 0; |
scsi_cmd | 597 | drivers/scsi/scsi.c | scsi_cmd[4] = 255; |
scsi_cmd | 598 | drivers/scsi/scsi.c | scsi_cmd[5] = 0; |
scsi_cmd | 604 | drivers/scsi/scsi.c | scsi_do_cmd (SCpnt, (void *) scsi_cmd, |
scsi_cmd | 742 | drivers/scsi/scsi.c | scsi_cmd[0] = MODE_SENSE; |
scsi_cmd | 743 | drivers/scsi/scsi.c | scsi_cmd[1] = (lun << 5) & 0xe0; |
scsi_cmd | 744 | drivers/scsi/scsi.c | scsi_cmd[2] = 0x2e; |
scsi_cmd | 745 | drivers/scsi/scsi.c | scsi_cmd[3] = 0; |
scsi_cmd | 746 | drivers/scsi/scsi.c | scsi_cmd[4] = 0x2a; |
scsi_cmd | 747 | drivers/scsi/scsi.c | scsi_cmd[5] = 0; |
scsi_cmd | 753 | drivers/scsi/scsi.c | scsi_do_cmd (SCpnt, (void *) scsi_cmd, |
scsi_cmd | 307 | drivers/scsi/scsi_ioctl.c | char scsi_cmd[12]; |
scsi_cmd | 343 | drivers/scsi/scsi_ioctl.c | scsi_cmd[0] = ALLOW_MEDIUM_REMOVAL; |
scsi_cmd | 344 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
scsi_cmd | 345 | drivers/scsi/scsi_ioctl.c | scsi_cmd[2] = scsi_cmd[3] = scsi_cmd[5] = 0; |
scsi_cmd | 346 | drivers/scsi/scsi_ioctl.c | scsi_cmd[4] = SCSI_REMOVAL_PREVENT; |
scsi_cmd | 347 | drivers/scsi/scsi_ioctl.c | return ioctl_internal_command((Scsi_Device *) dev, scsi_cmd); |
scsi_cmd | 351 | drivers/scsi/scsi_ioctl.c | scsi_cmd[0] = ALLOW_MEDIUM_REMOVAL; |
scsi_cmd | 352 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
scsi_cmd | 353 | drivers/scsi/scsi_ioctl.c | scsi_cmd[2] = scsi_cmd[3] = scsi_cmd[5] = 0; |
scsi_cmd | 354 | drivers/scsi/scsi_ioctl.c | scsi_cmd[4] = SCSI_REMOVAL_ALLOW; |
scsi_cmd | 355 | drivers/scsi/scsi_ioctl.c | return ioctl_internal_command((Scsi_Device *) dev, scsi_cmd); |
scsi_cmd | 357 | drivers/scsi/scsi_ioctl.c | scsi_cmd[0] = TEST_UNIT_READY; |
scsi_cmd | 358 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
scsi_cmd | 359 | drivers/scsi/scsi_ioctl.c | scsi_cmd[2] = scsi_cmd[3] = scsi_cmd[5] = 0; |
scsi_cmd | 360 | drivers/scsi/scsi_ioctl.c | scsi_cmd[4] = 0; |
scsi_cmd | 361 | drivers/scsi/scsi_ioctl.c | return ioctl_internal_command((Scsi_Device *) dev, scsi_cmd); |