tag | line | file | source code |
disk | 501 | drivers/block/amiflop.c | static unsigned long *putsec(int disk, unsigned long *raw, int track, int cnt, |
disk | 510 | drivers/block/amiflop.c | disk&=3; |
disk | 518 | drivers/block/amiflop.c | hdr.ord = unit[disk].sects-cnt; |
disk | 543 | drivers/block/amiflop.c | static void amiga_write(int disk, unsigned long raw, unsigned char *data, |
disk | 549 | drivers/block/amiflop.c | disk&=3; |
disk | 551 | drivers/block/amiflop.c | for (cnt = 0; cnt < 415 * unit[disk].type->sect_mult; cnt++) |
disk | 555 | drivers/block/amiflop.c | for (cnt = 0; cnt < unit[disk].sects; cnt++) |
disk | 556 | drivers/block/amiflop.c | ptr = putsec (disk, ptr, track, cnt, data + cnt*512); |
disk | 1009 | drivers/block/amiflop.c | static void dos_write(int disk, unsigned long raw, unsigned char *data, |
disk | 1015 | drivers/block/amiflop.c | disk&=3; |
disk | 1021 | drivers/block/amiflop.c | if (unit[disk].type->sect_mult==2) /* check for HD-Disks */ |
disk | 1036 | drivers/block/amiflop.c | for(cnt=0;cnt<unit[disk].sects;cnt++) |
disk | 1037 | drivers/block/amiflop.c | ptr=ms_putsec(disk,ptr,track,cnt,data+cnt*512); |
disk | 1561 | drivers/block/amiflop.c | unit[drive].disk = -1; |
disk | 288 | drivers/scsi/AM53C974.h | int AM53C974_biosparm(Disk *disk, int dev, int *info_array); |
disk | 748 | drivers/scsi/NCR53c406a.c | NCR53c406a_biosparm(Scsi_Disk *disk, kdev_t dev, int* info_array){ |
disk | 753 | drivers/scsi/NCR53c406a.c | size = disk->capacity; |
disk | 1210 | drivers/scsi/aha152x.c | int aha152x_biosparam(Scsi_Disk * disk, kdev_t dev, int *info_array) |
disk | 1215 | drivers/scsi/aha152x.c | kdevname(dev), disk->capacity); |
disk | 1218 | drivers/scsi/aha152x.c | if(disk->capacity<=1024*64*32) { |
disk | 1221 | drivers/scsi/aha152x.c | info_array[2]=disk->capacity / (64 * 32); |
disk | 1225 | drivers/scsi/aha152x.c | info_array[2] = disk->capacity / (256 * 63); |
disk | 1295 | drivers/scsi/aha1542.c | int aha1542_biosparam(Scsi_Disk * disk, kdev_t dev, int * ip) |
disk | 1298 | drivers/scsi/aha1542.c | int size = disk->capacity; |
disk | 1300 | drivers/scsi/aha1542.c | translation_algorithm = HOSTDATA(disk->device->host)->bios_translation; |
disk | 508 | drivers/scsi/aha1740.c | int aha1740_biosparam(Disk * disk, kdev_t dev, int* ip) |
disk | 510 | drivers/scsi/aha1740.c | int size = disk->capacity; |
disk | 4670 | drivers/scsi/aic7xxx.c | aic7xxx_biosparam(Disk *disk, kdev_t dev, int geom[]) |
disk | 4675 | drivers/scsi/aic7xxx.c | p = (struct aic7xxx_host *) disk->device->host->hostdata; |
disk | 4684 | drivers/scsi/aic7xxx.c | cylinders = disk->capacity / (heads * sectors); |
disk | 4690 | drivers/scsi/aic7xxx.c | cylinders = disk->capacity / (255 * 63); |
disk | 275 | drivers/scsi/dtc.c | int dtc_biosparam(Disk * disk, kdev_t dev, int * ip) |
disk | 277 | drivers/scsi/dtc.c | int size = disk->capacity; |
disk | 1918 | drivers/scsi/fdomain.c | int fdomain_16x0_biosparam( Scsi_Disk *disk, kdev_t dev, int *info_array ) |
disk | 1922 | drivers/scsi/fdomain.c | int size = disk->capacity; |
disk | 2011 | drivers/scsi/fdomain.c | retcode = kernel_scsi_ioctl( disk->device, |
disk | 318 | drivers/scsi/g_NCR5380.c | int generic_NCR5380_biosparam(Disk * disk, kdev_t dev, int *ip) |
disk | 320 | drivers/scsi/g_NCR5380.c | int size = disk->capacity; |
disk | 2190 | drivers/scsi/in2000.c | int in2000_biosparam(Disk *disk, kdev_t dev, int *iinfo) |
disk | 2192 | drivers/scsi/in2000.c | int in2000_biosparam(Disk *disk, int dev, int *iinfo) |
disk | 2197 | drivers/scsi/in2000.c | size = disk->capacity; |
disk | 2209 | drivers/scsi/in2000.c | iinfo[2] = disk->capacity / (iinfo[0] * iinfo[1]); |
disk | 2214 | drivers/scsi/in2000.c | iinfo[2] = disk->capacity / (iinfo[0] * iinfo[1]); |
disk | 2219 | drivers/scsi/in2000.c | iinfo[2] = disk->capacity / (iinfo[0] * iinfo[1]); |
disk | 478 | drivers/scsi/pas16.c | int pas16_biosparam(Disk * disk, kdev_t dev, int * ip) |
disk | 480 | drivers/scsi/pas16.c | int size = disk->capacity; |
disk | 439 | drivers/scsi/ppa.c | int ppa_biosparam( Disk * disk, kdev_t dev, int ip[]) |
disk | 449 | drivers/scsi/ppa.c | ip[2] = (disk->capacity +1) / (ip[0] * ip[1]); |
disk | 453 | drivers/scsi/ppa.c | ip[2] = (disk->capacity +1) / (ip[0] * ip[1]); |
disk | 632 | drivers/scsi/qlogic.c | int qlogic_biosparam(Disk * disk, kdev_t dev, int ip[]) |
disk | 637 | drivers/scsi/qlogic.c | ip[2] = disk->capacity / (ip[0] * ip[1]); |
disk | 641 | drivers/scsi/qlogic.c | ip[2] = disk->capacity / (ip[0] * ip[1]); |
disk | 588 | drivers/scsi/scsi_debug.c | int scsi_debug_biosparam(Disk * disk, kdev_t dev, int* info){ |
disk | 589 | drivers/scsi/scsi_debug.c | int size = disk->capacity; |
disk | 33 | drivers/scsi/scsi_syms.c | extern int scsicam_bios_param (Disk * disk, |
disk | 45 | drivers/scsi/scsicam.c | int scsicam_bios_param (Disk *disk, /* SCSI disk */ |
disk | 51 | drivers/scsi/scsicam.c | int size = disk->capacity; |
disk | 1637 | drivers/scsi/seagate.c | int seagate_st0x_biosparam(Disk * disk, kdev_t dev, int* ip) { |
disk | 1648 | drivers/scsi/seagate.c | if (disk->device->scsi_level < 2) |
disk | 1655 | drivers/scsi/seagate.c | cmd[1] = (disk->device->lun << 5) & 0xe5; |
disk | 1671 | drivers/scsi/seagate.c | if (!(result = kernel_scsi_ioctl (disk->device, SCSI_IOCTL_SEND_COMMAND, (void *) buf))) { |
disk | 1684 | drivers/scsi/seagate.c | if (!(result = kernel_scsi_ioctl (disk->device, SCSI_IOCTL_SEND_COMMAND, (void *) buf))) { |
disk | 301 | drivers/scsi/t128.c | int t128_biosparam(Disk * disk, kdev_t dev, int * ip) |
disk | 303 | drivers/scsi/t128.c | int size = disk->capacity; |
disk | 853 | drivers/scsi/u14-34f.c | int u14_34f_biosparam(Disk * disk, kdev_t dev, int * dkinfo) { |
disk | 855 | drivers/scsi/u14-34f.c | int size = disk->capacity; |
disk | 1013 | drivers/scsi/ultrastor.c | int ultrastor_biosparam(Disk * disk, kdev_t dev, int * dkinfo) |
disk | 1015 | drivers/scsi/ultrastor.c | int size = disk->capacity; |
disk | 1222 | drivers/scsi/wd7000.c | int wd7000_biosparam(Disk * disk, kdev_t dev, int* ip) |
disk | 1224 | drivers/scsi/wd7000.c | int size = disk->capacity; |
disk | 50 | include/asm-m68k/amifd.h | int disk; /* disk in drive (-1 == unknown) */ |
disk | 16 | include/scsi/scsicam.h | extern int scsicam_bios_param (Disk *disk, kdev_t dev, int *ip); |