| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/syslinux/syslinux/ |
| H A D | 0008-libinstaller-syslinuxext-implement-syslinux_patch_bo.patch | 150 - geo->heads = fd_str.head; 165 - /* Didn't work either... assign a geometry of 64 heads, 32 sectors; this is 169 - geo->heads = opt.heads ? : 64; 171 - geo->cylinders = totalbytes / (geo->heads * geo->sectors << SECTOR_SHIFT); 174 - if (!opt.sectors && !opt.heads) { 176 - "Warning: unable to obtain device geometry (defaulting to %d heads, %d sectors)\n" 178 - geo->heads, geo->sectors); 217 - if (opt.heads) 218 - geo.heads = opt.heads; 225 - dprintf("heads = %u, sect = %u\n", geo.heads, geo.sectors); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mtd/ |
| H A D | ssfdc.c | 22 unsigned char heads; member 317 ssfdc->heads = 16; in ssfdcr_add_mtd() 319 get_chs(mtd->size, NULL, &ssfdc->heads, &ssfdc->sectors); in ssfdcr_add_mtd() 321 ((long)ssfdc->sectors * (long)ssfdc->heads)); in ssfdcr_add_mtd() 324 ssfdc->cylinders, ssfdc->heads , ssfdc->sectors, in ssfdcr_add_mtd() 325 (long)ssfdc->cylinders * (long)ssfdc->heads * in ssfdcr_add_mtd() 328 ssfdc->mbd.size = (long)ssfdc->heads * (long)ssfdc->cylinders * in ssfdcr_add_mtd() 411 ssfdc->cylinders, ssfdc->heads, ssfdc->sectors); in ssfdcr_getgeo() 413 geo->heads = ssfdc->heads; in ssfdcr_getgeo()
|
| H A D | nftlcore.c | 68 nftl->heads = 16; in nftl_add_mtd() 70 temp = nftl->cylinders * nftl->heads; in nftl_add_mtd() 75 nftl->heads = nftl->mbd.size / temp; in nftl_add_mtd() 78 nftl->heads++; in nftl_add_mtd() 79 temp = nftl->heads * nftl->sectors; in nftl_add_mtd() 84 if (nftl->mbd.size != nftl->heads * nftl->cylinders * nftl->sectors) { in nftl_add_mtd() 93 nftl->cylinders, nftl->heads , nftl->sectors, in nftl_add_mtd() 94 (long)nftl->cylinders * (long)nftl->heads * in nftl_add_mtd() 771 geo->heads = nftl->heads; in nftl_getgeo()
|
| H A D | inftlcore.c | 75 inftl->heads = 16; in inftl_add_mtd() 77 temp = inftl->cylinders * inftl->heads; in inftl_add_mtd() 82 inftl->heads = inftl->mbd.size / temp; in inftl_add_mtd() 85 inftl->heads++; in inftl_add_mtd() 86 temp = inftl->heads * inftl->sectors; in inftl_add_mtd() 91 if (inftl->mbd.size != inftl->heads * inftl->cylinders * inftl->sectors) { in inftl_add_mtd() 100 inftl->cylinders, inftl->heads , inftl->sectors, in inftl_add_mtd() 101 (long)inftl->cylinders * (long)inftl->heads * in inftl_add_mtd() 920 geo->heads = inftl->heads; in inftl_getgeo()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/ |
| H A D | scsicam.c | 180 unsigned long heads, sectors, cylinders, temp; in setsize() local 186 heads = capacity / temp; /* Compute value for number of heads */ in setsize() 188 heads++; /* Else, increment number of heads */ in setsize() 189 temp = cylinders * heads; /* Compute divisor for sectors */ in setsize() 194 temp = heads * sectors; /* Compute divisor for cylinders */ in setsize() 203 *hds = (unsigned int) heads; in setsize()
|
| /OK3568_Linux_fs/kernel/tools/perf/scripts/python/ |
| H A 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]
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/oelib/ |
| H A D | buildhistory.py | 68 blob1 = self.repo.heads.master.commit.tree.blobs[0] 71 blob2 = self.repo.heads.master.commit.tree.blobs[0] 87 blob1 = self.repo.heads.master.commit.tree.blobs[0] 90 blob2 = self.repo.heads.master.commit.tree.blobs[0]
|
| /OK3568_Linux_fs/kernel/drivers/block/paride/ |
| H A D | pd.c | 228 int heads; /* physical geometry */ member 351 h = (block /= disk->sectors) % disk->heads; in pd_ide_command() 352 c0 = (block /= disk->heads) % 256; in pd_ide_command() 638 pd_send_command(disk, disk->sectors, 0, disk->heads - 1, 0, 0, in pd_init_dev_parms() 721 disk->heads = le16_to_cpu(*(__le16 *) (pd_scratch + 6)); in pd_identify() 726 disk->capacity = disk->sectors * disk->heads * disk->cylinders; in pd_identify() 742 disk->cylinders, disk->heads, disk->sectors, in pd_identify() 811 geo->heads = PD_LOG_HEADS; in pd_getgeo() 813 geo->cylinders = disk->capacity / (geo->heads * geo->sectors); in pd_getgeo() 815 geo->heads = disk->heads; in pd_getgeo()
|
| /OK3568_Linux_fs/kernel/arch/x86/boot/ |
| H A 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
|
| /OK3568_Linux_fs/kernel/block/partitions/ |
| H A D | acorn.c | 200 (dr->heads + (dr->lowsector & 0x40 ? 1 : 0)) * in adfspart_check_CUMANA() 252 unsigned long start_sect, nr_sects, sectscyl, heads; in adfspart_check_ADFS() local 269 heads = dr->heads + ((dr->lowsector >> 6) & 1); in adfspart_check_ADFS() 270 sectscyl = dr->secspertrack * heads; in adfspart_check_ADFS()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/qxl/ |
| H A D | qxl_display.c | 56 heads, count), GFP_KERNEL); in qxl_alloc_client_monitors_config() 106 &qdev->rom->client_monitors_config.heads[i]; in qxl_display_copy_rom_client_monitors_config() 108 &qdev->client_monitors_config->heads[i]; in qxl_display_copy_rom_client_monitors_config() 154 head = &qdev->client_monitors_config->heads[output->index]; in qxl_update_offset_props() 261 head = &qdev->client_monitors_config->heads[h]; in qxl_add_monitors_config_modes() 298 struct qxl_head *head = &qdev->monitors_config->heads[i]; in qxl_send_monitors_config() 355 if (head.width == qdev->monitors_config->heads[i].width && in qxl_crtc_update_monitors_config() 356 head.height == qdev->monitors_config->heads[i].height && in qxl_crtc_update_monitors_config() 357 head.x == qdev->monitors_config->heads[i].x && in qxl_crtc_update_monitors_config() 358 head.y == qdev->monitors_config->heads[i].y && in qxl_crtc_update_monitors_config() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/vhost/ |
| H A D | net.c | 367 if (vq->heads[i].len == VHOST_DMA_FAILED_LEN) in vhost_zerocopy_signal_used() 369 if (VHOST_DMA_IS_DONE(vq->heads[i].len)) { in vhost_zerocopy_signal_used() 370 vq->heads[i].len = VHOST_DMA_CLEAR_LEN; in vhost_zerocopy_signal_used() 378 &vq->heads[nvq->done_idx], add); in vhost_zerocopy_signal_used() 393 vq->heads[ubuf->desc].len = success ? in vhost_zerocopy_callback() 455 vhost_add_used_and_signal_n(dev, vq, vq->heads, nvq->done_idx); in vhost_net_signal_used() 851 vq->heads[nvq->done_idx].id = cpu_to_vhost32(vq, head); in handle_tx_copy() 852 vq->heads[nvq->done_idx].len = 0; in handle_tx_copy() 910 vq->heads[nvq->upend_idx].id = cpu_to_vhost32(vq, head); in handle_tx_zerocopy() 911 vq->heads[nvq->upend_idx].len = VHOST_DMA_IN_PROGRESS; in handle_tx_zerocopy() [all …]
|
| H A D | vhost.h | 115 struct vring_used_elem *heads; member 196 int vhost_add_used_n(struct vhost_virtqueue *, struct vring_used_elem *heads, 201 struct vring_used_elem *heads, unsigned count);
|
| H A D | vhost.c | 388 kfree(vq->heads); in vhost_vq_free_iovecs() 389 vq->heads = NULL; in vhost_vq_free_iovecs() 405 vq->heads = kmalloc_array(dev->iov_limit, sizeof(*vq->heads), in vhost_dev_alloc_iovecs() 407 if (!vq->indirect || !vq->log || !vq->heads) in vhost_dev_alloc_iovecs() 501 vq->heads = NULL; in vhost_dev_init() 2351 struct vring_used_elem heads = { in vhost_add_used() local 2356 return vhost_add_used_n(vq, &heads, 1); in vhost_add_used() 2361 struct vring_used_elem *heads, in __vhost_add_used_n() argument 2370 if (vhost_put_used(vq, heads, start, count)) { in __vhost_add_used_n() 2394 int vhost_add_used_n(struct vhost_virtqueue *vq, struct vring_used_elem *heads, in vhost_add_used_n() argument [all …]
|
| /OK3568_Linux_fs/kernel/net/xdp/ |
| H A D | xsk_buff_pool.c | 40 kvfree(pool->heads); in xp_destroy() 56 pool->heads = kvcalloc(umem->chunks, sizeof(*pool->heads), GFP_KERNEL); in xp_create_and_assign_umem() 57 if (!pool->heads) in xp_create_and_assign_umem() 81 xskb = &pool->heads[i]; in xp_create_and_assign_umem() 99 pool->heads[i].xdp.rxq = rxq; in xp_set_rxq_info()
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/laptops/ |
| H A D | disk-shock-protection.rst | 23 unload disk heads. This feature is being used in modern laptops in 26 the internal hard drive and park its heads on the ramp when critical 43 Otherwise, writing an integer value to this file will take the heads 49 -EOVERFLOW, but heads will be parked anyway and the timeout will be 62 For example, do the following in order to park the heads of drive 101 instead of /dev/sda), then parking the heads of one drive (drive X)
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
| H A D | memx.c | 129 u32 heads, x, y, px = 0; in nvkm_memx_wait_vblank() local 133 heads = nvkm_rd32(device, 0x610050); in nvkm_memx_wait_vblank() 136 if (heads & (2 << (i << 3))) { in nvkm_memx_wait_vblank()
|
| /OK3568_Linux_fs/kernel/drivers/ide/ |
| H A D | ide-floppy.c | 324 u8 heads, sectors; in ide_floppy_get_flexible_disk_page() local 346 heads = buf[8 + 4]; in ide_floppy_get_flexible_disk_page() 349 capacity = cyls * heads * sectors * sector_size; in ide_floppy_get_flexible_disk_page() 354 drive->name, capacity / 1024, cyls, heads, in ide_floppy_get_flexible_disk_page() 359 drive->bios_head = heads; in ide_floppy_get_flexible_disk_page()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/aic7xxx/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/block/ |
| H A D | amiflop.c | 179 unsigned int heads; /* number of heads */ member 1188 if (hdr.track != unit[drive].track/unit[drive].type->heads) { in dos_read() 1191 unit[drive].track/unit[drive].type->heads); in dos_read() 1195 if (hdr.side != unit[drive].track%unit[drive].type->heads) { in dos_read() 1198 unit[drive].track%unit[drive].type->heads); in dos_read() 1288 hdr.track=unit[drive].track/unit[drive].type->heads; in ms_putsec() 1289 hdr.side=unit[drive].track%unit[drive].type->heads; in ms_putsec() 1529 geo->heads = unit[drive].type->heads; in fd_getgeo() 1563 if (param < p->type->tracks * p->type->heads) in fd_locked_ioctl() 1584 getprm.head=p->type->heads; in fd_locked_ioctl() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/block/rsxx/ |
| H A D | dev.c | 83 geo->heads = 64; in rsxx_getgeo() 85 do_div(blocks, (geo->heads * geo->sectors)); in rsxx_getgeo() 88 geo->heads = 0; in rsxx_getgeo()
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.imximage | 134 255 heads and 63 sectors, as suggested from several documentation and 169 Number of heads (1-256, default 4): 255 175 We have set 255 heads, 63 sector. We have to set the cylinder. 178 cilynder = <total size> / <heads> / <sectors> / <blocksize> 209 255 heads, 63 sectors/track, 239 cylinders
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/dispnv50/ |
| H A D | wndw.h | 42 u32 interlock_data, u32 heads, struct nv50_wndw **); 116 enum drm_plane_type type, int index, s32 oclass, u32 heads,
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A D | sysfs-block-device | 30 Writing an integer value to this file will take the heads of the 34 - If the device does not support the unload heads feature,
|