OpenOCD
winusb_device_priv::hid
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
winusb_device_priv::hid
winusb_device_priv::hid field
Syntax
from
windows_common.h:269
struct
hid_device_priv
*
hid
;
References
Location
Referrer
Text
windows_common.h:269
struct
hid_device_priv
*
hid
;
windows_winusb.c:1393
set_composite_interface()
if
(
(
api
==
USB_API_HID
)
&&
(
priv
->
hid
==
NULL
)
)
{
windows_winusb.c:1394
set_composite_interface()
priv
->
hid
=
calloc
(
1
,
sizeof
(
struct
hid_device_priv
)
)
;
windows_winusb.c:1429
set_hid_interface()
if
(
priv
->
hid
==
NULL
)
{
windows_winusb.c:1437
set_hid_interface()
for
(
i
=
0
;
i
<
priv
->
hid
->
nb_interfaces
;
i
++
)
{
windows_winusb.c:1444
set_hid_interface()
priv
->
usb_interface
[
priv
->
hid
->
nb_interfaces
]
.
path
=
dev_interface_path
;
windows_winusb.c:1445
set_hid_interface()
priv
->
usb_interface
[
priv
->
hid
->
nb_interfaces
]
.
apib
=
&
usb_api_backend
[
USB_API_HID
]
;
windows_winusb.c:1446
set_hid_interface()
usbi_dbg
(
ctx
,
"interface[%u] = %s"
,
priv
->
hid
->
nb_interfaces
,
dev_interface_path
)
;
windows_winusb.c:1447
set_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()
return
_hid_get_string_descriptor
(
priv
->
hid
,
_index
,
data
,
size
,
hid_handle
)
;
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:3967
hid_open()
if
(
priv
->
hid
==
NULL
)
{
windows_winusb.c:4010
hid_open()
priv
->
hid
->
vid
=
hid_attributes
.
VendorID
;
windows_winusb.c:4011
hid_open()
priv
->
hid
->
pid
=
hid_attributes
.
ProductID
;
windows_winusb.c:4033
hid_open()
priv
->
hid
->
uses_report_ids
[
j
]
=
false
;
windows_winusb.c:4052
hid_open()
priv
->
hid
->
uses_report_ids
[
j
]
=
true
;
windows_winusb.c:4062
hid_open()
priv
->
hid
->
input_report_size
=
capabilities
.
InputReportByteLength
;
windows_winusb.c:4063
hid_open()
priv
->
hid
->
output_report_size
=
capabilities
.
OutputReportByteLength
;
windows_winusb.c:4064
hid_open()
priv
->
hid
->
feature_report_size
=
capabilities
.
FeatureReportByteLength
;
windows_winusb.c:4067
hid_open()
priv
->
hid
->
usage
=
capabilities
.
Usage
;
windows_winusb.c:4068
hid_open()
priv
->
hid
->
usagePage
=
capabilities
.
UsagePage
;
windows_winusb.c:4071
hid_open()
priv
->
hid
->
string_index
[
0
]
=
dev
->
device_descriptor
.
iManufacturer
;
windows_winusb.c:4072
hid_open()
if
(
priv
->
hid
->
string_index
[
0
]
!=
0
)
windows_winusb.c:4073
hid_open()
HidD_GetManufacturerString
(
hid_handle
,
priv
->
hid
->
string
[
0
]
,
sizeof
(
priv
->
hid
->
string
[
0
]
)
)
;
windows_winusb.c:4075
hid_open()
priv
->
hid
->
string
[
0
]
[
0
]
=
0
;
windows_winusb.c:4077
hid_open()
priv
->
hid
->
string_index
[
1
]
=
dev
->
device_descriptor
.
iProduct
;
windows_winusb.c:4078
hid_open()
if
(
priv
->
hid
->
string_index
[
1
]
!=
0
)
windows_winusb.c:4082
hid_open()
HidD_GetIndexedString
(
hid_handle
,
priv
->
hid
->
string_index
[
1
]
,
priv
->
hid
->
string
[
1
]
,
sizeof
(
priv
->
hid
->
string
[
1
]
)
)
;
windows_winusb.c:4084
hid_open()
priv
->
hid
->
string
[
1
]
[
0
]
=
0
;
windows_winusb.c:4086
hid_open()
priv
->
hid
->
string_index
[
2
]
=
dev
->
device_descriptor
.
iSerialNumber
;
windows_winusb.c:4087
hid_open()
if
(
priv
->
hid
->
string_index
[
2
]
!=
0
)
windows_winusb.c:4088
hid_open()
HidD_GetSerialNumberString
(
hid_handle
,
priv
->
hid
->
string
[
2
]
,
sizeof
(
priv
->
hid
->
string
[
2
]
)
)
;
windows_winusb.c:4090
hid_open()
priv
->
hid
->
string
[
2
]
[
0
]
=
0
;
windows_winusb.c:4312
hid_submit_bulk_transfer()
if
(
(
(
direction_in
)
&&
(
!
priv
->
hid
->
uses_report_ids
[
0
]
)
)
windows_winusb.c:4313
hid_submit_bulk_transfer()
||
(
(
!
direction_in
)
&&
(
!
priv
->
hid
->
uses_report_ids
[
1
]
)
)
)
windows_winusb.c:4330
hid_submit_bulk_transfer()
if
(
!
priv
->
hid
->
uses_report_ids
[
1
]
)
windows_winusb.h:204
winusb_device_priv_release()
free
(
priv
->
hid
)
;
Data Use
Functions writing
winusb_device_priv::hid
Functions reading
winusb_device_priv::hid
set_composite_interface()
all items filtered out
winusb_device_priv::hid
set_composite_interface()
set_hid_interface()
_hid_get_descriptor()
hid_open()
hid_submit_bulk_transfer()
winusb_device_priv_release()
all items filtered out
Type of
winusb_device_priv::hid
winusb_device_priv::hid
hid_device_priv
all items filtered out