tag | line | file | source code |
scd | 71 | drivers/scsi/eata_dma_proc.c | Scsi_Device *scd, SDev; |
scd | 93 | drivers/scsi/eata_dma_proc.c | scd = NULL; |
scd | 438 | drivers/scsi/eata_dma_proc.c | scd = scsi_devices; |
scd | 440 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
scd | 444 | drivers/scsi/eata_dma_proc.c | while (scd) { |
scd | 445 | drivers/scsi/eata_dma_proc.c | if (scd->host == HBA_ptr) { |
scd | 446 | drivers/scsi/eata_dma_proc.c | proc_print_scsidevice(scd, buffer, &size, len); |
scd | 457 | drivers/scsi/eata_dma_proc.c | scd = scd->next; |
scd | 44 | drivers/scsi/eata_pio_proc.c | Scsi_Device *scd; |
scd | 100 | drivers/scsi/eata_pio_proc.c | scd = scsi_devices; |
scd | 102 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
scd | 106 | drivers/scsi/eata_pio_proc.c | while (scd) { |
scd | 107 | drivers/scsi/eata_pio_proc.c | if (scd->host == HBA_ptr) { |
scd | 108 | drivers/scsi/eata_pio_proc.c | proc_print_scsidevice(scd, buffer, &size, len); |
scd | 119 | drivers/scsi/eata_pio_proc.c | scd = scd->next; |
scd | 2412 | drivers/scsi/scsi.c | Scsi_Device *scd; |
scd | 2420 | drivers/scsi/scsi.c | scd = scsi_devices; |
scd | 2424 | drivers/scsi/scsi.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
scd | 2434 | drivers/scsi/scsi.c | scd = scsi_devices; |
scd | 2435 | drivers/scsi/scsi.c | while (scd) { |
scd | 2436 | drivers/scsi/scsi.c | if (scd->host == HBA_ptr) { |
scd | 2437 | drivers/scsi/scsi.c | proc_print_scsidevice(scd, buffer, &size, len); |
scd | 2448 | drivers/scsi/scsi.c | scd = scd->next; |
scd | 2472 | drivers/scsi/scsi.c | while(scd && scd->host->host_no != parameter[0] |
scd | 2473 | drivers/scsi/scsi.c | && scd->channel != parameter[1] |
scd | 2474 | drivers/scsi/scsi.c | && scd->id != parameter[2] |
scd | 2475 | drivers/scsi/scsi.c | && scd->lun != parameter[3]) { |
scd | 2476 | drivers/scsi/scsi.c | scd = scd->next; |
scd | 2478 | drivers/scsi/scsi.c | if(scd) |
scd | 257 | drivers/scsi/scsi_proc.c | void proc_print_scsidevice(Scsi_Device *scd, char *buffer, int *size, int len) |
scd | 263 | drivers/scsi/scsi_proc.c | scd->host->host_no, scd->channel, scd->id, scd->lun); |
scd | 265 | drivers/scsi/scsi_proc.c | if (scd->vendor[x] >= 0x20) |
scd | 266 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "%c", scd->vendor[x]); |
scd | 272 | drivers/scsi/scsi_proc.c | if (scd->model[x] >= 0x20) |
scd | 273 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "%c", scd->model[x]); |
scd | 279 | drivers/scsi/scsi_proc.c | if (scd->rev[x] >= 0x20) |
scd | 280 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "%c", scd->rev[x]); |
scd | 287 | drivers/scsi/scsi_proc.c | scd->type < MAX_SCSI_DEVICE_CODE ? |
scd | 288 | drivers/scsi/scsi_proc.c | scsi_dev_types[(int)scd->type] : "Unknown " ); |
scd | 290 | drivers/scsi/scsi_proc.c | " SCSI revision: %02x", (scd->scsi_level < 3)?1:2); |
scd | 291 | drivers/scsi/scsi_proc.c | if (scd->scsi_level == 2) |