tag | line | file | source code |
SDp | 1336 | drivers/scsi/sd.c | static int sd_detect(Scsi_Device * SDp){ |
SDp | 1337 | drivers/scsi/sd.c | if(SDp->type != TYPE_DISK && SDp->type != TYPE_MOD) return 0; |
SDp | 1341 | drivers/scsi/sd.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
SDp | 1346 | drivers/scsi/sd.c | static int sd_attach(Scsi_Device * SDp){ |
SDp | 1350 | drivers/scsi/sd.c | if(SDp->type != TYPE_DISK && SDp->type != TYPE_MOD) return 0; |
SDp | 1353 | drivers/scsi/sd.c | SDp->attached--; |
SDp | 1362 | drivers/scsi/sd.c | SDp->scsi_request_fn = do_sd_request; |
SDp | 1363 | drivers/scsi/sd.c | rscsi_disks[i].device = SDp; |
SDp | 1438 | drivers/scsi/sd.c | static void sd_detach(Scsi_Device * SDp) |
SDp | 1446 | drivers/scsi/sd.c | if(dpnt->device == SDp) { |
SDp | 1467 | drivers/scsi/sd.c | SDp->attached--; |
SDp | 500 | drivers/scsi/sg.c | static int sg_detect(Scsi_Device * SDp){ |
SDp | 502 | drivers/scsi/sg.c | switch (SDp->type) { |
SDp | 511 | drivers/scsi/sg.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
SDp | 555 | drivers/scsi/sg.c | static int sg_attach(Scsi_Device * SDp) |
SDp | 562 | drivers/scsi/sg.c | SDp->attached--; |
SDp | 571 | drivers/scsi/sg.c | scsi_generics[i].device=SDp; |
SDp | 586 | drivers/scsi/sg.c | static void sg_detach(Scsi_Device * SDp) |
SDp | 592 | drivers/scsi/sg.c | if(gpnt->device == SDp) { |
SDp | 594 | drivers/scsi/sg.c | SDp->attached--; |
SDp | 930 | drivers/scsi/sr.c | static int sr_detect(Scsi_Device * SDp){ |
SDp | 932 | drivers/scsi/sr.c | if(SDp->type != TYPE_ROM && SDp->type != TYPE_WORM) return 0; |
SDp | 936 | drivers/scsi/sr.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
SDp | 941 | drivers/scsi/sr.c | static int sr_attach(Scsi_Device * SDp){ |
SDp | 945 | drivers/scsi/sr.c | if(SDp->type != TYPE_ROM && SDp->type != TYPE_WORM) return 1; |
SDp | 949 | drivers/scsi/sr.c | SDp->attached--; |
SDp | 958 | drivers/scsi/sr.c | SDp->scsi_request_fn = do_sr_request; |
SDp | 959 | drivers/scsi/sr.c | scsi_CDs[i].device = SDp; |
SDp | 1127 | drivers/scsi/sr.c | static void sr_detach(Scsi_Device * SDp) |
SDp | 1133 | drivers/scsi/sr.c | if(cpnt->device == SDp) { |
SDp | 1149 | drivers/scsi/sr.c | SDp->attached--; |
SDp | 2820 | drivers/scsi/st.c | static int st_attach(Scsi_Device * SDp){ |
SDp | 2826 | drivers/scsi/st.c | if(SDp->type != TYPE_TAPE) return 1; |
SDp | 2830 | drivers/scsi/st.c | SDp->attached--; |
SDp | 2839 | drivers/scsi/st.c | scsi_tapes[i].device = SDp; |
SDp | 2840 | drivers/scsi/st.c | if (SDp->scsi_level <= 2) |
SDp | 2851 | drivers/scsi/st.c | tpnt->restr_dma = (SDp->host)->unchecked_isa_dma; |
SDp | 2897 | drivers/scsi/st.c | static int st_detect(Scsi_Device * SDp) |
SDp | 2899 | drivers/scsi/st.c | if(SDp->type != TYPE_TAPE) return 0; |
SDp | 2904 | drivers/scsi/st.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
SDp | 3005 | drivers/scsi/st.c | static void st_detach(Scsi_Device * SDp) |
SDp | 3011 | drivers/scsi/st.c | if(tpnt->device == SDp) { |
SDp | 3013 | drivers/scsi/st.c | SDp->attached--; |