Changeset 8e5ce07 in mainline
- Timestamp:
- 2011-10-12T16:34:22Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- aa1922c
- Parents:
- 96646a6
- Location:
- uspace/lib
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/hc.h
r96646a6 r8e5ce07 53 53 54 54 int usb_hc_connection_initialize_from_device(usb_hc_connection_t *, 55 ddf_dev_t *);55 const ddf_dev_t *); 56 56 int usb_hc_connection_initialize(usb_hc_connection_t *, devman_handle_t); 57 57 -
uspace/lib/usb/src/hc.c
r96646a6 r8e5ce07 50 50 */ 51 51 int usb_hc_connection_initialize_from_device(usb_hc_connection_t *connection, 52 ddf_dev_t *device)52 const ddf_dev_t *device) 53 53 { 54 54 assert(connection); -
uspace/lib/usbdev/include/usb/dev/driver.h
r96646a6 r8e5ce07 167 167 168 168 int usb_device_retrieve_descriptors(usb_pipe_t *, usb_device_descriptors_t *); 169 int usb_device_create_pipes( ddf_dev_t *, usb_device_connection_t *,169 int usb_device_create_pipes(const ddf_dev_t *, usb_device_connection_t *, 170 170 usb_endpoint_description_t **, uint8_t *, size_t, int, int, 171 171 usb_endpoint_mapping_t **, size_t *); 172 int usb_device_destroy_pipes( ddf_dev_t *, usb_endpoint_mapping_t *, size_t);172 int usb_device_destroy_pipes(const ddf_dev_t *, usb_endpoint_mapping_t *, size_t); 173 173 int usb_device_create(ddf_dev_t *, usb_endpoint_description_t **, usb_device_t **, const char **); 174 174 void usb_device_destroy(usb_device_t *); -
uspace/lib/usbdev/include/usb/dev/pipes.h
r96646a6 r8e5ce07 159 159 usb_device_connection_t *, usb_hc_connection_t *); 160 160 int usb_device_connection_initialize_from_device(usb_device_connection_t *, 161 ddf_dev_t *);161 const ddf_dev_t *); 162 162 int usb_device_connection_initialize(usb_device_connection_t *, 163 163 devman_handle_t, usb_address_t); 164 164 165 int usb_device_get_assigned_interface( ddf_dev_t *);165 int usb_device_get_assigned_interface(const ddf_dev_t *); 166 166 167 167 int usb_pipe_initialize(usb_pipe_t *, usb_device_connection_t *, -
uspace/lib/usbdev/src/devdrv.c
r96646a6 r8e5ce07 298 298 * @return Error code. 299 299 */ 300 int usb_device_create_pipes( ddf_dev_t *dev, usb_device_connection_t *wire,300 int usb_device_create_pipes(const ddf_dev_t *dev, usb_device_connection_t *wire, 301 301 usb_endpoint_description_t **endpoints, 302 302 uint8_t *config_descr, size_t config_descr_size, … … 418 418 * @param[in] pipes_count Number of endpoints. 419 419 */ 420 int usb_device_destroy_pipes( ddf_dev_t *dev,420 int usb_device_destroy_pipes(const ddf_dev_t *dev, 421 421 usb_endpoint_mapping_t *pipes, size_t pipes_count) 422 422 { -
uspace/lib/usbdev/src/pipes.c
r96646a6 r8e5ce07 52 52 * @return USB address or error code. 53 53 */ 54 static usb_address_t get_my_address(async_sess_t *sess, ddf_dev_t *dev)54 static usb_address_t get_my_address(async_sess_t *sess, const ddf_dev_t *dev) 55 55 { 56 56 async_exch_t *exch = async_exchange_begin(sess); … … 78 78 * @return Interface number (negative code means any). 79 79 */ 80 int usb_device_get_assigned_interface( ddf_dev_t *device)80 int usb_device_get_assigned_interface(const ddf_dev_t *device) 81 81 { 82 82 async_sess_t *parent_sess = … … 108 108 */ 109 109 int usb_device_connection_initialize_from_device( 110 usb_device_connection_t *connection, ddf_dev_t *dev)110 usb_device_connection_t *connection, const ddf_dev_t *dev) 111 111 { 112 112 assert(connection);
Note:
See TracChangeset
for help on using the changeset viewer.