tag | line | file | source code |
cylinders | 801 | drivers/block/hd.c | (short *) &loc->cylinders); |
cylinders | 1856 | 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 | 253 | drivers/block/xd.c | put_user(xd_info[dev].cylinders, &geometry->cylinders); |
cylinders | 324 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
cylinders | 555 | drivers/block/xd.c | xd_info[drive].cylinders = ((u_short *) (buf))[0x04]; /* cylinders */ |
cylinders | 564 | 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 | 599 | drivers/block/xd.c | xd_info[drive].cylinders = ((u_short *) (buf + 1))[0xD6]; /* cylinders */ |
cylinders | 608 | 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 | 638 | drivers/block/xd.c | xd_info[drive].cylinders = (buf[0x02] << 8) | buf[0x03]; /* cylinders */ |
cylinders | 693 | drivers/block/xd.c | xd_info[drive].cylinders = (u_short) min[1] + 1; |
cylinders | 712 | 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 | 717 | drivers/block/xd.c | cmdblk[6] = (u_char) (cylinders >> 8) & 0x03; |
cylinders | 718 | drivers/block/xd.c | cmdblk[7] = (u_char) (cylinders & 0xFF); |
cylinders | 4586 | drivers/scsi/aic7xxx.c | int heads, sectors, cylinders; |
cylinders | 4598 | drivers/scsi/aic7xxx.c | cylinders = disk->capacity / (heads * sectors); |
cylinders | 4600 | drivers/scsi/aic7xxx.c | if (p->extended && cylinders > 1024) |
cylinders | 4604 | drivers/scsi/aic7xxx.c | cylinders = disk->capacity / (255 * 63); |
cylinders | 4609 | drivers/scsi/aic7xxx.c | geom[2] = cylinders; |
cylinders | 1866 | drivers/scsi/fdomain.c | unsigned short cylinders; |
cylinders | 1935 | drivers/scsi/fdomain.c | info_array[2] = i->cylinders; |
cylinders | 1942 | 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 | 46 | drivers/scsi/sd_ioctl.c | put_user(diskinfo[2], &loc->cylinders); |
cylinders | 1640 | drivers/scsi/seagate.c | int cylinders, heads, sectors; |
cylinders | 1678 | drivers/scsi/seagate.c | cylinders = (page[2] << 16) | (page[3] << 8) | page[4]; |
cylinders | 1696 | drivers/scsi/seagate.c | total_sectors = (heads * cylinders * sectors); |
cylinders | 1707 | drivers/scsi/seagate.c | hostno, heads, cylinders, sectors, total_sectors, formatted_sectors); |
cylinders | 1709 | drivers/scsi/seagate.c | if (!heads || !sectors || !cylinders) |
cylinders | 1712 | drivers/scsi/seagate.c | cylinders -= ((total_sectors - formatted_sectors) / (heads * sectors)); |
cylinders | 1720 | drivers/scsi/seagate.c | if ((cylinders > 1024) || (sectors > 64)) |
cylinders | 1725 | 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); |