Changeset 87619045 in mainline
- Timestamp:
- 2013-01-27T11:35:32Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7363fc1
- Parents:
- 71384bd3
- Location:
- uspace
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/port.h
r71384bd3 r87619045 38 38 #include <usb/dev/driver.h> 39 39 #include <usb/classes/hub.h> 40 #include <usb_iface.h> 40 41 41 42 typedef struct usb_hub_dev usb_hub_dev_t; -
uspace/lib/usbdev/include/usb/dev/driver.h
r71384bd3 r87619045 37 37 #define LIBUSBDEV_DRIVER_H_ 38 38 39 #include <usb/hc.h> 40 #include <usb/dev/alternate_ifaces.h> 41 #include <usb/dev/usb_device_connection.h> 39 #include <usb/dev/device.h> 42 40 #include <usb/dev/pipes.h> 43 #include <usb_iface.h>44 45 typedef struct usb_device usb_device_t;46 41 47 42 /** USB driver ops. */ … … 98 93 int usb_driver_main(const usb_driver_t *); 99 94 100 int usb_device_create_ddf(ddf_dev_t *, const usb_endpoint_description_t **, const char **);101 void usb_device_destroy_ddf(ddf_dev_t *);102 103 const char* usb_device_get_name(usb_device_t *);104 ddf_fun_t *usb_device_ddf_fun_create(usb_device_t *, fun_type_t, const char *);105 106 async_exch_t * usb_device_bus_exchange_begin(usb_device_t *);107 void usb_device_bus_exchange_end(async_exch_t *);108 109 int usb_device_select_interface(usb_device_t *, uint8_t,110 const usb_endpoint_description_t **);111 112 int usb_device_create_pipes(usb_device_t *usb_dev,113 const usb_endpoint_description_t **endpoints);114 void usb_device_destroy_pipes(usb_device_t *);115 116 usb_pipe_t *usb_device_get_default_pipe(usb_device_t *);117 usb_endpoint_mapping_t * usb_device_get_mapped_ep_desc(usb_device_t *,118 const usb_endpoint_description_t *);119 usb_endpoint_mapping_t * usb_device_get_mapped_ep(usb_device_t *,120 usb_endpoint_t);121 122 int usb_device_get_iface_number(usb_device_t *);123 124 const usb_standard_device_descriptor_t *125 usb_device_get_device_descriptor(usb_device_t *);126 const void * usb_device_get_configuration_descriptor(usb_device_t *, size_t *);127 const usb_alternate_interfaces_t * usb_device_get_alternative_ifaces(128 usb_device_t *);129 130 void * usb_device_data_alloc(usb_device_t *, size_t);131 void * usb_device_data_get(usb_device_t *);132 133 95 #endif 134 96 /** -
uspace/lib/usbdev/src/devdrv.c
r71384bd3 r87619045 33 33 * USB device driver framework. 34 34 */ 35 #include <usb/dev/driver.h> 35 36 #include <usb_iface.h> 37 #include <usb/dev/device.h> 36 38 #include <usb/dev/request.h> 37 39 #include <usb/debug.h>
Note:
See TracChangeset
for help on using the changeset viewer.