/linux-4.1.27/drivers/scsi/ |
D | scsicam.c | 234 unsigned long heads, sectors, cylinders, temp; in setsize() local 240 heads = capacity / temp; /* Compute value for number of heads */ in setsize() 242 heads++; /* Else, increment number of heads */ in setsize() 243 temp = cylinders * heads; /* Compute divisor for sectors */ in setsize() 248 temp = heads * sectors; /* Compute divisor for cylinders */ in setsize() 257 *hds = (unsigned int) heads; in setsize()
|
D | ultrastor.c | 235 unsigned char heads; member 279 unsigned char heads; member 462 config.heads = mapping_table[config_2.mapping_mode].heads; in ultrastor_14f_detect() 596 config.heads = mapping_table[(config_2 >> 3) & 3].heads; in ultrastor_24f_detect() 1038 unsigned int s = config.heads * config.sectors; in ultrastor_biosparam() 1040 dkinfo[0] = config.heads; in ultrastor_biosparam()
|
D | storvsc_drv.c | 1450 int heads, sectors_pt; in storvsc_get_chs() local 1455 heads = 0xff; in storvsc_get_chs() 1457 sector_div(cylinders, heads * sectors_pt); in storvsc_get_chs() 1458 if ((sector_t)(cylinders + 1) * heads * sectors_pt < nsect) in storvsc_get_chs() 1461 info[0] = heads; in storvsc_get_chs()
|
D | 3w-xxxx.c | 1333 int heads, sectors, cylinders; in tw_scsi_biosparam() local 1339 heads = 64; in tw_scsi_biosparam() 1341 cylinders = sector_div(capacity, heads * sectors); in tw_scsi_biosparam() 1344 heads = 255; in tw_scsi_biosparam() 1346 cylinders = sector_div(capacity, heads * sectors); in tw_scsi_biosparam() 1349 …w-xxxx: tw_scsi_biosparam(): heads = %d, sectors = %d, cylinders = %d\n", heads, sectors, cylinder… in tw_scsi_biosparam() 1350 geom[0] = heads; in tw_scsi_biosparam()
|
D | megaraid.c | 2837 int heads; in megaraid_biosparam() local 2847 heads = 64; in megaraid_biosparam() 2849 cylinders = (ulong)capacity / (heads * sectors); in megaraid_biosparam() 2856 heads = 255; in megaraid_biosparam() 2858 cylinders = (ulong)capacity / (heads * sectors); in megaraid_biosparam() 2862 geom[0] = heads; in megaraid_biosparam() 2882 heads = 64; in megaraid_biosparam() 2884 cylinders = (ulong)capacity / (heads * sectors); in megaraid_biosparam() 2888 heads = 255; in megaraid_biosparam() 2890 cylinders = (ulong)capacity / (heads * sectors); in megaraid_biosparam() [all …]
|
D | BusLogic.c | 3398 diskparam->heads = 255; in blogic_diskparam() 3401 diskparam->heads = 128; in blogic_diskparam() 3405 diskparam->heads = 64; in blogic_diskparam() 3408 diskparam->cylinders = (unsigned long) capacity / (diskparam->heads * diskparam->sectors); in blogic_diskparam() 3427 diskparam->heads = 64; in blogic_diskparam() 3431 diskparam->heads = 128; in blogic_diskparam() 3435 diskparam->heads = 255; in blogic_diskparam() 3445 diskparam->cylinders = (unsigned long) capacity / (diskparam->heads * diskparam->sectors); in blogic_diskparam() 3448 …blogic_warn("Adopting Geometry %d/%d from Partition Table\n", adapter, diskparam->heads, diskparam… in blogic_diskparam() 3451 …h current BusLogic " "Host Adapter Geometry %d/%d\n", adapter, diskparam->heads, diskparam->sector… in blogic_diskparam()
|
D | initio.c | 593 u8 *heads; in initio_init() local 647 heads = bios_addr + 0x180; in initio_init() 657 host->targets[i].heads = *heads++; in initio_init() 658 if (host->targets[i].heads == 255) in initio_init() 662 host->targets[i].sectors = *heads++; in initio_init() 2703 if (tc->heads) { in i91u_biosparam() 2704 info_array[0] = tc->heads; in i91u_biosparam() 2706 info_array[2] = (unsigned long)capacity / tc->heads / tc->sectors; in i91u_biosparam()
|
D | u14-34f.c | 604 unsigned char heads; member 818 unsigned char heads; in port_detect() member 926 HD(j)->heads = mapping_table[config_2.mapping_mode].heads; in port_detect() 1535 dkinfo[0] = HD(j)->heads; in u14_34f_bios_param() 1537 dkinfo[2] = size / (HD(j)->heads * HD(j)->sectors); in u14_34f_bios_param()
|
D | eata_generic.h | 372 __u32 heads; /* number of heads */ member
|
D | dpt_i2o.c | 486 int heads=-1; in DEF_SCSI_QCMD() local 494 heads = 18; in DEF_SCSI_QCMD() 499 heads = 64; in DEF_SCSI_QCMD() 504 heads = 65; in DEF_SCSI_QCMD() 509 heads = 128; in DEF_SCSI_QCMD() 514 heads = 255; in DEF_SCSI_QCMD() 517 cylinders = sector_div(capacity, heads * sectors); in DEF_SCSI_QCMD() 521 heads = 252; in DEF_SCSI_QCMD() 526 geom[0] = heads; in DEF_SCSI_QCMD()
|
D | 3w-sas.c | 1413 int heads, sectors; in twl_scsi_biosparam() local 1419 heads = 255; in twl_scsi_biosparam() 1422 heads = 64; in twl_scsi_biosparam() 1426 geom[0] = heads; in twl_scsi_biosparam() 1428 geom[2] = sector_div(capacity, heads * sectors); /* cylinders */ in twl_scsi_biosparam()
|
D | fdomain.c | 1597 unsigned char heads; in fdomain_16x0_biosparam() member 1668 info_array[0] = i.heads; in fdomain_16x0_biosparam() 1676 info_array[0] = i.heads + 1; in fdomain_16x0_biosparam()
|
D | 3w-9xxx.c | 1698 int heads, sectors, cylinders; in twa_scsi_biosparam() local 1704 heads = 255; in twa_scsi_biosparam() 1706 cylinders = sector_div(capacity, heads * sectors); in twa_scsi_biosparam() 1708 heads = 64; in twa_scsi_biosparam() 1710 cylinders = sector_div(capacity, heads * sectors); in twa_scsi_biosparam() 1713 geom[0] = heads; in twa_scsi_biosparam()
|
D | initio.h | 470 u8 heads; member
|
D | mvumi.c | 2198 int heads, sectors; in mvumi_bios_param() local 2202 heads = 64; in mvumi_bios_param() 2204 tmp = heads * sectors; in mvumi_bios_param() 2209 heads = 255; in mvumi_bios_param() 2211 tmp = heads * sectors; in mvumi_bios_param() 2215 geom[0] = heads; in mvumi_bios_param()
|
D | stex.c | 1351 int heads = 255, sectors = 63; in stex_biosparam() local 1354 heads = 64; in stex_biosparam() 1358 sector_div(capacity, heads * sectors); in stex_biosparam() 1360 geom[0] = heads; in stex_biosparam()
|
D | ips.c | 1156 int heads; in DEF_SCSI_QCMD() local 1174 heads = IPS_NORM_HEADS; in DEF_SCSI_QCMD() 1177 heads = IPS_COMP_HEADS; in DEF_SCSI_QCMD() 1181 cylinders = (unsigned long) capacity / (heads * sectors); in DEF_SCSI_QCMD() 1184 heads, sectors, cylinders); in DEF_SCSI_QCMD() 1186 geom[0] = heads; in DEF_SCSI_QCMD() 4109 uint16_t heads; in ips_msense() local 4118 heads = IPS_NORM_HEADS; in ips_msense() 4121 heads = IPS_COMP_HEADS; in ips_msense() 4127 1) / (heads * sectors); in ips_msense() [all …]
|
D | atp870u.c | 3115 int heads, sectors, cylinders; in atp870u_biosparam() local 3117 heads = 64; in atp870u_biosparam() 3119 cylinders = (unsigned long)capacity / (heads * sectors); in atp870u_biosparam() 3121 heads = 255; in atp870u_biosparam() 3123 cylinders = (unsigned long)capacity / (heads * sectors); in atp870u_biosparam() 3125 ip[0] = heads; in atp870u_biosparam()
|
D | qla1280.c | 1065 int heads, sectors, cylinders; in qla1280_biosparam() local 1067 heads = 64; in qla1280_biosparam() 1069 cylinders = (unsigned long)capacity / (heads * sectors); in qla1280_biosparam() 1071 heads = 255; in qla1280_biosparam() 1073 cylinders = (unsigned long)capacity / (heads * sectors); in qla1280_biosparam() 1078 geom[0] = heads; in qla1280_biosparam()
|
D | BusLogic.h | 1093 int heads; member
|
D | gdth.c | 144 static void gdth_eval_mapping(u32 size, u32 *cyls, int *heads, int *secs); 498 static void gdth_eval_mapping(u32 size, u32 *cyls, int *heads, int *secs) in gdth_eval_mapping() argument 502 *heads = HEADS; in gdth_eval_mapping() 507 *heads = MEDHEADS; in gdth_eval_mapping() 511 *heads = BIGHEADS; in gdth_eval_mapping() 1943 ha->hdr[hdrive].heads = (u8)drv_hds; in gdth_analyse_hdrive() 3982 if (b != ha->virt_bus || ha->hdr[t].heads == 0) { in gdth_bios_param() 3987 ip[0] = ha->hdr[t].heads; in gdth_bios_param() 4404 ha->hdr[i].heads = hds; in ioc_rescan()
|
D | dc395x.c | 1166 int heads, sectors, cylinders; in DEF_SCSI_QCMD() local 1172 heads = 64; in DEF_SCSI_QCMD() 1174 cylinders = size / (heads * sectors); in DEF_SCSI_QCMD() 1177 heads = 255; in DEF_SCSI_QCMD() 1179 cylinders = size / (heads * sectors); in DEF_SCSI_QCMD() 1181 geom[0] = heads; in DEF_SCSI_QCMD()
|
D | gdth.h | 882 u8 heads; /* mapping */ member
|
D | sd.c | 1277 geo->heads = diskinfo[0]; in sd_getgeo()
|
D | ipr.c | 4607 int heads, sectors; in ipr_biosparam() local 4610 heads = 128; in ipr_biosparam() 4617 parm[0] = heads; in ipr_biosparam()
|
/linux-4.1.27/drivers/mtd/ |
D | ssfdc.c | 25 unsigned char heads; member 320 ssfdc->heads = 16; in ssfdcr_add_mtd() 322 get_chs(mtd->size, NULL, &ssfdc->heads, &ssfdc->sectors); in ssfdcr_add_mtd() 324 ((long)ssfdc->sectors * (long)ssfdc->heads)); in ssfdcr_add_mtd() 327 ssfdc->cylinders, ssfdc->heads , ssfdc->sectors, in ssfdcr_add_mtd() 328 (long)ssfdc->cylinders * (long)ssfdc->heads * in ssfdcr_add_mtd() 331 ssfdc->mbd.size = (long)ssfdc->heads * (long)ssfdc->cylinders * in ssfdcr_add_mtd() 414 ssfdc->cylinders, ssfdc->heads, ssfdc->sectors); in ssfdcr_getgeo() 416 geo->heads = ssfdc->heads; in ssfdcr_getgeo()
|
D | nftlcore.c | 81 nftl->heads = 16; in nftl_add_mtd() 83 temp = nftl->cylinders * nftl->heads; in nftl_add_mtd() 88 nftl->heads = nftl->mbd.size / temp; in nftl_add_mtd() 91 nftl->heads++; in nftl_add_mtd() 92 temp = nftl->heads * nftl->sectors; in nftl_add_mtd() 97 if (nftl->mbd.size != nftl->heads * nftl->cylinders * nftl->sectors) { in nftl_add_mtd() 106 nftl->cylinders, nftl->heads , nftl->sectors, in nftl_add_mtd() 107 (long)nftl->cylinders * (long)nftl->heads * in nftl_add_mtd() 784 geo->heads = nftl->heads; in nftl_getgeo()
|
D | inftlcore.c | 88 inftl->heads = 16; in inftl_add_mtd() 90 temp = inftl->cylinders * inftl->heads; in inftl_add_mtd() 95 inftl->heads = inftl->mbd.size / temp; in inftl_add_mtd() 98 inftl->heads++; in inftl_add_mtd() 99 temp = inftl->heads * inftl->sectors; in inftl_add_mtd() 104 if (inftl->mbd.size != inftl->heads * inftl->cylinders * inftl->sectors) { in inftl_add_mtd() 113 inftl->cylinders, inftl->heads , inftl->sectors, in inftl_add_mtd() 114 (long)inftl->cylinders * (long)inftl->heads * in inftl_add_mtd() 933 geo->heads = inftl->heads; in inftl_getgeo()
|
D | sm_ftl.h | 60 int heads; member
|
D | sm_ftl.c | 652 ftl->heads = chs_table[i].head; in sm_get_media_info() 660 ftl->heads = 33; in sm_get_media_info() 1122 geo->heads = ftl->heads; in sm_getgeo()
|
D | inftlmount.c | 503 s->EraseSize, s->heads, s->sectors, s->cylinders, in INFTL_dumptables()
|
D | rfd_ftl.c | 750 geo->heads = 1; in rfd_ftl_getgeo()
|
D | ftl.c | 989 geo->heads = 1; in ftl_getgeo()
|
/linux-4.1.27/arch/frv/kernel/ |
D | Makefile | 5 heads-y := head-uc-fr401.o head-uc-fr451.o head-uc-fr555.o 6 heads-$(CONFIG_MMU) := head-mmu-fr451.o 10 obj-y := $(heads-y) entry.o entry-table.o break.o switch_to.o \
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | gm107.c | 58 int heads = nv_rd32(parent, 0x022448); in gm107_disp_ctor() local 61 ret = nvkm_disp_create(parent, engine, oclass, heads, in gm107_disp_ctor() 76 priv->head.nr = heads; in gm107_disp_ctor()
|
D | gk110.c | 58 int heads = nv_rd32(parent, 0x022448); in gk110_disp_ctor() local 61 ret = nvkm_disp_create(parent, engine, oclass, heads, in gk110_disp_ctor() 76 priv->head.nr = heads; in gk110_disp_ctor()
|
D | gm204.c | 59 int heads = nv_rd32(parent, 0x022448); in gm204_disp_ctor() local 62 ret = nvkm_disp_create(parent, engine, oclass, heads, in gm204_disp_ctor() 77 priv->head.nr = heads; in gm204_disp_ctor()
|
D | gk104.c | 223 int heads = nv_rd32(parent, 0x022448); in gk104_disp_ctor() local 226 ret = nvkm_disp_create(parent, engine, oclass, heads, in gk104_disp_ctor() 241 priv->head.nr = heads; in gk104_disp_ctor()
|
D | base.c | 187 struct nvkm_oclass *oclass, int heads, const char *intname, in nvkm_disp_create_() argument 235 ret = nvkm_event_init(impl->vblank, 1, heads, &disp->vblank); in nvkm_disp_create_()
|
D | priv.h | 29 struct nvkm_oclass *, int heads,
|
D | outp.c | 87 dcbE->bus, dcbE->heads); in nvkm_output_create_()
|
D | gf110.c | 1259 int heads = nv_rd32(parent, 0x022448); in gf110_disp_ctor() local 1262 ret = nvkm_disp_create(parent, engine, oclass, heads, in gf110_disp_ctor() 1277 priv->head.nr = heads; in gf110_disp_ctor()
|
/linux-4.1.27/arch/x86/boot/ |
D | mtools.conf.in | 11 file="@OBJ@/fdimage" cylinders=80 heads=2 sectors=18 filter 15 file="@OBJ@/fdimage" cylinders=80 heads=2 sectors=36 filter
|
/linux-4.1.27/drivers/block/paride/ |
D | pd.c | 228 int heads; /* physical geometry */ member 342 h = (block /= disk->sectors) % disk->heads; in pd_ide_command() 343 c0 = (block /= disk->heads) % 256; in pd_ide_command() 590 pd_send_command(disk, disk->sectors, 0, disk->heads - 1, 0, 0, in pd_init_dev_parms() 673 disk->heads = le16_to_cpu(*(__le16 *) (pd_scratch + 6)); in pd_identify() 678 disk->capacity = disk->sectors * disk->heads * disk->cylinders; in pd_identify() 694 disk->cylinders, disk->heads, disk->sectors, in pd_identify() 759 geo->heads = PD_LOG_HEADS; in pd_getgeo() 761 geo->cylinders = disk->capacity / (geo->heads * geo->sectors); in pd_getgeo() 763 geo->heads = disk->heads; in pd_getgeo()
|
D | pf.c | 336 geo->heads = PF_FD_HDS; in pf_getgeo() 340 geo->heads = PF_HD_HDS; in pf_getgeo()
|
/linux-4.1.27/drivers/vhost/ |
D | vhost.c | 259 kfree(vq->heads); in vhost_vq_free_iovecs() 260 vq->heads = NULL; in vhost_vq_free_iovecs() 274 vq->heads = kmalloc(sizeof *vq->heads * UIO_MAXIOV, GFP_KERNEL); in vhost_dev_alloc_iovecs() 275 if (!vq->indirect || !vq->log || !vq->heads) in vhost_dev_alloc_iovecs() 315 vq->heads = NULL; in vhost_dev_init() 1360 struct vring_used_elem heads = { in vhost_add_used() local 1365 return vhost_add_used_n(vq, &heads, 1); in vhost_add_used() 1370 struct vring_used_elem *heads, in __vhost_add_used_n() argument 1380 if (__put_user(heads[0].id, &used->id)) { in __vhost_add_used_n() 1384 if (__put_user(heads[0].len, &used->len)) { in __vhost_add_used_n() [all …]
|
D | net.c | 248 if (vq->heads[i].len == VHOST_DMA_FAILED_LEN) in vhost_zerocopy_signal_used() 250 if (VHOST_DMA_IS_DONE(vq->heads[i].len)) { in vhost_zerocopy_signal_used() 251 vq->heads[i].len = VHOST_DMA_CLEAR_LEN; in vhost_zerocopy_signal_used() 259 &vq->heads[nvq->done_idx], add); in vhost_zerocopy_signal_used() 274 vq->heads[ubuf->desc].len = success ? in vhost_zerocopy_callback() 378 vq->heads[nvq->upend_idx].id = cpu_to_vhost32(vq, head); in handle_tx() 379 vq->heads[nvq->upend_idx].len = VHOST_DMA_IN_PROGRESS; in handle_tx() 450 struct vring_used_elem *heads, in get_rx_bufs() argument 493 heads[headcount].id = cpu_to_vhost32(vq, d); in get_rx_bufs() 495 heads[headcount].len = cpu_to_vhost32(vq, len); in get_rx_bufs() [all …]
|
D | vhost.h | 101 struct vring_used_elem *heads; member 145 int vhost_add_used_n(struct vhost_virtqueue *, struct vring_used_elem *heads, 150 struct vring_used_elem *heads, unsigned count);
|
/linux-4.1.27/block/partitions/ |
D | acorn.c | 206 (dr->heads + (dr->lowsector & 0x40 ? 1 : 0)) * in adfspart_check_CUMANA() 258 unsigned long start_sect, nr_sects, sectscyl, heads; in adfspart_check_ADFS() local 275 heads = dr->heads + ((dr->lowsector >> 6) & 1); in adfspart_check_ADFS() 276 sectscyl = dr->secspertrack * heads; in adfspart_check_ADFS()
|
D | ibm.c | 40 return cyl * geo->heads * geo->sectors + in cchh2blk() 58 return cyl * geo->heads * geo->sectors + in cchhb2blk() 220 geo_size = geo->cylinders * geo->heads in find_lnx1_partitions()
|
/linux-4.1.27/drivers/staging/i2o/ |
D | i2o_block.c | 544 unsigned long heads, sectors, cylinders; in i2o_block_biosparam() local 548 heads = 16; in i2o_block_biosparam() 550 heads = 32; in i2o_block_biosparam() 552 heads = 64; in i2o_block_biosparam() 554 heads = 128; in i2o_block_biosparam() 556 heads = 255; in i2o_block_biosparam() 558 cylinders = (unsigned long)capacity / (heads * sectors); in i2o_block_biosparam() 562 *hds = (unsigned char)heads; in i2o_block_biosparam() 637 &geo->cylinders, &geo->heads, &geo->sectors); in i2o_block_getgeo()
|
/linux-4.1.27/drivers/gpu/drm/qxl/ |
D | qxl_display.c | 88 &qdev->rom->client_monitors_config.heads[i]; in qxl_display_copy_rom_client_monitors_config() 90 &qdev->client_monitors_config->heads[i]; in qxl_display_copy_rom_client_monitors_config() 114 head = &qdev->client_monitors_config->heads[output->index]; in qxl_update_offset_props() 155 head = &qdev->client_monitors_config->heads[h]; in qxl_add_monitors_config_modes() 567 struct qxl_head *head = &qdev->monitors_config->heads[i]; in qxl_send_monitors_config() 587 qdev->monitors_config->heads[index].x = x; in qxl_monitors_config_set() 588 qdev->monitors_config->heads[index].y = y; in qxl_monitors_config_set() 589 qdev->monitors_config->heads[index].width = width; in qxl_monitors_config_set() 590 qdev->monitors_config->heads[index].height = height; in qxl_monitors_config_set() 591 qdev->monitors_config->heads[index].surface_id = surf_id; in qxl_monitors_config_set() [all …]
|
D | qxl_cmd.c | 433 qdev->monitors_config->heads[0].width : -1, in qxl_io_monitors_config() 435 qdev->monitors_config->heads[0].height : -1, in qxl_io_monitors_config() 437 qdev->monitors_config->heads[0].x : -1, in qxl_io_monitors_config() 439 qdev->monitors_config->heads[0].y : -1 in qxl_io_monitors_config()
|
D | qxl_dev.h | 258 struct qxl_urect heads[64]; member 874 struct qxl_head heads[0]; member
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
D | memx.c | 126 u32 heads, x, y, px = 0; in nvkm_memx_wait_vblank() local 130 heads = nv_rd32(pmu, 0x610050); in nvkm_memx_wait_vblank() 133 if (heads & (2 << (i << 3))) { in nvkm_memx_wait_vblank()
|
/linux-4.1.27/drivers/scsi/aic7xxx/ |
D | aiclib.h | 137 aic_sector_div(sector_t capacity, int heads, int sectors) in aic_sector_div() argument 140 sector_div(capacity, (heads * sectors)); in aic_sector_div()
|
D | aic7xxx_osm.c | 699 int heads; in ahc_linux_biosparam() local 718 heads = 64; in ahc_linux_biosparam() 720 cylinders = aic_sector_div(capacity, heads, sectors); in ahc_linux_biosparam() 729 heads = 255; in ahc_linux_biosparam() 731 cylinders = aic_sector_div(capacity, heads, sectors); in ahc_linux_biosparam() 733 geom[0] = heads; in ahc_linux_biosparam()
|
D | aic79xx_osm.c | 727 int heads; in ahd_linux_biosparam() local 744 heads = 64; in ahd_linux_biosparam() 746 cylinders = aic_sector_div(capacity, heads, sectors); in ahd_linux_biosparam() 753 heads = 255; in ahd_linux_biosparam() 755 cylinders = aic_sector_div(capacity, heads, sectors); in ahd_linux_biosparam() 757 geom[0] = heads; in ahd_linux_biosparam()
|
/linux-4.1.27/drivers/ide/ |
D | ide-floppy.c | 317 u8 heads, sectors; in ide_floppy_get_flexible_disk_page() local 339 heads = buf[8 + 4]; in ide_floppy_get_flexible_disk_page() 342 capacity = cyls * heads * sectors * sector_size; in ide_floppy_get_flexible_disk_page() 347 drive->name, capacity / 1024, cyls, heads, in ide_floppy_get_flexible_disk_page() 352 drive->bios_head = heads; in ide_floppy_get_flexible_disk_page()
|
D | ide-gd.c | 280 geo->heads = drive->bios_head;
|
/linux-4.1.27/Documentation/laptops/ |
D | disk-shock-protection.txt | 22 unload disk heads. This feature is being used in modern laptops in 25 the internal hard drive and park its heads on the ramp when critical 42 Otherwise, writing an integer value to this file will take the heads 48 -EOVERFLOW, but heads will be parked anyway and the timeout will be 61 For example, do the following in order to park the heads of drive 100 instead of /dev/sda), then parking the heads of one drive (drive X)
|
/linux-4.1.27/drivers/scsi/aacraid/ |
D | linit.c | 323 param->heads = 255; in aac_biosparm() 326 param->heads = 128; in aac_biosparm() 330 param->heads = 64; in aac_biosparm() 334 param->cylinders = cap_to_cyls(capacity, param->heads * param->sectors); in aac_biosparm() 357 param->heads = 64; in aac_biosparm() 361 param->heads = 128; in aac_biosparm() 365 param->heads = 255; in aac_biosparm() 377 param->cylinders = cap_to_cyls(capacity, param->heads * param->sectors); in aac_biosparm() 381 param->heads, param->sectors, num)); in aac_biosparm() 386 param->heads, param->sectors)); in aac_biosparm()
|
D | aacraid.h | 102 int heads; member
|
/linux-4.1.27/drivers/block/rsxx/ |
D | dev.c | 95 geo->heads = 64; in rsxx_getgeo() 97 do_div(blocks, (geo->heads * geo->sectors)); in rsxx_getgeo() 100 geo->heads = 0; in rsxx_getgeo()
|
/linux-4.1.27/include/linux/ |
D | amifd.h | 33 unsigned int heads; /* number of heads */ member
|
D | perf_event.h | 331 struct hlist_head heads[SWEVENT_HLIST_SIZE]; member
|
D | libata.h | 714 u16 heads; /* Number of heads */ member
|
/linux-4.1.27/drivers/block/ |
D | amiflop.c | 1071 if (hdr.track != unit[drive].track/unit[drive].type->heads) { in dos_read() 1074 unit[drive].track/unit[drive].type->heads); in dos_read() 1078 if (hdr.side != unit[drive].track%unit[drive].type->heads) { in dos_read() 1081 unit[drive].track%unit[drive].type->heads); in dos_read() 1171 hdr.track=unit[drive].track/unit[drive].type->heads; in ms_putsec() 1172 hdr.side=unit[drive].track%unit[drive].type->heads; in ms_putsec() 1457 geo->heads = unit[drive].type->heads; in fd_getgeo() 1491 if (param < p->type->tracks * p->type->heads) in fd_locked_ioctl() 1512 getprm.head=p->type->heads; in fd_locked_ioctl() 1626 unit[drive].blocks=unit[drive].type->heads*unit[drive].type->tracks* in floppy_open()
|
D | mg_disk.c | 122 u16 heads; member 375 host->heads = id[ATA_ID_HEADS]; in mg_get_disk_id() 378 if (MG_RES_SEC && host->heads && host->sectors) { in mg_get_disk_id() 381 host->heads / host->sectors; in mg_get_disk_id() 383 host->heads * host->sectors; in mg_get_disk_id() 774 geo->heads = (unsigned char)host->heads; in mg_getgeo()
|
D | cpqarray.h | 51 unsigned heads; member
|
D | cciss.c | 447 if (drv->heads == 0) in cciss_seq_show() 776 if (!drv->heads) { in cciss_show_lunid() 1094 if (drv->heads == 0) { in cciss_open() 1269 geo->heads = drv->heads; in cciss_getgeo() 1792 !(h->drv[curr_queue]->heads)) in cciss_check_queues() 2043 drvinfo->heads == h->drv[drv_index]->heads && in cciss_update_drive_info() 2084 h->drv[drv_index]->heads = drvinfo->heads; in cciss_update_drive_info() 2254 h->drv[drv_index]->heads = 0; in cciss_add_controller_node() 2416 drive_info->heads = 0; in cciss_clear_drive_info() 2518 if (h->drv[i] && h->drv[i]->heads) in deregister_disk() [all …]
|
D | virtio_blk.c | 287 geometry.heads, &geo->heads); in virtblk_getgeo() 292 geo->heads = 1 << 6; in virtblk_getgeo()
|
D | cpqarray.c | 1128 geo->heads = drv->heads; in ida_getgeo() 1132 geo->heads = 0xff; in ida_getgeo() 1760 drv->heads = id_ldrive->drv.heads; in getgeometry()
|
D | ida_cmd.h | 140 __u8 heads; member
|
D | cciss.h | 38 int heads; member
|
D | sunvdc.c | 116 geo->heads = 0xff; in vdc_getgeo() 118 sector_div(cylinders, geo->heads * geo->sectors); in vdc_getgeo() 120 if ((sector_t)(geo->cylinders + 1) * geo->heads * geo->sectors < nsect) in vdc_getgeo()
|
D | floppy.c | 2276 int heads; in rw_interrupt() local 2298 heads = 2; in rw_interrupt() 2300 heads = 1; in rw_interrupt() 2302 nr_sectors = (((R_TRACK - TRACK) * heads + in rw_interrupt() 2313 pr_info("heads=%d eoc=%d\n", heads, eoc); in rw_interrupt() 3375 geo->heads = g->head; in fd_getgeo()
|
D | umem.c | 777 geo->heads = 64; in mm_getgeo() 779 geo->cylinders = size / (geo->heads * geo->sectors); in mm_getgeo()
|
D | hd.c | 665 geo->heads = disk->head; in hd_getgeo()
|
D | xen-blkfront.c | 340 hg->heads = 0xff; in blkif_getgeo() 342 sector_div(cylinders, hg->heads * hg->sectors); in blkif_getgeo() 344 if ((sector_t)(hg->cylinders + 1) * hg->heads * hg->sectors < nsect) in blkif_getgeo()
|
D | swim.c | 734 geo->heads = g->head; in floppy_getgeo()
|
D | xsysace.c | 944 geo->heads = cf_id[ATA_ID_HEADS]; in ace_getgeo()
|
D | DAC960.c | 114 geo->heads = p->V1.GeometryTranslationHeads; in DAC960_getgeo() 117 LogicalDriveSize / (geo->heads * geo->sectors); in DAC960_getgeo() 123 geo->heads = 128; in DAC960_getgeo() 127 geo->heads = 255; in DAC960_getgeo() 137 (geo->heads * geo->sectors); in DAC960_getgeo()
|
D | sx8.c | 440 geo->heads = (u8) port->dev_geom_head; in carm_bdev_getgeo()
|
D | nvme-core.c | 1973 geo->heads = 1 << 6; in nvme_getgeo()
|
D | skd_main.c | 4741 geo->heads = 64; in skd_bdev_getgeo()
|
/linux-4.1.27/include/uapi/linux/ |
D | adfs_fs.h | 13 __u8 heads; member
|
D | virtio_blk.h | 66 __u8 heads; member
|
D | hdreg.h | 324 unsigned char heads; member 402 unsigned short heads; /* Obsolete, "physical" heads */ member
|
D | msdos_fs.h | 123 __le16 heads; /* number of heads */ member
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | dcb.c | 118 return (outp->heads << 8) | (outp->link << 6) | outp->or; in dcb_outp_hashm() 134 outp->heads = (conn & 0x00000f00) >> 8; in dcb_outp_parse()
|
/linux-4.1.27/include/linux/mtd/ |
D | nftl.h | 40 unsigned char heads; member
|
D | inftl.h | 33 unsigned char heads; member
|
/linux-4.1.27/Documentation/scsi/ |
D | aha152x.txt | 111 The number of cylinders/heads/sectors is called geometry and is required 127 namely the address space is limited to up to 255 heads, up to 63 sectors 130 The AHA-1522 BIOS calculates the geometry by fixing the number of heads 138 extended translation. This means that the BIOS uses 255 for heads,
|
D | scsi_mid_low_api.txt | 377 scsi_partsize - parse partition table into cylinders, heads + sectors 551 * scsi_partsize - parse partition table into cylinders, heads + sectors 555 * @hds: outputs number of heads calculated via this pointer 766 * params[0] number of heads (max 255)
|
D | ChangeLog.1992-1997 | 1958 (heads & sectors turned around).
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
D | dcb.h | 20 uint8_t heads; member
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nouveau_bios.c | 1383 int heads, int or) in fabricate_dcb_output() argument 1389 entry->heads = heads; in fabricate_dcb_output() 1404 entry->heads = (conn >> 8) & 0xf; in parse_dcb20_entry() 1535 entry->hashm = (entry->heads << 8) | (link << 6) | entry->or; in parse_dcb20_entry() 1568 entry->heads = ((conn & 0x001c0000) >> 18) + 1; in parse_dcb15_entry() 1569 entry->or = entry->heads; /* same as heads, hopefully safe enough */ in parse_dcb15_entry() 1622 ient->heads |= jent->heads; in merge_like_dcb_entries()
|
D | nv50_display.c | 1693 encoder->possible_crtcs = dcbe->heads; in nv50_dac_create() 2088 encoder->possible_crtcs = dcbe->heads; in nv50_sor_create() 2263 encoder->possible_crtcs = dcbe->heads; in nv50_pior_create()
|
/linux-4.1.27/drivers/scsi/dpt/ |
D | dpti_ioctl.h | 93 unsigned heads; /* heads for drives on cntlr. */ member
|
D | sys_info.h | 83 uCHAR heads; /* Up to 255 */ member
|
/linux-4.1.27/drivers/memstick/core/ |
D | mspro_block.c | 131 __be16 heads; member 149 unsigned short heads; member 239 geo->heads = msb->heads; in mspro_block_bd_getgeo() 487 be16_to_cpu(x_devinfo->heads)); in mspro_block_attr_show_devinfo() 1209 msb->heads = be16_to_cpu(dev_info->heads); in mspro_block_init_disk()
|
D | ms_block.c | 1751 msb->geometry.heads = chs_table[i].head; in msb_init_card()
|
/linux-4.1.27/drivers/s390/block/ |
D | dasd_eckd.c | 242 u16 heads, beghead, endhead; in define_extent() local 301 heads = private->rdc_data.trk_per_cyl; in define_extent() 302 begcyl = trk / heads; in define_extent() 303 beghead = trk % heads; in define_extent() 304 endcyl = totrk / heads; in define_extent() 305 endhead = totrk % heads; in define_extent() 488 u16 heads, beghead, endhead; in prefix_LRE() local 594 heads = basepriv->rdc_data.trk_per_cyl; in prefix_LRE() 595 begcyl = trk / heads; in prefix_LRE() 596 beghead = trk % heads; in prefix_LRE() [all …]
|
D | xpram.c | 241 geo->heads = 4; in xpram_getgeo()
|
D | dasd_diag.c | 480 geo->heads = 16; in dasd_diag_fill_geometry()
|
D | dasd_fba.c | 219 geo->heads = 16; in dasd_fba_fill_geometry()
|
/linux-4.1.27/arch/m68k/emu/ |
D | nfblock.c | 87 geo->heads = 4; in nfhd_getgeo()
|
/linux-4.1.27/drivers/block/aoe/ |
D | aoeblk.c | 307 geo->heads = d->geo.heads; in aoeblk_getgeo()
|
D | aoecmd.c | 1011 d->geo.heads = 255; in ataid_complete() 1021 d->geo.heads = get_unaligned_le16(&id[55 << 1]); in ataid_complete()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/ |
D | tvnv04.c | 227 encoder->possible_crtcs = entry->heads; in nv04_tv_create()
|
D | dac.c | 551 encoder->possible_crtcs = entry->heads; in nv04_dac_create()
|
D | dfp.c | 713 encoder->possible_crtcs = entry->heads; in nv04_dfp_create()
|
D | tvnv17.c | 831 encoder->possible_crtcs = entry->heads; in nv17_tv_create()
|
/linux-4.1.27/tools/perf/util/ |
D | evlist.c | 41 INIT_HLIST_HEAD(&evlist->heads[i]); in perf_evlist__init() 480 hlist_add_head(&sid->node, &evlist->heads[hash]); in perf_evlist__id_hash() 554 head = &evlist->heads[hash]; in perf_evlist__id2sid() 625 head = &evlist->heads[hash]; in perf_evlist__event2evsel()
|
D | evlist.h | 36 struct hlist_head heads[PERF_EVLIST__HLIST_SIZE]; member
|
/linux-4.1.27/drivers/ata/ |
D | libata-core.c | 100 u16 heads, u16 sectors); 725 block = (cyl * dev->heads + head) * dev->sectors + sect - 1; in ata_tf_read_block() 830 cyl = track / dev->heads; in ata_build_rw_tf() 831 head = track % dev->heads; in ata_build_rw_tf() 2242 dev->heads = 0; in ata_dev_configure() 2326 dev->heads = id[3]; in ata_dev_configure() 2332 dev->heads = id[55]; in ata_dev_configure() 2345 dev->heads, dev->sectors); in ata_dev_configure() 4559 u16 heads, u16 sectors) in ata_dev_init_params() argument 4565 if (sectors < 1 || sectors > 255 || heads < 1 || heads > 16) in ata_dev_init_params() [all …]
|
D | libata-scsi.c | 1618 cyl = track / dev->heads; in ata_scsi_verify_xlat() 1619 head = track % dev->heads; in ata_scsi_verify_xlat()
|
/linux-4.1.27/drivers/message/fusion/ |
D | mptscsih.c | 2093 int heads; in mptscsih_bios_param() local 2098 heads = 64; in mptscsih_bios_param() 2101 dummy = heads * sectors; in mptscsih_bios_param() 2110 heads = 255; in mptscsih_bios_param() 2112 dummy = heads * sectors; in mptscsih_bios_param() 2118 geom[0] = heads; in mptscsih_bios_param()
|
/linux-4.1.27/Documentation/sound/oss/ |
D | SoundPro | 72 butting heads with another device.
|
/linux-4.1.27/drivers/mtd/ubi/ |
D | block.c | 283 geo->heads = 1; in ubiblock_getgeo()
|
/linux-4.1.27/drivers/scsi/arcmsr/ |
D | arcmsr_hba.c | 313 int ret, heads, sectors, cylinders, total_capacity; in arcmsr_bios_param() local 324 heads = 64; in arcmsr_bios_param() 326 cylinders = total_capacity / (heads * sectors); in arcmsr_bios_param() 328 heads = 255; in arcmsr_bios_param() 330 cylinders = total_capacity / (heads * sectors); in arcmsr_bios_param() 332 geom[0] = heads; in arcmsr_bios_param()
|
/linux-4.1.27/fs/ntfs/ |
D | layout.h | 61 le16 heads; /* irrelevant */ member
|
/linux-4.1.27/drivers/scsi/megaraid/ |
D | megaraid_sas_base.c | 2550 int heads; in megasas_bios_param() local 2555 heads = 64; in megasas_bios_param() 2558 tmp = heads * sectors; in megasas_bios_param() 2568 heads = 255; in megasas_bios_param() 2570 tmp = heads*sectors; in megasas_bios_param() 2575 geom[0] = heads; in megasas_bios_param()
|
/linux-4.1.27/Documentation/ioctl/ |
D | hdio.txt | 99 heads number of heads
|
/linux-4.1.27/Documentation/block/ |
D | biodoc.txt | 56 (instead of using buffer heads at the i/o layer) 369 Prior to 2.5, buffer heads were used as the unit of i/o at the generic block 371 buffer heads for a contiguous i/o request. This led to certain inefficiencies 420 mapping at all (unlike buffer heads). 849 heads. This work is still in progress.
|
/linux-4.1.27/Documentation/ide/ |
D | ide.txt | 85 ide_core.chs=[interface_number.device_number]:cyls,heads,sects
|
/linux-4.1.27/Documentation/development-process/ |
D | 7.AdvancedTopics | 42 heads, etc. It can all be a little intimidating at the outset, but the
|
/linux-4.1.27/block/ |
D | compat_ioctl.c | 45 unsigned char heads; member
|
/linux-4.1.27/drivers/scsi/mpt2sas/ |
D | mpt2sas_scsih.c | 2145 int heads; in _scsih_bios_param() local 2150 heads = 64; in _scsih_bios_param() 2153 dummy = heads * sectors; in _scsih_bios_param() 2162 heads = 255; in _scsih_bios_param() 2164 dummy = heads * sectors; in _scsih_bios_param() 2170 params[0] = heads; in _scsih_bios_param()
|
/linux-4.1.27/drivers/scsi/mpt3sas/ |
D | mpt3sas_scsih.c | 1812 int heads; in _scsih_bios_param() local 1817 heads = 64; in _scsih_bios_param() 1820 dummy = heads * sectors; in _scsih_bios_param() 1829 heads = 255; in _scsih_bios_param() 1831 dummy = heads * sectors; in _scsih_bios_param() 1837 params[0] = heads; in _scsih_bios_param()
|
/linux-4.1.27/arch/um/drivers/ |
D | ubd_kern.c | 1335 geo->heads = 128; in ubd_getgeo()
|
/linux-4.1.27/drivers/md/ |
D | dm-ioctl.c | 955 geometry.heads = indata[1]; in dev_set_geometry()
|
D | dm.c | 867 sector_t sz = (sector_t)geo->cylinders * geo->heads * geo->sectors; in dm_set_geometry()
|
D | md.c | 6521 geo->heads = 2; in md_getgeo()
|
/linux-4.1.27/fs/reiserfs/ |
D | journal.c | 2103 static void brelse_array(struct buffer_head **heads, int num) in brelse_array() argument 2107 brelse(heads[i]); in brelse_array()
|
/linux-4.1.27/drivers/block/mtip32xx/ |
D | mtip32xx.c | 3637 geo->heads = 224; in mtip_block_getgeo() 3639 sector_div(capacity, (geo->heads * geo->sectors)); in mtip_block_getgeo()
|
/linux-4.1.27/fs/fat/ |
D | inode.c | 1339 if (b->heads) in fat_bpb_is_zero()
|
/linux-4.1.27/Documentation/filesystems/ |
D | ntfs.txt | 260 255 heads, 63 sectors/track, 9964 cylinders, total 160086528 sectors
|
/linux-4.1.27/firmware/ |
D | WHENCE | 48 drops binary dsp code images on our heads, but we don't get to see
|
/linux-4.1.27/drivers/mmc/card/ |
D | block.c | 328 geo->heads = 4; in mmc_blk_getgeo()
|
/linux-4.1.27/Documentation/ |
D | DMA-API.txt | 88 for alignment, like queue heads needing to be aligned on N-byte boundaries.
|
D | DMA-API-HOWTO.txt | 431 like queue heads needing to be aligned on N byte boundaries.
|
/linux-4.1.27/fs/btrfs/ |
D | extent-tree.c | 2619 static inline u64 heads_to_leaves(struct btrfs_root *root, u64 heads) in heads_to_leaves() argument 2623 num_bytes = heads * (sizeof(struct btrfs_extent_item) + in heads_to_leaves() 2626 num_bytes += heads * sizeof(struct btrfs_tree_block_info); in heads_to_leaves()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | Kconfig | 266 Appian Jeronimo PRO (both heads) PCI 1307 3.9.17 preview you can use both heads if you use SVGA over fbdev or
|
/linux-4.1.27/Documentation/m68k/ |
D | kernel-options.txt | 252 Syntax: hd=<cylinders>,<heads>,<sectors>
|
/linux-4.1.27/lib/ |
D | Kconfig.debug | 428 Enable this to turn on debugging of RCU list heads (call_rcu() usage).
|
/linux-4.1.27/kernel/events/ |
D | core.c | 6320 return &hlist->heads[hash]; in __find_swevent_head()
|