Changeset 0d4b110 in mainline
- Timestamp:
- 2013-09-29T18:50:27Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2fd16b93
- Parents:
- 11a3b5f
- Location:
- uspace/drv/bus/usb/ohci
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/endpoint_list.c
r11a3b5f r0d4b110 34 34 */ 35 35 36 #include <assert.h> 36 37 #include <errno.h> 38 #include <libarch/barrier.h> 39 37 40 #include <usb/debug.h> 38 #include <libarch/barrier.h> 41 42 #include "utils/malloc32.h" 39 43 #include "endpoint_list.h" 40 44 -
uspace/drv/bus/usb/ohci/endpoint_list.h
r11a3b5f r0d4b110 35 35 #define DRV_OHCI_ENDPOINT_LIST_H 36 36 37 #include <adt/list.h> 38 #include <assert.h> 37 39 #include <fibril_synch.h> 40 #include <sys/types.h> 38 41 39 42 #include "ohci_endpoint.h" … … 65 68 assert(instance); 66 69 free32(instance->list_head); 70 instance->list_head = NULL; 67 71 } 68 72 -
uspace/drv/bus/usb/ohci/hc.c
r11a3b5f r0d4b110 34 34 */ 35 35 36 #include <assert.h> 37 #include <async.h> 36 38 #include <errno.h> 39 #include <macros.h> 40 #include <mem.h> 41 #include <stdlib.h> 37 42 #include <str_error.h> 38 #include <adt/list.h> 39 #include <libarch/ddi.h> 43 #include <sys/types.h> 40 44 41 45 #include <usb/debug.h> 42 46 #include <usb/usb.h> 43 47 44 #include "macros.h" 48 #include "ohci_endpoint.h" 49 #include "ohci_batch.h" 50 #include "utils/malloc32.h" 51 45 52 #include "hc.h" 46 #include "ohci_endpoint.h"47 53 48 54 #define OHCI_USED_INTERRUPTS \ -
uspace/drv/bus/usb/ohci/hc.h
r11a3b5f r0d4b110 35 35 #define DRV_OHCI_HC_H 36 36 37 #include <adt/list.h> 38 #include <ddi.h> 39 #include <ddf/driver.h> 40 #include <device/hw_res_parsed.h> 37 41 #include <fibril.h> 38 42 #include <fibril_synch.h> 39 #include <adt/list.h> 40 #include <ddi.h> 41 #include <ddf/interrupt.h> 43 #include <stdbool.h> 44 #include <sys/types.h> 42 45 43 #include <usb/usb.h>44 46 #include <usb/host/hcd.h> 47 #include <usb/host/endpoint.h> 48 #include <usb/host/usb_transfer_batch.h> 45 49 46 #include "ohci_batch.h"47 50 #include "ohci_regs.h" 48 51 #include "ohci_rh.h" -
uspace/drv/bus/usb/ohci/hw_struct/endpoint_descriptor.c
r11a3b5f r0d4b110 32 32 * @brief OHCI driver 33 33 */ 34 35 #include <assert.h> 36 #include <macros.h> 37 #include <mem.h> 38 39 #include <usb/usb.h> 40 41 #include "../utils/malloc32.h" 42 #include "mem_access.h" 43 34 44 #include "endpoint_descriptor.h" 35 #include "macros.h"36 45 37 46 /** USB direction to OHCI values translation table. */ … … 49 58 * @param td TD to put in the list. 50 59 * 51 * If @param ep is NULL, dummy ED is init alized with only skip flag set.60 * If @param ep is NULL, dummy ED is initialized with only skip flag set. 52 61 */ 53 62 void ed_init(ed_t *instance, const endpoint_t *ep, const td_t *td) -
uspace/drv/bus/usb/ohci/hw_struct/endpoint_descriptor.h
r11a3b5f r0d4b110 36 36 37 37 #include <assert.h> 38 #include <stdint.h> 38 #include <stdbool.h> 39 #include <sys/types.h> 39 40 40 41 #include <usb/host/endpoint.h> -
uspace/drv/bus/usb/ohci/hw_struct/hcca.h
r11a3b5f r0d4b110 35 35 #define DRV_OHCI_HW_STRUCT_HCCA_H 36 36 37 #include <stdint.h>38 37 #include <malloc.h> 38 #include <sys/types.h> 39 39 40 40 #include "mem_access.h" -
uspace/drv/bus/usb/ohci/hw_struct/iso_transfer_descriptor.h
r11a3b5f r0d4b110 35 35 #define DRV_OHCI_HW_STRUCT_ISO_TRANSFER_DESCRIPTOR_H 36 36 37 #include <s tdint.h>37 #include <sys/types.h> 38 38 39 39 #include "completion_codes.h" -
uspace/drv/bus/usb/ohci/hw_struct/transfer_descriptor.c
r11a3b5f r0d4b110 32 32 * @brief OHCI driver 33 33 */ 34 35 #include <assert.h> 36 #include <mem.h> 37 34 38 #include <usb/usb.h> 35 #include <mem.h> 39 36 40 #include "../utils/malloc32.h" 41 #include "completion_codes.h" 42 #include "mem_access.h" 37 43 #include "transfer_descriptor.h" 38 44 -
uspace/drv/bus/usb/ohci/hw_struct/transfer_descriptor.h
r11a3b5f r0d4b110 35 35 #define DRV_OHCI_HW_STRUCT_TRANSFER_DESCRIPTOR_H 36 36 37 #include <assert.h> 37 38 #include <stdbool.h> 38 39 #include <stdint.h> -
uspace/drv/bus/usb/ohci/main.c
r11a3b5f r0d4b110 33 33 * Main routines of OHCI driver. 34 34 */ 35 36 #include <assert.h> 35 37 #include <ddf/driver.h> 36 38 #include <errno.h> 39 #include <io/log.h> 37 40 #include <str_error.h> 38 41 -
uspace/drv/bus/usb/ohci/ohci.c
r11a3b5f r0d4b110 34 34 */ 35 35 36 #include <assert.h> 36 37 #include <errno.h> 38 #include <ddf/interrupt.h> 39 #include <device/hw_res_parsed.h> 40 #include <stdbool.h> 37 41 #include <str_error.h> 38 #include <ddf/interrupt.h> 42 #include <sys/types.h> 43 39 44 #include <usb/usb.h> 40 45 #include <usb/debug.h> 41 46 42 47 #include <usb/host/ddf_helpers.h> 48 #include <usb/host/usb_bus.h> 43 49 44 50 #include "ohci.h" 51 #include "ohci_endpoint.h" 45 52 #include "hc.h" 46 53 -
uspace/drv/bus/usb/ohci/ohci_batch.c
r11a3b5f r0d4b110 32 32 * @brief OHCI driver USB transaction structure 33 33 */ 34 35 #include <assert.h> 34 36 #include <errno.h> 35 #include <str_error.h>36 37 #include <macros.h> 38 #include <mem.h> 39 #include <stdbool.h> 37 40 38 41 #include <usb/usb.h> -
uspace/drv/bus/usb/ohci/ohci_batch.h
r11a3b5f r0d4b110 36 36 37 37 #include <adt/list.h> 38 #include < usbhc_iface.h>39 #include < usb/usb.h>38 #include <assert.h> 39 #include <stdbool.h> 40 40 #include <usb/host/usb_transfer_batch.h> 41 41 -
uspace/drv/bus/usb/ohci/ohci_endpoint.c
r11a3b5f r0d4b110 32 32 * @brief OHCI driver 33 33 */ 34 35 #include <assert.h> 36 #include <stdlib.h> 37 34 38 #include "utils/malloc32.h" 35 39 #include "ohci_endpoint.h" -
uspace/drv/bus/usb/ohci/ohci_rh.c
r11a3b5f r0d4b110 32 32 * @brief OHCI driver 33 33 */ 34 34 35 #include <assert.h> 36 #include <errno.h> 37 #include <mem.h> 38 #include <sys/types.h> 39 40 #include <usb/classes/hub.h> 35 41 #include <usb/debug.h> 42 #include <usb/descriptor.h> 43 #include <usb/request.h> 44 #include <usb/usb.h> 45 46 #include <usb/host/endpoint.h> 47 #include <usbvirt/device.h> 36 48 37 49 #include "ohci_rh.h" -
uspace/drv/bus/usb/ohci/ohci_rh.h
r11a3b5f r0d4b110 34 34 #ifndef DRV_OHCI_OHCI_RH_H 35 35 #define DRV_OHCI_OHCI_RH_H 36 37 #include <assert.h> 38 #include <sys/types.h> 36 39 37 40 #include <usb/usb.h> -
uspace/drv/bus/usb/ohci/utils/malloc32.h
r11a3b5f r0d4b110 35 35 #define DRV_OHCI_UTILS_MALLOC32_H 36 36 37 #include <assert.h> 38 #include <malloc.h> 39 #include <unistd.h> 37 #include <as.h> 40 38 #include <errno.h> 41 #include < mem.h>42 #include < as.h>39 #include <stdlib.h> 40 #include <sys/types.h> 43 41 44 42 /* Generic TDs and EDs require 16byte alignment,
Note:
See TracChangeset
for help on using the changeset viewer.