Lines Matching refs:hdev
36 static int cando_input_mapping(struct hid_device *hdev, struct hid_input *hi,
83 static int cando_input_mapped(struct hid_device *hdev, struct hid_input *hi,
203 static int cando_probe(struct hid_device *hdev, const struct hid_device_id *id)
210 dev_err(&hdev->dev, "cannot allocate Cando Touch data\n");
213 hid_set_drvdata(hdev, td);
218 ret = hid_parse(hdev);
220 ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT);
228 static void cando_remove(struct hid_device *hdev)
230 hid_hw_stop(hdev);
231 kfree(hid_get_drvdata(hdev));
232 hid_set_drvdata(hdev, NULL);