/linux-master/drivers/hid/intel-ish-hid/ |
H A D | ishtp-hid-client.c | 9 #include <linux/hid.h> 12 #include "ishtp-hid.h" 43 dev_err(cl_data_to_dev(client_data), "[hid-ish]: BAD packet %02X\n" 81 struct hid_device *hid = NULL; local 90 "[hid-ish]: error, received %u which is less than data header %u\n", 134 "Mem alloc failed for hid device info\n"); 142 "[hid-ish]: [ENUM_DEVICES]: content size %zu is bigger than payload_len %zu\n", 226 hid = client_data->hid_sensor_hubs[i]; 227 if (!hid) 230 hid_data = hid 369 hid_ishtp_set_feature(struct hid_device *hid, char *buf, unsigned int len, int report_id) argument 415 hid_ishtp_get_report(struct hid_device *hid, int report_id, int report_type) argument [all...] |
/linux-master/drivers/macintosh/ |
H A D | adbhid.c | 756 struct adbhid *hid; local 767 adbhid[id] = hid = kzalloc(sizeof(struct adbhid), GFP_KERNEL); 769 if (!hid || !input_dev) { 774 sprintf(hid->phys, "adb%d:%d.%02x/input", id, default_id, original_handler_id); 776 hid->input = input_dev; 777 hid->id = default_id; 778 hid->original_handler_id = original_handler_id; 779 hid->current_handler_id = current_handler_id; 780 hid->mouse_kind = mouse_kind; 781 hid [all...] |
/linux-master/drivers/hid/ |
H A D | hid-vivaldi-common.c | 9 #include <linux/hid.h> 15 #include "hid-vivaldi-common.h" 42 (usage->hid & HID_USAGE_PAGE) != HID_UP_ORDINAL) 45 fn_key = usage->hid & HID_USAGE;
|
H A D | hid-steelseries.c | 13 #include <linux/hid.h> 18 #include "hid-ids.h" 161 struct hid_device *hid = to_hid_device(dev); local 162 struct steelseries_srws1_data *drv_data = hid_get_drvdata(hid); 165 hid_err(hid, "Device data not found."); 174 steelseries_srws1_set_leds(hid, drv_data->led_state); 180 struct hid_device *hid = to_hid_device(dev); local 183 drv_data = hid_get_drvdata(hid); 186 hid_err(hid, "Device data not found."); 197 struct hid_device *hid local 225 struct hid_device *hid = to_hid_device(dev); local [all...] |
H A D | hid-lenovo.c | 30 #include <linux/hid.h> 35 #include "hid-ids.h" 173 if (usage->hid == (HID_UP_BUTTON | 0x0010)) { 187 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_MSVENDOR || 188 (usage->hid & HID_USAGE_PAGE) == HID_UP_LNVENDOR) { 189 switch (usage->hid & HID_USAGE) { 225 if (usage->hid == HID_GD_WHEEL) 227 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON && 228 (usage->hid & HID_USAGE) == 0x003) 230 if ((usage->hid [all...] |
H A D | hid-cypress.c | 16 #include <linux/hid.h> 20 #include "hid-ids.h" 94 if (usage->hid == 0x00090005) 109 if (usage->hid == 0x00090005) { 167 MODULE_DEVICE_TABLE(hid, cp_devices);
|
H A D | hid-chicony.c | 18 #include <linux/hid.h> 22 #include "hid-ids.h" 63 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_MSVENDOR) 67 switch (usage->hid & HID_USAGE) { 123 hid_err(hdev, "Chicony hid parse failed: %d\n", ret); 143 MODULE_DEVICE_TABLE(hid, ch_devices);
|
H A D | hid-razer.c | 10 #include <linux/hid.h> 17 #include "hid-ids.h" 52 if ((usage->hid & HID_UP_KEYBOARD) != HID_UP_KEYBOARD) 55 switch (usage->hid & ~HID_UP_KEYBOARD) { 114 MODULE_DEVICE_TABLE(hid, razer_devices);
|
H A D | hid-gembird.c | 13 #include <linux/hid.h> 16 #include "hid-ids.h" 102 MODULE_DEVICE_TABLE(hid, gembird_devices);
|
H A D | hid-xiaomi.c | 10 #include <linux/hid.h> 12 #include "hid-ids.h" 83 MODULE_DEVICE_TABLE(hid, xiaomi_devices);
|
H A D | hid-viewsonic.c | 16 #include <linux/hid.h> 19 #include "hid-ids.h" 96 MODULE_DEVICE_TABLE(hid, viewsonic_devices);
|
H A D | hid-pxrc.c | 9 #include <linux/hid.h> 12 #include "hid-ids.h" 99 MODULE_DEVICE_TABLE(hid, pxrc_devices); 102 .name = "hid-pxrc",
|
H A D | hid-elecom.c | 22 #include <linux/hid.h> 25 #include "hid-ids.h" 130 MODULE_DEVICE_TABLE(hid, elecom_devices);
|
H A D | hid-multitouch.c | 10 * This code is partly based on hid-egalax.c: 16 * This code is partly based on hid-3m-pct.c: 27 * This driver is regularly tested thanks to the test suite in hid-tools[1]. 31 * [1] https://gitlab.freedesktop.org/libevdev/hid-tools 35 #include <linux/hid.h> 49 #include "hid-ids.h" 484 switch (usage->hid) { 638 if (field->usage[n].hid == HID_DG_CONTACTID) { 728 (usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON) { 734 if ((usage->hid 997 mt_touch_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) argument 1155 mt_process_mt_event(struct hid_device *hid, struct mt_application *app, struct hid_field *field, struct hid_usage *usage, __s32 value, bool first_packet) argument 1194 mt_touch_report(struct hid_device *hid, struct mt_report_data *rdata) argument 1431 mt_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) argument 1444 mt_report(struct hid_device *hid, struct hid_report *report) argument 1681 mt_release_contacts(struct hid_device *hid) argument [all...] |
H A D | hid-hyperv.c | 12 #include <linux/hid.h> 280 * hid desc and report desc 301 pr_err("unsupported hid msg type - type %d len %d\n", 380 * We should have gotten the device attr, hid desc and report 389 static int mousevsc_hid_parse(struct hid_device *hid) argument 391 struct hv_device *dev = hid_get_drvdata(hid); 394 return hid_parse_report(hid, input_dev->report_desc, 398 static int mousevsc_hid_open(struct hid_device *hid) argument 403 static int mousevsc_hid_start(struct hid_device *hid) argument 408 static void mousevsc_hid_close(struct hid_device *hid) argument 412 mousevsc_hid_stop(struct hid_device *hid) argument 416 mousevsc_hid_raw_request(struct hid_device *hid, unsigned char report_num, __u8 *buf, size_t len, unsigned char rtype, int reqtype) argument [all...] |
/linux-master/drivers/platform/x86/intel/ |
H A D | Makefile | 20 intel-hid-y := hid.o 21 obj-$(CONFIG_INTEL_HID_EVENT) += intel-hid.o
|
/linux-master/sound/pci/hda/ |
H A D | cs35l41_hda_property.c | 219 const char *hid) 353 const char *hid) 392 const char *hid) 406 if (strcmp(hid, "CLSA0100") == 0) { 408 } else if (strcmp(hid, "CLSA0101") == 0) { 418 const char *hid; member in struct:cs35l41_prop_model 421 const char *hid); 516 const char *hid) 520 for (model = cs35l41_prop_model_table; model->hid; model++) { 521 if (!strcmp(model->hid, hi 218 generic_dsd_config(struct cs35l41_hda *cs35l41, struct device *physdev, int id, const char *hid) argument 352 hp_i2c_int_2amp_dual_spkid(struct cs35l41_hda *cs35l41, struct device *physdev, int id, const char *hid) argument 391 lenovo_legion_no_acpi(struct cs35l41_hda *cs35l41, struct device *physdev, int id, const char *hid) argument 515 cs35l41_add_dsd_properties(struct cs35l41_hda *cs35l41, struct device *physdev, int id, const char *hid) argument [all...] |
H A D | cs35l56_hda.h | 45 int cs35l56_hda_common_probe(struct cs35l56_hda *cs35l56, int hid, int id);
|
/linux-master/tools/testing/selftests/hid/progs/ |
H A D | hid.c | 9 unsigned int hid; member in struct:attach_prog_args 61 ctx->retval = hid_bpf_attach_prog(ctx->hid, 71 unsigned int hid; member in struct:hid_hw_request_syscall_args 88 ctx = hid_bpf_allocate_context(args->hid);
|
/linux-master/samples/hid/ |
H A D | hid_surface_dial.bpf.c | 40 unsigned int hid; member in struct:haptic_syscall_args 57 ctx = hid_bpf_allocate_context(args->hid);
|
/linux-master/drivers/acpi/acpica/ |
H A D | nsxfname.c | 232 struct acpi_pnp_device_id *hid = NULL; local 288 status = acpi_ut_execute_HID(node, &hid); 290 info_size += hid->length; 395 if (hid) { 397 hid, next_id_string); 399 if (acpi_ut_is_pci_root_bridge(hid->string)) { 444 if (hid) { 445 ACPI_FREE(hid);
|
/linux-master/include/sound/ |
H A D | soc-acpi.h | 30 bool snd_soc_acpi_find_package_from_hid(const u8 hid[ACPI_ID_LEN], 45 snd_soc_acpi_find_package_from_hid(const u8 hid[ACPI_ID_LEN], argument
|
/linux-master/drivers/iio/temperature/ |
H A D | Makefile | 8 obj-$(CONFIG_HID_SENSOR_TEMP) += hid-sensor-temperature.o
|
/linux-master/drivers/hid/amd-sfh-hid/ |
H A D | amd_sfh_client.c | 11 #include <linux/hid.h> 21 void amd_sfh_set_report(struct hid_device *hid, int report_id, argument 24 struct amdtp_hid_data *hid_data = hid->driver_data; 29 if (cli_data->hid_sensor_hubs[i] == hid) { 34 amdtp_hid_wakeup(hid); 37 int amd_sfh_get_report(struct hid_device *hid, int report_id, int report_type) argument 39 struct amdtp_hid_data *hid_data = hid->driver_data; 45 if (cli_data->hid_sensor_hubs[i] == hid) { 53 new->hid = hid; [all...] |
/linux-master/drivers/hid/surface-hid/ |
H A D | surface_kbd.c | 11 #include <linux/hid.h> 145 hid_input_report(shid->hid, HID_INPUT_REPORT, (u8 *)&event->data[0], event->length, 0); 152 static int skbd_get_caps_led_value(struct hid_device *hid, u8 rprt_id, u8 *buf, size_t len) argument 159 field = hidinput_get_led_field(hid); 172 if ((field->usage[i].hid & 0xffff) == 0x02) 181 return !!hid_field_extract(hid, buf + 1, size, offset); 189 caps_led = skbd_get_caps_led_value(shid->hid, rprt_id, buf, len);
|