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