Lines Matching refs:hdi
67 struct hid_device_info hdi; member
266 struct hid_device_info *hdi; in hv_hid_receive() local
296 hdi = &sc->hdi; in hv_hid_receive()
297 memset(hdi, 0, sizeof(*hdi)); in hv_hid_receive()
298 hdi->rdescsize = le16toh(hdesc->hcdesc[0].wDescriptorLength); in hv_hid_receive()
299 if (hdi->rdescsize == 0) in hv_hid_receive()
301 strlcpy(hdi->name, "Hyper-V", sizeof(hdi->name)); in hv_hid_receive()
302 hdi->idBus = BUS_VIRTUAL; in hv_hid_receive()
303 hdi->idVendor = le16toh(devinfo->vendor); in hv_hid_receive()
304 hdi->idProduct = le16toh(devinfo->product); in hv_hid_receive()
305 hdi->idVersion = le16toh(devinfo->version); in hv_hid_receive()
307 rdesc = malloc(hdi->rdescsize, M_DEVBUF, M_WAITOK | M_ZERO); in hv_hid_receive()
309 hdi->rdescsize); in hv_hid_receive()
445 device_set_ivars(child, &sc->hdi); in hv_hid_attach()
531 if (len < sc->hdi.rdescsize) in hv_hid_get_rdesc()