Lines Matching defs:infoTable
64 struct UsbPnpNotifyMatchInfoTable infoTable;
65 infoTable.usbDevAddr = 0;
66 infoTable.devNum = 0;
68 infoTable.busNum = -1;
70 infoTable.busNum = 0;
73 infoTable.deviceInfo.vendorId = 0xFFF0;
74 infoTable.deviceInfo.productId = 0xFFF0;
75 infoTable.deviceInfo.bcdDeviceLow = 0x0000;
76 infoTable.deviceInfo.bcdDeviceHigh = 0x0000;
77 infoTable.deviceInfo.deviceClass = 0;
78 infoTable.deviceInfo.deviceSubClass = 0;
79 infoTable.deviceInfo.deviceProtocol = 0;
81 infoTable.removeType = USB_PNP_NOTIFY_REMOVE_BUS_DEV_NUM;
84 infoTable.numInfos = USB_TEST_INTERFACE_NUM;
85 for (uint8_t i = 0; i < infoTable.numInfos; i++) {
86 infoTable.interfaceInfo[i].interfaceClass = 0;
87 infoTable.interfaceInfo[i].interfaceSubClass = 0;
88 infoTable.interfaceInfo[i].interfaceProtocol = 0;
89 infoTable.interfaceInfo[i].interfaceNumber = i;
93 if (!HdfSbufWriteBuffer(g_data, (const void *)(&infoTable), sizeof(struct UsbPnpNotifyMatchInfoTable))) {
94 HDF_LOGE("%{public}s: sbuf write infoTable failed", __func__);