Searched refs:hid (Results 151 - 175 of 338) sorted by relevance

1234567891011>>

/linux-master/drivers/hid/bpf/
H A Dhid_bpf_dispatch.c14 #include <linux/hid.h>
54 .hid = hdev,
113 .hid = hdev,
370 ctx_kern->ctx.hid = hdev;
385 struct hid_device *hid; local
388 hid = (struct hid_device *)ctx_kern->ctx.hid; /* ignore const */
393 put_device(&hid->dev);
446 hdev = (struct hid_device *)ctx->hid; /* discard const */
586 /* HID depends on us, so if we hit that code, we are guaranteed that hid
[all...]
/linux-master/drivers/acpi/
H A Dioapic.c72 char *hid = NULL; local
81 hid = info->hardware_id.string;
82 if (hid) {
83 if (strcmp(hid, "ACPI0009") == 0) {
86 } else if (strcmp(hid, "ACPI000A") == 0) {
H A Dbutton.c522 const char *hid = acpi_device_hid(device); local
527 if (!strcmp(hid, ACPI_BUTTON_HID_LID) &&
546 if (!strcmp(hid, ACPI_BUTTON_HID_POWER) ||
547 !strcmp(hid, ACPI_BUTTON_HID_POWERF)) {
553 } else if (!strcmp(hid, ACPI_BUTTON_HID_SLEEP) ||
554 !strcmp(hid, ACPI_BUTTON_HID_SLEEPF)) {
560 } else if (!strcmp(hid, ACPI_BUTTON_HID_LID)) {
568 pr_info("Unsupported hid [%s]\n", hid);
580 snprintf(button->phys, sizeof(button->phys), "%s/button/input0", hid);
[all...]
H A Dutils.c869 * @hid: Hardware ID of the device.
880 bool acpi_dev_found(const char *hid) argument
887 if (!strcmp(acpi_device_bus_id->bus_id, hid)) {
898 struct acpi_device_id hid[2]; member in struct:acpi_dev_match_info
910 if (acpi_match_device_ids(adev, match->hid))
928 * @hid: Hardware ID of the device.
946 bool acpi_dev_present(const char *hid, const char *uid, s64 hrv) argument
951 strscpy(match.hid[0].id, hid, sizeof(match.hid[
978 acpi_dev_get_next_match_dev(struct acpi_device *adev, const char *hid, const char *uid, s64 hrv) argument
1008 acpi_dev_get_first_match_dev(const char *hid, const char *uid, s64 hrv) argument
[all...]
/linux-master/drivers/staging/greybus/
H A DMakefile10 gb-hid-y := hid.o
21 obj-$(CONFIG_GREYBUS_HID) += gb-hid.o
/linux-master/samples/hid/
H A Dhid_surface_dial.c39 unsigned int hid; member in struct:haptic_syscall_args
52 "%s: %s [OPTIONS] /sys/bus/hid/devices/0BUS:0VID:0PID:00ID\n\n"
92 .hid = hid_id,
110 fprintf(stderr, "can't attach prog to hid device %d: %m (err: %d)\n",
120 .hid = hid_id,
137 fprintf(stderr, "can't set haptic configuration to hid device %d: %m (err: %d)\n",
/linux-master/drivers/hid/
H A Dhid-roccat-konepure.c18 #include <linux/hid.h>
21 #include <linux/hid-roccat.h>
22 #include "hid-ids.h"
23 #include "hid-roccat-common.h"
199 MODULE_DEVICE_TABLE(hid, konepure_devices);
H A Dhid-roccat-savu.c17 #include <linux/hid.h>
20 #include <linux/hid-roccat.h>
21 #include "hid-ids.h"
22 #include "hid-roccat-common.h"
23 #include "hid-roccat-savu.h"
196 MODULE_DEVICE_TABLE(hid, savu_devices);
H A Dhid-sigmamicro.c10 #include <linux/hid.h>
13 #include "hid-ids.h"
118 MODULE_DEVICE_TABLE(hid, sm_devices);
H A Dhid-google-hammer.c17 #include <linux/hid.h>
28 #include "hid-ids.h"
29 #include "hid-vivaldi-common.h"
376 if (usage->hid == HID_USAGE_KBD_FOLDED) {
411 static int hammer_event(struct hid_device *hid, struct hid_field *field, argument
414 if (usage->hid == HID_USAGE_KBD_FOLDED) {
415 hammer_folded_event(hid, value);
437 if (field->usage[j].hid == usage)
485 if (field->usage->hid == HID_USAGE_KBD_FOLDED) {
530 * device. This also prevents the hid cor
[all...]
H A Dhid-uclogic-params.h20 #include <linux/hid.h>
H A Dhid-lg.c17 #include <linux/hid.h>
25 #include "hid-ids.h"
26 #include "hid-lg.h"
27 #include "hid-lg4ff.h"
541 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR)
545 switch (usage->hid & HID_USAGE) {
574 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER)
577 switch (usage->hid & HID_USAGE) {
649 unsigned int hid = usage->hid; local
[all...]
H A Dhid-sony.c31 #include <linux/hid.h>
45 #include "hid-ids.h"
591 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_MSVENDOR) {
592 unsigned int abs = usage->hid & HID_USAGE;
620 unsigned int key = usage->hid & HID_USAGE;
622 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_BUTTON)
654 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON) {
655 unsigned int key = usage->hid & HID_USAGE;
666 } else if (usage->hid == HID_GD_POINTER) {
674 usage->hid
1585 struct hid_device *hid = input_get_drvdata(dev); local
[all...]
H A Dhid-ntrig.c13 #include <linux/hid.h>
19 #include "hid-ids.h"
464 switch (usage->hid & HID_USAGE_PAGE) {
466 switch (usage->hid) {
515 switch (usage->hid) {
566 static int ntrig_event (struct hid_device *hid, struct hid_field *field, argument
569 struct ntrig_data *nd = hid_get_drvdata(hid);
573 if (!(hid->claimed & HID_CLAIMED_INPUT))
587 switch (usage->hid) {
852 if ((hid
858 ntrig_input_configured(struct hid_device *hid, struct hid_input *hidinput) argument
[all...]
H A Dhid-maltron.c19 #include <linux/hid.h>
22 #include "hid-ids.h"
156 MODULE_DEVICE_TABLE(hid, maltron_devices);
H A Dhid-picolcd_leds.c10 #include <linux/hid.h>
11 #include <linux/hid-debug.h>
13 #include "hid-ids.h"
29 #include "hid-picolcd.h"
H A Dhid-picolcd_cir.c10 #include <linux/hid.h>
11 #include <linux/hid-debug.h>
13 #include "hid-ids.h"
30 #include "hid-picolcd.h"
/linux-master/drivers/acpi/acpica/
H A Dnsxfeval.c643 struct acpi_pnp_device_id *hid; local
678 if (info->hid != NULL) {
679 status = acpi_ut_execute_HID(node, &hid);
686 no_match = strcmp(hid->string, info->hid);
687 ACPI_FREE(hid);
705 if (strcmp(cid->ids[i].string, info->hid) == 0) {
790 info.hid = HID;
H A Devrgnini.c316 struct acpi_pnp_device_id *hid; local
323 status = acpi_ut_execute_HID(node, &hid);
328 match = acpi_ut_is_pci_root_bridge(hid->string);
329 ACPI_FREE(hid);
/linux-master/drivers/bus/
H A Dhisi_lpc.c474 const char *hid; member in struct:hisi_lpc_acpi_cell
487 const char *hid = acpi_device_hid(child); local
505 .hid = "IPI0001",
519 .hid = "HISI1031",
544 for (; cell && cell->hid; cell++) {
545 if (!strcmp(cell->hid, hid)) {
554 hid);
/linux-master/drivers/iio/gyro/
H A DMakefile20 obj-$(CONFIG_HID_SENSOR_GYRO_3D) += hid-sensor-gyro-3d.o
/linux-master/include/uapi/linux/
H A Dhidraw.h19 #include <linux/hid.h>
/linux-master/drivers/iio/light/
H A DMakefile25 obj-$(CONFIG_HID_SENSOR_ALS) += hid-sensor-als.o
26 obj-$(CONFIG_HID_SENSOR_PROX) += hid-sensor-prox.o
/linux-master/drivers/iio/magnetometer/
H A DMakefile15 obj-$(CONFIG_HID_SENSOR_MAGNETOMETER_3D) += hid-sensor-magn-3d.o
/linux-master/net/bluetooth/hidp/
H A Dhidp.h27 #include <linux/hid.h>
163 struct hid_device *hid; member in struct:hidp_session

Completed in 274 milliseconds

1234567891011>>