Lines Matching defs:hdev
127 static int ax_probe(struct hid_device *hdev, const struct hid_device_id *id)
131 dev_dbg(&hdev->dev, "ACRUX HID hardware probe...\n");
133 error = hid_parse(hdev);
135 hid_err(hdev, "parse failed\n");
139 error = hid_hw_start(hdev, HID_CONNECT_DEFAULT & ~HID_CONNECT_FF);
141 hid_err(hdev, "hw start failed\n");
145 error = axff_init(hdev);
151 hid_warn(hdev,
160 error = hid_hw_open(hdev);
162 dev_err(&hdev->dev, "hw open failed\n");
163 hid_hw_stop(hdev);
170 static void ax_remove(struct hid_device *hdev)
172 hid_hw_close(hdev);
173 hid_hw_stop(hdev);