tag | line | file | source code |
SDp | 1107 | drivers/scsi/sd.c | static int sd_detect(Scsi_Device * SDp){ |
SDp | 1110 | drivers/scsi/sd.c | if(SDp->type != TYPE_DISK && SDp->type != TYPE_MOD) return 0; |
SDp | 1114 | drivers/scsi/sd.c | SDp->host->host_no , SDp->id, SDp->lun); |
SDp | 1120 | drivers/scsi/sd.c | static void sd_attach(Scsi_Device * SDp){ |
SDp | 1126 | drivers/scsi/sd.c | if(SDp->type != TYPE_DISK && SDp->type != TYPE_MOD) return; |
SDp | 1136 | drivers/scsi/sd.c | SDp->scsi_request_fn = do_sd_request; |
SDp | 1137 | drivers/scsi/sd.c | rscsi_disks[i].device = SDp; |
SDp | 336 | drivers/scsi/sg.c | static int sg_detect(Scsi_Device * SDp){ |
SDp | 378 | drivers/scsi/sg.c | static void sg_attach(Scsi_Device * SDp) |
SDp | 394 | drivers/scsi/sg.c | scsi_generics[i].device=SDp; |
SDp | 794 | drivers/scsi/sr.c | static int sr_detect(Scsi_Device * SDp){ |
SDp | 798 | drivers/scsi/sr.c | if(SDp->type != TYPE_ROM && SDp->type != TYPE_WORM) return 0; |
SDp | 802 | drivers/scsi/sr.c | SDp->host->host_no , SDp->id, SDp->lun); |
SDp | 807 | drivers/scsi/sr.c | static void sr_attach(Scsi_Device * SDp){ |
SDp | 814 | drivers/scsi/sr.c | if(SDp->type != TYPE_ROM && SDp->type != TYPE_WORM) return; |
SDp | 824 | drivers/scsi/sr.c | SDp->scsi_request_fn = do_sr_request; |
SDp | 825 | drivers/scsi/sr.c | scsi_CDs[i].device = SDp; |
SDp | 1826 | drivers/scsi/st.c | static void st_attach(Scsi_Device * SDp){ |
SDp | 1832 | drivers/scsi/st.c | if(SDp->type != TYPE_TAPE) return; |
SDp | 1842 | drivers/scsi/st.c | scsi_tapes[i].device = SDp; |
SDp | 1846 | drivers/scsi/st.c | static int st_detect(Scsi_Device * SDp){ |
SDp | 1850 | drivers/scsi/st.c | if(SDp->type != TYPE_TAPE) return 0; |
SDp | 1854 | drivers/scsi/st.c | SDp->host->host_no , SDp->id, SDp->lun); |
SDp | 1864 | drivers/scsi/st.c | Scsi_Device * SDp; |
SDp | 1889 | drivers/scsi/st.c | for (i=0, SDp = scsi_devices; i < st_template.dev_noticed; ++i) { |
SDp | 1911 | drivers/scsi/st.c | for (; SDp; SDp = SDp->next) |
SDp | 1912 | drivers/scsi/st.c | if (SDp->type == TYPE_TAPE) |
SDp | 1914 | drivers/scsi/st.c | if (!SDp) |
SDp | 1917 | drivers/scsi/st.c | if (SDp->scsi_level <= 2) |
SDp | 1922 | drivers/scsi/st.c | SDp = SDp->next; |