tag | line | file | source code |
device | 29 | include/linux/fd.h | unsigned int device,head,track; |
device | 68 | kernel/blk_drv/blk.h | #define DEVICE_NR(device) ((device) & 7) |
device | 69 | kernel/blk_drv/blk.h | #define DEVICE_ON(device) |
device | 70 | kernel/blk_drv/blk.h | #define DEVICE_OFF(device) |
device | 77 | kernel/blk_drv/blk.h | #define DEVICE_NR(device) ((device) & 3) |
device | 78 | kernel/blk_drv/blk.h | #define DEVICE_ON(device) floppy_on(DEVICE_NR(device)) |
device | 79 | kernel/blk_drv/blk.h | #define DEVICE_OFF(device) floppy_off(DEVICE_NR(device)) |
device | 88 | kernel/blk_drv/blk.h | #define DEVICE_NR(device) (MINOR(device)>>6) |
device | 89 | kernel/blk_drv/blk.h | #define DEVICE_ON(device) |
device | 90 | kernel/blk_drv/blk.h | #define DEVICE_OFF(device) |
device | 97 | kernel/blk_drv/blk.h | #define DEVICE_NR(device) (MINOR(device) >> 4) |
device | 98 | kernel/blk_drv/blk.h | #define DEVICE_ON(device) |
device | 99 | kernel/blk_drv/blk.h | #define DEVICE_OFF(device) |
device | 106 | kernel/blk_drv/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
device | 107 | kernel/blk_drv/blk.h | #define DEVICE_ON(device) |
device | 108 | kernel/blk_drv/blk.h | #define DEVICE_OFF(device) |
device | 191 | kernel/blk_drv/floppy.c | #define CURRENT_DEVICE (format_status == FORMAT_BUSY ? format_req.device : \ |
device | 725 | kernel/blk_drv/floppy.c | int device; |
device | 746 | kernel/blk_drv/floppy.c | device = MINOR(CURRENT_DEVICE); |
device | 747 | kernel/blk_drv/floppy.c | if (device > 3) |
device | 748 | kernel/blk_drv/floppy.c | floppy = (device >> 2) + floppy_type; |
device | 750 | kernel/blk_drv/floppy.c | if ((floppy = current_type[device & 3]) == NULL) { |
device | 752 | kernel/blk_drv/floppy.c | if ((floppy = base_type[device & 3]) == |
device | 785 | kernel/blk_drv/floppy.c | if (current_drive != (format_req.device & 3)) |
device | 787 | kernel/blk_drv/floppy.c | current_drive = format_req.device & 3; |
device | 862 | kernel/blk_drv/floppy.c | format_req.device = drive; |
device | 202 | kernel/blk_drv/scsi/scsi.c | scsi_tapes[NR_ST].device = &scsi_devices[NR_SCSI_DEVICES]; |
device | 208 | kernel/blk_drv/scsi/scsi.c | rscsi_disks[NR_SD].device = &scsi_devices[NR_SCSI_DEVICES]; |
device | 142 | kernel/blk_drv/scsi/sd.c | rscsi_disks[DEVICE_NR(CURRENT->dev)].device->host_no, |
device | 143 | kernel/blk_drv/scsi/sd.c | rscsi_disks[DEVICE_NR(CURRENT->dev)].device->id, |
device | 144 | kernel/blk_drv/scsi/sd.c | rscsi_disks[DEVICE_NR(CURRENT->dev)].device->lun); |
device | 199 | kernel/blk_drv/scsi/sd.c | if (!rscsi_disks[dev].device->writeable) |
device | 269 | kernel/blk_drv/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
device | 274 | kernel/blk_drv/scsi/sd.c | rscsi_disks[i].device->host_no, rscsi_disks[i].device->id); |
device | 276 | kernel/blk_drv/scsi/sd.c | scsi_do_cmd (rscsi_disks[i].device->host_no , |
device | 277 | kernel/blk_drv/scsi/sd.c | rscsi_disks[i].device->id, |
device | 301 | kernel/blk_drv/scsi/sd.c | rscsi_disks[i].device->host_no, rscsi_disks[i].device->id, |
device | 302 | kernel/blk_drv/scsi/sd.c | rscsi_disks[i].device->lun, |
device | 348 | kernel/blk_drv/scsi/sd.c | scsi_do_cmd (rscsi_disks[i].device->host_no , rscsi_disks[i].device->id, |
device | 41 | kernel/blk_drv/scsi/sd.h | Scsi_Device *device; |
device | 54 | kernel/blk_drv/scsi/sd.h | #define HOST (rscsi_disks[DEVICE_NR(CURRENT->dev)].device->host_no) |
device | 55 | kernel/blk_drv/scsi/sd.h | #define ID (rscsi_disks[DEVICE_NR(CURRENT->dev)].device->id) |
device | 56 | kernel/blk_drv/scsi/sd.h | #define LUN (rscsi_disks[DEVICE_NR(CURRENT->dev)].device->lun) |
device | 17 | kernel/blk_drv/scsi/sd_ioctl.c | return scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device,cmd,(void *) arg); |
device | 19 | kernel/blk_drv/scsi/st.h | Scsi_Device* device; |
device | 16 | kernel/blk_drv/scsi/st_ioctl.c | return scsi_ioctl(scsi_tapes[MINOR(dev)].device,cmd,(void *) arg); |