Home
last modified time | relevance | path

Searched refs:hid (Results 1 – 25 of 62) sorted by relevance

123

/third_party/NuttX/drivers/usbdev/gadget/
Dusbd_hid.c70 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
[all …]
Df_hid.c329 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 = (struct hid_dev_s *)ep->priv; in fhid_input_req_complete() local
[all …]
Dusbd_hid.h56 extern int hid_fops_init(struct hid_dev_s *hid);
57 extern int hid_fops_deinit(const struct hid_dev_s *hid);
/third_party/libusb/libusb/os/
Dwindows_winusb.c107 if (DLL_HANDLE_NAME(hid) == NULL) \
1329 if ((api == USB_API_HID) && (priv->hid == NULL)) { in set_composite_interface()
1330 priv->hid = calloc(1, sizeof(struct hid_device_priv)); in set_composite_interface()
1331 if (priv->hid == NULL) in set_composite_interface()
1344 if (priv->hid == NULL) { in set_hid_interface()
1347 } else if (priv->hid->nb_interfaces == USB_MAXINTERFACES) { in set_hid_interface()
1352 for (i = 0; i < priv->hid->nb_interfaces; i++) { in set_hid_interface()
1359 priv->usb_interface[priv->hid->nb_interfaces].path = dev_interface_path; in set_hid_interface()
1360 priv->usb_interface[priv->hid->nb_interfaces].apib = &usb_api_backend[USB_API_HID]; in set_hid_interface()
1361 usbi_dbg("interface[%u] = %s", priv->hid->nb_interfaces, dev_interface_path); in set_hid_interface()
[all …]
Dwindows_winusb.h231 free(priv->hid); in winusb_device_priv_release()
795 DLL_DECLARE_HANDLE(hid);
Dwindows_common.h258 struct hid_device_priv *hid; member
/third_party/flutter/flutter/dev/tools/gen_keycodes/bin/
Dgen_keycodes.dart49 'chromium-hid-codes',
52 'read. If --chromium-hid-codes is not specified, the input will be read '
56 'supplemental-hid-codes',
143 if (parsedArguments['chromium-hid-codes'] == null) {
146 hidCodes = File(parsedArguments['chromium-hid-codes']).readAsStringSync();
149 …final String supplementalHidCodes = File(parsedArguments['supplemental-hid-codes']).readAsStringSy…
/third_party/uboot/u-boot-2020.01/doc/imx/misc/
Dsdp.txt61 hid,uboot_header,1024,0x910000,0x10000000,1G,0x00900000,0x40000
77 hid,1024,0x10000000,1G,0x00907000,0x31000
93 hid,1024,0x910000,0x10000000,1G,0x00900000,0x40000
99 hid,uboot_header,1024,0x10000000,1G,0x00907000,0x31000
/third_party/eudev/rules.d/
Dtouchscreen.rules3 DRIVERS=="hid-multitouch", ENV{ID_INPUT}="1", ENV{ID_INPUT_TOUCHSCREEN}="1"
/third_party/uboot/u-boot-2020.01/arch/arm/dts/
Dimx6dl-brppt2.dts230 touch2: i2c-hid-dev@2c {
231 compatible = "hid-over-i2c";
233 hid-descr-addr = <0x0001>;
Drk3288-veyron-jerry.dts217 compatible = "hid-over-i2c";
221 hid-descr-addr = <0x0020>;
Drk3399-gru-kevin.dts188 compatible = "hid-over-i2c";
199 hid-descr-addr = <0x1>;
/third_party/mingw-w64/mingw-w64-crt/lib32/
Dhid.def1 LIBRARY hid.dll
/third_party/uboot/u-boot-2020.01/board/bticino/mamoj/
DREADME48 hid,1024,0x910000,0x10000000,512M,0x00900000,0x40000
53 hid,uboot_header,1024,0x910000,0x10000000,512M,0x00900000,0x40000
/third_party/eudev/rules/
D60-sensor.rules11 IMPORT{builtin}="hwdb 'sensor:modalias:acpi:$attr{hid}:$attr{[dmi/id]modalias}'", \
/third_party/FreeBSD/sys/dev/usb/
Dusb_hid.c792 struct usb_hid_descriptor *hid; in usbd_req_get_hid_desc() local
798 hid = hid_get_descriptor_from_usb in usbd_req_get_hid_desc()
801 if (hid == NULL) { in usbd_req_get_hid_desc()
804 *sizep = UGETW(hid->descrs[0].wDescriptorLength); in usbd_req_get_hid_desc()
/third_party/uboot/u-boot-2020.01/drivers/usb/gadget/
Dep0.c281 || class_descriptor->descriptor.hid.bDescriptorType != USB_DT_HID) { in ep0_get_descriptor()
288 class_descriptor->descriptor.hid.bLength, in ep0_get_descriptor()
/third_party/libinput/tools/
Dlibinput-record-verify-yaml.py148 hid = d['hid']
149 self.assertTrue(isinstance(hid, list))
150 for byte in hid:
/third_party/uboot/u-boot-2020.01/lib/efi_loader/
Defi_device_path_to_text.c91 s += sprintf(s, "Acpi(PNP%04X,%d)", EISA_PNP_NUM(adp->hid), in dp_acpi()
/third_party/flutter/glfw/src/
Dwin32_joystick.c214 if (MAKELONG(rdi.hid.dwVendorId, rdi.hid.dwProductId) != (LONG) guid->Data1) in supportsXInput()
/third_party/uboot/u-boot-2020.01/include/
Dusbdescriptors.h503 struct usb_class_hid_descriptor hid; member
/third_party/uboot/u-boot-2020.01/arch/powerpc/cpu/mpc83xx/
DKconfig289 source "arch/powerpc/cpu/mpc83xx/hid/Kconfig"
/third_party/uboot/u-boot-2020.01/board/freescale/m5373evb/
DREADME302 drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver TCP cubic registered
/third_party/uboot/u-boot-2020.01/include/linux/soc/ti/
Dti_sci_protocol.h286 u8 hid);
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/windows/
DSDL_dinputjoystick.c306 …(MAKELONG(rdi.hid.dwVendorId, rdi.hid.dwProductId) == ((LONG)pGuidProductFromDirectInput->Data1)) … in SDL_IsXInputDevice()

123