Searched refs:iLUN (Results 1 - 25 of 27) sorted by relevance

12

/vbox/src/VBox/Devices/Input/
H A DPS2Dev.h48 int PS2KAttach(PPS2K pThis, PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags);
65 int PS2MAttach(PPS2M pThis, PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags);
H A DDevPS2.cpp1580 * @param iLUN The logical unit which is being detached.
1585 static DECLCALLBACK(int) kbdAttach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
1594 switch (iLUN)
1598 rc = PS2KAttach(&pThis->Kbd, pDevIns, iLUN, fFlags);
1606 rc = PS2MAttach(&pThis->Aux, pDevIns, iLUN, fFlags);
1608 rc = PDMDevHlpDriverAttach(pDevIns, iLUN, &pThis->Mouse.IBase, &pThis->Mouse.pDrvBase, "Aux (Mouse) Port");
1629 AssertMsgFailed(("Invalid LUN #%d\n", iLUN));
1647 * @param iLUN The logical unit which is being detached.
1652 static DECLCALLBACK(void) kbdDetach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
1659 switch (iLUN)
[all...]
H A DPS2M.cpp1040 * @param iLUN The logical unit which is being detached.
1043 int PS2MAttach(PPS2M pThis, PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
1048 Assert(iLUN == 1);
1053 LogFlowFunc(("iLUN=%d\n", iLUN));
1055 rc = PDMDevHlpDriverAttach(pDevIns, iLUN, &pThis->Mouse.IBase, &pThis->Mouse.pDrvBase, "Mouse Port");
H A DPS2K.cpp1200 * @param iLUN The logical unit which is being detached.
1203 int PS2KAttach(PPS2K pThis, PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags)
1208 Assert(iLUN == 0);
1213 LogFlowFunc(("iLUN=%d\n", iLUN));
1215 rc = PDMDevHlpDriverAttach(pDevIns, iLUN, &pThis->Keyboard.IBase, &pThis->Keyboard.pDrvBase, "Keyboard Port");
/vbox/src/VBox/ExtPacks/BusMouseSample/
H A DBusMouse.cpp633 * @param iLUN The logical unit which is being detached.
638 static DECLCALLBACK(int) mouAttach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
647 switch (iLUN)
651 rc = PDMDevHlpDriverAttach(pDevIns, iLUN, &pThis->Mouse.IBase, &pThis->Mouse.pDrvBase, "Bus Mouse Port");
671 AssertMsgFailed(("Invalid LUN #%d\n", iLUN));
689 * @param iLUN The logical unit which is being detached.
694 static DECLCALLBACK(void) mouDetach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
701 switch (iLUN)
710 AssertMsgFailed(("Invalid LUN #%d\n", iLUN));
/vbox/src/VBox/Devices/Storage/
H A DDevAHCI.cpp477 RTUINT iLUN; member in struct:AHCIPort
963 Log(("R3 P%u: %M", pAhciPort->iLUN, _LogRelRemoveParentheseis a))
966 do { Log(("R3 P%u: ", pAhciPort->iLUN)); Log(a); } while(0)
973 Log(("R0 P%u: %M", pAhciPort->iLUN, _LogRelRemoveParentheseis a))
976 do { Log(("R0 P%u: ", pAhciPort->iLUN)); Log(a); } while(0)
983 Log(("GC P%u: %M", pAhciPort->iLUN, _LogRelRemoveParentheseis a))
986 do { Log(("GC P%u: ", pAhciPort->iLUN)); Log(a); } while(0)
1092 int rc = ahciHbaSetInterrupt(pAhciPort->CTX_SUFF(pAhci), pAhciPort->iLUN, VERR_IGNORED);
1135 pItem->iPort = pAhciPort->iLUN;
1255 pAhciPort->iLUN));
2622 ahciR3Status_QueryStatusLed(PPDMILEDPORTS pInterface, unsigned iLUN, PPDMLED *ppLed) argument
7854 ahciR3Detach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
7926 ahciR3Attach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
[all...]
H A DDevATA.cpp287 RTUINT iLUN; member in struct:ATADevState
541 Log2(("%s: LUN#%d status %#04x\n", __FUNCTION__, s->iLUN, s->uATARegStatus));
554 Log2(("%s: LUN#%d status %#04x\n", __FUNCTION__, s->iLUN, s->uATARegStatus));
567 Log2(("%s: LUN#%d status %#04x\n", __FUNCTION__, s->iLUN, s->uATARegStatus));
932 Log2(("%s: Ctl#%d: message to async I/O thread, abort command on LUN#%d\n", __FUNCTION__, ATACONTROLLER_IDX(pCtl), s->iLUN));
944 Log2(("%s: LUN#%d asserting IRQ\n", __FUNCTION__, s->iLUN));
972 Log2(("%s: LUN#%d deasserting IRQ\n", __FUNCTION__, s->iLUN));
989 Log2(("%s: LUN#%d start %d size %d\n", __FUNCTION__, s->iLUN, start, size));
999 Log2(("%s: LUN#%d\n", __FUNCTION__, s->iLUN));
1287 p[93] = RT_H2LE_U16((1 | 1 << 1) << ((s->iLUN
5786 ataStatus_QueryStatusLed(PPDMILEDPORTS pInterface, unsigned iLUN, PPDMLED *ppLed) argument
6135 ataR3Detach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
6150 AssertReleaseMsg(iController < RT_ELEMENTS(pThis->aCts), ("iController=%d iLUN=%d\\n", iController, iLUN)); local
6320 ataR3Attach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
6337 AssertReleaseMsg(iController < RT_ELEMENTS(pThis->aCts), ("iController=%d iLUN=%d\\n", iController, iLUN)); local
[all...]
H A DDevFdc.cpp166 RTUINT iLUN;
2621 static DECLCALLBACK(int) fdcStatusQueryStatusLed(PPDMILEDPORTS pInterface, unsigned iLUN, PPDMLED *ppLed) argument
2624 if (iLUN < RT_ELEMENTS(pThis->drives)) {
2625 *ppLed = &pThis->drives[iLUN].Led;
2662 Assert (RT_ELEMENTS(s_apszDesc) > drv->iLUN);
2670 rc = PDMDevHlpDriverAttach (pDevIns, drv->iLUN, &drv->IBase, &drv->pDrvBase, s_apszDesc[drv->iLUN]);
2680 AssertMsgFailed (("Configuration error: LUN#%d without mountable interface!\n", drv->iLUN));
2685 AssertMsgFailed (("Configuration error: LUN#%d hasn't a block BIOS interface!\n", drv->iLUN));
2690 AssertMsgFailed (("Configuration error: LUN#%d hasn't a block interface!\n", drv->iLUN));
2726 fdcAttach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
2774 fdcDetach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
[all...]
H A DDevBusLogic.cpp106 RTUINT iLUN; member in struct:BUSLOGICDEVICE
2881 *piLUN = pBusLogicDevice->iLUN;
3414 * @param iLUN The unit which status LED we desire. Always 0 here as the driver
3418 static DECLCALLBACK(int) buslogicR3DeviceQueryStatusLed(PPDMILEDPORTS pInterface, unsigned iLUN, PPDMLED *ppLed) argument
3421 if (iLUN == 0)
3447 * @param iLUN The unit which status LED we desire.
3450 static DECLCALLBACK(int) buslogicR3StatusQueryStatusLed(PPDMILEDPORTS pInterface, unsigned iLUN, PPDMLED *ppLed) argument
3453 if (iLUN < BUSLOGIC_MAX_DEVICES)
3455 *ppLed = &pBusLogic->aDeviceStates[iLUN].Led;
3706 * @param iLUN Th
3709 buslogicR3Detach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
3737 buslogicR3Attach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
[all...]
H A DDevLsiLogicSCSI.cpp140 uint32_t iLUN; member in struct:LSILOGICDEVICE
2378 *piLUN = pLsiLogicDevice->iLUN;
4879 static DECLCALLBACK(int) lsilogicR3DeviceQueryStatusLed(PPDMILEDPORTS pInterface, unsigned iLUN, PPDMLED *ppLed) argument
4882 if (iLUN == 0)
4915 * @param iLUN The unit which status LED we desire.
4918 static DECLCALLBACK(int) lsilogicR3StatusQueryStatusLed(PPDMILEDPORTS pInterface, unsigned iLUN, PPDMLED *ppLed) argument
4921 if (iLUN < pThis->cDeviceStates)
4923 *ppLed = &pThis->paDeviceStates[iLUN].Led;
5071 static DECLCALLBACK(void) lsilogicR3Detach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
5074 PLSILOGICDEVICE pDevice = &pThis->paDeviceStates[iLUN];
5094 lsilogicR3Attach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
[all...]
H A DUsbMsd.cpp2070 static DECLCALLBACK(int) usbMsdDriverAttach(PPDMUSBINS pUsbIns, unsigned iLUN, uint32_t fFlags) argument
2077 AssertMsg(iLUN == 0, ("UsbMsd: No other LUN than 0 is supported\n"));
2089 rc = PDMUsbHlpDriverAttach(pUsbIns, iLUN, &pThis->Lun0.IBase, &pThis->Lun0.pIBase, NULL);
2097 AssertMsgFailed(("Failed to attach LUN#%d. rc=%Rrc\n", iLUN, rc));
2111 static DECLCALLBACK(void) usbMsdDriverDetach(PPDMUSBINS pUsbIns, unsigned iLUN, uint32_t fFlags) argument
2117 AssertMsg(iLUN == 0, ("UsbMsd: No other LUN than 0 is supported\n"));
H A DDrvVD.cpp3196 uint32_t iInstance, iLUN; local
3200 &iInstance, &iLUN);
3206 int cbStr = RTStrAPrintf(&pszId, "%s-%d-%d", pcszController, iInstance, iLUN);
/vbox/include/VBox/vmm/
H A Dpdmusb.h276 * @param iLUN The logical unit which is being detached.
280 DECLR3CALLBACKMEMBER(int, pfnDriverAttach,(PPDMUSBINS pUsbIns, unsigned iLUN, uint32_t fFlags));
289 * @param iLUN The logical unit which is being detached.
293 DECLR3CALLBACKMEMBER(void, pfnDriverDetach,(PPDMUSBINS pUsbIns, unsigned iLUN, uint32_t fFlags));
300 * @param iLUN The logicial unit to query.
304 DECLR3CALLBACKMEMBER(int, pfnQueryInterface,(PPDMUSBINS pUsbIns, unsigned iLUN, PPDMIBASE *ppBase));
H A Dpdmifs.h3085 * @param iLUN The unit which status LED we desire.
3088 DECLR3CALLBACKMEMBER(int, pfnQueryStatusLed,(PPDMILEDPORTS pInterface, unsigned iLUN, PPDMLED *ppLed));
3110 * @param iLUN The unit number.
3112 DECLR3CALLBACKMEMBER(void, pfnUnitChanged,(PPDMILEDCONNECTORS pInterface, unsigned iLUN));
3130 * @param iLUN The unit which had the medium ejected.
3132 DECLR3CALLBACKMEMBER(int, pfnEjected,(PPDMIMEDIANOTIFY pInterface, unsigned iLUN));
H A Dpdmdev.h187 * @param iLUN The logical unit which is being detached.
192 typedef DECLCALLBACK(int) FNPDMDEVATTACH(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags);
206 * @param iLUN The logical unit which is being detached.
211 typedef DECLCALLBACK(void) FNPDMDEVDETACH(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags);
220 * @param iLUN The logicial unit to query.
225 typedef DECLCALLBACK(int) FNPDMDEVQUERYINTERFACE(PPDMDEVINS pDevIns, unsigned iLUN, PPDMIBASE *ppBase);
/vbox/src/VBox/Devices/PC/
H A DDevACPI.cpp2823 * @param iLUN The logical unit which is being attached.
2828 static DECLCALLBACK(int) acpiR3Attach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags)
2831 LogFlow(("acpiAttach: pDevIns=%p iLUN=%u fFlags=%#x\n", pDevIns, iLUN, fFlags));
2836 AssertReturn(iLUN < VMM_MAX_CPU_COUNT, VERR_PDM_NO_SUCH_LUN);
2841 if (!VMCPUSET_IS_PRESENT(&pThis->CpuSetAttached, iLUN))
2844 rc = PDMDevHlpDriverAttach(pDevIns, iLUN, &pThis->IBase, &IBaseTmp, "ACPI CPU");
2848 VMCPUSET_ADD(&pThis->CpuSetAttached, iLUN);
2854 VMCPUSET_ADD(&pThis->CpuSetLocked, iLUN);
2856 pThis->u32CpuEvent = iLUN;
[all...]
/vbox/src/VBox/Devices/Network/
H A DDevVirtioNet.cpp1813 static DECLCALLBACK(void) vnetDetach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
1818 AssertLogRelReturnVoid(iLUN == 0);
1840 static DECLCALLBACK(int) vnetAttach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
1845 AssertLogRelReturn(iLUN == 0, VERR_PDM_NO_SUCH_LUN);
H A DDevPCNet.cpp4625 static DECLCALLBACK(int) pcnetQueryStatusLed(PPDMILEDPORTS pInterface, unsigned iLUN, PPDMLED *ppLed) argument
4628 if (iLUN == 0)
4671 static DECLCALLBACK(void) pcnetDetach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
4676 AssertLogRelReturnVoid(iLUN == 0);
4700 static DECLCALLBACK(int) pcnetAttach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
4705 AssertLogRelReturn(iLUN == 0, VERR_PDM_NO_SUCH_LUN);
H A DDevE1000.cpp6456 static DECLCALLBACK(int) e1kR3QueryStatusLed(PPDMILEDPORTS pInterface, unsigned iLUN, PPDMLED *ppLed)
6461 if (iLUN == 0)
7131 * @param iLUN The logical unit which is being detached.
7134 static DECLCALLBACK(void) e1kR3Detach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags)
7139 AssertLogRelReturnVoid(iLUN == 0);
7165 * @param iLUN The logical unit which is being attached.
7170 static DECLCALLBACK(int) e1kR3Attach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags)
7175 AssertLogRelReturn(iLUN == 0, VERR_PDM_NO_SUCH_LUN);
/vbox/src/VBox/Main/include/
H A DConsoleImpl.h764 static DECLCALLBACK(void) i_drvStatus_UnitChanged(PPDMILEDCONNECTORS pInterface, unsigned iLUN);
765 static DECLCALLBACK(int) i_drvStatus_MediumEjected(PPDMIMEDIANOTIFY pInterface, unsigned iLUN);
/vbox/src/VBox/Devices/VirtIO/
H A DVirtio.cpp547 * @param iLUN The unit which status LED we desire.
551 static DECLCALLBACK(int) vpciQueryStatusLed(PPDMILEDPORTS pInterface, unsigned iLUN, PPDMLED *ppLed) argument
556 if (iLUN == 0)
/vbox/src/VBox/Devices/Graphics/
H A DDevVGA.cpp4485 * @param iLUN The unit which status LED we desire.
4488 static DECLCALLBACK(int) vgaPortQueryStatusLed(PPDMILEDPORTS pInterface, unsigned iLUN, PPDMLED *ppLed) argument
4491 switch (iLUN)
4502 AssertMsgFailed(("Invalid LUN #%d\n", iLUN));
5725 static DECLCALLBACK(int) vgaAttach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
5733 switch (iLUN)
5738 int rc = PDMDevHlpDriverAttach(pDevIns, iLUN, &pThis->IBase, &pThis->pDrvBase, "Display Port");
5785 AssertMsgFailed(("Invalid LUN #%d\n", iLUN));
5796 static DECLCALLBACK(void) vgaDetach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) argument
5806 switch (iLUN)
[all...]
/vbox/src/VBox/Devices/testcase/
H A DtstDeviceStructSizeRC.cpp896 GEN_CHECK_OFF(ATADevState, iLUN);
1337 GEN_CHECK_OFF(AHCIPort, iLUN);
1679 GEN_CHECK_OFF(BUSLOGICDEVICE, iLUN);
/vbox/src/VBox/Main/src-client/
H A DConsoleImpl.cpp10170 * @param iLUN The unit number.
10172 DECLCALLBACK(void) Console::i_drvStatus_UnitChanged(PPDMILEDCONNECTORS pInterface, unsigned iLUN) argument
10175 if (iLUN >= pThis->iFirstLUN && iLUN <= pThis->iLastLUN)
10178 int rc = pThis->pLedPorts->pfnQueryStatusLed(pThis->pLedPorts, iLUN, &pLed);
10181 ASMAtomicWritePtr(&pThis->papLeds[iLUN - pThis->iFirstLUN], pLed);
10182 Log(("drvStatus_UnitChanged: iLUN=%d pLed=%p\n", iLUN, pLed));
/vbox/src/VBox/Devices/Audio/
H A DDevIchHda.cpp3671 static DECLCALLBACK(void) hdaDetach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags)
3673 NOREF(pDevIns); NOREF(iLUN); NOREF(fFlags);

Completed in 472 milliseconds

12