Searched refs:heads (Results 51 - 75 of 120) sorted by relevance

12345

/linux-master/drivers/scsi/
H A Dinitio.c561 u8 *heads; local
615 heads = bios_addr + 0x180;
625 host->targets[i].heads = *heads++;
626 if (host->targets[i].heads == 255)
630 host->targets[i].sectors = *heads++;
2667 if (tc->heads) {
2668 info_array[0] = tc->heads;
2670 info_array[2] = (unsigned long)capacity / tc->heads / tc->sectors;
H A Dstorvsc_drv.c1610 int heads, sectors_pt; local
1615 heads = 0xff;
1617 sector_div(cylinders, heads * sectors_pt);
1618 if ((sector_t)(cylinders + 1) * heads * sectors_pt < nsect)
1621 info[0] = heads;
H A D3w-sas.c1406 /* This funciton returns unit geometry in cylinders/heads/sectors */
1409 int heads, sectors; local
1412 heads = 255;
1415 heads = 64;
1419 geom[0] = heads;
1421 geom[2] = sector_div(capacity, heads * sectors); /* cylinders */
H A Dmegaraid.c2787 int heads; local
2795 /* Default heads (64) & sectors (32) */
2796 heads = 64;
2798 cylinders = (ulong)capacity / (heads * sectors);
2805 heads = 255;
2807 cylinders = (ulong)capacity / (heads * sectors);
2811 geom[0] = heads;
2823 /* Default heads (64) & sectors (32) */
2824 heads = 64;
2826 cylinders = (ulong)capacity / (heads * sector
[all...]
H A Dmvumi.c2147 int heads, sectors; local
2151 heads = 64;
2153 tmp = heads * sectors;
2158 heads = 255;
2160 tmp = heads * sectors;
2164 geom[0] = heads;
H A D3w-9xxx.c1697 /* This funciton returns unit geometry in cylinders/heads/sectors */
1700 int heads, sectors, cylinders; local
1703 heads = 255;
1705 cylinders = sector_div(capacity, heads * sectors);
1707 heads = 64;
1709 cylinders = sector_div(capacity, heads * sectors);
1712 geom[0] = heads;
H A Dinitio.h445 u8 heads; member in struct:target_control
H A Dips.c1130 int heads; local
1148 heads = IPS_NORM_HEADS;
1151 heads = IPS_COMP_HEADS;
1155 cylinders = (unsigned long) capacity / (heads * sectors);
1157 DEBUG_VAR(2, "Geometry: heads: %d, sectors: %d, cylinders: %d",
1158 heads, sectors, cylinders);
1160 geom[0] = heads;
4075 uint16_t heads; local
4084 heads = IPS_NORM_HEADS;
4087 heads
[all...]
H A DBusLogic.h1075 int heads; member in struct:bios_diskparam
/linux-master/drivers/scsi/aic7xxx/
H A Daic7xxx_osm.c689 int heads; local
702 heads = 64;
704 cylinders = aic_sector_div(capacity, heads, sectors);
713 heads = 255;
715 cylinders = aic_sector_div(capacity, heads, sectors);
717 geom[0] = heads;
H A Daic79xx_osm.c726 int heads; local
737 heads = 64;
739 cylinders = aic_sector_div(capacity, heads, sectors);
746 heads = 255;
748 cylinders = aic_sector_div(capacity, heads, sectors);
750 geom[0] = heads;
/linux-master/drivers/gpu/drm/qxl/
H A Dqxl_dev.h255 struct qxl_urect heads[64]; member in struct:qxl_rom::__anon821
871 struct qxl_head heads[]; member in struct:qxl_monitors_config
/linux-master/drivers/gpu/drm/nouveau/nvif/
H A Doutp.c553 outp->info.heads = args.heads;
/linux-master/tools/lib/perf/
H A Devlist.c259 hlist_add_head(&sid->node, &evlist->heads[hash]);
267 INIT_HLIST_HEAD(&evlist->heads[i]);
/linux-master/include/net/
H A Dxdp_sock_drv.h65 return pool->heads[0].xdp.rxq->napi_id;
/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;
2663 dev->heads = id[55];
2668 dev->heads = id[3];
2678 dev->heads, dev->sectors);
2892 dev->heads = 0;
4532 * @heads: Number of heads (taskfil
4541 ata_dev_init_params(struct ata_device *dev, u16 heads, u16 sectors) argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dnv50.c1353 list_for_each_entry(head, &disp->heads, head) {
1381 list_for_each_entry(head, &disp->heads, head) {
1390 list_for_each_entry(head, &disp->heads, head) {
1395 list_for_each_entry(head, &disp->heads, head) {
1400 list_for_each_entry(head, &disp->heads, head) {
1407 list_for_each_entry(head, &disp->heads, head) {
1531 list_for_each_entry(head, &disp->heads, head) {
H A Doutp.c344 OUTP_DBG(outp, "no heads (%x %d %d)", ior->arm.head,
397 outp->info.bus, outp->info.heads);
H A Duoutp.c654 args->v0.heads = outp->info.heads;
/linux-master/drivers/s390/block/
H A Ddasd_eckd.c278 u16 heads, beghead, endhead; local
358 heads = private->rdc_data.trk_per_cyl;
359 begcyl = trk / heads;
360 beghead = trk % heads;
361 endcyl = totrk / heads;
362 endhead = totrk % heads;
2180 "with %d cylinders, %d heads, %d sectors%s\n",
2479 geo->heads = private->rdc_data.trk_per_cyl;
3755 u16 heads, beg_head, end_head; local
3813 heads
4333 u16 heads, beghead, endhead; local
[all...]
/linux-master/drivers/message/fusion/
H A Dmptscsih.c2139 int heads; local
2144 heads = 64;
2147 dummy = heads * sectors;
2156 heads = 255;
2158 dummy = heads * sectors;
2164 geom[0] = heads;
/linux-master/tools/perf/
H A Dbuiltin-inject.c99 struct hlist_head heads[PERF_EVLIST__HLIST_SIZE]; member in struct:guest_session
967 hlist_add_head(&guest_id->node, &gs->heads[hash]);
1026 head = &gs->heads[hash];
1303 static void free_hlist(struct hlist_head *heads, size_t hlist_sz) argument
1309 hlist_for_each_safe(pos, n, &heads[i]) {
1320 free_hlist(gs->heads, PERF_EVLIST__HLIST_SIZE);
/linux-master/drivers/block/
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 Dvirtio_blk.c855 geometry.heads, &geo->heads);
860 geo->heads = 1 << 6;
/linux-master/drivers/gpu/drm/nouveau/dispnv50/
H A Dwndw.c698 const u32 *format, u32 heads,
727 ret = drm_universal_plane_init(dev, &wndw->plane, heads, &nv50_wndw, format, nformat,
696 nv50_wndw_new_(const struct nv50_wndw_func *func, struct drm_device *dev, enum drm_plane_type type, const char *name, int index, const u32 *format, u32 heads, enum nv50_disp_interlock_type interlock_type, u32 interlock_data, struct nv50_wndw **pwndw) argument

Completed in 386 milliseconds

12345