Changeset cb89430 in mainline for uspace/drv/bus/usb/xhci/debug.h


Ignore:
Timestamp:
2017-06-22T13:59:15Z (8 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e4d7363
Parents:
62ba2cbe
Message:

xhci: event rings && hc initialization (WIP)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/debug.h

    r62ba2cbe rcb89430  
    1818 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
    1919 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
    20  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
    2120 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
    2221 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     
    3837#define XHCI_DEBUG_H
    3938
    40 #include "hw_struct/regs.h"
     39struct xhci_hc;
     40struct xhci_cap_regs;
     41struct xhci_port_regs;
     42struct xhci_trb;
    4143
    42 typedef struct xhci_hc xhci_hc_t;
     44void xhci_dump_cap_regs(const struct xhci_cap_regs *);
     45void xhci_dump_port(struct xhci_port_regs *);
     46void xhci_dump_state(struct xhci_hc *);
     47void xhci_dump_ports(struct xhci_hc *);
    4348
    44 void xhci_dump_cap_regs(xhci_cap_regs_t *);
    45 void xhci_dump_port(xhci_port_regs_t *);
    46 void xhci_dump_state(xhci_hc_t *);
     49const char *xhci_trb_str_type(unsigned);
     50void xhci_dump_trb(struct xhci_trb *trb);
    4751
    4852#endif
Note: See TracChangeset for help on using the changeset viewer.