Lines Matching defs:PCHSGeometry

517     PDMMEDIAGEOMETRY                PCHSGeometry;
3037 p[1] = RT_H2LE_U16(RT_MIN(pAhciPort->PCHSGeometry.cCylinders, 16383));
3038 p[3] = RT_H2LE_U16(pAhciPort->PCHSGeometry.cHeads);
3041 p[6] = RT_H2LE_U16(pAhciPort->PCHSGeometry.cSectors);
3057 p[54] = RT_H2LE_U16(RT_MIN(pAhciPort->PCHSGeometry.cCylinders, 16383));
3058 p[55] = RT_H2LE_U16(pAhciPort->PCHSGeometry.cHeads);
3059 p[56] = RT_H2LE_U16(pAhciPort->PCHSGeometry.cSectors);
3060 p[57] = RT_H2LE_U16(RT_MIN(pAhciPort->PCHSGeometry.cCylinders, 16383) * pAhciPort->PCHSGeometry.cHeads * pAhciPort->PCHSGeometry.cSectors);
3061 p[58] = RT_H2LE_U16(RT_MIN(pAhciPort->PCHSGeometry.cCylinders, 16383) * pAhciPort->PCHSGeometry.cHeads * pAhciPort->PCHSGeometry.cSectors >> 16);
5404 iLBA = ((pCmdFis[AHCI_CMDFIS_CYLH] << 8) | pCmdFis[AHCI_CMDFIS_CYLL]) * pAhciPort->PCHSGeometry.cHeads * pAhciPort->PCHSGeometry.cSectors +
5405 (pCmdFis[AHCI_CMDFIS_HEAD] & 0x0f) * pAhciPort->PCHSGeometry.cSectors +
7106 SSMR3PutU32(pSSM, pThis->ahciPort[i].PCHSGeometry.cCylinders);
7107 SSMR3PutU32(pSSM, pThis->ahciPort[i].PCHSGeometry.cHeads);
7108 SSMR3PutU32(pSSM, pThis->ahciPort[i].PCHSGeometry.cSectors);
7345 SSMR3GetU32(pSSM, &pThis->ahciPort[i].PCHSGeometry.cCylinders);
7346 SSMR3GetU32(pSSM, &pThis->ahciPort[i].PCHSGeometry.cHeads);
7347 SSMR3GetU32(pSSM, &pThis->ahciPort[i].PCHSGeometry.cSectors);
7585 pAhciPort->PCHSGeometry.cCylinders = 0;
7586 pAhciPort->PCHSGeometry.cHeads = 0;
7587 pAhciPort->PCHSGeometry.cSectors = 0;
7595 &pAhciPort->PCHSGeometry);
7598 pAhciPort->PCHSGeometry.cCylinders = 0;
7599 pAhciPort->PCHSGeometry.cHeads = 16; /*??*/
7600 pAhciPort->PCHSGeometry.cSectors = 63; /*??*/
7604 pAhciPort->PCHSGeometry.cCylinders = 0; /* autodetect marker */
7609 if ( pAhciPort->PCHSGeometry.cCylinders == 0
7610 || pAhciPort->PCHSGeometry.cHeads == 0
7611 || pAhciPort->PCHSGeometry.cSectors == 0)
7614 pAhciPort->PCHSGeometry.cCylinders = RT_MAX(RT_MIN(cCylinders, 16383), 1);
7615 pAhciPort->PCHSGeometry.cHeads = 16;
7616 pAhciPort->PCHSGeometry.cSectors = 63;
7619 &pAhciPort->PCHSGeometry);
7623 pAhciPort->iLUN, pAhciPort->PCHSGeometry.cCylinders,
7624 pAhciPort->PCHSGeometry.cHeads, pAhciPort->PCHSGeometry.cSectors,