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