- Timestamp:
- Oct 17, 2016 11:34:36 AM (8 years ago)
- Location:
- trunk/src/VBox/Devices/USB
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/DevOHCI.cpp
r63690 r64294 3208 3208 * @returns true on success. 3209 3209 * @returns false on failure to submit. 3210 * @param pThis The OHCI controller instance data. 3211 * @param pITd The transfer descriptor to service. 3212 * @param ITdAddr The address of the transfer descriptor in gues memory. 3210 3213 * @param R The start packet (frame) relative to the start of frame in HwInfo. 3214 * @param pEd The OHCI endpoint descriptor. 3215 * @param EdAddr The endpoint descriptor address in guest memory. 3211 3216 */ 3212 3217 static bool ohciServiceIsochronousTd(POHCI pThis, POHCIITD pITd, uint32_t ITdAddr, const unsigned R, PCOHCIED pEd, uint32_t EdAddr) … … 4118 4123 } 4119 4124 4120 /** 4121 * @interface_method_impl{VUSBIROOTHUBPORT,pfnFramerateChanged}. 4122 */ 4125 /** @interface_method_impl{VUSBIROOTHUBPORT,pfnFrameRateChanged} */ 4123 4126 static DECLCALLBACK(void) ohciR3FrameRateChanged(PVUSBIROOTHUBPORT pInterface, uint32_t u32FrameRate) 4124 4127 { … … 5524 5527 * @param pDevIns The device instance. 5525 5528 * @param pSSM The handle to the saved state. 5526 * @param u32Version The data unit version number.5527 5529 */ 5528 5530 static DECLCALLBACK(int) ohciR3LoadPrep(PPDMDEVINS pDevIns, PSSMHANDLE pSSM) -
trunk/src/VBox/Devices/USB/DrvVUSBRootHub.cpp
r63562 r64294 95 95 * but passes it down the device. 96 96 * 97 * @subsection subsec_dev_vusb_urb_ bulkIsochronous97 * @subsection subsec_dev_vusb_urb_isoc Isochronous 98 98 * 99 99 * This kind of transfers hasn't yet been implemented. … … 917 917 918 918 919 /** @interface_method_impl{VUSBIROOTHUBCONNECTOR,pfnSet FrameProcessing} */919 /** @interface_method_impl{VUSBIROOTHUBCONNECTOR,pfnSetPeriodicFrameProcessing} */ 920 920 static DECLCALLBACK(int) vusbRhSetFrameProcessing(PVUSBIROOTHUBCONNECTOR pInterface, uint32_t uFrameRate) 921 921 { -
trunk/src/VBox/Devices/USB/VUSBDevice.cpp
r62959 r64294 1151 1151 * before detaching a device. 1152 1152 * 1153 * @returns nothing. 1154 * @param pDev The VUSB device instance. 1153 1155 * @param fDetaching If set, we will unconditionally unlink (and leak) 1154 1156 * any URBs which isn't reaped. … … 1433 1435 * @returns VBox status code. 1434 1436 * 1435 * @param pDev 1437 * @param pDevice Pointer to the VUSB device interface. 1436 1438 * @param fResetOnLinux Whether it's safe to reset the device(s) on a linux 1437 1439 * host system. See discussion of logical reconnects elsewhere. 1438 1440 * @param pfnDone Pointer to the completion routine. If NULL a synchronous 1439 1441 * reset is preformed not respecting the 10ms. 1442 * @param pvUser Opaque user data to pass to the done callback. 1440 1443 * @param pVM Pointer to the VM handle for performing the done function 1441 1444 * on the EMT thread. … … 1745 1748 * 1746 1749 * @returns VBox status code. 1747 * @param pDev The VUSB device to initialize. 1748 * @param pUsbIns Pointer to the PDM USB Device instance. 1750 * @param pDev The VUSB device to initialize. 1751 * @param pUsbIns Pointer to the PDM USB Device instance. 1752 * @param pszCaptureFilename Optional fileame to capture the traffic to. 1749 1753 */ 1750 1754 int vusbDevInit(PVUSBDEV pDev, PPDMUSBINS pUsbIns, const char *pszCaptureFilename) -
trunk/src/VBox/Devices/USB/VUSBSniffer.cpp
r62959 r64294 77 77 *********************************************************************************************************************************/ 78 78 79 /** @interface_method_impl{VUSBSNIFFERSTRM,pfnWrite} .*/79 /** @interface_method_impl{VUSBSNIFFERSTRM,pfnWrite} */ 80 80 static DECLCALLBACK(int) vusbSnifferStrmWrite(PVUSBSNIFFERSTRM pStrm, const void *pvBuf, size_t cbBuf) 81 81 { … … 106 106 * 107 107 * @returns Pointer to the format structure or NULL if none was found. 108 * @param p Filename The file name to take the suffix from.108 * @param pszFilename The file name to take the suffix from. 109 109 */ 110 110 static PCVUSBSNIFFERFMT vusbSnifferGetFmtFromFilename(const char *pszFilename) -
trunk/src/VBox/Devices/USB/VUSBUrb.cpp
r62960 r64294 745 745 * 746 746 * @param pUrb The URB to submit. 747 * @param pSetup The setup packet for the message transfer. 748 * @param pExtra Pointer to the additional state requred for a control transfer. 749 * @param pPipe The message pipe state. 747 750 */ 748 751 static void vusbMsgDoTransfer(PVUSBURB pUrb, PVUSBSETUP pSetup, PVUSBCTRLEXTRA pExtra, PVUSBPIPE pPipe) -
trunk/src/VBox/Devices/USB/darwin/USBProxyDevice-darwin.cpp
r63480 r64294 1426 1426 1427 1427 1428 /** 1429 * Reset a device. 1430 * 1431 * @returns VBox status code. 1432 * @param pDev The device to reset. 1433 */ 1428 /** @interface_method_impl{USBPROXYBACK,pfnReset}*/ 1434 1429 static DECLCALLBACK(int) usbProxyDarwinReset(PUSBPROXYDEV pProxyDev, bool fResetOnLinux) 1435 1430 { -
trunk/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp
r63562 r64294 408 408 * @returns The Cfg#. 409 409 * @returns -1 if no active config. 410 * @param pProxyDev The proxy device instance. 410 411 * @param pszDevNode The path to the device. We infere the location of 411 412 * the devices file, which bus and device number we're 412 413 * looking for. 413 * @param iFirstCfgThe first configuration. (optional)414 * @param piFirstCfg The first configuration. (optional) 414 415 * @internal 415 416 */ … … 543 544 * @returns The Cfg#. 544 545 * @returns -1 if no active config. 546 * @param pProxyDev The proxy device instance. 545 547 * @param pszPath The sysfs path for the device. 546 548 * @param piFirstCfg The first configuration. (optional) … … 570 572 * @returns The Cfg#. 571 573 * @returns -1 if no active config. 574 * @param pProxyDev The proxy device instance. 572 575 * @param pszPath The sysfs path for the device, or the usbfs device 573 576 * node path. 574 * @param iFirstCfgThe first configuration. (optional)577 * @param piFirstCfg The first configuration. (optional) 575 578 * @internal 576 579 */ … … 1012 1015 1013 1016 1014 /** 1015 * Reset a device. 1016 * 1017 * @returns VBox status code. 1018 * @param pDev The device to reset. 1019 */ 1017 /** @interface_method_impl{USBPROXYBACK,pfnReset} */ 1020 1018 static DECLCALLBACK(int) usbProxyLinuxReset(PUSBPROXYDEV pProxyDev, bool fResetOnLinux) 1021 1019 { -
trunk/src/VBox/Devices/USB/os2/USBProxyDevice-os2.cpp
r63562 r64294 596 596 597 597 598 /** 599 * Reset a device. 600 * 601 * @returns VBox status code. 602 * @param pDev The device to reset. 603 */ 598 /** @interface_method_impl{USBPROXYBACK,pfnReset} */ 604 599 static int usbProxyOs2Reset(PUSBPROXYDEV pProxyDev, bool fResetOnLinux) 605 600 { … … 703 698 * @interface_method_impl{USBPROXYBACK,pfnUrbQueue} 704 699 */ 705 static int usbProxyOs2UrbQueue(PVUSBURB pUrb) 706 { 707 PUSBPROXYDEV pProxyDev = (PUSBPROXYDEV)pUrb->pDev; 700 static int usbProxyOs2UrbQueue(PUSBPROXYDEV pProxyDev, PVUSBURB pUrb) 701 { 708 702 PUSBPROXYDEVOS2 pDevOs2 = (PUSBPROXYDEVOS2)pProxyDev->Backend.pv; 709 703 LogFlow(("usbProxyOs2UrbQueue: pProxyDev=%s pUrb=%p EndPt=%d cbData=%d\n",
Note:
See TracChangeset
for help on using the changeset viewer.