Changeset 09ab0a9a in mainline for uspace/lib/usbdev
- Timestamp:
- 2018-09-13T12:05:53Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cc74cb5
- Parents:
- b2aaaa0
- git-author:
- Jiri Svoboda <jiri@…> (2018-09-13 07:09:46)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-09-13 12:05:53)
- Location:
- uspace/lib/usbdev
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/include/usb/dev/poll.h
rb2aaaa0 r09ab0a9a 46 46 #include <fibril_synch.h> 47 47 48 49 48 /** USB automated polling. */ 50 49 typedef struct usb_polling { … … 76 75 bool (*on_data)(usb_device_t *dev, uint8_t *data, size_t data_size, 77 76 void *arg); 78 79 77 80 78 /** … … 127 125 bool (*on_error)(usb_device_t *dev, errno_t err_code, void *arg); 128 126 129 130 127 /** 131 128 * Internal parameters - user is not expected to set them. Messing with -
uspace/lib/usbdev/src/altiface.c
rb2aaaa0 r09ab0a9a 126 126 }; 127 127 128 129 128 const void *iface_ptr = 130 129 usb_dp_get_nested_descriptor(&dp_parser, &dp_data, dp_data.data); -
uspace/lib/usbdev/src/devdrv.c
rb2aaaa0 r09ab0a9a 194 194 &usb_dev->descriptors.full_config, 195 195 &usb_dev->descriptors.full_config_size); 196 197 196 198 197 return rc; -
uspace/lib/usbdev/src/devpoll.c
rb2aaaa0 r09ab0a9a 55 55 #include <stdint.h> 56 56 57 58 57 /** Initialize the polling data structure, its internals and configuration 59 58 * with default values. … … 83 82 } 84 83 85 86 84 /** Destroy the polling data structure. 87 85 * This function does nothing but a safety check whether the polling … … 96 94 assert(!polling->running); 97 95 } 98 99 96 100 97 /** Polling fibril. … … 219 216 } 220 217 221 222 218 /** Start automatic device polling over interrupt in pipe. 223 219 * -
uspace/lib/usbdev/src/driver.c
rb2aaaa0 r09ab0a9a 163 163 }; 164 164 165 166 165 /** Main routine of USB device driver. 167 166 * -
uspace/lib/usbdev/src/recognise.c
rb2aaaa0 r09ab0a9a 253 253 } 254 254 255 256 255 /** Create match ids describing attached device. 257 256 * -
uspace/lib/usbdev/src/request.c
rb2aaaa0 r09ab0a9a 801 801 string_chars[string_char_count] = 0; 802 802 803 804 803 /* Convert to normal string. */ 805 804 char *str = wstr_to_astr(string_chars);
Note:
See TracChangeset
for help on using the changeset viewer.