/vbox/src/VBox/Devices/Storage/ |
H A D | VBoxSCSI.cpp | 78 * @param iRegister Index of the register to read. 81 int vboxscsiReadRegister(PVBOXSCSI pVBoxSCSI, uint8_t iRegister, uint32_t *pu32Value) argument 85 switch (iRegister) 141 AssertMsgFailed(("Invalid register to read from %u\n", iRegister)); 155 * @param iRegister Index of the register to write to. 158 int vboxscsiWriteRegister(PVBOXSCSI pVBoxSCSI, uint8_t iRegister, uint8_t uVal) argument 162 switch (iRegister) 264 AssertMsgFailed(("Invalid register to write to %u\n", iRegister)); 357 int vboxscsiReadString(PPDMDEVINS pDevIns, PVBOXSCSI pVBoxSCSI, uint8_t iRegister, argument 363 LogFlowFunc(("pDevIns=%#p pVBoxSCSI=%#p iRegister 406 vboxscsiWriteString(PPDMDEVINS pDevIns, PVBOXSCSI pVBoxSCSI, uint8_t iRegister, RTGCPTR *pGCPtrSrc, PRTGCUINTREG pcTransfer, unsigned cb) argument [all...] |
H A D | DevLsiLogicSCSI.cpp | 3757 uint8_t iRegister = pThis->enmCtrlType == LSILOGICCTRLTYPE_SCSI_SPI local 3760 int rc = vboxscsiReadRegister(&pThis->VBoxSCSI, iRegister, pu32); 3762 Log2(("%s: pu32=%p:{%.*Rhxs} iRegister=%d rc=%Rrc\n", 3763 __FUNCTION__, pu32, 1, pu32, iRegister, rc)); 3834 uint8_t iRegister = pThis->enmCtrlType == LSILOGICCTRLTYPE_SCSI_SPI local 3837 int rc = vboxscsiWriteRegister(&pThis->VBoxSCSI, iRegister, (uint8_t)u32); 3859 uint8_t iRegister = pThis->enmCtrlType == LSILOGICCTRLTYPE_SCSI_SPI local 3862 int rc = vboxscsiWriteString(pDevIns, &pThis->VBoxSCSI, iRegister, pGCPtrSrc, pcTransfer, cb); 3886 uint8_t iRegister = pThis->enmCtrlType == LSILOGICCTRLTYPE_SCSI_SPI local 3889 return vboxscsiReadString(pDevIns, &pThis->VBoxSCSI, iRegister, pGCPtrDs [all...] |
H A D | DevBusLogic.cpp | 2106 * @param iRegister The index of the register to read. 2109 static int buslogicRegisterRead(PBUSLOGIC pBusLogic, unsigned iRegister, uint32_t *pu32) argument 2113 switch (iRegister) 2183 Log2(("%s: pu32=%p:{%.*Rhxs} iRegister=%d rc=%Rrc\n", 2184 __FUNCTION__, pu32, 1, pu32, iRegister, rc)); 2194 * @param iRegister The index of the register to read. 2197 static int buslogicRegisterWrite(PBUSLOGIC pBusLogic, unsigned iRegister, uint8_t uVal) argument 2201 switch (iRegister) 2425 unsigned iRegister = Port % 4; local 2429 return buslogicRegisterRead(pBusLogic, iRegister, pu3 2447 unsigned iRegister = Port % 4; local [all...] |
/vbox/src/VBox/Devices/Bus/ |
H A D | DevPciIch9.cpp | 133 uint16_t iRegister; member in struct:__anon9919 190 pPciAddr->iRegister = (GCPhysAddr >> 0) & ((1<<(6+4+2)) - 1); // 6 bits - register, 4 bits - extended register, 2 bits -Byte Enable 197 pPciAddr->iRegister = (pGlobals->uConfigReg & 0xfc) | (addr & 3); 328 pAddr->iRegister, val, cb); 341 aDev->Int.s.pfnConfigWrite(aDev, pAddr->iRegister, val, cb); 349 pAddr->iBus, pAddr->iDeviceFunc >> 3, pAddr->iDeviceFunc & 0x7, pAddr->iRegister, 440 *pu32 = pBridgeDevice->Int.s.pfnBridgeConfigRead(pBridgeDevice->pDevIns, pPciAddr->iBus, pPciAddr->iDeviceFunc, pPciAddr->iRegister, cb); 457 *pu32 = aDev->Int.s.pfnConfigRead(aDev, pPciAddr->iRegister, cb); 467 pPciAddr->iBus, pPciAddr->iDeviceFunc >> 3, pPciAddr->iDeviceFunc & 0x7, pPciAddr->iRegister, 788 static uint32_t ich9pciGetCfg(PCIDevice* aDev, int32_t iRegister, in argument 793 ich9pciGetByte(PCIDevice* aDev, int32_t iRegister) argument 798 ich9pciGetWord(PCIDevice* aDev, int32_t iRegister) argument 803 ich9pciGetDWord(PCIDevice* aDev, int32_t iRegister) argument [all...] |
H A D | SrvPciRawR0.cpp | 275 static uint8_t dummyPciGetByte(PDUMMYRAWPCIINS pThis, uint32_t iRegister) argument 277 return pThis->aPciCfg[iRegister]; 280 static void dummyPciSetByte(PDUMMYRAWPCIINS pThis, uint32_t iRegister, uint8_t u8) argument 282 pThis->aPciCfg[iRegister] = u8; 285 static uint16_t dummyPciGetWord(PDUMMYRAWPCIINS pThis, uint32_t iRegister) argument 287 uint16_t u16Value = *(uint16_t*)&pThis->aPciCfg[iRegister]; 291 static void dummyPciSetWord(PDUMMYRAWPCIINS pThis, uint32_t iRegister, uint16_t u16) argument 293 *(uint16_t*)&pThis->aPciCfg[iRegister] = RT_H2LE_U16(u16); 296 static uint32_t dummyPciGetDWord(PDUMMYRAWPCIINS pThis, uint32_t iRegister) argument 298 uint32_t u32Value = *(uint32_t*)&pThis->aPciCfg[iRegister]; 302 dummyPciSetDWord(PDUMMYRAWPCIINS pThis, uint32_t iRegister, uint32_t u32) argument [all...] |