/linux-4.4.14/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 | 1272 int heads, sectors_pt; in storvsc_get_chs() local 1277 heads = 0xff; in storvsc_get_chs() 1279 sector_div(cylinders, heads * sectors_pt); in storvsc_get_chs() 1280 if ((sector_t)(cylinders + 1) * heads * sectors_pt < nsect) in storvsc_get_chs() 1283 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 | 2834 int heads; in megaraid_biosparam() local 2844 heads = 64; in megaraid_biosparam() 2846 cylinders = (ulong)capacity / (heads * sectors); in megaraid_biosparam() 2853 heads = 255; in megaraid_biosparam() 2855 cylinders = (ulong)capacity / (heads * sectors); in megaraid_biosparam() 2859 geom[0] = heads; in megaraid_biosparam() 2879 heads = 64; in megaraid_biosparam() 2881 cylinders = (ulong)capacity / (heads * sectors); in megaraid_biosparam() 2885 heads = 255; in megaraid_biosparam() 2887 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 | 1344 int heads = 255, sectors = 63; in stex_biosparam() local 1347 heads = 64; in stex_biosparam() 1351 sector_div(capacity, heads * sectors); in stex_biosparam() 1353 geom[0] = heads; in stex_biosparam()
|
D | ips.c | 1152 int heads; in DEF_SCSI_QCMD() local 1170 heads = IPS_NORM_HEADS; in DEF_SCSI_QCMD() 1173 heads = IPS_COMP_HEADS; in DEF_SCSI_QCMD() 1177 cylinders = (unsigned long) capacity / (heads * sectors); in DEF_SCSI_QCMD() 1180 heads, sectors, cylinders); in DEF_SCSI_QCMD() 1182 geom[0] = heads; in DEF_SCSI_QCMD() 4105 uint16_t heads; in ips_msense() local 4114 heads = IPS_NORM_HEADS; in ips_msense() 4117 heads = IPS_COMP_HEADS; in ips_msense() 4123 1) / (heads * sectors); in ips_msense() [all …]
|
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 | 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 | 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 | 1292 geo->heads = diskinfo[0]; in sd_getgeo()
|
D | ipr.c | 4612 int heads, sectors; in ipr_biosparam() local 4615 heads = 128; in ipr_biosparam() 4622 parm[0] = heads; in ipr_biosparam()
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/tools/perf/scripts/python/ |
D | compaction-times.py | 109 heads = {} variable in chead 121 head = cls.heads[pid] 126 head = cls.heads[pid] = chead(comm, pid, filtered) 133 head = cls.heads[pid] 142 head = cls.heads[pid] 152 for i in cls.heads: 153 yield cls.heads[i]
|
/linux-4.4.14/drivers/block/paride/ |
D | pd.c | 228 int heads; /* physical geometry */ member 344 h = (block /= disk->sectors) % disk->heads; in pd_ide_command() 345 c0 = (block /= disk->heads) % 256; in pd_ide_command() 592 pd_send_command(disk, disk->sectors, 0, disk->heads - 1, 0, 0, in pd_init_dev_parms() 675 disk->heads = le16_to_cpu(*(__le16 *) (pd_scratch + 6)); in pd_identify() 680 disk->capacity = disk->sectors * disk->heads * disk->cylinders; in pd_identify() 696 disk->cylinders, disk->heads, disk->sectors, in pd_identify() 761 geo->heads = PD_LOG_HEADS; in pd_getgeo() 763 geo->cylinders = disk->capacity / (geo->heads * geo->sectors); in pd_getgeo() 765 geo->heads = disk->heads; in pd_getgeo()
|
D | pf.c | 337 geo->heads = PF_FD_HDS; in pf_getgeo() 341 geo->heads = PF_HD_HDS; in pf_getgeo()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | priv.h | 8 int index, int heads, struct nvkm_disp *); 10 int index, int heads, struct nvkm_disp **);
|
D | base.c | 284 int index, int heads, struct nvkm_disp *disp) in nvkm_disp_ctor() argument 298 disp->head.nr = heads; in nvkm_disp_ctor() 425 ret = nvkm_event_init(&nvkm_disp_vblank_func, 1, heads, &disp->vblank); in nvkm_disp_ctor() 434 int index, int heads, struct nvkm_disp **pdisp) in nvkm_disp_new_() argument 438 return nvkm_disp_ctor(func, device, index, heads, *pdisp); in nvkm_disp_new_()
|
D | outp.c | 74 outp->info.bus, outp->info.heads); in nvkm_output_ctor()
|
D | nv50.h | 52 int index, int heads, struct nvkm_disp **);
|
D | nv50.c | 145 int index, int heads, struct nvkm_disp **pdisp) in nv50_disp_new_() argument 156 ret = nvkm_disp_ctor(&nv50_disp_, device, index, heads, &disp->base); in nv50_disp_new_() 160 return nvkm_event_init(func->uevent, 1, 1 + (heads * 4), &disp->uevent); in nv50_disp_new_()
|
D | gf119.c | 506 u32 heads = nvkm_rd32(device, 0x022448); in gf119_disp_new_() local 507 return nv50_disp_new_(func, device, index, heads, pdisp); in gf119_disp_new_()
|
/linux-4.4.14/drivers/vhost/ |
D | net.c | 247 if (vq->heads[i].len == VHOST_DMA_FAILED_LEN) in vhost_zerocopy_signal_used() 249 if (VHOST_DMA_IS_DONE(vq->heads[i].len)) { in vhost_zerocopy_signal_used() 250 vq->heads[i].len = VHOST_DMA_CLEAR_LEN; in vhost_zerocopy_signal_used() 258 &vq->heads[nvq->done_idx], add); in vhost_zerocopy_signal_used() 273 vq->heads[ubuf->desc].len = success ? in vhost_zerocopy_callback() 377 vq->heads[nvq->upend_idx].id = cpu_to_vhost32(vq, head); in handle_tx() 378 vq->heads[nvq->upend_idx].len = VHOST_DMA_IN_PROGRESS; in handle_tx() 449 struct vring_used_elem *heads, in get_rx_bufs() argument 492 heads[headcount].id = cpu_to_vhost32(vq, d); in get_rx_bufs() 494 heads[headcount].len = cpu_to_vhost32(vq, len); in get_rx_bufs() [all …]
|
D | vhost.c | 338 kfree(vq->heads); in vhost_vq_free_iovecs() 339 vq->heads = NULL; in vhost_vq_free_iovecs() 353 vq->heads = kmalloc(sizeof *vq->heads * UIO_MAXIOV, GFP_KERNEL); in vhost_dev_alloc_iovecs() 354 if (!vq->indirect || !vq->log || !vq->heads) in vhost_dev_alloc_iovecs() 394 vq->heads = NULL; in vhost_dev_init() 1475 struct vring_used_elem heads = { in vhost_add_used() local 1480 return vhost_add_used_n(vq, &heads, 1); in vhost_add_used() 1485 struct vring_used_elem *heads, in __vhost_add_used_n() argument 1495 if (__put_user(heads[0].id, &used->id)) { in __vhost_add_used_n() 1499 if (__put_user(heads[0].len, &used->len)) { in __vhost_add_used_n() [all …]
|
D | vhost.h | 101 struct vring_used_elem *heads; member 153 int vhost_add_used_n(struct vhost_virtqueue *, struct vring_used_elem *heads, 158 struct vring_used_elem *heads, unsigned count);
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
D | hwsq.c | 139 u32 heads, x, y, px = 0; in nvkm_hwsq_wait_vblank() local 142 heads = nvkm_rd32(device, 0x610050); in nvkm_hwsq_wait_vblank() 145 if (heads & (2 << (i << 3))) { in nvkm_hwsq_wait_vblank()
|
/linux-4.4.14/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.4.14/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() 575 struct qxl_head *head = &qdev->monitors_config->heads[i]; in qxl_send_monitors_config() 595 qdev->monitors_config->heads[index].x = x; in qxl_monitors_config_set() 596 qdev->monitors_config->heads[index].y = y; in qxl_monitors_config_set() 597 qdev->monitors_config->heads[index].width = width; in qxl_monitors_config_set() 598 qdev->monitors_config->heads[index].height = height; in qxl_monitors_config_set() 599 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.4.14/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.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
D | memx.c | 128 u32 heads, x, y, px = 0; in nvkm_memx_wait_vblank() local 132 heads = nvkm_rd32(device, 0x610050); in nvkm_memx_wait_vblank() 135 if (heads & (2 << (i << 3))) { in nvkm_memx_wait_vblank()
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/include/linux/ |
D | amifd.h | 33 unsigned int heads; /* number of heads */ member
|
D | perf_event.h | 422 struct hlist_head heads[SWEVENT_HLIST_SIZE]; member
|
D | libata.h | 715 u16 heads; /* Number of heads */ member
|
/linux-4.4.14/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 | 445 if (drv->heads == 0) in cciss_seq_show() 792 if (!drv->heads) { in cciss_show_lunid() 1110 if (drv->heads == 0) { in cciss_open() 1285 geo->heads = drv->heads; in cciss_getgeo() 1808 !(h->drv[curr_queue]->heads)) in cciss_check_queues() 2059 drvinfo->heads == h->drv[drv_index]->heads && in cciss_update_drive_info() 2100 h->drv[drv_index]->heads = drvinfo->heads; in cciss_update_drive_info() 2270 h->drv[drv_index]->heads = 0; in cciss_add_controller_node() 2432 drive_info->heads = 0; in cciss_clear_drive_info() 2534 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 | 779 geo->heads = 64; in mm_getgeo() 781 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 | 417 hg->heads = 0xff; in blkif_getgeo() 419 sector_div(cylinders, hg->heads * hg->sectors); in blkif_getgeo() 421 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 | skd_main.c | 4741 geo->heads = 64; in skd_bdev_getgeo()
|
/linux-4.4.14/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.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | dcb.c | 117 return (outp->heads << 8) | (outp->link << 6) | outp->or; in dcb_outp_hashm() 133 outp->heads = (conn & 0x00000f00) >> 8; in dcb_outp_parse()
|
/linux-4.4.14/include/linux/mtd/ |
D | nftl.h | 40 unsigned char heads; member
|
D | inftl.h | 33 unsigned char heads; member
|
/linux-4.4.14/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.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
D | dcb.h | 20 uint8_t heads; member
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_bios.c | 1384 int heads, int or) in fabricate_dcb_output() argument 1390 entry->heads = heads; in fabricate_dcb_output() 1405 entry->heads = (conn >> 8) & 0xf; in parse_dcb20_entry() 1534 entry->hashm = (entry->heads << 8) | (link << 6) | entry->or; in parse_dcb20_entry() 1567 entry->heads = ((conn & 0x001c0000) >> 18) + 1; in parse_dcb15_entry() 1568 entry->or = entry->heads; /* same as heads, hopefully safe enough */ in parse_dcb15_entry() 1621 ient->heads |= jent->heads; in merge_like_dcb_entries()
|
D | nv50_display.c | 1718 encoder->possible_crtcs = dcbe->heads; in nv50_dac_create() 2126 encoder->possible_crtcs = dcbe->heads; in nv50_sor_create() 2306 encoder->possible_crtcs = dcbe->heads; in nv50_pior_create()
|
/linux-4.4.14/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.4.14/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.4.14/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 | 243 geo->heads = 4; in xpram_getgeo()
|
D | dasd_diag.c | 487 geo->heads = 16; in dasd_diag_fill_geometry()
|
D | dasd_fba.c | 219 geo->heads = 16; in dasd_fba_fill_geometry()
|
/linux-4.4.14/arch/m68k/emu/ |
D | nfblock.c | 88 geo->heads = 4; in nfhd_getgeo()
|
/linux-4.4.14/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.4.14/drivers/gpu/drm/nouveau/dispnv04/ |
D | tvnv04.c | 231 encoder->possible_crtcs = entry->heads; in nv04_tv_create()
|
D | dac.c | 556 encoder->possible_crtcs = entry->heads; in nv04_dac_create()
|
D | dfp.c | 712 encoder->possible_crtcs = entry->heads; in nv04_dfp_create()
|
D | tvnv17.c | 823 encoder->possible_crtcs = entry->heads; in nv17_tv_create()
|
/linux-4.4.14/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.4.14/tools/perf/util/ |
D | evlist.h | 39 struct hlist_head heads[PERF_EVLIST__HLIST_SIZE]; member
|
D | evlist.c | 42 INIT_HLIST_HEAD(&evlist->heads[i]); in perf_evlist__init() 543 hlist_add_head(&sid->node, &evlist->heads[hash]); in perf_evlist__id_hash() 617 head = &evlist->heads[hash]; in perf_evlist__id2sid() 703 head = &evlist->heads[hash]; in perf_evlist__event2evsel()
|
/linux-4.4.14/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.4.14/Documentation/sound/oss/ |
D | SoundPro | 72 butting heads with another device.
|
/linux-4.4.14/drivers/mtd/ubi/ |
D | block.c | 284 geo->heads = 1; in ubiblock_getgeo()
|
/linux-4.4.14/drivers/scsi/arcmsr/ |
D | arcmsr_hba.c | 310 int ret, heads, sectors, cylinders, total_capacity; in arcmsr_bios_param() local 321 heads = 64; in arcmsr_bios_param() 323 cylinders = total_capacity / (heads * sectors); in arcmsr_bios_param() 325 heads = 255; in arcmsr_bios_param() 327 cylinders = total_capacity / (heads * sectors); in arcmsr_bios_param() 329 geom[0] = heads; in arcmsr_bios_param()
|
/linux-4.4.14/fs/ntfs/ |
D | layout.h | 61 le16 heads; /* irrelevant */ member
|
/linux-4.4.14/drivers/scsi/megaraid/ |
D | megaraid_sas_base.c | 2639 int heads; in megasas_bios_param() local 2645 heads = 64; in megasas_bios_param() 2648 tmp = heads * sectors; in megasas_bios_param() 2658 heads = 255; in megasas_bios_param() 2660 tmp = heads*sectors; in megasas_bios_param() 2665 geom[0] = heads; in megasas_bios_param()
|
/linux-4.4.14/Documentation/ioctl/ |
D | hdio.txt | 99 heads number of heads
|
/linux-4.4.14/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.4.14/block/ |
D | compat_ioctl.c | 45 unsigned char heads; member
|
/linux-4.4.14/Documentation/ide/ |
D | ide.txt | 85 ide_core.chs=[interface_number.device_number]:cyls,heads,sects
|
/linux-4.4.14/Documentation/development-process/ |
D | 7.AdvancedTopics | 42 heads, etc. It can all be a little intimidating at the outset, but the
|
/linux-4.4.14/drivers/scsi/mpt3sas/ |
D | mpt3sas_scsih.c | 1998 int heads; in scsih_bios_param() local 2003 heads = 64; in scsih_bios_param() 2006 dummy = heads * sectors; in scsih_bios_param() 2015 heads = 255; in scsih_bios_param() 2017 dummy = heads * sectors; in scsih_bios_param() 2023 params[0] = heads; in scsih_bios_param()
|
/linux-4.4.14/arch/um/drivers/ |
D | ubd_kern.c | 1335 geo->heads = 128; in ubd_getgeo()
|
/linux-4.4.14/drivers/nvdimm/ |
D | btt.c | 1218 geo->heads = 1 << 6; in btt_getgeo()
|
/linux-4.4.14/drivers/md/ |
D | dm-ioctl.c | 955 geometry.heads = indata[1]; in dev_set_geometry()
|
D | dm.c | 900 sector_t sz = (sector_t)geo->cylinders * geo->heads * geo->sectors; in dm_set_geometry()
|
D | md.c | 6658 geo->heads = 2; in md_getgeo()
|
/linux-4.4.14/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.4.14/fs/fat/ |
D | inode.c | 1340 if (b->heads) in fat_bpb_is_zero()
|
/linux-4.4.14/Documentation/filesystems/ |
D | ntfs.txt | 260 255 heads, 63 sectors/track, 9964 cylinders, total 160086528 sectors
|
/linux-4.4.14/firmware/ |
D | WHENCE | 48 drops binary dsp code images on our heads, but we don't get to see
|
/linux-4.4.14/drivers/block/mtip32xx/ |
D | mtip32xx.c | 3671 geo->heads = 224; in mtip_block_getgeo() 3673 sector_div(capacity, (geo->heads * geo->sectors)); in mtip_block_getgeo()
|
/linux-4.4.14/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.4.14/drivers/mmc/card/ |
D | block.c | 330 geo->heads = 4; in mmc_blk_getgeo()
|
/linux-4.4.14/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.4.14/Documentation/m68k/ |
D | kernel-options.txt | 252 Syntax: hd=<cylinders>,<heads>,<sectors>
|
/linux-4.4.14/fs/btrfs/ |
D | extent-tree.c | 2723 static inline u64 heads_to_leaves(struct btrfs_root *root, u64 heads) in heads_to_leaves() argument 2727 num_bytes = heads * (sizeof(struct btrfs_extent_item) + in heads_to_leaves() 2730 num_bytes += heads * sizeof(struct btrfs_tree_block_info); in heads_to_leaves()
|
/linux-4.4.14/drivers/nvme/host/ |
D | pci.c | 2011 geo->heads = 1 << 6; in nvme_getgeo()
|
/linux-4.4.14/lib/ |
D | Kconfig.debug | 438 Enable this to turn on debugging of RCU list heads (call_rcu() usage).
|
/linux-4.4.14/kernel/events/ |
D | core.c | 6618 return &hlist->heads[hash]; in __find_swevent_head()
|