Lines Matching refs:hdev
40 static void elo_input_configured(struct hid_device *hdev, in elo_input_configured() argument
73 static int elo_raw_event(struct hid_device *hdev, struct hid_report *report, in elo_raw_event() argument
78 if (!(hdev->claimed & HID_CLAIMED_INPUT) || list_empty(&hdev->inputs)) in elo_raw_event()
81 hidinput = list_first_entry(&hdev->inputs, struct hid_input, list); in elo_raw_event()
92 hid_info(hdev, "unknown report type %d\n", report->id); in elo_raw_event()
220 static int elo_probe(struct hid_device *hdev, const struct hid_device_id *id) in elo_probe() argument
230 priv->usbdev = interface_to_usbdev(to_usb_interface(hdev->dev.parent)); in elo_probe()
232 hid_set_drvdata(hdev, priv); in elo_probe()
234 ret = hid_parse(hdev); in elo_probe()
236 hid_err(hdev, "parse failed\n"); in elo_probe()
240 ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT); in elo_probe()
242 hid_err(hdev, "hw start failed\n"); in elo_probe()
247 hid_info(hdev, "broken firmware found, installing workaround\n"); in elo_probe()
257 static void elo_remove(struct hid_device *hdev) in elo_remove() argument
259 struct elo_priv *priv = hid_get_drvdata(hdev); in elo_remove()
261 hid_hw_stop(hdev); in elo_remove()