Home
last modified time | relevance | path

Searched refs:langid (Results 1 – 10 of 10) sorted by relevance

/freebsd/lib/libusb/
H A Dlibusb20.c818 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 Dusb.h276 int usb_get_string(usb_dev_handle * dev, int index, int langid, char *buf, size_t buflen);
H A Dlibusb10_desc.c304 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 Dlibusb20.h256 int libusb20_dev_req_string_sync(struct libusb20_device *pdev, uint8_t index, uint16_t langid, void…
H A Dlibusb01.c210 int langid, char *buf, size_t buflen) in usb_get_string() argument
221 strindex, langid, buf, buflen); in usb_get_string()
H A Dlibusb.h529 int libusb_get_string_descriptor(libusb_device_handle * devh, uint8_t desc_index, uint16_t langid, …
/freebsd/sys/dev/usb/
H A Dusb_device.c1704 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 Dusb_debug.c164 udev->flags.self_powered, udev->power, udev->langid); in usb_dump_device()
H A Dusb_device.h239 uint16_t langid; /* language for strings */ member
H A Dusb_request.c1134 (udev, mtx, buf, len, udev->langid, string_index); in usbd_req_get_string_any()