Changeset ca56afa in mainline for uspace/lib/usb/include
- Timestamp:
- 2011-02-25T09:46:23Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d493ac17
- Parents:
- 15b0432 (diff), a80849c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/lib/usb/include/usb
- Files:
-
- 6 edited
-
ddfiface.h (modified) (1 diff)
-
hub.h (modified) (1 diff)
-
pipes.h (modified) (3 diffs)
-
recognise.h (modified) (1 diff)
-
request.h (modified) (3 diffs)
-
usbdevice.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/ddfiface.h
r15b0432 rca56afa 40 40 #include <usb_iface.h> 41 41 42 int usb_iface_get_hc_handle_hub_impl(d evice_t *, devman_handle_t *);43 int usb_iface_get_address_hub_impl(d evice_t *, devman_handle_t,42 int usb_iface_get_hc_handle_hub_impl(ddf_fun_t *, devman_handle_t *); 43 int usb_iface_get_address_hub_impl(ddf_fun_t *, devman_handle_t, 44 44 usb_address_t *); 45 45 extern usb_iface_t usb_iface_hub_impl; 46 46 47 int usb_iface_get_hc_handle_hub_child_impl(d evice_t *, devman_handle_t *);48 int usb_iface_get_address_hub_child_impl(d evice_t *, devman_handle_t,47 int usb_iface_get_hc_handle_hub_child_impl(ddf_fun_t *, devman_handle_t *); 48 int usb_iface_get_address_hub_child_impl(ddf_fun_t *, devman_handle_t, 49 49 usb_address_t *); 50 50 extern usb_iface_t usb_iface_hub_child_impl; 51 51 52 int usb_iface_get_hc_handle_hc_impl(d evice_t *, devman_handle_t *);52 int usb_iface_get_hc_handle_hc_impl(ddf_fun_t *, devman_handle_t *); 53 53 54 54 -
uspace/lib/usb/include/usb/hub.h
r15b0432 rca56afa 39 39 #include <usb/usbdevice.h> 40 40 41 int usb_hc_new_device_wrapper(device_t *, usb_hc_connection_t *, usb_speed_t, 42 int (*)(int, void *), int, void *, usb_address_t *, devman_handle_t *); 41 int usb_hc_new_device_wrapper(ddf_dev_t *, usb_hc_connection_t *, usb_speed_t, 42 int (*)(int, void *), int, void *, 43 usb_address_t *, devman_handle_t *, 44 ddf_dev_ops_t *, void *, ddf_fun_t **); 43 45 44 46 /** Info about device attached to host controller. -
uspace/lib/usb/include/usb/pipes.h
r15b0432 rca56afa 41 41 #include <usb/descriptor.h> 42 42 #include <ipc/devman.h> 43 #include <d river.h>43 #include <ddf/driver.h> 44 44 45 45 /** … … 120 120 usb_device_connection_t *, usb_hc_connection_t *); 121 121 int usb_device_connection_initialize_from_device(usb_device_connection_t *, 122 d evice_t *);122 ddf_dev_t *); 123 123 int usb_device_connection_initialize(usb_device_connection_t *, 124 124 devman_handle_t, usb_address_t); 125 125 126 int usb_device_get_assigned_interface(d evice_t *);126 int usb_device_get_assigned_interface(ddf_dev_t *); 127 127 128 128 int usb_endpoint_pipe_initialize(usb_endpoint_pipe_t *, … … 137 137 int usb_endpoint_pipe_start_session(usb_endpoint_pipe_t *); 138 138 int usb_endpoint_pipe_end_session(usb_endpoint_pipe_t *); 139 bool usb_endpoint_pipe_is_session_started(usb_endpoint_pipe_t *); 139 140 140 141 int usb_endpoint_pipe_read(usb_endpoint_pipe_t *, void *, size_t, size_t *); -
uspace/lib/usb/include/usb/recognise.h
r15b0432 rca56afa 50 50 int usb_device_create_match_ids(usb_endpoint_pipe_t *, match_id_list_t *); 51 51 52 int usb_device_register_child_in_devman(usb_address_t address, devman_handle_t hc_handle,53 d evice_t *parent, devman_handle_t *child_handle);52 int usb_device_register_child_in_devman(usb_address_t, devman_handle_t, 53 ddf_dev_t *, devman_handle_t *, ddf_dev_ops_t *, void *, ddf_fun_t **); 54 54 55 55 #endif -
uspace/lib/usb/include/usb/request.h
r15b0432 rca56afa 37 37 38 38 #include <sys/types.h> 39 #include <l18n/langs.h> 39 40 #include <usb/usb.h> 40 41 #include <usb/pipes.h> … … 96 97 int usb_request_get_descriptor(usb_endpoint_pipe_t *, usb_request_type_t, 97 98 uint8_t, uint8_t, uint16_t, void *, size_t, size_t *); 99 int usb_request_get_descriptor_alloc(usb_endpoint_pipe_t *, usb_request_type_t, 100 uint8_t, uint8_t, uint16_t, void **, size_t *); 98 101 int usb_request_get_device_descriptor(usb_endpoint_pipe_t *, 99 102 usb_standard_device_descriptor_t *); … … 104 107 int usb_request_set_configuration(usb_endpoint_pipe_t *, uint8_t); 105 108 109 int usb_request_get_supported_languages(usb_endpoint_pipe_t *, 110 l18_win_locales_t **, size_t *); 111 int usb_request_get_string(usb_endpoint_pipe_t *, size_t, l18_win_locales_t, 112 char **); 113 106 114 #endif 107 115 /** -
uspace/lib/usb/include/usb/usbdevice.h
r15b0432 rca56afa 38 38 #include <sys/types.h> 39 39 #include <ipc/devman.h> 40 #include <d river.h>40 #include <ddf/driver.h> 41 41 #include <bool.h> 42 42 #include <usb/usb.h> … … 53 53 54 54 int usb_hc_connection_initialize_from_device(usb_hc_connection_t *, 55 d evice_t *);55 ddf_dev_t *); 56 56 int usb_hc_connection_initialize(usb_hc_connection_t *, devman_handle_t); 57 57
Note:
See TracChangeset
for help on using the changeset viewer.
