Lines Matching full:hid

3  * HID driver for the Creative SB0540 receiver
10 #include <linux/hid.h>
12 #include "hid-ids.h"
15 MODULE_DESCRIPTION("HID Creative SB0540 receiver");
119 struct hid_device *hid; member
149 static int creative_sb0540_raw_event(struct hid_device *hid, in creative_sb0540_raw_event() argument
152 struct creative_sb0540 *creative_sb0540 = hid_get_drvdata(hid); in creative_sb0540_raw_event()
172 hid_err(hid, "Could not get a key for main_code %llX\n", in creative_sb0540_raw_event()
185 static int creative_sb0540_input_configured(struct hid_device *hid, in creative_sb0540_input_configured() argument
189 struct creative_sb0540 *creative_sb0540 = hid_get_drvdata(hid); in creative_sb0540_input_configured()
209 static int creative_sb0540_input_mapping(struct hid_device *hid, in creative_sb0540_input_mapping() argument
214 * We are remapping the keys ourselves, so ignore the hid-input in creative_sb0540_input_mapping()
220 static int creative_sb0540_probe(struct hid_device *hid, in creative_sb0540_probe() argument
226 creative_sb0540 = devm_kzalloc(&hid->dev, in creative_sb0540_probe()
232 creative_sb0540->hid = hid; in creative_sb0540_probe()
235 hid->quirks |= HID_QUIRK_HIDINPUT_FORCE; in creative_sb0540_probe()
237 hid_set_drvdata(hid, creative_sb0540); in creative_sb0540_probe()
239 ret = hid_parse(hid); in creative_sb0540_probe()
241 hid_err(hid, "parse failed\n"); in creative_sb0540_probe()
245 ret = hid_hw_start(hid, HID_CONNECT_DEFAULT); in creative_sb0540_probe()
247 hid_err(hid, "hw start failed\n"); in creative_sb0540_probe()
258 MODULE_DEVICE_TABLE(hid, creative_sb0540_devices);