Changeset eb928c4 in mainline for uspace/drv/bus/usb/xhci/scratchpad.c


Ignore:
Timestamp:
2018-01-08T00:07:00Z (8 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1102eca
Parents:
ecbad17
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-08 00:05:39)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-08 00:07:00)
Message:

xhci: documentation & cleanup

Also, a simple refactoring to remove functions that only wraps another
functions unused anywhere else.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/scratchpad.c

    recbad17 reb928c4  
    4141#include "scratchpad.h"
    4242
     43/**
     44 * Get the number of scratchpad buffers needed.
     45 */
    4346static inline unsigned xhci_scratchpad_count(xhci_hc_t *hc)
    4447{
     
    5154}
    5255
     56/**
     57 * Allocate all scratchpad buffers, and configure the xHC.
     58 */
    5359int xhci_scratchpad_alloc(xhci_hc_t *hc)
    5460{
     
    7985}
    8086
     87/**
     88 * Deallocate the scratchpads and deconfigure xHC.
     89 */
    8190void xhci_scratchpad_free(xhci_hc_t *hc)
    8291{
Note: See TracChangeset for help on using the changeset viewer.