• Home
  • Raw
  • Download

Lines Matching refs:hid

87 	struct hid_device *hid;  member
91 static void hp_ev(struct hid_device *hid, struct cmhid *cm, int value) in hp_ev() argument
97 static int cmhid_raw_event(struct hid_device *hid, struct hid_report *report, in cmhid_raw_event() argument
100 struct cmhid *cm = hid_get_drvdata(hid); in cmhid_raw_event()
108 hp_ev(hid, cm, 0); in cmhid_raw_event()
112 hp_ev(hid, cm, 1); in cmhid_raw_event()
120 static int cmhid_input_configured(struct hid_device *hid, in cmhid_input_configured() argument
124 struct cmhid *cm = hid_get_drvdata(hid); in cmhid_input_configured()
136 static int cmhid_input_mapping(struct hid_device *hid, in cmhid_input_mapping() argument
143 static int cmhid_probe(struct hid_device *hid, const struct hid_device_id *id) in cmhid_probe() argument
154 cm->hid = hid; in cmhid_probe()
156 hid->quirks |= HID_QUIRK_HIDINPUT_FORCE; in cmhid_probe()
157 hid_set_drvdata(hid, cm); in cmhid_probe()
159 ret = hid_parse(hid); in cmhid_probe()
161 hid_err(hid, "parse failed\n"); in cmhid_probe()
165 ret = hid_hw_start(hid, HID_CONNECT_DEFAULT | HID_CONNECT_HIDDEV_FORCE); in cmhid_probe()
167 hid_err(hid, "hw start failed\n"); in cmhid_probe()
178 static void cmhid_remove(struct hid_device *hid) in cmhid_remove() argument
180 struct cmhid *cm = hid_get_drvdata(hid); in cmhid_remove()
182 hid_hw_stop(hid); in cmhid_remove()
190 MODULE_DEVICE_TABLE(hid, cmhid_devices);
202 static __u8 *cmhid_hs100b_report_fixup(struct hid_device *hid, __u8 *rdesc, in cmhid_hs100b_report_fixup() argument
206 hid_info(hid, "Fixing CMedia HS-100B report descriptor\n"); in cmhid_hs100b_report_fixup()
217 MODULE_DEVICE_TABLE(hid, cmhid_hs100b_devices);