Lines Matching refs:hid_device
67 static struct hid_report *hid_register_report(struct hid_device *device, unsigned type, unsigned id) in hid_register_report()
560 static void hid_free_device(struct hid_device *device) in hid_free_device()
646 static struct hid_device *hid_parse_report(__u8 *start, unsigned size) in hid_parse_report()
648 struct hid_device *device; in hid_parse_report()
661 if (!(device = kmalloc(sizeof(struct hid_device), GFP_KERNEL))) in hid_parse_report()
663 memset(device, 0, sizeof(struct hid_device)); in hid_parse_report()
790 static void hid_process_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *us… in hid_process_event()
806 static void hid_input_field(struct hid_device *hid, struct hid_field *field, __u8 *data) in hid_input_field()
854 static int hid_input_report(int type, u8 *data, int len, struct hid_device *hid) in hid_input_report()
952 void hid_read_report(struct hid_device *hid, struct hid_report *report) in hid_read_report()
1030 int hid_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_field *… in hid_find_field()
1049 static int hid_submit_out(struct hid_device *hid) in hid_submit_out()
1066 struct hid_device *hid = urb->context; in hid_ctrl()
1088 void hid_write_report(struct hid_device *hid, struct hid_report *report) in hid_write_report()
1117 int hid_open(struct hid_device *hid) in hid_open()
1130 void hid_close(struct hid_device *hid) in hid_close()
1139 void hid_init_reports(struct hid_device *hid) in hid_init_reports()
1274 static struct hid_device *usb_hid_configure(struct usb_device *dev, int ifnum) in usb_hid_configure()
1278 struct hid_device *hid; in usb_hid_configure()
1403 struct hid_device *hid; in hid_probe()
1447 struct hid_device *hid = ptr; in hid_disconnect()