tag | line | file | source code |
cylinders | 789 | drivers/block/hd.c | (short *) &loc->cylinders); |
cylinders | 167 | 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 | 180 | drivers/block/xd.c | xd[i << 6].nr_sects = xd_info[i].heads * xd_info[i].cylinders * xd_info[i].sectors; |
cylinders | 249 | drivers/block/xd.c | put_fs_word(xd_info[dev].cylinders,(short *) &geometry->cylinders); |
cylinders | 312 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
cylinders | 543 | drivers/block/xd.c | xd_info[drive].cylinders = ((u_short *) (buf))[0x04]; /* cylinders */ |
cylinders | 552 | 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 | 587 | drivers/block/xd.c | xd_info[drive].cylinders = ((u_short *) (buf + 1))[0xD6]; /* cylinders */ |
cylinders | 596 | 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 | 626 | drivers/block/xd.c | xd_info[drive].cylinders = (buf[0x02] << 8) | buf[0x03]; /* cylinders */ |
cylinders | 681 | drivers/block/xd.c | xd_info[drive].cylinders = (u_short) min[1] + 1; |
cylinders | 700 | 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 | 705 | drivers/block/xd.c | cmdblk[6] = (u_char) (cylinders >> 8) & 0x03; |
cylinders | 706 | drivers/block/xd.c | cmdblk[7] = (u_char) (cylinders & 0xFF); |
cylinders | 1466 | drivers/scsi/fdomain.c | unsigned short cylinders; |
cylinders | 1509 | drivers/scsi/fdomain.c | info_array[2] = i->cylinders; |
cylinders | 1514 | drivers/scsi/fdomain.c | info_array[2] = i->cylinders; |
cylinders | 44 | drivers/scsi/sd_ioctl.c | (short *) &loc->cylinders); |
cylinders | 1602 | drivers/scsi/seagate.c | int cylinders, heads, sectors; |
cylinders | 1640 | drivers/scsi/seagate.c | cylinders = (page[2] << 16) | (page[3] << 8) | page[4]; |
cylinders | 1658 | drivers/scsi/seagate.c | total_sectors = (heads * cylinders * sectors); |
cylinders | 1669 | drivers/scsi/seagate.c | hostno, heads, cylinders, sectors, total_sectors, formatted_sectors); |
cylinders | 1671 | drivers/scsi/seagate.c | if (!heads || !sectors || !cylinders) |
cylinders | 1674 | drivers/scsi/seagate.c | cylinders -= ((total_sectors - formatted_sectors) / (heads * sectors)); |
cylinders | 1682 | drivers/scsi/seagate.c | if ((cylinders > 1024) || (sectors > 64)) |
cylinders | 1687 | drivers/scsi/seagate.c | ip[2] = cylinders; |
cylinders | 67 | 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 | 136 | 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); |