/linux-master/drivers/hid/ |
H A D | hid-axff.c | 20 #include <linux/hid.h> 23 #include "hid-ids.h" 33 struct hid_device *hid = input_get_drvdata(dev); local 57 hid_hw_request(hid, axff->report, HID_REQ_SET_REPORT); 62 static int axff_init(struct hid_device *hid) argument 67 struct list_head *report_list =&hid->report_enum[HID_OUTPUT_REPORT].report_list; 73 if (list_empty(&hid->inputs)) { 74 hid_err(hid, "no inputs found\n"); 77 hidinput = list_first_entry(&hid->inputs, struct hid_input, list); 81 hid_err(hid, "n 121 axff_init(struct hid_device *hid) argument [all...] |
H A D | hid-lg2ff.c | 14 #include <linux/hid.h> 16 #include "hid-lg.h" 25 struct hid_device *hid = input_get_drvdata(dev); local 45 hid_hw_request(hid, lg2ff->report, HID_REQ_SET_REPORT); 49 int lg2ff_init(struct hid_device *hid) argument 57 if (list_empty(&hid->inputs)) { 58 hid_err(hid, "no inputs found\n"); 61 hidinput = list_entry(hid->inputs.next, struct hid_input, list); 65 report = hid_validate_values(hid, HID_OUTPUT_REPORT, 0, 0, 7); 90 hid_hw_request(hid, repor [all...] |
H A D | hid-bigbenff.c | 17 #include <linux/hid.h> 19 #include "hid-ids.h" 175 struct hid_device *hid; member in struct:bigben_device 235 hid_hw_raw_request(bigben->hid, bigben->report->id, buf, len, 259 hid_hw_raw_request(bigben->hid, bigben->report->id, buf, len, 269 struct hid_device *hid = input_get_drvdata(dev); local 270 struct bigben_device *bigben = hid_get_drvdata(hid); 276 hid_err(hid, "no device data\n"); 304 struct hid_device *hid = to_hid_device(dev); local 305 struct bigben_device *bigben = hid_get_drvdata(hid); 339 struct hid_device *hid = to_hid_device(dev); local 356 bigben_remove(struct hid_device *hid) argument 369 bigben_probe(struct hid_device *hid, const struct hid_device_id *id) argument 467 bigben_report_fixup(struct hid_device *hid, __u8 *rdesc, unsigned int *rsize) argument [all...] |
H A D | hid-sjoy.c | 7 * Based of hid-pl.c and hid-gaff.c 19 #include <linux/hid.h> 21 #include "hid-ids.h" 32 struct hid_device *hid = input_get_drvdata(dev); local 46 hid_hw_request(hid, sjoyff->report, HID_REQ_SET_REPORT); 51 static int sjoyff_init(struct hid_device *hid) argument 57 &hid->report_enum[HID_OUTPUT_REPORT].report_list; 63 hid_err(hid, "no output reports found\n"); 67 list_for_each_entry(hidinput, &hid 112 sjoyff_init(struct hid_device *hid) argument [all...] |
H A D | hid-emsff.c | 12 #include <linux/hid.h> 16 #include "hid-ids.h" 25 struct hid_device *hid = input_get_drvdata(dev); local 41 hid_hw_request(hid, emsff->report, HID_REQ_SET_REPORT); 46 static int emsff_init(struct hid_device *hid) argument 52 &hid->report_enum[HID_OUTPUT_REPORT].report_list; 56 if (list_empty(&hid->inputs)) { 57 hid_err(hid, "no inputs found\n"); 60 hidinput = list_first_entry(&hid->inputs, struct hid_input, list); 64 hid_err(hid, "n [all...] |
H A D | hid-tmff.c | 18 #include <linux/hid.h> 23 #include "hid-ids.h" 76 struct hid_device *hid = input_get_drvdata(dev); local 94 hid_hw_request(hid, tmff->report, HID_REQ_SET_REPORT); 106 if (hid->product == THRUSTMASTER_DEVICE_ID_2_IN_1_DT) 112 hid_hw_request(hid, tmff->report, HID_REQ_SET_REPORT); 118 static int tmff_init(struct hid_device *hid, const signed short *ff_bits) argument 128 if (list_empty(&hid->inputs)) { 129 hid_err(hid, "no inputs found\n"); 132 hidinput = list_entry(hid 207 tmff_init(struct hid_device *hid, const signed short *ff_bits) argument [all...] |
H A D | hid-lgff.c | 3 * Force feedback support for hid-compliant for some of the devices from 21 #include <linux/hid.h> 23 #include "hid-lg.h" 59 struct hid_device *hid = input_get_drvdata(dev); local 60 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; 78 hid_hw_request(hid, report, HID_REQ_SET_REPORT); 93 hid_hw_request(hid, report, HID_REQ_SET_REPORT); 101 struct hid_device *hid = input_get_drvdata(dev); local 102 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; 113 hid_hw_request(hid, repor 116 lgff_init(struct hid_device* hid) argument [all...] |
H A D | hid-megaworld.c | 7 * Derived from hid-zpff.c: 11 #include <linux/hid.h> 16 #include "hid-ids.h" 27 struct hid_device *hid = input_get_drvdata(dev); local 33 hid_hw_request(hid, mwctrl->report, HID_REQ_SET_REPORT); 38 static int mwctrl_init(struct hid_device *hid) argument 47 if (list_empty(&hid->inputs)) { 48 hid_err(hid, "no inputs found\n"); 51 hidinput = list_entry(hid->inputs.next, struct hid_input, list); 55 report = hid_validate_values(hid, HID_OUTPUT_REPOR [all...] |
H A D | hid-tivo.c | 6 * based on the hid-topseed driver, which is in turn, based on hid-cherry... 13 #include <linux/hid.h> 16 #include "hid-ids.h" 26 switch (usage->hid & HID_USAGE_PAGE) { 28 switch (usage->hid & HID_USAGE) { 42 switch (usage->hid & HID_USAGE) { 56 * standard hid mappings in hid-input.c */ 67 MODULE_DEVICE_TABLE(hid, tivo_device [all...] |
H A D | hid-creative-sb0540.c | 10 #include <linux/hid.h> 12 #include "hid-ids.h" 119 struct hid_device *hid; member in struct:creative_sb0540 149 static int creative_sb0540_raw_event(struct hid_device *hid, argument 152 struct creative_sb0540 *creative_sb0540 = hid_get_drvdata(hid); 172 hid_err(hid, "Could not get a key for main_code %llX\n", 185 static int creative_sb0540_input_configured(struct hid_device *hid, argument 189 struct creative_sb0540 *creative_sb0540 = hid_get_drvdata(hid); 209 static int creative_sb0540_input_mapping(struct hid_device *hid, argument 214 * We are remapping the keys ourselves, so ignore the hid 220 creative_sb0540_probe(struct hid_device *hid, const struct hid_device_id *id) argument [all...] |
H A D | hid-dr.c | 20 #include <linux/hid.h> 23 #include "hid-ids.h" 34 struct hid_device *hid = input_get_drvdata(dev); local 57 hid_hw_request(hid, drff->report, HID_REQ_SET_REPORT); 69 hid_hw_request(hid, drff->report, HID_REQ_SET_REPORT); 74 static int drff_init(struct hid_device *hid) argument 80 &hid->report_enum[HID_OUTPUT_REPORT].report_list; 84 if (list_empty(&hid->inputs)) { 85 hid_err(hid, "no inputs found\n"); 88 hidinput = list_first_entry(&hid 135 drff_init(struct hid_device *hid) argument [all...] |
H A D | hid-speedlink.c | 14 #include <linux/hid.h> 17 #include "hid-ids.h" 35 switch (usage->hid & HID_USAGE_PAGE) { 61 MODULE_DEVICE_TABLE(hid, speedlink_devices);
|
H A D | hid-samsung.c | 15 * various hid report fixups for different variants. 27 #include <linux/hid.h> 30 #include "hid-ids.h" 94 if (ifnum != 1 || HID_UP_CONSUMER != (usage->hid & HID_USAGE_PAGE)) 98 usage->hid & HID_USAGE); 100 switch (usage->hid & HID_USAGE) { 146 if (!(HID_UP_CONSUMER == (usage->hid & HID_USAGE_PAGE) || 147 HID_UP_KEYBOARD == (usage->hid & HID_USAGE_PAGE))) 151 usage->hid & HID_USAGE); 153 if (HID_UP_KEYBOARD == (usage->hid [all...] |
H A D | hid-gyration.c | 17 #include <linux/hid.h> 20 #include "hid-ids.h" 28 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR) 32 switch (usage->hid & HID_USAGE) { 61 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_GENDESK && 62 (usage->hid & 0xff) == 0x82) { 80 MODULE_DEVICE_TABLE(hid, gyration_devices);
|
H A D | hid-petalynx.c | 16 #include <linux/hid.h> 19 #include "hid-ids.h" 41 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_LOGIVENDOR) { 42 switch (usage->hid & HID_USAGE) { 54 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER) { 55 switch (usage->hid & HID_USAGE) { 94 MODULE_DEVICE_TABLE(hid, pl_devices);
|
H A D | hid-redragon.c | 16 #include <linux/hid.h> 19 #include "hid-ids.h" 52 MODULE_DEVICE_TABLE(hid, redragon_devices);
|
H A D | hid-aureal.c | 16 #include <linux/hid.h> 19 #include "hid-ids.h" 35 MODULE_DEVICE_TABLE(hid, aureal_devices);
|
H A D | hid-nti.c | 21 #include <linux/hid.h> 24 #include "hid-ids.h" 46 MODULE_DEVICE_TABLE(hid, nti_devices);
|
H A D | hid-macally.c | 8 #include <linux/hid.h> 11 #include "hid-ids.h" 37 MODULE_DEVICE_TABLE(hid, macally_id_table);
|
H A D | hid-semitek.c | 9 #include <linux/hid.h> 12 #include "hid-ids.h" 31 MODULE_DEVICE_TABLE(hid, semitek_devices);
|
H A D | hid-topre.c | 7 * Based on the hid-macally driver 10 #include <linux/hid.h> 13 #include "hid-ids.h" 43 MODULE_DEVICE_TABLE(hid, topre_id_table);
|
/linux-master/drivers/hid/intel-ish-hid/ |
H A D | Makefile | 19 obj-$(CONFIG_INTEL_ISH_HID) += intel-ishtp-hid.o 20 intel-ishtp-hid-objs := ishtp-hid.o 21 intel-ishtp-hid-objs += ishtp-hid-client.o
|
/linux-master/drivers/hid/usbhid/ |
H A D | hiddev.c | 22 #include <linux/hid.h> 56 hiddev_lookup_report(struct hid_device *hid, struct hiddev_report_info *rinfo) argument 68 report_enum = hid->report_enum + 109 hiddev_lookup_usage(struct hid_device *hid, struct hiddev_usage_ref *uref) argument 120 report_enum = hid->report_enum + 127 if (field->usage[j].hid == uref->usage_code) { 140 static void hiddev_send_event(struct hid_device *hid, argument 143 struct hiddev *hiddev = hid->hiddev; 163 * This is where hid.c calls into hiddev to pass an event that occurred over 166 void hiddev_hid_event(struct hid_device *hid, struc argument 186 hiddev_report_event(struct hid_device *hid, struct hid_report *report) argument 290 struct hid_device *hid; local 429 struct hid_device *hid = hiddev->hid; local 568 struct hid_device *hid = hiddev->hid; local 598 struct hid_device *hid; local 875 hiddev_connect(struct hid_device *hid, unsigned int force) argument 927 hiddev_disconnect(struct hid_device *hid) argument [all...] |
/linux-master/drivers/hid/i2c-hid/ |
H A D | i2c-hid-core.c | 37 #include <linux/hid.h> 43 #include "../hid-ids.h" 44 #include "i2c-hid.h" 93 struct hid_device *hid; /* pointer to corresponding HID dev */ member in struct:i2c_hid 304 * @ihid: the i2c hid device 538 if (ihid->hid->group != HID_GROUP_RMI) 541 hid_input_report(ihid->hid, HID_INPUT_REPORT, 567 static void i2c_hid_find_max_report(struct hid_device *hid, unsigned int type, argument 575 list_for_each_entry(report, &hid->report_enum[type].report_list, list) { 622 static int i2c_hid_get_raw_report(struct hid_device *hid, argument 654 i2c_hid_output_raw_report(struct hid_device *hid, u8 report_type, const u8 *buf, size_t count, bool do_set) argument 686 i2c_hid_output_report(struct hid_device *hid, u8 *buf, size_t count) argument 692 i2c_hid_raw_request(struct hid_device *hid, unsigned char reportnum, __u8 *buf, size_t len, unsigned char rtype, int reqtype) argument 708 i2c_hid_parse(struct hid_device *hid) argument 774 i2c_hid_start(struct hid_device *hid) argument 799 i2c_hid_stop(struct hid_device *hid) argument 804 i2c_hid_open(struct hid_device *hid) argument 813 i2c_hid_close(struct hid_device *hid) argument 932 struct hid_device *hid = ihid->hid; local 954 struct hid_device *hid = ihid->hid; local 992 struct hid_device *hid = ihid->hid; local 1028 struct hid_device *hid = ihid->hid; local 1072 struct hid_device *hid = ihid->hid; local 1164 struct hid_device *hid; local 1263 struct hid_device *hid; local [all...] |
/linux-master/sound/soc/qcom/qdsp6/ |
H A D | q6dsp-lpass-clocks.h | 24 int (*lpass_vote_clk)(struct device *dev, uint32_t hid, const char *n, uint32_t *h); 25 int (*lpass_unvote_clk)(struct device *dev, uint32_t hid, uint32_t h);
|