Lines Matching refs:ugd
124 struct usb_gen_descriptor ugd; in hid_get_report() local
126 memset(&ugd, 0, sizeof(ugd)); in hid_get_report()
127 ugd.ugd_data = data; in hid_get_report()
128 ugd.ugd_maxlen = size; in hid_get_report()
129 ugd.ugd_report_type = k + 1; in hid_get_report()
130 return (ioctl(fd, USB_GET_REPORT, &ugd)); in hid_get_report()
136 struct usb_gen_descriptor ugd; in hid_set_report() local
138 memset(&ugd, 0, sizeof(ugd)); in hid_set_report()
139 ugd.ugd_data = data; in hid_set_report()
140 ugd.ugd_maxlen = size; in hid_set_report()
141 ugd.ugd_report_type = k + 1; in hid_set_report()
142 return (ioctl(fd, USB_SET_REPORT, &ugd)); in hid_set_report()