Searched refs:langid (Results 1 – 10 of 10) sorted by relevance
/freebsd/lib/libusb/ |
H A D | libusb20.c | 818 uint8_t str_index, uint16_t langid, void *ptr, uint16_t len) in libusb20_dev_req_string_sync() argument 843 req.wIndex = langid; in libusb20_dev_req_string_sync() 876 uint16_t langid; in libusb20_dev_req_string_simple_sync() local 895 langid = temp[2] | (temp[3] << 8); in libusb20_dev_req_string_simple_sync() 898 langid, temp, sizeof(temp)); in libusb20_dev_req_string_simple_sync()
|
H A D | usb.h | 276 int usb_get_string(usb_dev_handle * dev, int index, int langid, char *buf, size_t buflen);
|
H A D | libusb10_desc.c | 304 uint8_t desc_index, uint16_t langid, unsigned char *data, in libusb_get_string_descriptor() argument 318 langid, data, length, 1000)); in libusb_get_string_descriptor()
|
H A D | libusb20.h | 256 int libusb20_dev_req_string_sync(struct libusb20_device *pdev, uint8_t index, uint16_t langid, void…
|
H A D | libusb01.c | 210 int langid, char *buf, size_t buflen) in usb_get_string() argument 221 strindex, langid, buf, buflen); in usb_get_string()
|
H A D | libusb.h | 529 int libusb_get_string_descriptor(libusb_device_handle * devh, uint8_t desc_index, uint16_t langid, …
|
/freebsd/sys/dev/usb/ |
H A D | usb_device.c | 1704 uint16_t langid; in usb_get_langid() local 1717 langid = 0; in usb_get_langid() 1721 langid = UGETW(scratch_ptr + x); in usb_get_langid() 1722 if ((langid & mask) == pref) in usb_get_langid() 1728 langid = UGETW(scratch_ptr + 2); in usb_get_langid() 1731 DPRINTFN(1, "Language selected: 0x%04x\n", langid); in usb_get_langid() 1732 udev->langid = langid; in usb_get_langid()
|
H A D | usb_debug.c | 164 udev->flags.self_powered, udev->power, udev->langid); in usb_dump_device()
|
H A D | usb_device.h | 239 uint16_t langid; /* language for strings */ member
|
H A D | usb_request.c | 1134 (udev, mtx, buf, len, udev->langid, string_index); in usbd_req_get_string_any()
|