Searched defs:heads (Results 1 - 10 of 10) sorted by relevance

/vbox/src/VBox/Devices/PC/BIOS/
H A Ddisk.c104 unsigned heads = 255; local
110 heads = (heads + 1) / 2;
114 lgeo->cylinders = nsectors / (heads * 63UL);
117 lgeo->heads = heads;
189 nlh = bios_dsk->devices[device].lchs.heads;
204 if (( (bios_dsk->devices[device].pchs.heads != nlh) || (bios_dsk->devices[device].pchs.spt != nlspt)) || VBOX_IS_SCSI_DEVICE(device)) {
250 nlh = bios_dsk->devices[device].lchs.heads;
285 head = bios_dsk->devices[device].pchs.heads;
[all...]
H A Data.c105 bios_dsk->devices[device].lchs.heads = 0;
108 bios_dsk->devices[device].pchs.heads = 0;
463 uint16_t cylinders, heads, spt, blksize; local
482 heads = *(uint16_t *)(buffer+(3*2)); // word 3
509 lgeo.heads = inb_cmos(chsgeo_base + 2);
516 cylinders, heads, spt, lgeo.cylinders, lgeo.heads, lgeo.spt);
522 bios_dsk->devices[device].pchs.heads = heads;
542 fdpt->lhead = lgeo.heads;
[all...]
H A Dscsi.c431 uint16_t heads, sectors_per_track; local
487 heads = inb_cmos(cmos_base + 2);
497 heads = 255;
502 heads = 128;
507 heads = 64;
510 cylinders = (uint32_t)(sectors / (heads * sectors_per_track));
526 bios_dsk->devices[hd_index].lchs.heads = heads;
534 i, (uint16_t)cylinders, heads, sectors_per_track, sectors);
537 bios_dsk->devices[hd_index].pchs.heads
[all...]
H A Dahci.c693 uint16_t cylinders, heads, spt; local
711 heads = *(uint16_t *)(abBuffer+(3*2)); // word 3
730 bios_dsk->devices[hd_index].pchs.heads = heads;
755 lgeo.heads = inb_cmos(idxCmosChsBase + 2);
762 u8Port, cylinders, heads, spt, lgeo.cylinders, lgeo.heads, lgeo.spt, sectors);
H A Data.h184 uint32_t heads; member in struct:__anon14960
H A Debda.h151 uint16_t heads; /* Number of heads. */ member in struct:__anon14985
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/LzmaCompress/Sdk/C/
H A DLzFindMt.c136 UInt32 *hash, UInt32 hashMask, UInt32 *heads, UInt32 numHeads, const UInt32 *crc) \
138 const UInt32 value = (v); p++; *heads++ = pos - hash[value]; hash[value] = pos++; } }
196 UInt32 *heads = mt->hashBuf + ((numProcessedBlocks++) & kMtHashNumBlocksMask) * kMtHashBlockSize; local
198 heads[0] = 2;
199 heads[1] = num;
205 mt->GetHeadsFunc(mf->buffer, mf->pos, mf->hash + mf->fixedHashSize, mf->hashMask, heads + 2, num, mf->crc);
206 heads[0] += num;
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/include/
H A Dint13.h117 /** Number of heads */
118 uint32_t heads; member in struct:int13_disk_parameters
414 /** Number of heads and sectors per track */
419 #define INT13_FDD_GEOMETRY( cylinders, heads, sectors ) \
422 .heads_spt = ( ( (heads) << 6 ) | (sectors) ), \
428 /** Get floppy disk number of heads */
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pcbios/
H A Dint13.c111 /** Number of heads
114 * giving a maximum of 256 heads. However, apparently all
116 * heads, so the maximum encountered in practice is 255.
118 unsigned int heads; member in struct:int13_drive
543 * @ret heads Guessed number of heads
550 unsigned int *heads,
558 *heads = 255;
575 * heads and sectors_per_track if we find any used
582 *heads
549 int13_guess_geometry_hdd( struct int13_drive *int13, void *scratch, unsigned int *heads, unsigned int *sectors ) argument
626 int13_guess_geometry_fdd( struct int13_drive *int13, unsigned int *heads, unsigned int *sectors ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/IndustryStandard/
H A DAtapi.h31 UINT16 heads; ///< Number of logical heads. member in struct:__anon11602

Completed in 51 milliseconds