Searched refs:hid (Results 1 - 9 of 9) sorted by relevance
/third_party/NuttX/drivers/usbdev/gadget/ |
H A D | usbd_hid.c | 70 struct hid_dev_s *hid = (struct hid_dev_s *)filep->f_inode->i_private; in hid_open() local 72 if (hid == NULL) in hid_open() 78 atomic_set(&hid->open_flag, 1); in hid_open() 85 struct hid_dev_s *hid = (struct hid_dev_s *)filep->f_inode->i_private; in hid_close() local 87 if (hid == NULL) in hid_close() 93 atomic_set(&hid->open_flag, 0); in hid_close() 98 int hid_fops_init(struct hid_dev_s *hid) in hid_fops_init() argument 102 hid->open_flag = 0; in hid_fops_init() 103 ret = register_driver(USB_HID_DEV, &g_hid_fops, O_RDWR, hid); in hid_fops_init() 112 int hid_fops_deinit(const struct hid_dev_s *hid) in hid_fops_deinit() argument 211 struct hid_dev_s *hid = (struct hid_dev_s *)filep->f_inode->i_private; hid_poll() local 236 struct hid_dev_s *hid = (struct hid_dev_s *)filep->f_inode->i_private; hid_read() local 276 struct hid_dev_s *hid = (struct hid_dev_s *)filep->f_inode->i_private; hid_write() local [all...] |
H A D | f_hid.c | 329 struct hid_dev_s *hid; in fhid_output_request_complete() local 344 hid = (struct hid_dev_s *)ep->priv; in fhid_output_request_complete() 345 spin_lock(&hid->hid_lock); in fhid_output_request_complete() 349 hid->read_len = req->xfrd; in fhid_output_request_complete() 350 ret = memcpy_s(hid->read_buf, HID_OUT_DATA_SIZE, req->buf, req->xfrd); in fhid_output_request_complete() 353 spin_unlock(&hid->hid_lock); in fhid_output_request_complete() 357 spin_unlock(&hid->hid_lock); in fhid_output_request_complete() 359 ret_event = LOS_EventWrite(&hid->read_event, USB_HID_READ_EVENT); in fhid_output_request_complete() 365 (void)EP_SUBMIT(hid->out_ep, req); in fhid_output_request_complete() 370 struct hid_dev_s *hid in fhid_input_req_complete() local 410 fhid_source_free(struct hid_dev_s *hid, struct usbdev_s *dev) fhid_source_free() argument 424 struct hid_dev_s *hid; usbclass_hid_bind() local 518 struct hid_dev_s *hid; usbclass_hid_unbind() local 565 struct hid_dev_s *hid; usbclass_hid_set_endpoint() local 637 struct hid_dev_s *hid; usbclass_hid_setup() local [all...] |
H A D | usbd_hid.h | 56 extern int hid_fops_init(struct hid_dev_s *hid); 57 extern int hid_fops_deinit(const struct hid_dev_s *hid);
|
/third_party/libinput/tools/ |
H A D | libinput-list-kernel-devices.py | 72 for device in context.list_devices(subsystem="hid"): 83 for hid in devices: 84 if devpath.startswith(hid.devpath): 85 hid.hidraws.append(f"'{device.device_node}'") 91 for hid in devices: 92 if devpath.startswith(hid.devpath): 93 hid.evdevs.append(f"'{device.device_node}'") 95 print("hid:") 107 parser.add_argument("--hid", action="store_true", default=False) 110 if args.hid [all...] |
H A D | libinput-record-verify-yaml.py | 151 hid = d["hid"] 152 self.assertTrue(isinstance(hid, list)) 153 for byte in hid:
|
/third_party/glfw/src/ |
H A D | cocoa_joystick.h | 29 #include <IOKit/hid/IOHIDKeys.h>
|
H A D | cocoa_platform.h | 30 #include <IOKit/hid/IOHIDLib.h>
|
H A D | win32_joystick.c | 230 if (MAKELONG(rdi.hid.dwVendorId, rdi.hid.dwProductId) != (LONG) guid->Data1) in supportsXInput()
|
/third_party/FreeBSD/sys/dev/usb/ |
H A D | usb_hid.c | 1 /* $NetBSD: hid.c,v 1.17 2001/11/13 06:24:53 lukem Exp $ */ 791 struct usb_hid_descriptor *hid; in usbd_req_get_hid_desc() local 797 hid = hid_get_descriptor_from_usb in usbd_req_get_hid_desc() 800 if (hid == NULL) { in usbd_req_get_hid_desc() 803 *sizep = UGETW(hid->descrs[0].wDescriptorLength); in usbd_req_get_hid_desc() 836 * hid unit scaling table according to HID Usage Table Review in hid_item_resolution()
|
Completed in 6 milliseconds