VirtualBox

Changeset 64294 in vbox for trunk/src


Ignore:
Timestamp:
Oct 17, 2016 11:34:36 AM (8 years ago)
Author:
vboxsync
Message:

VUSB: Doxygen fixes

Location:
trunk/src/VBox/Devices/USB
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/USB/DevOHCI.cpp

    r63690 r64294  
    32083208 * @returns true on success.
    32093209 * @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.
    32103213 * @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.
    32113216 */
    32123217static bool ohciServiceIsochronousTd(POHCI pThis, POHCIITD pITd, uint32_t ITdAddr, const unsigned R, PCOHCIED pEd, uint32_t EdAddr)
     
    41184123}
    41194124
    4120 /**
    4121  * @interface_method_impl{VUSBIROOTHUBPORT,pfnFramerateChanged}.
    4122  */
     4125/** @interface_method_impl{VUSBIROOTHUBPORT,pfnFrameRateChanged} */
    41234126static DECLCALLBACK(void) ohciR3FrameRateChanged(PVUSBIROOTHUBPORT pInterface, uint32_t u32FrameRate)
    41244127{
     
    55245527 * @param   pDevIns     The device instance.
    55255528 * @param   pSSM        The handle to the saved state.
    5526  * @param   u32Version  The data unit version number.
    55275529 */
    55285530static DECLCALLBACK(int) ohciR3LoadPrep(PPDMDEVINS pDevIns, PSSMHANDLE pSSM)
  • trunk/src/VBox/Devices/USB/DrvVUSBRootHub.cpp

    r63562 r64294  
    9595 * but passes it down the device.
    9696 *
    97  * @subsection subsec_dev_vusb_urb_bulk  Isochronous
     97 * @subsection subsec_dev_vusb_urb_isoc  Isochronous
    9898 *
    9999 * This kind of transfers hasn't yet been implemented.
     
    917917
    918918
    919 /** @interface_method_impl{VUSBIROOTHUBCONNECTOR,pfnSetFrameProcessing} */
     919/** @interface_method_impl{VUSBIROOTHUBCONNECTOR,pfnSetPeriodicFrameProcessing} */
    920920static DECLCALLBACK(int) vusbRhSetFrameProcessing(PVUSBIROOTHUBCONNECTOR pInterface, uint32_t uFrameRate)
    921921{
  • trunk/src/VBox/Devices/USB/VUSBDevice.cpp

    r62959 r64294  
    11511151 * before detaching a device.
    11521152 *
     1153 * @returns nothing.
     1154 * @param   pDev        The VUSB device instance.
    11531155 * @param   fDetaching  If set, we will unconditionally unlink (and leak)
    11541156 *                      any URBs which isn't reaped.
     
    14331435 * @returns VBox status code.
    14341436 *
    1435  * @param   pDev            Pointer to the VUSB device interface.
     1437 * @param   pDevice         Pointer to the VUSB device interface.
    14361438 * @param   fResetOnLinux   Whether it's safe to reset the device(s) on a linux
    14371439 *                          host system. See discussion of logical reconnects elsewhere.
    14381440 * @param   pfnDone         Pointer to the completion routine. If NULL a synchronous
    14391441 *                          reset is preformed not respecting the 10ms.
     1442 * @param   pvUser          Opaque user data to pass to the done callback.
    14401443 * @param   pVM             Pointer to the VM handle for performing the done function
    14411444 *                          on the EMT thread.
     
    17451748 *
    17461749 * @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.
    17491753 */
    17501754int vusbDevInit(PVUSBDEV pDev, PPDMUSBINS pUsbIns, const char *pszCaptureFilename)
  • trunk/src/VBox/Devices/USB/VUSBSniffer.cpp

    r62959 r64294  
    7777*********************************************************************************************************************************/
    7878
    79 /** @interface_method_impl{VUSBSNIFFERSTRM,pfnWrite}. */
     79/** @interface_method_impl{VUSBSNIFFERSTRM,pfnWrite} */
    8080static DECLCALLBACK(int) vusbSnifferStrmWrite(PVUSBSNIFFERSTRM pStrm, const void *pvBuf, size_t cbBuf)
    8181{
     
    106106 *
    107107 * @returns Pointer to the format structure or NULL if none was found.
    108  * @param   pFilename    The file name to take the suffix from.
     108 * @param   pszFilename    The file name to take the suffix from.
    109109 */
    110110static PCVUSBSNIFFERFMT vusbSnifferGetFmtFromFilename(const char *pszFilename)
  • trunk/src/VBox/Devices/USB/VUSBUrb.cpp

    r62960 r64294  
    745745 *
    746746 * @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.
    747750 */
    748751static void vusbMsgDoTransfer(PVUSBURB pUrb, PVUSBSETUP pSetup, PVUSBCTRLEXTRA pExtra, PVUSBPIPE pPipe)
  • trunk/src/VBox/Devices/USB/darwin/USBProxyDevice-darwin.cpp

    r63480 r64294  
    14261426
    14271427
    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}*/
    14341429static DECLCALLBACK(int) usbProxyDarwinReset(PUSBPROXYDEV pProxyDev, bool fResetOnLinux)
    14351430{
  • trunk/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp

    r63562 r64294  
    408408 * @returns The Cfg#.
    409409 * @returns -1 if no active config.
     410 * @param   pProxyDev       The proxy device instance.
    410411 * @param   pszDevNode      The path to the device. We infere the location of
    411412 *                          the devices file, which bus and device number we're
    412413 *                          looking for.
    413  * @param   iFirstCfg       The first configuration. (optional)
     414 * @param   piFirstCfg      The first configuration. (optional)
    414415 * @internal
    415416 */
     
    543544 * @returns The Cfg#.
    544545 * @returns -1 if no active config.
     546 * @param   pProxyDev       The proxy device instance.
    545547 * @param   pszPath         The sysfs path for the device.
    546548 * @param   piFirstCfg      The first configuration. (optional)
     
    570572 * @returns The Cfg#.
    571573 * @returns -1 if no active config.
     574 * @param   pProxyDev       The proxy device instance.
    572575 * @param   pszPath         The sysfs path for the device, or the usbfs device
    573576 *                          node path.
    574  * @param   iFirstCfg       The first configuration. (optional)
     577 * @param   piFirstCfg      The first configuration. (optional)
    575578 * @internal
    576579 */
     
    10121015
    10131016
    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} */
    10201018static DECLCALLBACK(int) usbProxyLinuxReset(PUSBPROXYDEV pProxyDev, bool fResetOnLinux)
    10211019{
  • trunk/src/VBox/Devices/USB/os2/USBProxyDevice-os2.cpp

    r63562 r64294  
    596596
    597597
    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} */
    604599static int usbProxyOs2Reset(PUSBPROXYDEV pProxyDev, bool fResetOnLinux)
    605600{
     
    703698 * @interface_method_impl{USBPROXYBACK,pfnUrbQueue}
    704699 */
    705 static int usbProxyOs2UrbQueue(PVUSBURB pUrb)
    706 {
    707     PUSBPROXYDEV    pProxyDev = (PUSBPROXYDEV)pUrb->pDev;
     700static int usbProxyOs2UrbQueue(PUSBPROXYDEV pProxyDev, PVUSBURB pUrb)
     701{
    708702    PUSBPROXYDEVOS2 pDevOs2 = (PUSBPROXYDEVOS2)pProxyDev->Backend.pv;
    709703    LogFlow(("usbProxyOs2UrbQueue: pProxyDev=%s pUrb=%p EndPt=%d cbData=%d\n",
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette