tag | line | file | source code |
scd | 2597 | drivers/scsi/advansys.c | Scsi_Device *scd; |
scd | 2665 | drivers/scsi/advansys.c | for (scd = scsi_devices; scd; scd = scd->next) { |
scd | 2666 | drivers/scsi/advansys.c | if (scd->host == shp) { |
scd | 2667 | drivers/scsi/advansys.c | proc_print_scsidevice(scd, cp, &cplen, 0); |
scd | 2818 | drivers/scsi/aha152x.c | Scsi_Device *scd; |
scd | 2913 | drivers/scsi/aha152x.c | scd = scsi_devices; |
scd | 2915 | drivers/scsi/aha152x.c | SPRINTF("Attached devices: %s\n", (scd)?"":"none"); |
scd | 2917 | drivers/scsi/aha152x.c | while (scd) { |
scd | 2918 | drivers/scsi/aha152x.c | if (scd->host == shpnt) { |
scd | 2921 | drivers/scsi/aha152x.c | scd->channel, scd->id, scd->lun); |
scd | 2923 | drivers/scsi/aha152x.c | if (scd->vendor[i] >= 0x20) |
scd | 2924 | drivers/scsi/aha152x.c | SPRINTF("%c", scd->vendor[i]); |
scd | 2930 | drivers/scsi/aha152x.c | if (scd->model[i] >= 0x20) |
scd | 2931 | drivers/scsi/aha152x.c | SPRINTF("%c", scd->model[i]); |
scd | 2937 | drivers/scsi/aha152x.c | if (scd->rev[i] >= 0x20) |
scd | 2938 | drivers/scsi/aha152x.c | SPRINTF("%c", scd->rev[i]); |
scd | 2944 | drivers/scsi/aha152x.c | SPRINTF(" Type: %d ", scd->type); |
scd | 2946 | drivers/scsi/aha152x.c | (scd->scsi_level < 3)?1:2); |
scd | 2948 | drivers/scsi/aha152x.c | if (scd->scsi_level == 2) |
scd | 2953 | drivers/scsi/aha152x.c | scd = scd->next; |
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 | 2434 | drivers/scsi/scsi.c | Scsi_Device *scd; |
scd | 2442 | drivers/scsi/scsi.c | scd = scsi_devices; |
scd | 2446 | drivers/scsi/scsi.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
scd | 2456 | drivers/scsi/scsi.c | scd = scsi_devices; |
scd | 2457 | drivers/scsi/scsi.c | while (scd) { |
scd | 2458 | drivers/scsi/scsi.c | if (scd->host == HBA_ptr) { |
scd | 2459 | drivers/scsi/scsi.c | proc_print_scsidevice(scd, buffer, &size, len); |
scd | 2470 | drivers/scsi/scsi.c | scd = scd->next; |
scd | 2507 | drivers/scsi/scsi.c | while(scd && (scd->host->host_no != parameter[0] |
scd | 2508 | drivers/scsi/scsi.c | || scd->channel != parameter[1] |
scd | 2509 | drivers/scsi/scsi.c | || scd->id != parameter[2] |
scd | 2510 | drivers/scsi/scsi.c | || scd->lun != parameter[3])) { |
scd | 2511 | drivers/scsi/scsi.c | scd = scd->next; |
scd | 2513 | 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) |