Search notes:

drivers/hid/hid-core.c

HID support for Linux

hid_input_report()

Report data from lower layer, for example from an interrupt via hid_irq_in().
Eventually calls hid_report_raw_event().

hid_report_raw_event()

See also

drivers/hid/usbhid/hid-core.c

Index