Changeset 64fea02 in mainline for uspace/lib/usbhost/src
- Timestamp:
- 2017-11-22T13:54:05Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 820d9bc
- Parents:
- b60eac1
- Location:
- uspace/lib/usbhost/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/bandwidth.c
rb60eac1 r64fea02 34 34 */ 35 35 36 #include <usb/host/bandwidth.h>37 #include <usb/host/endpoint.h>38 #include <usb/host/bus.h>39 40 36 #include <assert.h> 41 37 #include <stdlib.h> 38 39 #include "endpoint.h" 40 #include "bus.h" 41 42 #include "bandwidth.h" 42 43 43 44 /** Calculate bandwidth that needs to be reserved for communication with EP. -
uspace/lib/usbhost/src/bus.c
rb60eac1 r64fea02 34 34 */ 35 35 36 #include <usb/host/bus.h> 37 #include <usb/host/endpoint.h> 36 #include <ddf/driver.h> 37 #include <errno.h> 38 #include <mem.h> 39 #include <stdio.h> 38 40 #include <usb/debug.h> 39 #include <ddf/driver.h> 40 41 #include <mem.h> 42 #include <errno.h> 43 #include <stdio.h> 41 42 #include "endpoint.h" 43 #include "bus.h" 44 44 45 45 /** -
uspace/lib/usbhost/src/ddf_helpers.c
rb60eac1 r64fea02 34 34 */ 35 35 36 #include <usb/classes/classes.h>37 #include <usb/host/bus.h>38 #include <usb/debug.h>39 #include <usb/descriptor.h>40 #include <usb/request.h>41 #include <usb/usb.h>42 43 36 #include <adt/list.h> 44 37 #include <assert.h> … … 48 41 #include <device/hw_res_parsed.h> 49 42 #include <errno.h> 50 #include <fibril_synch.h>51 #include <macros.h>52 #include <stdlib.h>53 43 #include <str_error.h> 44 #include <usb/classes/classes.h> 45 #include <usb/debug.h> 46 #include <usb/descriptor.h> 47 #include <usb/usb.h> 54 48 #include <usb_iface.h> 55 49 #include <usbhc_iface.h> 50 51 #include "bus.h" 56 52 57 53 #include "ddf_helpers.h" -
uspace/lib/usbhost/src/dma_buffer.c
rb60eac1 r64fea02 33 33 */ 34 34 35 #include <usb/host/dma_buffer.h>36 37 35 #include <align.h> 38 36 #include <as.h> 39 37 #include <ddi.h> 40 38 #include <stddef.h> 39 40 #include "dma_buffer.h" 41 41 42 42 dma_policy_t dma_policy_default = { -
uspace/lib/usbhost/src/endpoint.c
rb60eac1 r64fea02 35 35 */ 36 36 37 #include <usb/host/endpoint.h>38 #include <usb/host/usb_transfer_batch.h>39 #include <usb/host/bus.h>40 41 37 #include <assert.h> 42 38 #include <atomic.h> 43 39 #include <mem.h> 44 40 #include <stdlib.h> 41 42 #include "usb_transfer_batch.h" 43 #include "bus.h" 44 45 #include "endpoint.h" 45 46 46 47 /** Initialize provided endpoint structure. … … 153 154 } 154 155 155 156 156 /** 157 157 * @} -
uspace/lib/usbhost/src/hcd.c
rb60eac1 r64fea02 34 34 */ 35 35 36 #include <usb/debug.h>37 #include <usb/descriptor.h>38 #include <usb/request.h>39 40 36 #include <assert.h> 41 37 #include <async.h> 42 38 #include <errno.h> 43 39 #include <macros.h> 40 #include <str_error.h> 41 #include <usb/debug.h> 42 #include <usb/descriptor.h> 43 #include <usb/request.h> 44 44 #include <usb_iface.h> 45 #include <str_error.h> 45 46 #include "bus.h" 47 #include "endpoint.h" 48 #include "usb_transfer_batch.h" 46 49 47 50 #include "hcd.h" -
uspace/lib/usbhost/src/usb2_bus.c
rb60eac1 r64fea02 34 34 */ 35 35 36 #include <usb/host/usb2_bus.h>37 #include <usb/host/endpoint.h>38 #include <usb/host/ddf_helpers.h>39 #include <usb/debug.h>40 #include <usb/request.h>41 #include <usb/descriptor.h>42 #include <usb/usb.h>43 44 36 #include <assert.h> 45 37 #include <errno.h> 46 38 #include <macros.h> 39 #include <stdbool.h> 40 #include <stdlib.h> 47 41 #include <str_error.h> 48 #include <stdlib.h> 49 #include <stdbool.h> 42 #include <usb/debug.h> 43 #include <usb/descriptor.h> 44 #include <usb/request.h> 45 #include <usb/usb.h> 46 47 #include "endpoint.h" 48 #include "ddf_helpers.h" 49 50 #include "usb2_bus.h" 50 51 51 52 /** Ops receive generic bus_t pointer. */ -
uspace/lib/usbhost/src/usb_transfer_batch.c
rb60eac1 r64fea02 33 33 */ 34 34 35 #include <usb/host/usb_transfer_batch.h> 36 #include <usb/host/endpoint.h> 37 #include <usb/host/bus.h> 35 #include <assert.h> 36 #include <errno.h> 37 #include <stdlib.h> 38 #include <str_error.h> 38 39 #include <usb/debug.h> 39 40 40 #include <assert.h> 41 #include <stdlib.h> 42 #include <errno.h> 43 #include <str_error.h> 41 #include "endpoint.h" 42 #include "bus.h" 44 43 44 #include "usb_transfer_batch.h" 45 45 46 46 /** Create a batch on given endpoint.
Note:
See TracChangeset
for help on using the changeset viewer.