Lines Matching refs:usage
165 struct hid_usage *usage, __s32 value) in icade_event() argument
170 !usage->type) in icade_event()
177 trans = icade_find_translation(usage->hid & HID_USAGE); in icade_event()
182 input_event(field->hidinput->input, usage->type, in icade_event()
189 struct hid_field *field, struct hid_usage *usage, in icade_input_mapping() argument
194 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_KEYBOARD) { in icade_input_mapping()
195 trans = icade_find_translation(usage->hid & HID_USAGE); in icade_input_mapping()
200 hid_map_usage(hi, usage, bit, max, EV_KEY, trans->to); in icade_input_mapping()
212 struct hid_field *field, struct hid_usage *usage, in icade_input_mapped() argument
215 if (usage->type == EV_KEY) in icade_input_mapped()
216 set_bit(usage->type, hi->input->evbit); in icade_input_mapped()