tag | line | file | source code |
cylinders | 800 | drivers/block/hd.c | (short *) &loc->cylinders); |
cylinders | 1774 | drivers/block/ide.c | put_user(drive->bios_cyl, (unsigned short *) &loc->cylinders); |
cylinders | 169 | 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 | 182 | drivers/block/xd.c | xd[i << 6].nr_sects = xd_info[i].heads * xd_info[i].cylinders * xd_info[i].sectors; |
cylinders | 251 | drivers/block/xd.c | put_user(xd_info[dev].cylinders, &geometry->cylinders); |
cylinders | 314 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
cylinders | 545 | drivers/block/xd.c | xd_info[drive].cylinders = ((u_short *) (buf))[0x04]; /* cylinders */ |
cylinders | 554 | 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 | 589 | drivers/block/xd.c | xd_info[drive].cylinders = ((u_short *) (buf + 1))[0xD6]; /* cylinders */ |
cylinders | 598 | 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 | 628 | drivers/block/xd.c | xd_info[drive].cylinders = (buf[0x02] << 8) | buf[0x03]; /* cylinders */ |
cylinders | 683 | drivers/block/xd.c | xd_info[drive].cylinders = (u_short) min[1] + 1; |
cylinders | 702 | 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 | 707 | drivers/block/xd.c | cmdblk[6] = (u_char) (cylinders >> 8) & 0x03; |
cylinders | 708 | drivers/block/xd.c | cmdblk[7] = (u_char) (cylinders & 0xFF); |
cylinders | 4000 | drivers/scsi/aic7xxx.c | int heads, sectors, cylinders; |
cylinders | 4012 | drivers/scsi/aic7xxx.c | cylinders = disk->capacity / (heads * sectors); |
cylinders | 4014 | drivers/scsi/aic7xxx.c | if (p->extended && cylinders > 1024) |
cylinders | 4018 | drivers/scsi/aic7xxx.c | cylinders = disk->capacity / (255 * 63); |
cylinders | 4023 | drivers/scsi/aic7xxx.c | geom[2] = cylinders; |
cylinders | 1762 | drivers/scsi/fdomain.c | unsigned short cylinders; |
cylinders | 1831 | drivers/scsi/fdomain.c | info_array[2] = i->cylinders; |
cylinders | 1838 | drivers/scsi/fdomain.c | info_array[2] = i->cylinders; |
cylinders | 181 | drivers/scsi/scsicam.c | unsigned long heads, sectors, cylinders, temp; |
cylinders | 183 | drivers/scsi/scsicam.c | cylinders = 1024L; /* Set number of cylinders to max */ |
cylinders | 186 | drivers/scsi/scsicam.c | temp = cylinders * sectors; /* Compute divisor for heads */ |
cylinders | 190 | drivers/scsi/scsicam.c | temp = cylinders * heads; /* Compute divisor for sectors */ |
cylinders | 196 | drivers/scsi/scsicam.c | cylinders = capacity / temp;/* Compute number of cylinders */ |
cylinders | 199 | drivers/scsi/scsicam.c | if (cylinders == 0) rv=(unsigned)-1;/* Give error if 0 cylinders */ |
cylinders | 201 | drivers/scsi/scsicam.c | *cyls = (unsigned int) cylinders; /* Stuff return values */ |
cylinders | 48 | drivers/scsi/sd_ioctl.c | put_user(diskinfo[2], &loc->cylinders); |
cylinders | 1606 | drivers/scsi/seagate.c | int cylinders, heads, sectors; |
cylinders | 1644 | drivers/scsi/seagate.c | cylinders = (page[2] << 16) | (page[3] << 8) | page[4]; |
cylinders | 1662 | drivers/scsi/seagate.c | total_sectors = (heads * cylinders * sectors); |
cylinders | 1673 | drivers/scsi/seagate.c | hostno, heads, cylinders, sectors, total_sectors, formatted_sectors); |
cylinders | 1675 | drivers/scsi/seagate.c | if (!heads || !sectors || !cylinders) |
cylinders | 1678 | drivers/scsi/seagate.c | cylinders -= ((total_sectors - formatted_sectors) / (heads * sectors)); |
cylinders | 1686 | drivers/scsi/seagate.c | if ((cylinders > 1024) || (sectors > 64)) |
cylinders | 1691 | 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); |