winusb_device_priv::hid is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDwinusb_device_priv::hid

winusb_device_priv::hid field

Syntax

References

LocationReferrerText
windows_common.h:269
struct hid_device_priv *hid;
windows_winusb.c:1393set_composite_interface()
if ((api == USB_API_HID) && (priv->hid == NULL)) {
windows_winusb.c:1394set_composite_interface()
priv->hid = calloc(1, sizeof(struct hid_device_priv));
windows_winusb.c:1429set_hid_interface()
if (priv->hid == NULL) {
windows_winusb.c:1437set_hid_interface()
for (i = 0; i < priv->hid->nb_interfaces; i++) {
windows_winusb.c:1444set_hid_interface()
priv->usb_interface[priv->hid->nb_interfaces].path = dev_interface_path;
windows_winusb.c:1445set_hid_interface()
priv->usb_interface[priv->hid->nb_interfaces].apib = &usb_api_backend[USB_API_HID];
windows_winusb.c:1446set_hid_interface()
usbi_dbg(ctx, "interface[%u] = %s", priv->hid->nb_interfaces, dev_interface_path);
windows_winusb.c:1447set_hid_interface()
priv->hid->nb_interfaces++;
windows_winusb.c:3746_hid_get_descriptor()
return _hid_get_device_descriptor(priv->hid, data, size);
windows_winusb.c:3750_hid_get_descriptor()
return _hid_get_config_descriptor(priv->hid, data, size);
windows_winusb.c:3754_hid_get_descriptor()
windows_winusb.c:3758_hid_get_descriptor()
return _hid_get_hid_descriptor(priv->hid, data, size);
windows_winusb.c:3763_hid_get_descriptor()
return _hid_get_report_descriptor(priv->hid, data, size);
windows_winusb.c:3967hid_open()
if (priv->hid == NULL) {
windows_winusb.c:4010hid_open()
priv->hid->vid = hid_attributes.VendorID;
windows_winusb.c:4011hid_open()
priv->hid->pid = hid_attributes.ProductID;
windows_winusb.c:4033hid_open()
priv->hid->uses_report_ids[j] = false;
windows_winusb.c:4052hid_open()
priv->hid->uses_report_ids[j] = true;
windows_winusb.c:4062hid_open()
priv->hid->input_report_size = capabilities.InputReportByteLength;
windows_winusb.c:4063hid_open()
priv->hid->output_report_size = capabilities.OutputReportByteLength;
windows_winusb.c:4064hid_open()
priv->hid->feature_report_size = capabilities.FeatureReportByteLength;
windows_winusb.c:4067hid_open()
priv->hid->usage = capabilities.Usage;
windows_winusb.c:4068hid_open()
priv->hid->usagePage = capabilities.UsagePage;
windows_winusb.c:4071hid_open()
priv->hid->string_index[0] = dev->device_descriptor.iManufacturer;
windows_winusb.c:4072hid_open()
if (priv->hid->string_index[0] != 0)
windows_winusb.c:4073hid_open()
HidD_GetManufacturerString(hid_handle, priv->hid->string[0], sizeof(priv->hid->string[0]));
windows_winusb.c:4075hid_open()
priv->hid->string[0][0] = 0;
windows_winusb.c:4077hid_open()
priv->hid->string_index[1] = dev->device_descriptor.iProduct;
windows_winusb.c:4078hid_open()
if (priv->hid->string_index[1] != 0)
windows_winusb.c:4082hid_open()
HidD_GetIndexedString(hid_handle, priv->hid->string_index[1], priv->hid->string[1], sizeof(priv->hid->string[1]));
windows_winusb.c:4084hid_open()
priv->hid->string[1][0] = 0;
windows_winusb.c:4086hid_open()
priv->hid->string_index[2] = dev->device_descriptor.iSerialNumber;
windows_winusb.c:4087hid_open()
if (priv->hid->string_index[2] != 0)
windows_winusb.c:4088hid_open()
HidD_GetSerialNumberString(hid_handle, priv->hid->string[2], sizeof(priv->hid->string[2]));
windows_winusb.c:4090hid_open()
priv->hid->string[2][0] = 0;
windows_winusb.c:4312hid_submit_bulk_transfer()
if (((direction_in) && (!priv->hid->uses_report_ids[0]))
windows_winusb.c:4313hid_submit_bulk_transfer()
|| ((!direction_in) && (!priv->hid->uses_report_ids[1])))
windows_winusb.c:4330hid_submit_bulk_transfer()
if (!priv->hid->uses_report_ids[1])
windows_winusb.h:204winusb_device_priv_release()
free(priv->hid);

Data Use

Functions writing winusb_device_priv::hid
Functions reading winusb_device_priv::hid
all items filtered out
winusb_device_priv::hid
Type of winusb_device_priv::hid
winusb_device_priv::hid
all items filtered out