Changeset 51c1d500 in mainline for uspace/drv/bus/usb/xhci/hc.h


Ignore:
Timestamp:
2018-01-20T17:16:33Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6271a34
Parents:
abb5d08
Message:

xhci: move HC semantics from endpoint/device to hc module

File:
1 edited

Legend:

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

    rabb5d08 r51c1d500  
    120120int hc_start(xhci_hc_t *, bool);
    121121void hc_fini(xhci_hc_t *);
     122
    122123void hc_ring_doorbell(xhci_hc_t *, unsigned, unsigned);
     124void hc_ring_ep_doorbell(xhci_endpoint_t *, uint32_t);
     125unsigned hc_speed_to_psiv(usb_speed_t);
    123126
    124127int hc_enable_slot(xhci_device_t *);
    125128int hc_disable_slot(xhci_device_t *);
    126 int hc_address_device(xhci_device_t *, xhci_endpoint_t *);
     129int hc_address_device(xhci_device_t *);
    127130int hc_configure_device(xhci_device_t *);
    128131int hc_deconfigure_device(xhci_device_t *);
    129 int hc_add_endpoint(xhci_device_t *, uint8_t, xhci_ep_ctx_t *);
    130 int hc_drop_endpoint(xhci_device_t *, uint8_t);
    131 int hc_update_endpoint(xhci_device_t *, uint8_t, xhci_ep_ctx_t *);
    132 int hc_stop_endpoint(xhci_device_t *, uint8_t);
    133 int hc_reset_endpoint(xhci_device_t *, uint8_t);
     132int hc_add_endpoint(xhci_endpoint_t *);
     133int hc_drop_endpoint(xhci_endpoint_t *);
     134int hc_update_endpoint(xhci_endpoint_t *);
     135int hc_stop_endpoint(xhci_endpoint_t *);
     136int hc_reset_endpoint(xhci_endpoint_t *);
     137int hc_reset_ring(xhci_endpoint_t *, uint32_t);
    134138
    135139int hc_status(bus_t *, uint32_t *);
Note: See TracChangeset for help on using the changeset viewer.