Lines Matching refs:hdev
132 static int ax_probe(struct hid_device *hdev, const struct hid_device_id *id) in ax_probe() argument
136 dev_dbg(&hdev->dev, "ACRUX HID hardware probe...\n"); in ax_probe()
138 error = hid_parse(hdev); in ax_probe()
140 hid_err(hdev, "parse failed\n"); in ax_probe()
144 error = hid_hw_start(hdev, HID_CONNECT_DEFAULT & ~HID_CONNECT_FF); in ax_probe()
146 hid_err(hdev, "hw start failed\n"); in ax_probe()
150 error = axff_init(hdev); in ax_probe()
156 hid_warn(hdev, in ax_probe()
165 error = hid_hw_open(hdev); in ax_probe()
167 dev_err(&hdev->dev, "hw open failed\n"); in ax_probe()
168 hid_hw_stop(hdev); in ax_probe()
175 static void ax_remove(struct hid_device *hdev) in ax_remove() argument
177 hid_hw_close(hdev); in ax_remove()
178 hid_hw_stop(hdev); in ax_remove()