tag | line | file | source code |
scsi_cmd | 190 | drivers/scsi/scsi.c | unsigned char scsi_cmd [12]; |
scsi_cmd | 227 | drivers/scsi/scsi.c | scsi_cmd[0] = TEST_UNIT_READY; |
scsi_cmd | 228 | drivers/scsi/scsi.c | scsi_cmd[1] = lun << 5; |
scsi_cmd | 229 | drivers/scsi/scsi.c | scsi_cmd[2] = scsi_cmd[3] = scsi_cmd[5] = 0; |
scsi_cmd | 230 | drivers/scsi/scsi.c | scsi_cmd[4] = 0; |
scsi_cmd | 244 | drivers/scsi/scsi.c | (void *) scsi_cmd, (void *) |
scsi_cmd | 276 | drivers/scsi/scsi.c | scsi_cmd[0] = INQUIRY; |
scsi_cmd | 277 | drivers/scsi/scsi.c | scsi_cmd[1] = (lun << 5) & 0xe0; |
scsi_cmd | 278 | drivers/scsi/scsi.c | scsi_cmd[2] = 0; |
scsi_cmd | 279 | drivers/scsi/scsi.c | scsi_cmd[3] = 0; |
scsi_cmd | 280 | drivers/scsi/scsi.c | scsi_cmd[4] = 255; |
scsi_cmd | 281 | drivers/scsi/scsi.c | scsi_cmd[5] = 0; |
scsi_cmd | 286 | drivers/scsi/scsi.c | (void *) scsi_cmd, (void *) |
scsi_cmd | 431 | drivers/scsi/scsi.c | scsi_cmd[0] = MODE_SENSE; |
scsi_cmd | 432 | drivers/scsi/scsi.c | scsi_cmd[1] = (lun << 5) & 0xe0; |
scsi_cmd | 433 | drivers/scsi/scsi.c | scsi_cmd[2] = 0x2e; |
scsi_cmd | 434 | drivers/scsi/scsi.c | scsi_cmd[3] = 0; |
scsi_cmd | 435 | drivers/scsi/scsi.c | scsi_cmd[4] = 0x2a; |
scsi_cmd | 436 | drivers/scsi/scsi.c | scsi_cmd[5] = 0; |
scsi_cmd | 441 | drivers/scsi/scsi.c | (void *) scsi_cmd, (void *) |
scsi_cmd | 235 | drivers/scsi/scsi_ioctl.c | char scsi_cmd[12]; |
scsi_cmd | 265 | drivers/scsi/scsi_ioctl.c | scsi_cmd[0] = ALLOW_MEDIUM_REMOVAL; |
scsi_cmd | 266 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
scsi_cmd | 267 | drivers/scsi/scsi_ioctl.c | scsi_cmd[2] = scsi_cmd[3] = scsi_cmd[5] = 0; |
scsi_cmd | 268 | drivers/scsi/scsi_ioctl.c | scsi_cmd[4] = SCSI_REMOVAL_PREVENT; |
scsi_cmd | 269 | drivers/scsi/scsi_ioctl.c | return ioctl_internal_command((Scsi_Device *) dev, scsi_cmd); |
scsi_cmd | 273 | drivers/scsi/scsi_ioctl.c | scsi_cmd[0] = ALLOW_MEDIUM_REMOVAL; |
scsi_cmd | 274 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
scsi_cmd | 275 | drivers/scsi/scsi_ioctl.c | scsi_cmd[2] = scsi_cmd[3] = scsi_cmd[5] = 0; |
scsi_cmd | 276 | drivers/scsi/scsi_ioctl.c | scsi_cmd[4] = SCSI_REMOVAL_ALLOW; |
scsi_cmd | 277 | drivers/scsi/scsi_ioctl.c | return ioctl_internal_command((Scsi_Device *) dev, scsi_cmd); |
scsi_cmd | 279 | drivers/scsi/scsi_ioctl.c | scsi_cmd[0] = TEST_UNIT_READY; |
scsi_cmd | 280 | drivers/scsi/scsi_ioctl.c | scsi_cmd[1] = dev->lun << 5; |
scsi_cmd | 281 | drivers/scsi/scsi_ioctl.c | scsi_cmd[2] = scsi_cmd[3] = scsi_cmd[5] = 0; |
scsi_cmd | 282 | drivers/scsi/scsi_ioctl.c | scsi_cmd[4] = 0; |
scsi_cmd | 283 | drivers/scsi/scsi_ioctl.c | return ioctl_internal_command((Scsi_Device *) dev, scsi_cmd); |