Searched refs:heads (Results 1 - 25 of 120) sorted by path

12345

/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
H A Dhwsq.c139 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 Dmemx.c129 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 Dsm_ftl.h54 int heads; member in struct:sm_ftl
/linux-master/include/linux/mtd/
H A Dinftl.h34 unsigned char heads; member in struct:INFTLrecord
H A Dnftl.h26 unsigned char heads; member in struct:NFTLrecord
/linux-master/include/uapi/linux/
H A Dadfs_fs.h14 __u8 heads; member in struct:adfs_discrecord
H A Dhdreg.h325 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 Dmsdos_fs.h121 __le16 heads; /* number of heads */ member in struct:fat_boot_sector
/linux-master/arch/m68k/emu/
H A Dnfblock.c85 geo->heads = 4;
/linux-master/arch/um/drivers/
H A Dubd_kern.c1348 geo->heads = 128;
/linux-master/block/
H A Dioctl.c438 unsigned char heads; member in struct:compat_hd_geometry
/linux-master/block/partitions/
H A Dacorn.c200 (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 Dibm.c36 /* 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 Dlibata-core.c84 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 Dlibata-scsi.c1447 cyl = track / dev->heads;
1448 head = track % dev->heads;
/linux-master/drivers/block/
H A Damiflop.c179 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 Dfloppy.c2323 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 Dsunvdc.c128 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 Dswim.c724 geo->heads = g->head;
H A Dvirtio_blk.c855 geometry.heads, &geo->heads);
860 geo->heads = 1 << 6;
H A Dxen-blkfront.c503 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 Daoeblk.c282 geo->heads = d->geo.heads;
H A Daoecmd.c938 d->geo.heads = 255;
948 d->geo.heads = get_unaligned_le16(&id[55 << 1]);
/linux-master/drivers/block/mtip32xx/
H A Dmtip32xx.c3150 * 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 Drnbd-clt.c954 geo->heads = 4;

Completed in 339 milliseconds

12345