/solaris-userland/components/libusb/wrapper/src/ |
H A D | testlibusb.c | 91 void print_device_descriptor(struct usb_device_descriptor *dev) argument 94 printf(" bLength: %d\n", dev->bLength); 95 printf(" bDescriptorType: %xh\n", dev->bDescriptorType); 96 printf(" bcdUSB: %xh\n", dev->bcdUSB); 97 printf(" bDeviceClass: %xh\n", dev->bDeviceClass); 98 printf(" bDeviceSubClass: %xh\n", dev->bDeviceSubClass); 99 printf(" bDeviceProtocol: %xh\n", dev->bDeviceProtocol); 100 printf(" bMaxPacketSize0: %xh\n", dev->bMaxPacketSize0); 101 printf(" idVendor: %xh\n", dev->idVendor); 102 printf(" idProduct: %xh\n", dev 115 struct usb_device *dev; local [all...] |
H A D | wr_libusb.h | 180 struct usb_dev_handle *dev; /* usb.h dev handle */ member in struct:dev_handles 196 dev_handles_t *dev_handles; /* list of open dev hdls */
|
H A D | usb.h | 261 void *dev; /* OS specific */ member in struct:usb_device 281 usb_dev_handle *usb_open(struct usb_device *dev); 282 int usb_close(usb_dev_handle *dev); 284 int usb_bulk_write(usb_dev_handle *dev, int ep, char *bytes, 286 int usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes, 289 int usb_interrupt_write(usb_dev_handle *dev, int ep, char *bytes, 291 int usb_interrupt_read(usb_dev_handle *dev, int ep, char *bytes, 294 int usb_control_msg(usb_dev_handle *dev, int requesttype, 298 int usb_set_configuration(usb_dev_handle *dev, 300 int usb_claim_interface(usb_dev_handle *dev, in [all...] |
H A D | wr_libusb.c | 75 * open and close results in updates to the dev handle list. 288 * this includes things like bus/dev ptr mappings, handles, etc. 402 * walk through the dev handle pointers added 403 * during open and find the matching dev handle 406 * dev handle 409 get_index_devhdl(struct usb_dev_handle *dev) argument 417 if (dev == devh->dev) { 434 usb_add_dev(struct usb_dev_handle *dev, struct usb_device *device, argument 472 devh->dev 485 usb_del_dev(struct usb_dev_handle *dev, int pindex) argument 548 lookup_sym_hdl(usb_dev_handle *dev, int sym_index, const char *func) argument 680 get_pindex(struct usb_dev_handle *dev, const char *func) argument 1027 struct usb_dev_handle *dev; local 1061 usb_close(usb_dev_handle *dev) argument 1085 usb_get_string(usb_dev_handle *dev, int index, int langid, char *buf, size_t buflen) argument 1102 usb_get_string_simple(usb_dev_handle *dev, int index, char *buf, size_t buflen) argument 1119 usb_get_descriptor_by_endpoint(usb_dev_handle *dev, int ep, unsigned char type, unsigned char index, void *buf, int size) argument 1138 usb_get_descriptor(usb_dev_handle *dev, unsigned char type, unsigned char index, void *buf, int size) argument 1156 usb_bulk_write(usb_dev_handle *dev, int ep, char *bytes, int size, int timeout) argument 1171 usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes, int size, int timeout) argument 1187 usb_interrupt_read(usb_dev_handle *dev, int ep, char *bytes, int size, int timeout) argument 1204 usb_interrupt_write(usb_dev_handle *dev, int ep, char *bytes, int size, int timeout) argument 1221 usb_control_msg(usb_dev_handle *dev, int requesttype, int request, int value, int index, char *bytes, int size, int timeout) argument 1239 usb_set_configuration(usb_dev_handle *dev, int configuration) argument 1255 usb_claim_interface(usb_dev_handle *dev, int interface) argument 1271 usb_release_interface(usb_dev_handle *dev, int interface) argument 1287 usb_set_altinterface(usb_dev_handle *dev, int alternate) argument 1303 usb_resetep(usb_dev_handle *dev, unsigned int ep) argument 1319 usb_clear_halt(usb_dev_handle *dev, unsigned int ep) argument 1336 usb_reset(usb_dev_handle *dev) argument 1386 usb_device(usb_dev_handle *dev) argument [all...] |
/solaris-userland/components/net-snmp-57/sun/agent/modules/seaExtensions/ |
H A D | sunProcesses.c | 75 dev_t dev; /* device number */ member in struct:devl 323 stat("/dev", &sbuf2) == -1 || sbuf1.st_mtime <= sbuf2.st_mtime || 332 /* Read /dev data from psfile. */ 355 * call_ftw_for_dev() uses ftw() to pass pathnames under /dev to gdev() 365 rcode = ftw("/dev", gdev, 17); 385 * special files in /dev. The "/dev/" string is stripped from the name 419 if (!consflg && (strcmp("/dev/systty", objptr) == 0 || 420 strcmp("/dev/syscon", objptr) == 0)) { 422 ldevl[lndev].dev [all...] |
/solaris-userland/components/libusb/ugen/src/ |
H A D | libusbugen.c | 76 static int usb_check_access(usb_dev_handle *dev); 81 static int usb_check_device_and_status_open(usb_dev_handle *dev, 105 static void usb_add_device(usb_device_t **list, usb_device_t *dev); 106 static void usb_remove_device(usb_device_t **list, usb_device_t *dev); 107 static int usb_check_device_in_list(usb_device_t *list, usb_device_t *dev); 109 static void usb_free_dev(usb_device_t *dev); 207 * only one flat name space, /dev/usb 224 (void) strncpy(bus->dirname, "/dev/usb", 251 usb_device_t *dev, *next_dev, *new, *next_new; local 262 for (dev 310 usb_device(usb_dev_handle *dev) argument 324 usb_open(usb_device_t *dev) argument 401 usb_close(usb_dev_handle *dev) argument 440 usb_control_msg(usb_dev_handle *dev, int requesttype, int request, int value, int index, char *data, int size, int timeout) argument 498 usb_bulk_write(usb_dev_handle *dev, int ep, char *data, int size, int timeout) argument 540 usb_bulk_read(usb_dev_handle *dev, int ep, char *data, int size, int timeout) argument 585 usb_interrupt_write(usb_dev_handle *dev, int ep, char *data, int size, int timeout) argument 628 usb_interrupt_read(usb_dev_handle *dev, int ep, char *data, int size, int timeout) argument 678 usb_get_string(usb_dev_handle *dev, int index, int langid, char *buf, size_t buflen) argument 709 usb_get_string_simple(usb_dev_handle *dev, int index, char *buf, size_t buflen) argument 832 usb_set_altinterface(usb_dev_handle *dev, int alt) argument 919 usb_set_configuration(usb_dev_handle *dev, int configuration) argument 976 usb_clear_halt(usb_dev_handle *dev, unsigned int ep) argument 1028 usb_claim_interface(usb_dev_handle *dev, int interface) argument 1113 usb_release_interface(usb_dev_handle *dev, int interface) argument 1156 usb_resetep(usb_dev_handle *dev, unsigned int ep) argument 1170 usb_reset(usb_dev_handle * dev) argument 1300 usb_check_access(usb_dev_handle *dev) argument 1377 usb_check_device_and_status_open(usb_dev_handle *dev, int ep, int ep_type, int mode) argument 1741 usb_free_all_configs(usb_device_t *dev) argument 2178 usb_add_device(usb_device_t **list, usb_device_t *dev) argument 2195 usb_remove_device(usb_device_t **list, usb_device_t *dev) argument 2215 usb_check_device_in_list(usb_device_t *list, usb_device_t *dev) argument 2246 usb_free_dev(usb_device_t *dev) argument 2382 usb_device_t *dev; local [all...] |