/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
H A D | hwsq.c | 139 u32 heads, x, y, px = 0; local 142 heads = nvkm_rd32(device, 0x610050); 145 if (heads & (2 << (i << 3))) {
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | memx.c | 129 u32 heads, x, y, px = 0; local 133 heads = nvkm_rd32(device, 0x610050); 136 if (heads & (2 << (i << 3))) {
|
/linux-master/drivers/mtd/ |
H A D | sm_ftl.h | 54 int heads; member in struct:sm_ftl
|
/linux-master/include/linux/mtd/ |
H A D | inftl.h | 34 unsigned char heads; member in struct:INFTLrecord
|
H A D | nftl.h | 26 unsigned char heads; member in struct:NFTLrecord
|
/linux-master/include/uapi/linux/ |
H A D | adfs_fs.h | 14 __u8 heads; member in struct:adfs_discrecord
|
H A D | hdreg.h | 325 unsigned char heads; member in struct:hd_geometry 403 unsigned short heads; /* Obsolete, "physical" heads */ member in struct:hd_driveid 439 unsigned short cur_heads; /* Obsolete, l heads */
|
H A D | msdos_fs.h | 121 __le16 heads; /* number of heads */ member in struct:fat_boot_sector
|
/linux-master/arch/m68k/emu/ |
H A D | nfblock.c | 85 geo->heads = 4;
|
/linux-master/arch/um/drivers/ |
H A D | ubd_kern.c | 1348 geo->heads = 128;
|
/linux-master/block/ |
H A D | ioctl.c | 438 unsigned char heads; member in struct:compat_hd_geometry
|
/linux-master/block/partitions/ |
H A D | acorn.c | 200 (dr->heads + (dr->lowsector & 0x40 ? 1 : 0)) * 252 unsigned long start_sect, nr_sects, sectscyl, heads; local 269 heads = dr->heads + ((dr->lowsector >> 6) & 1); 270 sectscyl = dr->secspertrack * heads;
|
H A D | ibm.c | 36 /* decode cylinder and heads for large volumes */ 41 return cyl * geo->heads * geo->sectors + 54 /* decode cylinder and heads for large volumes */ 59 return cyl * geo->heads * geo->sectors + 256 geo_size = geo->cylinders * geo->heads
|
/linux-master/drivers/ata/ |
H A D | libata-core.c | 84 u16 heads, u16 sectors); 662 block = (cyl * dev->heads + head) * dev->sectors + sect - 1; 804 cyl = track / dev->heads; 805 head = track % dev->heads; 2707 dev->heads = id[55]; 2712 dev->heads = id[3]; 2722 dev->heads, dev->sectors); 2936 dev->heads = 0; 4569 * @heads: Number of heads (taskfil 4578 ata_dev_init_params(struct ata_device *dev, u16 heads, u16 sectors) argument [all...] |
H A D | libata-scsi.c | 1447 cyl = track / dev->heads; 1448 head = track % dev->heads;
|
/linux-master/drivers/block/ |
H A D | amiflop.c | 179 unsigned int heads; /* number of heads */ member in struct:fd_drive_type 1188 if (hdr.track != unit[drive].track/unit[drive].type->heads) { 1191 unit[drive].track/unit[drive].type->heads); 1195 if (hdr.side != unit[drive].track%unit[drive].type->heads) { 1198 unit[drive].track%unit[drive].type->heads); 1288 hdr.track=unit[drive].track/unit[drive].type->heads; 1289 hdr.side=unit[drive].track%unit[drive].type->heads; 1529 geo->heads = unit[drive].type->heads; [all...] |
H A D | floppy.c | 2323 int heads; local 2344 heads = 2; 2346 heads = 1; 2348 nr_sectors = (((reply_buffer[R_TRACK] - raw_cmd->cmd[TRACK]) * heads + 2362 pr_info("heads=%d eoc=%d\n", heads, eoc); 3377 geo->heads = g->head;
|
H A D | sunvdc.c | 128 geo->heads = 0xff; 130 sector_div(cylinders, geo->heads * geo->sectors); 132 if ((sector_t)(geo->cylinders + 1) * geo->heads * geo->sectors < nsect)
|
H A D | swim.c | 724 geo->heads = g->head;
|
H A D | virtio_blk.c | 855 geometry.heads, &geo->heads); 860 geo->heads = 1 << 6;
|
H A D | xen-blkfront.c | 503 hg->heads = 0xff; 505 sector_div(cylinders, hg->heads * hg->sectors); 507 if ((sector_t)(hg->cylinders + 1) * hg->heads * hg->sectors < nsect)
|
/linux-master/drivers/block/aoe/ |
H A D | aoeblk.c | 282 geo->heads = d->geo.heads;
|
H A D | aoecmd.c | 938 d->geo.heads = 255; 948 d->geo.heads = get_unaligned_le16(&id[55 << 1]);
|
/linux-master/drivers/block/mtip32xx/ |
H A D | mtip32xx.c | 3150 * device as having 224 heads and 56 sectors per cylinder. These values are 3178 geo->heads = 224; 3180 sector_div(capacity, (geo->heads * geo->sectors));
|
/linux-master/drivers/block/rnbd/ |
H A D | rnbd-clt.c | 954 geo->heads = 4;
|