Lines Matching refs:hid
10 #include <linux/hid.h>
12 #include "hid-ids.h"
119 struct hid_device *hid;
149 static int creative_sb0540_raw_event(struct hid_device *hid,
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,
189 struct creative_sb0540 *creative_sb0540 = hid_get_drvdata(hid);
209 static int creative_sb0540_input_mapping(struct hid_device *hid,
214 * We are remapping the keys ourselves, so ignore the hid-input
220 static int creative_sb0540_probe(struct hid_device *hid,
226 creative_sb0540 = devm_kzalloc(&hid->dev,
232 creative_sb0540->hid = hid;
235 hid->quirks |= HID_QUIRK_HIDINPUT_FORCE;
237 hid_set_drvdata(hid, creative_sb0540);
239 ret = hid_parse(hid);
241 hid_err(hid, "parse failed\n");
245 ret = hid_hw_start(hid, HID_CONNECT_DEFAULT);
247 hid_err(hid, "hw start failed\n");
258 MODULE_DEVICE_TABLE(hid, creative_sb0540_devices);