tag | line | file | source code |
cylinders | 801 | drivers/block/hd.c | (short *) &loc->cylinders); |
cylinders | 1934 | drivers/block/ide.c | put_user(drive->bios_cyl, (unsigned short *) &loc->cylinders); |
cylinders | 319 | drivers/block/md.c | put_user (md_hd_struct[minor].nr_sects/8, (short *) &loc->cylinders); |
cylinders | 177 | drivers/block/xd.c | printk("xd_geninit: drive %d geometry - heads = %d, cylinders = %d, sectors = %d\n",i,xd_info[i].heads,xd_info[i].cylinders,xd_info[i].sectors); |
cylinders | 190 | drivers/block/xd.c | xd[i << 6].nr_sects = xd_info[i].heads * xd_info[i].cylinders * xd_info[i].sectors; |
cylinders | 261 | drivers/block/xd.c | put_user(xd_info[dev].cylinders, &geometry->cylinders); |
cylinders | 332 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
cylinders | 563 | drivers/block/xd.c | xd_info[drive].cylinders = ((u_short *) (buf))[0x04]; /* cylinders */ |
cylinders | 572 | drivers/block/xd.c | xd_setparam(CMD_DTCSETPARAM,drive,xd_info[drive].heads,xd_info[drive].cylinders,((u_short *) (buf + 1))[0x05],((u_short *) (buf + 1))[0x06],buf[0x0F]); |
cylinders | 607 | drivers/block/xd.c | xd_info[drive].cylinders = ((u_short *) (buf + 1))[0xD6]; /* cylinders */ |
cylinders | 616 | drivers/block/xd.c | xd_setparam(CMD_WDSETPARAM,drive,xd_info[drive].heads,xd_info[drive].cylinders,((u_short *) (buf))[0xD8],((u_short *) (buf))[0xDA],buf[0x1B4]); |
cylinders | 646 | drivers/block/xd.c | xd_info[drive].cylinders = (buf[0x02] << 8) | buf[0x03]; /* cylinders */ |
cylinders | 701 | drivers/block/xd.c | xd_info[drive].cylinders = (u_short) min[1] + 1; |
cylinders | 720 | drivers/block/xd.c | static void xd_setparam (u_char command,u_char drive,u_char heads,u_short cylinders,u_short rwrite,u_short wprecomp,u_char ecc) |
cylinders | 725 | drivers/block/xd.c | cmdblk[6] = (u_char) (cylinders >> 8) & 0x03; |
cylinders | 726 | drivers/block/xd.c | cmdblk[7] = (u_char) (cylinders & 0xFF); |
cylinders | 4672 | drivers/scsi/aic7xxx.c | int heads, sectors, cylinders; |
cylinders | 4684 | drivers/scsi/aic7xxx.c | cylinders = disk->capacity / (heads * sectors); |
cylinders | 4686 | drivers/scsi/aic7xxx.c | if (p->extended && cylinders > 1024) |
cylinders | 4690 | drivers/scsi/aic7xxx.c | cylinders = disk->capacity / (255 * 63); |
cylinders | 4695 | drivers/scsi/aic7xxx.c | geom[2] = cylinders; |
cylinders | 1928 | drivers/scsi/fdomain.c | unsigned short cylinders; |
cylinders | 1997 | drivers/scsi/fdomain.c | info_array[2] = i->cylinders; |
cylinders | 2004 | drivers/scsi/fdomain.c | info_array[2] = i->cylinders; |
cylinders | 190 | drivers/scsi/scsicam.c | unsigned long heads, sectors, cylinders, temp; |
cylinders | 192 | drivers/scsi/scsicam.c | cylinders = 1024L; /* Set number of cylinders to max */ |
cylinders | 195 | drivers/scsi/scsicam.c | temp = cylinders * sectors; /* Compute divisor for heads */ |
cylinders | 199 | drivers/scsi/scsicam.c | temp = cylinders * heads; /* Compute divisor for sectors */ |
cylinders | 205 | drivers/scsi/scsicam.c | cylinders = capacity / temp;/* Compute number of cylinders */ |
cylinders | 208 | drivers/scsi/scsicam.c | if (cylinders == 0) rv=(unsigned)-1;/* Give error if 0 cylinders */ |
cylinders | 210 | drivers/scsi/scsicam.c | *cyls = (unsigned int) cylinders; /* Stuff return values */ |
cylinders | 56 | drivers/scsi/sd_ioctl.c | put_user(diskinfo[2], &loc->cylinders); |
cylinders | 1640 | drivers/scsi/seagate.c | int cylinders, heads, sectors; |
cylinders | 1679 | drivers/scsi/seagate.c | cylinders = (page[2] << 16) | (page[3] << 8) | page[4]; |
cylinders | 1697 | drivers/scsi/seagate.c | total_sectors = (heads * cylinders * sectors); |
cylinders | 1708 | drivers/scsi/seagate.c | hostno, heads, cylinders, sectors, total_sectors, formatted_sectors); |
cylinders | 1710 | drivers/scsi/seagate.c | if (!heads || !sectors || !cylinders) |
cylinders | 1713 | drivers/scsi/seagate.c | cylinders -= ((total_sectors - formatted_sectors) / (heads * sectors)); |
cylinders | 1721 | drivers/scsi/seagate.c | if ((cylinders > 1024) || (sectors > 64)) { |
cylinders | 1725 | drivers/scsi/seagate.c | capacity = heads * sectors * cylinders; |
cylinders | 1729 | drivers/scsi/seagate.c | while (cylinders > 1024) |
cylinders | 1732 | drivers/scsi/seagate.c | cylinders = capacity / heads; |
cylinders | 1737 | drivers/scsi/seagate.c | ip[2] = cylinders; |
cylinders | 81 | include/linux/hdreg.h | unsigned short cylinders; |
cylinders | 83 | include/linux/xd.h | u_short cylinders; |
cylinders | 94 | include/linux/xd.h | u_short cylinders; |
cylinders | 135 | include/linux/xd.h | static void xd_setparam (u_char command,u_char drive,u_char heads,u_short cylinders,u_short rwrite,u_short wprecomp,u_char ecc); |