/linux-4.4.14/drivers/hid/ |
H A D | hid-ezkey.c | 25 #define ez_map_rel(c) hid_map_usage(hi, usage, bit, max, EV_REL, (c)) 26 #define ez_map_key(c) hid_map_usage(hi, usage, bit, max, EV_KEY, (c)) 29 struct hid_field *field, struct hid_usage *usage, ez_input_mapping() 32 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) ez_input_mapping() 35 switch (usage->hid & HID_USAGE) { ez_input_mapping() 40 * totally broken way. We map this usage temporarily ez_input_mapping() 51 struct hid_usage *usage, __s32 value) ez_event() 54 !usage->type) ez_event() 58 if (usage->type == EV_REL && usage->code == REL_HWHEEL) { ez_event() 60 input_event(input, usage->type, REL_WHEEL, -value); ez_event() 28 ez_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ez_input_mapping() argument 50 ez_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) ez_event() argument
|
H A D | hid-gyration.c | 25 #define gy_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 28 struct hid_field *field, struct hid_usage *usage, gyration_input_mapping() 31 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR) gyration_input_mapping() 35 switch (usage->hid & HID_USAGE) { gyration_input_mapping() 58 struct hid_usage *usage, __s32 value) gyration_event() 64 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_GENDESK && gyration_event() 65 (usage->hid & 0xff) == 0x82) { gyration_event() 67 input_event(input, usage->type, usage->code, 1); gyration_event() 69 input_event(input, usage->type, usage->code, 0); gyration_event() 27 gyration_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) gyration_input_mapping() argument 57 gyration_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) gyration_event() argument
|
H A D | hid-input.c | 63 #define map_abs(c) hid_map_usage(hidinput, usage, &bit, &max, EV_ABS, (c)) 64 #define map_rel(c) hid_map_usage(hidinput, usage, &bit, &max, EV_REL, (c)) 65 #define map_key(c) hid_map_usage(hidinput, usage, &bit, &max, EV_KEY, (c)) 66 #define map_led(c) hid_map_usage(hidinput, usage, &bit, &max, EV_LED, (c)) 68 #define map_abs_clear(c) hid_map_usage_clear(hidinput, usage, &bit, \ 70 #define map_key_clear(c) hid_map_usage_clear(hidinput, usage, &bit, \ 73 static bool match_scancode(struct hid_usage *usage, match_scancode() argument 76 return (usage->hid & (HID_USAGE_PAGE | HID_USAGE)) == scancode; match_scancode() 79 static bool match_keycode(struct hid_usage *usage, match_keycode() argument 85 return (usage->type == EV_KEY && usage->code == keycode); match_keycode() 88 static bool match_index(struct hid_usage *usage, match_index() argument 94 typedef bool (*hid_usage_cmp_t)(struct hid_usage *usage, 104 struct hid_usage *usage; hidinput_find_key() local 110 usage = report->field[i]->usage + j; hidinput_find_key() 111 if (usage->type == EV_KEY || usage->type == 0) { hidinput_find_key() 112 if (match(usage, cur_idx, value)) { hidinput_find_key() 115 return usage; hidinput_find_key() 130 struct hid_usage *usage; hidinput_locate_usage() local 134 usage = hidinput_find_key(hid, match_index, ke->index, index); hidinput_locate_usage() 136 usage = hidinput_find_key(hid, match_scancode, scancode, index); hidinput_locate_usage() 138 usage = NULL; hidinput_locate_usage() 140 return usage; hidinput_locate_usage() 147 struct hid_usage *usage; hidinput_getkeycode() local 150 usage = hidinput_locate_usage(hid, ke, &index); hidinput_getkeycode() 151 if (usage) { hidinput_getkeycode() 152 ke->keycode = usage->type == EV_KEY ? hidinput_getkeycode() 153 usage->code : KEY_RESERVED; hidinput_getkeycode() 155 scancode = usage->hid & (HID_USAGE_PAGE | HID_USAGE); hidinput_getkeycode() 169 struct hid_usage *usage; hidinput_setkeycode() local 171 usage = hidinput_locate_usage(hid, ke, NULL); hidinput_setkeycode() 172 if (usage) { hidinput_setkeycode() 173 *old_keycode = usage->type == EV_KEY ? hidinput_setkeycode() 174 usage->code : KEY_RESERVED; hidinput_setkeycode() 175 usage->code = ke->keycode; hidinput_setkeycode() 178 set_bit(usage->code, dev->keybit); hidinput_setkeycode() 179 dbg_hid("Assigned keycode %d to HID usage code %x\n", hidinput_setkeycode() 180 usage->code, usage->hid); hidinput_setkeycode() 405 if (field->usage->hid != HID_DC_BATTERYSTRENGTH) hidinput_setup_battery() 489 struct hid_usage *usage) hidinput_configure_usage() 507 (usage->hid & HID_USAGE_PAGE) != HID_UP_LED) { hidinput_configure_usage() 513 usage, &bit, &max); hidinput_configure_usage() 520 switch (usage->hid & HID_USAGE_PAGE) { hidinput_configure_usage() 527 if ((usage->hid & HID_USAGE) < 256) { hidinput_configure_usage() 528 if (!hid_keyboard[usage->hid & HID_USAGE]) goto ignore; hidinput_configure_usage() 529 map_key_clear(hid_keyboard[usage->hid & HID_USAGE]); hidinput_configure_usage() 536 code = ((usage->hid - 1) & HID_USAGE); hidinput_configure_usage() 567 switch (usage->hid & 0xffff) { hidinput_configure_usage() 578 if ((usage->hid & 0xf0) == 0x80) { /* SystemControl */ hidinput_configure_usage() 579 switch (usage->hid & 0xf) { hidinput_configure_usage() 600 if ((usage->hid & 0xf0) == 0x90) { /* D-pad */ hidinput_configure_usage() 601 switch (usage->hid) { hidinput_configure_usage() 602 case HID_GD_UP: usage->hat_dir = 1; break; hidinput_configure_usage() 603 case HID_GD_DOWN: usage->hat_dir = 5; break; hidinput_configure_usage() 604 case HID_GD_RIGHT: usage->hat_dir = 3; break; hidinput_configure_usage() 605 case HID_GD_LEFT: usage->hat_dir = 7; break; hidinput_configure_usage() 616 switch (usage->hid) { hidinput_configure_usage() 617 /* These usage IDs map directly to the usage codes. */ hidinput_configure_usage() 621 map_rel(usage->hid & 0xf); hidinput_configure_usage() 623 map_abs_clear(usage->hid & 0xf); hidinput_configure_usage() 628 map_rel(usage->hid & 0xf); hidinput_configure_usage() 630 map_abs(usage->hid & 0xf); hidinput_configure_usage() 634 usage->hat_min = field->logical_minimum; hidinput_configure_usage() 635 usage->hat_max = field->logical_maximum; hidinput_configure_usage() 648 switch (usage->hid & 0xffff) { /* HID-Value: */ hidinput_configure_usage() 666 switch (usage->hid & 0xff) { hidinput_configure_usage() 716 usage->type = EV_MSC; hidinput_configure_usage() 717 usage->code = MSC_SERIAL; hidinput_configure_usage() 727 switch (usage->hid & HID_USAGE) { hidinput_configure_usage() 750 switch (usage->hid & HID_USAGE) { hidinput_configure_usage() 929 switch (usage->hid & HID_USAGE) { hidinput_configure_usage() 948 switch (usage->hid & HID_USAGE) { hidinput_configure_usage() 966 switch (usage->hid & HID_USAGE) { hidinput_configure_usage() 992 hidinput, field, usage, &bit, &max) < 0) hidinput_configure_usage() 995 set_bit(usage->type, input->evbit); hidinput_configure_usage() 997 while (usage->code <= max && test_and_set_bit(usage->code, bit)) hidinput_configure_usage() 998 usage->code = find_next_zero_bit(bit, max + 1, usage->code); hidinput_configure_usage() 1000 if (usage->code > max) hidinput_configure_usage() 1004 if (usage->type == EV_ABS) { hidinput_configure_usage() 1009 if ((device->quirks & HID_QUIRK_BADPAD) && (usage->code == ABS_X || usage->code == ABS_Y)) { hidinput_configure_usage() 1015 input_set_abs_params(input, usage->code, a, b, (b - a) >> 8, (b - a) >> 4); hidinput_configure_usage() 1016 else input_set_abs_params(input, usage->code, a, b, 0, 0); hidinput_configure_usage() 1018 input_abs_set_res(input, usage->code, hidinput_configure_usage() 1019 hidinput_calc_abs_res(field, usage->code)); hidinput_configure_usage() 1022 if (usage->code == ABS_MT_POSITION_X && input->hint_events_per_packet == 0) hidinput_configure_usage() 1026 if (usage->type == EV_ABS && hidinput_configure_usage() 1027 (usage->hat_min < usage->hat_max || usage->hat_dir)) { hidinput_configure_usage() 1029 for (i = usage->code; i < usage->code + 2 && i <= max; i++) { hidinput_configure_usage() 1033 if (usage->hat_dir && !field->dpad) hidinput_configure_usage() 1034 field->dpad = usage->code; hidinput_configure_usage() 1037 /* for those devices which produce Consumer volume usage as relative, hidinput_configure_usage() 1041 if ((usage->type == EV_ABS) && (field->flags & HID_MAIN_ITEM_RELATIVE) && hidinput_configure_usage() 1042 (usage->code == ABS_VOLUME)) { hidinput_configure_usage() 1047 if (usage->type == EV_KEY) { hidinput_configure_usage() 1057 void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) hidinput_hid_event() argument 1067 if (!usage->type) hidinput_hid_event() 1070 if (usage->hat_min < usage->hat_max || usage->hat_dir) { hidinput_hid_event() 1071 int hat_dir = usage->hat_dir; hidinput_hid_event() 1073 hat_dir = (value - usage->hat_min) * 8 / (usage->hat_max - usage->hat_min + 1) + 1; hidinput_hid_event() 1075 input_event(input, usage->type, usage->code , hid_hat_to_axis[hat_dir].x); hidinput_hid_event() 1076 input_event(input, usage->type, usage->code + 1, hid_hat_to_axis[hat_dir].y); hidinput_hid_event() 1080 if (usage->hid == (HID_UP_DIGITIZER | 0x003c)) { /* Invert */ hidinput_hid_event() 1085 if (usage->hid == (HID_UP_DIGITIZER | 0x0032)) { /* InRange */ hidinput_hid_event() 1087 input_event(input, usage->type, (*quirks & HID_QUIRK_INVERT) ? BTN_TOOL_RUBBER : usage->code, 1); hidinput_hid_event() 1090 input_event(input, usage->type, usage->code, 0); hidinput_hid_event() 1091 input_event(input, usage->type, BTN_TOOL_RUBBER, 0); hidinput_hid_event() 1095 if (usage->hid == (HID_UP_DIGITIZER | 0x0030) && (*quirks & HID_QUIRK_NOTOUCH)) { /* Pressure */ hidinput_hid_event() 1101 if (usage->hid == (HID_UP_PID | 0x83UL)) { /* Simultaneous Effects Max */ hidinput_hid_event() 1106 if (usage->hid == (HID_UP_PID | 0x7fUL)) { hidinput_hid_event() 1111 if ((usage->type == EV_KEY) && (usage->code == 0)) /* Key 0 is "unassigned", not KEY_UNKNOWN */ hidinput_hid_event() 1114 if ((usage->type == EV_ABS) && (field->flags & HID_MAIN_ITEM_RELATIVE) && hidinput_hid_event() 1115 (usage->code == ABS_VOLUME)) { hidinput_hid_event() 1158 usage->usage_index < field->maxusage && hidinput_hid_event() 1159 value == field->value[usage->usage_index]) hidinput_hid_event() 1162 /* report the usage code as scancode if the key status has changed */ hidinput_hid_event() 1163 if (usage->type == EV_KEY && hidinput_hid_event() 1164 (!test_bit(usage->code, input->key)) == value) hidinput_hid_event() 1165 input_event(input, EV_MSC, MSC_SCAN, usage->hid); hidinput_hid_event() 1167 input_event(input, usage->type, usage->code, value); hidinput_hid_event() 1170 usage->type == EV_KEY && value) { hidinput_hid_event() 1172 input_event(input, usage->type, usage->code, 0); hidinput_hid_event() 1197 if ((*field)->usage[j].type == type && (*field)->usage[j].code == code) hidinput_find_field() 1217 if (field->usage[j].type == EV_LED) hidinput_get_led_field() 1238 if (field->usage[j].type == EV_LED && hidinput_count_leds() 1352 rep->field[i]->usage + j); report_features() 1471 if (IS_INPUT_APPLICATION(col->usage)) hidinput_connect() 1500 report->field[i]->usage + j); hidinput_connect() 488 hidinput_configure_usage(struct hid_input *hidinput, struct hid_field *field, struct hid_usage *usage) hidinput_configure_usage() argument
|
H A D | hid-a4tech.c | 36 struct hid_field *field, struct hid_usage *usage, a4_input_mapped() 41 if (usage->type == EV_REL && usage->code == REL_WHEEL) a4_input_mapped() 44 if ((a4->quirks & A4_2WHEEL_MOUSE_HACK_7) && usage->hid == 0x00090007) a4_input_mapped() 51 struct hid_usage *usage, __s32 value) a4_event() 57 !usage->type) a4_event() 63 if (usage->type == EV_REL && usage->code == REL_WHEEL) { a4_event() 68 if (usage->hid == 0x000100b8) { a4_event() 75 if ((a4->quirks & A4_2WHEEL_MOUSE_HACK_7) && usage->hid == 0x00090007) { a4_event() 80 if (usage->code == REL_WHEEL && a4->hw_wheel) { a4_event() 81 input_event(input, usage->type, REL_HWHEEL, value); a4_event() 35 a4_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) a4_input_mapped() argument 50 a4_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) a4_event() argument
|
H A D | hid-kensington.c | 21 #define ks_map_key(c) hid_map_usage(hi, usage, bit, max, EV_KEY, (c)) 24 struct hid_field *field, struct hid_usage *usage, ks_input_mapping() 27 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_MSVENDOR) ks_input_mapping() 30 switch (usage->hid & HID_USAGE) { ks_input_mapping() 23 ks_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ks_input_mapping() argument
|
H A D | hid-microsoft.c | 48 /* the same as above (s/usage/physical/) */ ms_report_fixup() 58 #define ms_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 60 static int ms_ergonomy_kb_quirk(struct hid_input *hi, struct hid_usage *usage, ms_ergonomy_kb_quirk() argument 65 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER) { ms_ergonomy_kb_quirk() 66 switch (usage->hid & HID_USAGE) { ms_ergonomy_kb_quirk() 68 * Microsoft uses these 2 reserved usage ids for 2 keys on ms_ergonomy_kb_quirk() 81 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_MSVENDOR) ms_ergonomy_kb_quirk() 84 switch (usage->hid & HID_USAGE) { ms_ergonomy_kb_quirk() 95 hid_map_usage_clear(hi, usage, bit, max, EV_REL, REL_WHEEL); ms_ergonomy_kb_quirk() 101 * (this usage is found on interface 1). ms_ergonomy_kb_quirk() 122 static int ms_presenter_8k_quirk(struct hid_input *hi, struct hid_usage *usage, ms_presenter_8k_quirk() argument 125 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_MSVENDOR) ms_presenter_8k_quirk() 129 switch (usage->hid & HID_USAGE) { ms_presenter_8k_quirk() 142 struct hid_field *field, struct hid_usage *usage, ms_input_mapping() 148 int ret = ms_ergonomy_kb_quirk(hi, usage, bit, max); ms_input_mapping() 154 ms_presenter_8k_quirk(hi, usage, bit, max)) ms_input_mapping() 161 struct hid_field *field, struct hid_usage *usage, ms_input_mapped() 167 clear_bit(usage->code, *bit); ms_input_mapped() 173 struct hid_usage *usage, __s32 value) ms_event() 179 !usage->type) ms_event() 185 if (quirks & MS_ERGONOMY && usage->hid == (HID_UP_MSVENDOR | 0xff00)) { ms_event() 193 if (quirks & MS_ERGONOMY && usage->hid == (HID_UP_MSVENDOR | 0xff01)) { ms_event() 208 if (quirks & MS_ERGONOMY && usage->hid == (HID_UP_MSVENDOR | 0xff05)) { ms_event() 219 input_event(input, usage->type, key, 1); ms_event() 222 input_event(input, usage->type, last_key, 0); ms_event() 141 ms_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ms_input_mapping() argument 160 ms_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ms_input_mapped() argument 172 ms_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) ms_event() argument
|
H A D | hid-cypress.c | 30 * Some USB barcode readers from cypress have usage min and usage max in 52 struct hid_field *field, struct hid_usage *usage, cp_input_mapped() 60 if (usage->type == EV_REL && usage->code == REL_WHEEL) cp_input_mapped() 62 if (usage->hid == 0x00090005) cp_input_mapped() 69 struct hid_usage *usage, __s32 value) cp_event() 74 !usage->type || !(quirks & CP_2WHEEL_MOUSE_HACK)) cp_event() 77 if (usage->hid == 0x00090005) { cp_event() 86 if (usage->code == REL_WHEEL && (quirks & CP_2WHEEL_MOUSE_HACK_ON)) { cp_event() 89 input_event(input, usage->type, REL_HWHEEL, value); cp_event() 51 cp_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) cp_input_mapped() argument 68 cp_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) cp_event() argument
|
H A D | hid-lg4ff.h | 8 struct hid_usage *usage, s32 value, struct lg_drv_data *drv_data); 13 struct hid_usage *usage, s32 value, struct lg_drv_data *drv_data) { return 0; } lg4ff_init() 12 lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, s32 value, struct lg_drv_data *drv_data) lg4ff_adjust_input_event() argument
|
H A D | hid-icade.c | 41 /* The translation code uses HID usage instead of input layer 105 * int usage = usage_for_key (trans->from); 106 * max_usage = usage > max_usage ? usage : max_usage; 168 struct hid_usage *usage, __s32 value) icade_event() 173 !usage->type) icade_event() 180 trans = icade_find_translation(usage->hid & HID_USAGE); icade_event() 185 input_event(field->hidinput->input, usage->type, icade_event() 192 struct hid_field *field, struct hid_usage *usage, icade_input_mapping() 197 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_KEYBOARD) { icade_input_mapping() 198 trans = icade_find_translation(usage->hid & HID_USAGE); icade_input_mapping() 203 hid_map_usage(hi, usage, bit, max, EV_KEY, trans->to); icade_input_mapping() 215 struct hid_field *field, struct hid_usage *usage, icade_input_mapped() 218 if (usage->type == EV_KEY) icade_input_mapped() 219 set_bit(usage->type, hi->input->evbit); icade_input_mapped() 167 icade_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) icade_event() argument 191 icade_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) icade_input_mapping() argument 214 icade_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) icade_input_mapped() argument
|
H A D | hid-tivo.c | 22 #define tivo_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 26 struct hid_field *field, struct hid_usage *usage, tivo_input_mapping() 29 switch (usage->hid & HID_USAGE_PAGE) { tivo_input_mapping() 31 switch (usage->hid & HID_USAGE) { tivo_input_mapping() 45 switch (usage->hid & HID_USAGE) { tivo_input_mapping() 25 tivo_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) tivo_input_mapping() argument
|
H A D | hid-apple.c | 181 struct hid_usage *usage, __s32 value) hidinput_apple_event() 186 if (usage->code == KEY_FN) { hidinput_apple_event() 188 input_event(input, usage->type, usage->code, value); hidinput_apple_event() 203 trans = apple_find_translation (table, usage->code); hidinput_apple_event() 206 if (test_bit(usage->code, asc->pressed_fn)) hidinput_apple_event() 216 set_bit(usage->code, asc->pressed_fn); hidinput_apple_event() 218 clear_bit(usage->code, asc->pressed_fn); hidinput_apple_event() 220 input_event(input, usage->type, trans->to, hidinput_apple_event() 228 (test_bit(usage->code, asc->pressed_numlock) || hidinput_apple_event() 231 usage->code); hidinput_apple_event() 235 set_bit(usage->code, hidinput_apple_event() 238 clear_bit(usage->code, hidinput_apple_event() 241 input_event(input, usage->type, trans->to, hidinput_apple_event() 251 trans = apple_find_translation(apple_iso_keyboard, usage->code); hidinput_apple_event() 253 input_event(input, usage->type, trans->to, value); hidinput_apple_event() 260 trans = apple_find_translation(swapped_option_cmd_keys, usage->code); hidinput_apple_event() 262 input_event(input, usage->type, trans->to, value); hidinput_apple_event() 271 struct hid_usage *usage, __s32 value) apple_event() 276 !usage->type) apple_event() 280 usage->code == REL_HWHEEL) { apple_event() 281 input_event(field->hidinput->input, usage->type, usage->code, apple_event() 288 usage, value)) apple_event() 333 struct hid_field *field, struct hid_usage *usage, apple_input_mapping() 336 if (usage->hid == (HID_UP_CUSTOM | 0x0003)) { apple_input_mapping() 339 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_FN); apple_input_mapping() 349 struct hid_field *field, struct hid_usage *usage, apple_input_mapped() 355 if (usage->hid == HID_GD_Z) apple_input_mapped() 356 hid_map_usage(hi, usage, bit, max, EV_REL, REL_HWHEEL); apple_input_mapped() 357 else if (usage->code == BTN_1) apple_input_mapped() 358 hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_2); apple_input_mapped() 359 else if (usage->code == BTN_2) apple_input_mapped() 360 hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_1); apple_input_mapped() 180 hidinput_apple_event(struct hid_device *hid, struct input_dev *input, struct hid_usage *usage, __s32 value) hidinput_apple_event() argument 270 apple_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) apple_event() argument 332 apple_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) apple_input_mapping() argument 348 apple_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) apple_input_mapped() argument
|
H A D | hid-penmount.c | 23 struct hid_usage *usage, unsigned long **bit, int *max) penmount_input_mapping() 25 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON) { penmount_input_mapping() 26 hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_TOUCH); penmount_input_mapping() 21 penmount_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) penmount_input_mapping() argument
|
H A D | hid-petalynx.c | 38 #define pl_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 41 struct hid_field *field, struct hid_usage *usage, pl_input_mapping() 44 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_LOGIVENDOR) { pl_input_mapping() 45 switch (usage->hid & HID_USAGE) { pl_input_mapping() 57 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER) { pl_input_mapping() 58 switch (usage->hid & HID_USAGE) { pl_input_mapping() 40 pl_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) pl_input_mapping() argument
|
H A D | hid-plantronics.c | 40 (usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER) 45 struct hid_usage *usage, plantronics_input_mapping() 74 switch (usage->hid) { plantronics_input_mapping() 96 hid_dbg(hdev, "usage: %08x (appl: %08x) - defaulted\n", plantronics_input_mapping() 97 usage->hid, field->application); plantronics_input_mapping() 101 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, mapped_key); plantronics_input_mapping() 102 hid_dbg(hdev, "usage: %08x (appl: %08x) - mapped to key %d\n", plantronics_input_mapping() 103 usage->hid, field->application, mapped_key); plantronics_input_mapping() 118 col_page = hdev->collection[i].usage & HID_USAGE_PAGE; plantronics_device_type() 120 plt_type = hdev->collection[i].usage; plantronics_device_type() 124 plt_type = hdev->collection[i].usage; plantronics_device_type() 42 plantronics_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) plantronics_input_mapping() argument
|
H A D | hid-belkin.c | 27 #define belkin_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 30 struct hid_field *field, struct hid_usage *usage, belkin_input_mapping() 35 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER || belkin_input_mapping() 39 switch (usage->hid & HID_USAGE) { belkin_input_mapping() 29 belkin_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) belkin_input_mapping() argument
|
H A D | hid-cherry.c | 39 #define ch_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 42 struct hid_field *field, struct hid_usage *usage, ch_input_mapping() 45 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) ch_input_mapping() 48 switch (usage->hid & HID_USAGE) { ch_input_mapping() 41 ch_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ch_input_mapping() argument
|
H A D | hid-lcpower.c | 21 #define ts_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 24 struct hid_field *field, struct hid_usage *usage, ts_input_mapping() 27 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR) ts_input_mapping() 30 switch (usage->hid & HID_USAGE) { ts_input_mapping() 23 ts_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ts_input_mapping() argument
|
H A D | hid-monterey.c | 34 #define mr_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 37 struct hid_field *field, struct hid_usage *usage, mr_input_mapping() 40 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) mr_input_mapping() 43 switch (usage->hid & HID_USAGE) { mr_input_mapping() 36 mr_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) mr_input_mapping() argument
|
H A D | hid-multitouch.c | 348 struct hid_field *field, struct hid_usage *usage) mt_feature_mapping() 352 switch (usage->hid) { mt_feature_mapping() 355 if (usage->usage_index >= field->report_count) { mt_feature_mapping() 362 td->inputmode_index = usage->usage_index; mt_feature_mapping() 389 if (usage->usage_index >= field->report_count) { mt_feature_mapping() 395 if (field->value[usage->usage_index] == MT_BUTTONTYPE_CLICKPAD) mt_feature_mapping() 401 if (usage->usage_index == 0) mt_feature_mapping() 417 static void mt_store_field(struct hid_usage *usage, struct mt_device *td, mt_store_field() argument 425 f->usages[f->length++] = usage->hid; mt_store_field() 429 struct hid_field *field, struct hid_usage *usage, mt_touch_input_mapping() 444 (usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON) { mt_touch_input_mapping() 450 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON) mt_touch_input_mapping() 453 if (usage->usage_index) mt_touch_input_mapping() 454 prev_usage = &field->usage[usage->usage_index - 1]; mt_touch_input_mapping() 456 switch (usage->hid & HID_USAGE_PAGE) { mt_touch_input_mapping() 459 switch (usage->hid) { mt_touch_input_mapping() 461 if (prev_usage && (prev_usage->hid == usage->hid)) { mt_touch_input_mapping() 462 hid_map_usage(hi, usage, bit, max, mt_touch_input_mapping() 467 hid_map_usage(hi, usage, bit, max, mt_touch_input_mapping() 473 mt_store_field(usage, td, hi); mt_touch_input_mapping() 476 if (prev_usage && (prev_usage->hid == usage->hid)) { mt_touch_input_mapping() 477 hid_map_usage(hi, usage, bit, max, mt_touch_input_mapping() 482 hid_map_usage(hi, usage, bit, max, mt_touch_input_mapping() 488 mt_store_field(usage, td, hi); mt_touch_input_mapping() 494 switch (usage->hid) { mt_touch_input_mapping() 497 hid_map_usage(hi, usage, bit, max, mt_touch_input_mapping() 502 mt_store_field(usage, td, hi); mt_touch_input_mapping() 505 mt_store_field(usage, td, hi); mt_touch_input_mapping() 508 hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_TOUCH); mt_touch_input_mapping() 510 mt_store_field(usage, td, hi); mt_touch_input_mapping() 513 mt_store_field(usage, td, hi); mt_touch_input_mapping() 518 hid_map_usage(hi, usage, bit, max, mt_touch_input_mapping() 523 mt_store_field(usage, td, hi); mt_touch_input_mapping() 526 hid_map_usage(hi, usage, bit, max, mt_touch_input_mapping() 534 mt_store_field(usage, td, hi); mt_touch_input_mapping() 537 hid_map_usage(hi, usage, bit, max, mt_touch_input_mapping() 541 mt_store_field(usage, td, hi); mt_touch_input_mapping() 546 usage->usage_index >= field->report_count) mt_touch_input_mapping() 549 td->cc_value_index = usage->usage_index; mt_touch_input_mapping() 564 code = BTN_MOUSE + ((usage->hid - 1) & HID_USAGE); mt_touch_input_mapping() 565 hid_map_usage(hi, usage, bit, max, EV_KEY, code); mt_touch_input_mapping() 578 struct hid_field *field, struct hid_usage *usage, mt_touch_input_mapped() 581 if (usage->type == EV_KEY || usage->type == EV_ABS) mt_touch_input_mapped() 582 set_bit(usage->type, hi->input->evbit); mt_touch_input_mapped() 669 struct hid_usage *usage, __s32 value) mt_touch_event() 673 hid->hiddev_hid_event(hid, field, usage, value); mt_touch_event() 679 struct hid_usage *usage, __s32 value) mt_process_mt_event() 686 switch (usage->hid) { mt_process_mt_event() 709 if (usage->code == ABS_MT_TOOL_X) mt_process_mt_event() 715 if (usage->code == ABS_MT_TOOL_Y) mt_process_mt_event() 733 if (usage->type) mt_process_mt_event() 734 input_event(input, usage->type, usage->code, mt_process_mt_event() 739 if (usage->usage_index + 1 == field->report_count) { mt_process_mt_event() 741 if (usage->hid == td->last_slot_field) mt_process_mt_event() 774 mt_process_mt_event(hid, field, &field->usage[n], mt_touch_report() 819 struct hid_field *field, struct hid_usage *usage, mt_input_mapping() 852 return mt_touch_input_mapping(hdev, hi, field, usage, bit, max); mt_input_mapping() 859 struct hid_field *field, struct hid_usage *usage, mt_input_mapped() 871 return mt_touch_input_mapped(hdev, hi, field, usage, bit, max); mt_input_mapped() 878 struct hid_usage *usage, __s32 value) mt_event() 883 return mt_touch_event(hid, field, usage, value); mt_event() 347 mt_feature_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) mt_feature_mapping() argument 428 mt_touch_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) mt_touch_input_mapping() argument 577 mt_touch_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) mt_touch_input_mapped() argument 668 mt_touch_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) mt_touch_event() argument 678 mt_process_mt_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) mt_process_mt_event() argument 818 mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) mt_input_mapping() argument 858 mt_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) mt_input_mapped() argument 877 mt_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) mt_event() argument
|
H A D | hid-sunplus.c | 36 #define sp_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 39 struct hid_field *field, struct hid_usage *usage, sp_input_mapping() 42 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) sp_input_mapping() 45 switch (usage->hid & HID_USAGE) { sp_input_mapping() 38 sp_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) sp_input_mapping() argument
|
H A D | hid-xinmo.c | 29 struct hid_usage *usage, __s32 value) xinmo_event() 31 switch (usage->code) { xinmo_event() 37 input_event(field->hidinput->input, usage->type, xinmo_event() 38 usage->code, -1); xinmo_event() 28 xinmo_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) xinmo_event() argument
|
H A D | hid-chicony.c | 27 #define ch_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 30 struct hid_field *field, struct hid_usage *usage, ch_input_mapping() 33 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_MSVENDOR) ch_input_mapping() 37 switch (usage->hid & HID_USAGE) { ch_input_mapping() 67 /* Change usage maximum and logical maximum from 0x7fff to ch_switch12_report_fixup() 29 ch_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ch_input_mapping() argument
|
H A D | hid-samsung.c | 18 * several key mappings used from the consumer usage page 98 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c)) 101 struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, samsung_kbd_mouse_input_mapping() 107 if (1 != ifnum || HID_UP_CONSUMER != (usage->hid & HID_USAGE_PAGE)) samsung_kbd_mouse_input_mapping() 111 usage->hid & HID_USAGE); samsung_kbd_mouse_input_mapping() 113 switch (usage->hid & HID_USAGE) { samsung_kbd_mouse_input_mapping() 142 struct hid_field *field, struct hid_usage *usage, samsung_input_mapping() 149 hi, field, usage, bit, max); samsung_input_mapping() 100 samsung_kbd_mouse_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) samsung_kbd_mouse_input_mapping() argument 141 samsung_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) samsung_input_mapping() argument
|
H A D | hid-topseed.c | 27 #define ts_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 30 struct hid_field *field, struct hid_usage *usage, ts_input_mapping() 33 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR) ts_input_mapping() 36 switch (usage->hid & HID_USAGE) { ts_input_mapping() 29 ts_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ts_input_mapping() argument
|
H A D | hid-lenovo.c | 45 #define map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c)) 62 * - get a reasonable usage max for the vendor collection lenovo_report_fixup() 78 struct hid_usage *usage, unsigned long **bit, int *max) lenovo_input_mapping_tpkbd() 80 if (usage->hid == (HID_UP_BUTTON | 0x0010)) { lenovo_input_mapping_tpkbd() 91 struct hid_usage *usage, unsigned long **bit, int *max) lenovo_input_mapping_cptkbd() 94 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_MSVENDOR || lenovo_input_mapping_cptkbd() 95 (usage->hid & HID_USAGE_PAGE) == HID_UP_LNVENDOR) { lenovo_input_mapping_cptkbd() 96 switch (usage->hid & HID_USAGE) { lenovo_input_mapping_cptkbd() 132 if (usage->hid == HID_GD_WHEEL) lenovo_input_mapping_cptkbd() 134 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON && lenovo_input_mapping_cptkbd() 135 (usage->hid & HID_USAGE) == 0x003) lenovo_input_mapping_cptkbd() 137 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER && lenovo_input_mapping_cptkbd() 138 (usage->hid & HID_USAGE) == 0x238) lenovo_input_mapping_cptkbd() 142 if ((usage->hid & HID_USAGE_PAGE) == 0xff100000 || lenovo_input_mapping_cptkbd() 143 (usage->hid & HID_USAGE_PAGE) == 0xffa10000) { lenovo_input_mapping_cptkbd() 148 switch (usage->hid & HID_USAGE) { lenovo_input_mapping_cptkbd() 150 hid_map_usage(hi, usage, bit, max, EV_REL, REL_HWHEEL); lenovo_input_mapping_cptkbd() 153 hid_map_usage(hi, usage, bit, max, EV_REL, REL_WHEEL); lenovo_input_mapping_cptkbd() 165 struct hid_usage *usage, unsigned long **bit, int *max) lenovo_input_mapping() 170 usage, bit, max); lenovo_input_mapping() 174 usage, bit, max); lenovo_input_mapping() 305 * its own key is outside the usage page range. Remove extra lenovo_raw_event() 306 * keypresses and remap to inside usage page. lenovo_raw_event() 321 struct hid_field *field, struct hid_usage *usage, __s32 value) lenovo_event_cptkbd() 326 if (usage->type == EV_REL && (usage->code == REL_WHEEL || lenovo_event_cptkbd() 327 usage->code == REL_HWHEEL)) { lenovo_event_cptkbd() 334 if (usage->type == EV_KEY && usage->code == BTN_MIDDLE) { lenovo_event_cptkbd() 356 struct hid_usage *usage, __s32 value) lenovo_event() 361 return lenovo_event_cptkbd(hdev, field, usage, value); lenovo_event() 76 lenovo_input_mapping_tpkbd(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) lenovo_input_mapping_tpkbd() argument 89 lenovo_input_mapping_cptkbd(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) lenovo_input_mapping_cptkbd() argument 163 lenovo_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) lenovo_input_mapping() argument 320 lenovo_event_cptkbd(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) lenovo_event_cptkbd() argument 355 lenovo_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) lenovo_event() argument
|
H A D | hid-corsair.c | 46 static int corsair_usage_to_gkey(unsigned int usage) corsair_usage_to_gkey() argument 49 if (usage >= 0xd0 && usage <= 0xdf) corsair_usage_to_gkey() 50 return usage - 0xd0 + 1; corsair_usage_to_gkey() 52 if (usage >= 0xe8 && usage <= 0xe9) corsair_usage_to_gkey() 53 return usage - 0xe8 + 17; corsair_usage_to_gkey() 569 struct hid_usage *usage, __s32 value) corsair_event() 576 switch (usage->hid & HID_USAGE) { corsair_event() 593 struct hid_usage *usage, unsigned long **bit, corsair_input_mapping() 598 gkey = corsair_usage_to_gkey(usage->hid & HID_USAGE); corsair_input_mapping() 600 hid_map_usage_clear(input, usage, bit, max, EV_KEY, corsair_input_mapping() 604 if ((usage->hid & HID_USAGE) >= CORSAIR_USAGE_SPECIAL_MIN && corsair_input_mapping() 605 (usage->hid & HID_USAGE) <= CORSAIR_USAGE_SPECIAL_MAX) { corsair_input_mapping() 606 switch (usage->hid & HID_USAGE) { corsair_input_mapping() 608 hid_map_usage_clear(input, usage, bit, max, EV_KEY, corsair_input_mapping() 613 hid_map_usage_clear(input, usage, bit, max, EV_KEY, corsair_input_mapping() 618 hid_map_usage_clear(input, usage, bit, max, EV_KEY, corsair_input_mapping() 623 hid_map_usage_clear(input, usage, bit, max, EV_KEY, corsair_input_mapping() 628 hid_map_usage_clear(input, usage, bit, max, EV_KEY, corsair_input_mapping() 568 corsair_event(struct hid_device *dev, struct hid_field *field, struct hid_usage *usage, __s32 value) corsair_event() argument 590 corsair_input_mapping(struct hid_device *dev, struct hid_input *input, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) corsair_input_mapping() argument
|
H A D | hid-gfrm.c | 32 struct hid_field *field, struct hid_usage *usage, gfrm_input_mapping() 38 if (usage->hid == (HID_UP_CONSUMER | 0x4)) { gfrm_input_mapping() 40 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_INFO); gfrm_input_mapping() 44 if (usage->hid == (HID_UP_CONSUMER | 0x41)) { gfrm_input_mapping() 46 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_OK); gfrm_input_mapping() 31 gfrm_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) gfrm_input_mapping() argument
|
H A D | hid-saitek.c | 155 struct hid_usage *usage, __s32 value) saitek_event() 160 if (usage->type == EV_KEY && value && saitek_event() 162 usage->code - BTN_MOUSE == 10) || saitek_event() 164 usage->code - BTN_MOUSE == 15))) { saitek_event() 166 input_report_key(input, usage->code, 1); saitek_event() 169 input_report_key(input, usage->code, 0); saitek_event() 154 saitek_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) saitek_event() argument
|
H A D | hid-speedlink.c | 29 struct hid_field *field, struct hid_usage *usage, speedlink_input_mapping() 38 switch (usage->hid & HID_USAGE_PAGE) { speedlink_input_mapping() 46 struct hid_usage *usage, __s32 value) speedlink_event() 27 speedlink_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) speedlink_input_mapping() argument 45 speedlink_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) speedlink_event() argument
|
H A D | hid-twinhan.c | 61 #define th_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 64 struct hid_field *field, struct hid_usage *usage, twinhan_input_mapping() 67 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_KEYBOARD) twinhan_input_mapping() 70 switch (usage->hid & HID_USAGE) { twinhan_input_mapping() 63 twinhan_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) twinhan_input_mapping() argument
|
H A D | hid-lg.c | 57 * a custom vendor usage page, providing only a combined value as 438 #define lg_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 442 struct hid_usage *usage, unsigned long **bit, int *max) lg_ultrax_remote_mapping() 444 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR) lg_ultrax_remote_mapping() 448 switch (usage->hid & HID_USAGE) { lg_ultrax_remote_mapping() 474 static int lg_dinovo_mapping(struct hid_input *hi, struct hid_usage *usage, lg_dinovo_mapping() argument 477 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR) lg_dinovo_mapping() 480 switch (usage->hid & HID_USAGE) { lg_dinovo_mapping() 490 static int lg_wireless_mapping(struct hid_input *hi, struct hid_usage *usage, lg_wireless_mapping() argument 493 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) lg_wireless_mapping() 496 switch (usage->hid & HID_USAGE) { lg_wireless_mapping() 552 struct hid_field *field, struct hid_usage *usage, lg_input_mapping() 568 unsigned int hid = usage->hid; lg_input_mapping() 571 lg_ultrax_remote_mapping(hi, usage, bit, max)) lg_input_mapping() 575 lg_dinovo_mapping(hi, usage, bit, max)) lg_input_mapping() 578 if ((drv_data->quirks & LG_WIRELESS) && lg_wireless_mapping(hi, usage, bit, max)) lg_input_mapping() 595 hid_map_usage(hi, usage, bit, max, EV_KEY, lg_input_mapping() 605 struct hid_field *field, struct hid_usage *usage, lg_input_mapped() 610 if ((drv_data->quirks & LG_BAD_RELATIVE_KEYS) && usage->type == EV_KEY && lg_input_mapped() 614 if ((drv_data->quirks & LG_DUPLICATE_USAGES) && (usage->type == EV_KEY || lg_input_mapped() 615 usage->type == EV_REL || usage->type == EV_ABS)) lg_input_mapped() 616 clear_bit(usage->code, *bit); lg_input_mapped() 619 if (usage->type == EV_ABS && (usage->code == ABS_X || lg_input_mapped() 620 usage->code == ABS_Y || usage->code == ABS_Z || lg_input_mapped() 621 usage->code == ABS_RZ)) { lg_input_mapped() 644 struct hid_usage *usage, __s32 value) lg_event() 648 if ((drv_data->quirks & LG_INVERT_HWHEEL) && usage->code == REL_HWHEEL) { lg_event() 649 input_event(field->hidinput->input, usage->type, usage->code, lg_event() 654 return lg4ff_adjust_input_event(hdev, field, usage, value, drv_data); lg_event() 441 lg_ultrax_remote_mapping(struct hid_input *hi, struct hid_usage *usage, unsigned long **bit, int *max) lg_ultrax_remote_mapping() argument 551 lg_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) lg_input_mapping() argument 604 lg_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) lg_input_mapped() argument 643 lg_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) lg_event() argument
|
H A D | hid-sensor-hub.c | 56 * @usage_id: usage id for a physical device. 350 if (field->usage[i].hid == usage_id) hid_sensor_get_usage_index() 351 return field->usage[i].usage_index; hid_sensor_get_usage_index() 387 field->usage[0].hid == sensor_hub_input_get_attribute_info() 389 (field->usage[0].collection_index >= sensor_hub_input_get_attribute_info() 391 (field->usage[0].collection_index < sensor_hub_input_get_attribute_info() 481 i, report->field[i]->usage->collection_index, sensor_hub_raw_event() 482 report->field[i]->usage->hid, sensor_hub_raw_event() 488 report->field[i]->usage->collection_index]; sensor_hub_raw_event() 489 hid_dbg(hdev, "collection->usage %x\n", sensor_hub_raw_event() 490 collection->usage); sensor_hub_raw_event() 494 report->field[i]->usage[0].collection_index, sensor_hub_raw_event() 501 report->field[i]->usage->hid || sensor_hub_raw_event() 519 report->field[i]->usage->hid, sz, ptr, sensor_hub_raw_event() 525 callback->send_event(hsdev, collection->usage, sensor_hub_raw_event() 580 /* Looks for power and report state usage id and force to 1 */ sensor_hub_report_fixup() 683 hsdev->usage = collection->usage; sensor_hub_probe() 698 collection->usage); sensor_hub_probe() 718 collection->usage == HID_USAGE_SENSOR_COLLECTION) sensor_hub_probe()
|
H A D | hid-zydacron.c | 46 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c)) 49 struct hid_field *field, struct hid_usage *usage, zc_input_mapping() 56 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) zc_input_mapping() 60 usage->hid & HID_USAGE); zc_input_mapping() 62 switch (usage->hid & HID_USAGE) { zc_input_mapping() 48 zc_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) zc_input_mapping() argument
|
H A D | hid-sensor-custom.c | 113 {0x200541, "data-field-custom-usage"}, 289 int index, usage, field_index; show_value() local 295 if (sscanf(attr->attr.name, "feature-%d-%x-%s", &index, &usage, show_value() 299 } else if (sscanf(attr->attr.name, "input-%d-%x-%s", &index, &usage, show_value() 359 sensor_inst->hsdev->usage, show_value() 360 usage, report_id, show_value() 377 usage_desc = bsearch(&usage, hid_custom_usage_desc_table, show_value() 397 int index, field_index, usage; store_value() local 401 if (sscanf(attr->attr.name, "feature-%d-%x-%s", &index, &usage, store_value() 447 header.usage_id = hsdev->usage; hid_sensor_capture_sample() 499 sensor_field->attribute.usage_id = sensor_inst->hsdev->usage; hid_sensor_custom_add_field() 503 sensor_field->attribute.attrib_id = field->usage[0].hid; hid_sensor_custom_add_field() 549 ((field->usage[0].collection_index >= hid_sensor_custom_add_fields() 551 (field->usage[0].collection_index < hid_sensor_custom_add_fields() 779 ret = sensor_hub_register_callback(hsdev, hsdev->usage, hid_sensor_custom_probe() 807 sensor_hub_remove_callback(hsdev, hsdev->usage); hid_sensor_custom_probe() 821 sensor_hub_remove_callback(hsdev, hsdev->usage); hid_sensor_custom_remove()
|
H A D | hid-core.c | 111 field->usage = (struct hid_usage *)(field + 1); hid_register_field() 112 field->value = (s32 *)(field->usage + usages); hid_register_field() 119 * Open a collection. The type/usage is pushed on the stack. 125 unsigned usage; open_collection() local 127 usage = parser->local.usage[0]; open_collection() 158 collection->usage = usage; open_collection() 183 * and return the usage. 194 return collection[index].usage; hid_lookup_collection() 196 return 0; /* we know nothing about this usage type */ hid_lookup_collection() 200 * Add a usage to the temporary parser table. 203 static int hid_add_usage(struct hid_parser *parser, unsigned usage) hid_add_usage() argument 206 hid_err(parser->device, "usage index exceeded\n"); hid_add_usage() 209 parser->local.usage[parser->local.usage_index] = usage; hid_add_usage() 267 /* Duplicate the last usage we parsed if we have excess values */ hid_add_field() 270 field->usage[i].hid = parser->local.usage[j]; hid_add_field() 271 field->usage[i].collection_index = hid_add_field() 273 field->usage[i].usage_index = i; hid_add_field() 440 * as global to all usage sets (branch 0). hid_parser_local() 462 dbg_hid("alternative usage ignored\n"); hid_parser_local() 474 dbg_hid("alternative usage ignored\n"); hid_parser_local() 487 dbg_hid("alternative usage ignored\n"); hid_parser_local() 502 "ignoring exceeding usage max\n"); hid_parser_local() 507 "no more usage index available\n"); hid_parser_local() 575 * Free a report and all registered fields. The field->usage and 702 static void hid_scan_input_usage(struct hid_parser *parser, u32 usage) hid_scan_input_usage() argument 706 if (usage == HID_DG_CONTACTID) hid_scan_input_usage() 710 static void hid_scan_feature_usage(struct hid_parser *parser, u32 usage) hid_scan_feature_usage() argument 712 if (usage == 0xff0000c5 && parser->global.report_count == 256 && hid_scan_feature_usage() 737 if (parser->local.usage[i] == HID_GD_POINTER) hid_scan_collection() 762 hid_scan_input_usage(parser, parser->local.usage[i]); hid_scan_main() 768 hid_scan_feature_usage(parser, parser->local.usage[i]); hid_scan_main() 1175 * @usage: usage to match against 1178 * usage->usage_{type,code} 1180 static int hid_match_usage(struct hid_device *hid, struct hid_usage *usage) hid_match_usage() argument 1189 id->usage_hid == usage->hid) && hid_match_usage() 1191 id->usage_type == usage->type) && hid_match_usage() 1193 id->usage_code == usage->code)) hid_match_usage() 1199 struct hid_usage *usage, __s32 value, int interrupt) hid_process_event() 1205 hid_dump_input(hid, usage, value); hid_process_event() 1207 if (hdrv && hdrv->event && hid_match_usage(hid, usage)) { hid_process_event() 1208 ret = hdrv->event(hid, field, usage, value); hid_process_event() 1218 hidinput_hid_event(hid, field, usage, value); hid_process_event() 1220 hid->hiddev_hid_event(hid, field, usage, value); hid_process_event() 1254 field->usage[value[n] - min].hid == HID_UP_KEYBOARD + 1) hid_input_field() 1261 hid_process_event(hid, field, &field->usage[n], value[n], interrupt); hid_input_field() 1266 && field->usage[field->value[n] - min].hid hid_input_field() 1268 hid_process_event(hid, field, &field->usage[field->value[n] - min], 0, interrupt); hid_input_field() 1271 && field->usage[value[n] - min].hid hid_input_field() 1273 hid_process_event(hid, field, &field->usage[value[n] - min], 1, interrupt); hid_input_field() 1352 hid_dump_input(field->report->device, field->usage + offset, value); hid_set_field() 1668 (col->usage & HID_USAGE_PAGE) == HID_UP_GENDESK && hid_connect() 1669 (col->usage & 0xffff) < ARRAY_SIZE(types)) { hid_connect() 1670 type = types[col->usage & 0xffff]; hid_connect() 1730 * physical is found inside a usage page of type sensor, hid-sensor-hub will be 1198 hid_process_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value, int interrupt) hid_process_event() argument
|
H A D | wacom_wac.c | 1478 static void wacom_map_usage(struct input_dev *input, struct hid_usage *usage, wacom_map_usage() argument 1484 usage->type = type; wacom_map_usage() 1485 usage->code = code; wacom_map_usage() 1505 struct hid_field *field, struct hid_usage *usage) wacom_wac_pen_usage_mapping() 1511 switch (usage->hid) { wacom_wac_pen_usage_mapping() 1513 wacom_map_usage(input, usage, field, EV_ABS, ABS_X, 4); wacom_wac_pen_usage_mapping() 1516 wacom_map_usage(input, usage, field, EV_ABS, ABS_Y, 4); wacom_wac_pen_usage_mapping() 1519 wacom_map_usage(input, usage, field, EV_ABS, ABS_PRESSURE, 0); wacom_wac_pen_usage_mapping() 1522 wacom_map_usage(input, usage, field, EV_KEY, BTN_TOOL_PEN, 0); wacom_wac_pen_usage_mapping() 1525 wacom_map_usage(input, usage, field, EV_KEY, wacom_wac_pen_usage_mapping() 1530 wacom_map_usage(input, usage, field, EV_KEY, BTN_TOUCH, 0); wacom_wac_pen_usage_mapping() 1533 wacom_map_usage(input, usage, field, EV_KEY, BTN_STYLUS, 0); wacom_wac_pen_usage_mapping() 1536 wacom_map_usage(input, usage, field, EV_KEY, BTN_STYLUS2, 0); wacom_wac_pen_usage_mapping() 1539 wacom_map_usage(input, usage, field, EV_MSC, MSC_SERIAL, 0); wacom_wac_pen_usage_mapping() 1545 struct hid_usage *usage, __s32 value) wacom_wac_pen_event() 1552 switch (usage->hid) { wacom_wac_pen_event() 1566 if (!usage->type || wacom_wac->shared->touch_down) wacom_wac_pen_event() 1569 input_event(input, usage->type, usage->code, value); wacom_wac_pen_event() 1609 struct hid_field *field, struct hid_usage *usage) wacom_wac_finger_usage_mapping() 1617 switch (usage->hid) { wacom_wac_finger_usage_mapping() 1619 features->last_slot_field = usage->hid; wacom_wac_finger_usage_mapping() 1621 wacom_map_usage(input, usage, field, EV_ABS, ABS_X, 4); wacom_wac_finger_usage_mapping() 1623 wacom_map_usage(input, usage, field, EV_ABS, wacom_wac_finger_usage_mapping() 1627 features->last_slot_field = usage->hid; wacom_wac_finger_usage_mapping() 1629 wacom_map_usage(input, usage, field, EV_ABS, ABS_Y, 4); wacom_wac_finger_usage_mapping() 1631 wacom_map_usage(input, usage, field, EV_ABS, wacom_wac_finger_usage_mapping() 1636 features->last_slot_field = usage->hid; wacom_wac_finger_usage_mapping() 1637 wacom_map_usage(input, usage, field, EV_ABS, ABS_MT_TOUCH_MAJOR, 0); wacom_wac_finger_usage_mapping() 1638 wacom_map_usage(input, usage, field, EV_ABS, ABS_MT_TOUCH_MINOR, 0); wacom_wac_finger_usage_mapping() 1642 features->last_slot_field = usage->hid; wacom_wac_finger_usage_mapping() 1645 features->last_slot_field = usage->hid; wacom_wac_finger_usage_mapping() 1648 features->last_slot_field = usage->hid; wacom_wac_finger_usage_mapping() 1651 features->last_slot_field = usage->hid; wacom_wac_finger_usage_mapping() 1652 wacom_map_usage(input, usage, field, EV_KEY, BTN_TOUCH, 0); wacom_wac_finger_usage_mapping() 1657 wacom_wac->hid_data.cc_value_index = usage->usage_index; wacom_wac_finger_usage_mapping() 1701 struct hid_field *field, struct hid_usage *usage, __s32 value) wacom_wac_finger_event() 1706 switch (usage->hid) { wacom_wac_finger_event() 1728 if (usage->usage_index + 1 == field->report_count) { wacom_wac_finger_event() 1729 if (usage->hid == wacom_wac->features.last_slot_field) wacom_wac_finger_event() 1756 if (field->usage[j].hid == HID_DG_CONTACTCOUNT) { wacom_wac_finger_pre_report() 1805 struct hid_field *field, struct hid_usage *usage) wacom_wac_usage_mapping() 1815 return wacom_wac_pen_usage_mapping(hdev, field, usage); wacom_wac_usage_mapping() 1818 return wacom_wac_finger_usage_mapping(hdev, field, usage); wacom_wac_usage_mapping() 1822 struct hid_usage *usage, __s32 value) wacom_wac_event() 1830 return wacom_wac_pen_event(hdev, field, usage, value); wacom_wac_event() 1833 return wacom_wac_finger_event(hdev, field, usage, value); wacom_wac_event() 1853 wacom_wac_event(hdev, field, &field->usage[n], field->value[n]); wacom_report_events() 2508 * 0, whose HID descriptor has an application usage of 0xFF0D wacom_setup_device_quirks() 1504 wacom_wac_pen_usage_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) wacom_wac_pen_usage_mapping() argument 1544 wacom_wac_pen_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) wacom_wac_pen_event() argument 1608 wacom_wac_finger_usage_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) wacom_wac_finger_usage_mapping() argument 1700 wacom_wac_finger_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) wacom_wac_finger_event() argument 1804 wacom_wac_usage_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) wacom_wac_usage_mapping() argument 1821 wacom_wac_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) wacom_wac_event() argument
|
H A D | hid-holtek-kbd.c | 26 * doesn't have an LED output usage block. 29 * and provides an LED output usage block. LED output events are redirected 91 /* LED usage for the boot protocol interface */
|
H A D | hid-debug.c | 46 unsigned usage; member in struct:hid_usage_entry 482 char *hid_resolv_usage(unsigned usage, struct seq_file *f) { hid_resolv_usage() argument 487 buf = resolv_usage_page(usage >> 16, f); hid_resolv_usage() 503 if (p->page == (usage >> 16)) { hid_resolv_usage() 504 for(++p; p->description && p->usage != 0; p++) hid_resolv_usage() 505 if (p->usage == (usage & 0xffff)) { hid_resolv_usage() 520 "%04x", usage & 0xffff); hid_resolv_usage() 522 seq_printf(f, "%04x", usage & 0xffff); hid_resolv_usage() 551 tab(n+2, f); hid_resolv_usage(field->usage[j].hid, f); seq_printf(f, "\n"); hid_dump_field() 709 void hid_dump_input(struct hid_device *hdev, struct hid_usage *usage, __s32 value) hid_dump_input() argument 714 buf = hid_resolv_usage(usage->hid, NULL); hid_dump_input() 1030 struct hid_usage *usage; hid_dump_input_mapping() local 1036 usage = report->field[i]->usage + j; hid_dump_input_mapping() 1037 hid_resolv_usage(usage->hid, f); hid_dump_input_mapping() 1039 hid_resolv_event(usage->type, usage->code, f); hid_dump_input_mapping()
|
H A D | hid-ntrig.c | 459 struct hid_field *field, struct hid_usage *usage, ntrig_input_mapping() 468 switch (usage->hid & HID_USAGE_PAGE) { ntrig_input_mapping() 470 switch (usage->hid) { ntrig_input_mapping() 472 hid_map_usage(hi, usage, bit, max, ntrig_input_mapping() 494 hid_map_usage(hi, usage, bit, max, ntrig_input_mapping() 519 switch (usage->hid) { ntrig_input_mapping() 529 hid_map_usage(hi, usage, bit, max, ntrig_input_mapping() 533 hid_map_usage(hi, usage, bit, max, ntrig_input_mapping() 550 struct hid_field *field, struct hid_usage *usage, ntrig_input_mapped() 557 if (usage->type == EV_KEY || usage->type == EV_REL ntrig_input_mapped() 558 || usage->type == EV_ABS) ntrig_input_mapped() 559 clear_bit(usage->code, *bit); ntrig_input_mapped() 571 struct hid_usage *usage, __s32 value) ntrig_event() 591 switch (usage->hid) { ntrig_event() 642 * this usage tells if the contact point is real ntrig_event() 857 hid->hiddev_hid_event(hid, field, usage, value); ntrig_event() 458 ntrig_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ntrig_input_mapping() argument 549 ntrig_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ntrig_input_mapped() argument 570 ntrig_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) ntrig_event() argument
|
H A D | hid-holtek-mouse.c | 41 /* Change usage maximum and logical maximum from 0x7fff to holtek_mouse_report_fixup()
|
/linux-4.4.14/include/uapi/linux/nfsd/ |
H A D | stats.h | 14 /* thread usage wraps very million seconds (approx one fortnight) */
|
/linux-4.4.14/scripts/ |
H A D | objdiff | 10 # usage example: 37 usage() { function 70 [ $# -eq 0 ] && usage 91 [ $# -ne 2 ] && [ $# -ne 0 ] && usage 124 [ $# -eq 0 ] && usage 125 [ $# -gt 1 ] && usage 140 [ $# -eq 0 ] && usage
|
H A D | gfp-translate | 17 usage() { function 18 echo "usage: gfp-translate [-h] [ --source DIRECTORY ] gfpmask" 30 usage 33 usage 61 usage
|
H A D | checkincludes.pl | 16 sub usage { subroutine 26 usage(); 35 usage();
|
H A D | diffconfig | 12 def usage(): function 28 Example usage: 72 usage() 82 usage() 101 usage()
|
H A D | show_delta | 15 def usage(): function 16 print ("""usage: show_delta [<options>] <filename> 26 -h Show this usage help. 87 usage() 92 usage()
|
H A D | export_report.pl | 41 sub usage { subroutine 68 usage($0); 103 # collect the usage count of each symbol. 143 print "\tThis file reports the exported symbols usage patterns by in-tree\n", 150 printf("SECTION 1:\tThe exported symbols and their usage count\n\n"); 168 printf("SECTION 2:\n\tThis section reports export-symbol-usage of in-kernel
|
H A D | config | 9 usage() { function 53 usage 126 usage 134 usage 222 usage
|
H A D | kernel-doc-xml-ref | 23 # usage: 29 usage(); 55 usage(); 185 sub usage { subroutine
|
H A D | pnmtologo.c | 81 static void usage(void) __attribute ((noreturn)); 430 static void usage(void) usage() function 436 " -h : display this usage information\n" usage() 461 usage(); main() 482 usage(); main() 486 usage(); main() 491 usage(); main()
|
H A D | bloat-o-meter | 13 sys.stderr.write("usage: %s file1 file2\n" % sys.argv[0])
|
H A D | decodecode | 3 # usage: decodecode < oops.file
|
H A D | markup_oops.pl | 27 'help|h' => \&usage, 28 ) || usage (); 190 usage(); 358 sub usage { subroutine
|
H A D | stackdelta | 47 or die "usage: $0 <old> <new>";
|
H A D | conmakehash.c | 27 static void usage(char *argv0) usage() function 90 usage(argv[0]); main()
|
H A D | setlocalversion | 12 usage() { function 28 usage
|
/linux-4.4.14/tools/power/acpi/tools/ec/ |
H A D | ec_access.c | 36 void usage(char progname[], int exit_status) usage() function 63 usage(argv[0], EXIT_FAILURE); parse_opts() 68 usage(argv[0], EXIT_FAILURE); parse_opts() 73 usage(argv[0], EXIT_FAILURE); parse_opts() 79 usage(argv[0], EXIT_FAILURE); parse_opts() 85 usage(argv[0], EXIT_FAILURE); parse_opts() 93 usage(argv[0], EXIT_SUCCESS); parse_opts() 96 usage(argv[0], EXIT_FAILURE); parse_opts() 105 usage(argv[0], EXIT_FAILURE); parse_opts() 111 usage(argv[0], EXIT_FAILURE); parse_opts() 120 usage(argv[0], EXIT_FAILURE); parse_opts() 219 usage(argv[0], EXIT_FAILURE); main() 230 usage(argv[0], EXIT_FAILURE); main()
|
/linux-4.4.14/arch/x86/tools/ |
H A D | relocs_common.c | 12 static void usage(void) usage() function 61 usage(); main() 64 usage(); main()
|
H A D | insn_sanity.c | 55 static void usage(const char *err) usage() function 136 usage("Failed to open /dev/urandom"); init_random_seed() 199 usage("Failed to open input file"); parse_args() 208 usage("Failed to parse seed"); parse_args() 214 usage("Failed to parse max_iter"); parse_args() 217 usage(NULL); parse_args() 223 usage("Max iteration number must be bigger than iter-num"); parse_args() 226 usage("Don't use input file (-i) with random seed (-s)"); parse_args()
|
H A D | test_get_len.c | 43 static void usage(void) usage() function 104 usage(); parse_args()
|
/linux-4.4.14/tools/usb/usbip/src/ |
H A D | usbip.c | 43 printf("usage: %s", usbip_usage_string); usbip_usage() 50 void (*usage)(void); member in struct:command 58 .usage = NULL 64 .usage = NULL 70 .usage = usbip_attach_usage 76 .usage = usbip_detach_usage 82 .usage = usbip_list_usage 88 .usage = usbip_bind_usage 94 .usage = usbip_unbind_usage 100 .usage = NULL 113 if (!strcmp(cmds[i].name, argv[0]) && cmds[i].usage) { usbip_help() 114 cmds[i].usage(); usbip_help()
|
/linux-4.4.14/crypto/asymmetric_keys/ |
H A D | pkcs7_key_type.c | 27 module_param_named(usage, pkcs7_usage, uint, S_IWUSR | S_IRUGO); 36 enum key_being_used_for usage = pkcs7_usage; pkcs7_preparse() local 45 if (usage >= NR__KEY_BEING_USED_FOR) { pkcs7_preparse() 46 pr_err("Invalid usage type %d\n", usage); pkcs7_preparse() 58 ret = pkcs7_verify(pkcs7, usage); pkcs7_preparse()
|
/linux-4.4.14/net/rxrpc/ |
H A D | ar-peer.c | 74 atomic_set(&peer->usage, 1); rxrpc_alloc_peer() 110 int usage; rxrpc_get_peer() local 123 atomic_read(&peer->usage), rxrpc_get_peer() 127 if (atomic_read(&peer->usage) > 0 && rxrpc_get_peer() 148 if (atomic_read(&peer->usage) > 0 && rxrpc_get_peer() 160 usage = atomic_read(&peer->usage); rxrpc_get_peer() 175 _leave(" = %p {u=%d}", peer, usage); rxrpc_get_peer() 180 usage = atomic_inc_return(&peer->usage); rxrpc_get_peer() 186 usage = atomic_inc_return(&peer->usage); rxrpc_get_peer() 209 if (atomic_read(&peer->usage) > 0 && rxrpc_find_peer() 226 atomic_inc(&peer->usage); rxrpc_find_peer() 243 _enter("%p{u=%d}", peer, atomic_read(&peer->usage)); rxrpc_put_peer() 245 ASSERTCMP(atomic_read(&peer->usage), >, 0); rxrpc_put_peer() 247 if (likely(!atomic_dec_and_test(&peer->usage))) { rxrpc_put_peer() 264 _enter("%p{%d}", peer, atomic_read(&peer->usage)); rxrpc_destroy_peer()
|
H A D | ar-transport.c | 53 atomic_set(&trans->usage, 1); rxrpc_alloc_transport() 84 int usage; rxrpc_get_transport() local 118 usage = atomic_read(&trans->usage); rxrpc_get_transport() 121 atomic_inc(&trans->peer->usage); rxrpc_get_transport() 133 _leave(" = %p {u=%d}", trans, usage); rxrpc_get_transport() 138 usage = atomic_inc_return(&trans->usage); rxrpc_get_transport() 144 usage = atomic_inc_return(&trans->usage); rxrpc_get_transport() 177 atomic_inc(&trans->usage); rxrpc_find_transport() 188 _enter("%p{u=%d}", trans, atomic_read(&trans->usage)); rxrpc_put_transport() 190 ASSERTCMP(atomic_read(&trans->usage), >, 0); rxrpc_put_transport() 193 if (unlikely(atomic_dec_and_test(&trans->usage))) { rxrpc_put_transport() 236 trans->debug_id, atomic_read(&trans->usage), rxrpc_transport_reaper() 239 if (likely(atomic_read(&trans->usage) > 0)) rxrpc_transport_reaper() 263 ASSERTCMP(atomic_read(&trans->usage), ==, 0); rxrpc_transport_reaper()
|
H A D | ar-connection.c | 47 atomic_set(&bundle->usage, 1); rxrpc_alloc_bundle() 82 atomic_inc(&rx->bundle->usage); rxrpc_get_bundle() 140 atomic_inc(&bundle->usage); rxrpc_get_bundle() 148 atomic_inc(&bundle->usage); rxrpc_get_bundle() 152 atomic_inc(&bundle->usage); rxrpc_get_bundle() 155 _leave(" = %p [extant %d]", bundle, atomic_read(&bundle->usage)); rxrpc_get_bundle() 160 atomic_inc(&bundle->usage); rxrpc_get_bundle() 165 atomic_inc(&bundle->usage); rxrpc_get_bundle() 168 _leave(" = %p [second %d]", bundle, atomic_read(&bundle->usage)); rxrpc_get_bundle() 178 _enter("%p,%p{%d}",trans, bundle, atomic_read(&bundle->usage)); rxrpc_put_bundle() 180 if (atomic_dec_and_lock(&bundle->usage, &trans->client_lock)) { rxrpc_put_bundle() 212 atomic_set(&conn->usage, 1); rxrpc_alloc_connection() 381 atomic_inc(&trans->usage); rxrpc_connect_exclusive() 403 atomic_inc(&conn->usage); rxrpc_connect_exclusive() 467 atomic_inc(&conn->usage); rxrpc_connect_call() 487 atomic_inc(&conn->usage); rxrpc_connect_call() 561 atomic_inc(&bundle->usage); rxrpc_connect_call() 562 atomic_inc(&trans->usage); rxrpc_connect_call() 706 atomic_inc(&conn->trans->usage); rxrpc_incoming_connection() 719 _leave(" = %p {u=%d}", conn, atomic_read(&conn->usage)); rxrpc_incoming_connection() 728 atomic_inc(&conn->usage); rxrpc_incoming_connection() 738 atomic_inc(&conn->usage); rxrpc_incoming_connection() 795 atomic_inc(&conn->usage); rxrpc_find_connection() 807 conn, atomic_read(&conn->usage), conn->debug_id); rxrpc_put_connection() 809 ASSERTCMP(atomic_read(&conn->usage), >, 0); rxrpc_put_connection() 812 if (atomic_dec_and_test(&conn->usage)) { rxrpc_put_connection() 825 _enter("%p{%d}", conn, atomic_read(&conn->usage)); rxrpc_destroy_connection() 827 ASSERTCMP(atomic_read(&conn->usage), ==, 0); rxrpc_destroy_connection() 861 conn->debug_id, atomic_read(&conn->usage), rxrpc_connection_reaper() 864 if (likely(atomic_read(&conn->usage) > 0)) rxrpc_connection_reaper() 871 if (atomic_read(&conn->usage) > 0) { rxrpc_connection_reaper() 908 ASSERTCMP(atomic_read(&conn->usage), ==, 0); rxrpc_connection_reaper()
|
H A D | ar-local.c | 55 atomic_set(&local->usage, 1); rxrpc_alloc_local() 231 _enter("%p{u=%d}", local, atomic_read(&local->usage)); rxrpc_put_local() 233 ASSERTCMP(atomic_read(&local->usage), >, 0); rxrpc_put_local() 238 if (unlikely(atomic_dec_and_test(&local->usage))) { rxrpc_put_local() 254 _enter("%p{%d}", local, atomic_read(&local->usage)); rxrpc_destroy_local() 259 if (atomic_read(&local->usage) > 0) { rxrpc_destroy_local() 381 atomic_inc(&local->usage); rxrpc_process_local_events()
|
H A D | ar-proc.c | 81 atomic_read(&call->usage), rxrpc_call_seq_show() 164 atomic_read(&conn->usage), rxrpc_connection_seq_show()
|
/linux-4.4.14/drivers/s390/char/ |
H A D | diag_ftp.h | 5 * So usage should be exclusive, ensured by the caller (e.g. using a
|
H A D | sclp_ftp.h | 5 * So usage should be exclusive, ensured by the caller (e.g. using a
|
/linux-4.4.14/Documentation/spi/ |
H A D | spidev_fdx.c | 118 goto usage; main() 123 goto usage; main() 130 usage: main() 132 "usage: %s [-h] [-m N] [-r N] /dev/spidevB.D\n", main() 139 goto usage; main()
|
/linux-4.4.14/tools/testing/selftests/efivarfs/ |
H A D | create-read.c | 18 fprintf(stderr, "usage: %s <path>\n", argv[0]); main()
|
H A D | open-unlink.c | 74 fprintf(stderr, "usage: %s <path>\n", argv[0]); main()
|
/linux-4.4.14/scripts/kconfig/lxdialog/ |
H A D | check-lxdialog.sh | 63 usage() { function 68 usage 88 usage
|
/linux-4.4.14/tools/testing/selftests/futex/functional/ |
H A D | futex_wait_timeout.c | 32 void usage(char *prog) usage() function 55 usage(basename(argv[0])); main() 64 usage(basename(argv[0])); main()
|
H A D | futex_wait_wouldblock.c | 33 void usage(char *prog) usage() function 55 usage(basename(argv[0])); main() 61 usage(basename(argv[0])); main()
|
H A D | futex_wait_private_mapped_file.c | 46 void usage(char *prog) usage() function 88 usage(basename(argv[0])); main() 94 usage(basename(argv[0])); main()
|
H A D | futex_wait_uninitialized_heap.c | 45 void usage(char *prog) usage() function 81 usage(basename(argv[0])); main() 87 usage(basename(argv[0])); main()
|
H A D | futex_requeue_pi_mismatched_ops.c | 37 void usage(char *prog) usage() function 68 usage(basename(argv[0])); main() 74 usage(basename(argv[0])); main()
|
H A D | futex_requeue_pi_signal_restart.c | 43 void usage(char *prog) usage() function 134 usage(basename(argv[0])); main() 140 usage(basename(argv[0])); main()
|
/linux-4.4.14/include/uapi/linux/ |
H A D | taskstats.h | 124 /* Accumulated RSS usage in duration of a task, in MBytes-usecs. 125 * The current rss usage is added to this counter every time 127 * will have memory usage multiplied by system time. Thus an 128 * average usage per system time unit can be calculated. 130 __u64 coremem; /* accumulated RSS usage in MB-usec */ 131 /* Accumulated virtual memory usage in duration of a task. 132 * Same as acct_rss_mem1 above except that we keep track of VM usage. 134 __u64 virtmem; /* accumulated VM usage in MB-usec */ 136 /* High watermark of RSS and virtual memory usage in duration of 139 __u64 hiwater_rss; /* High-watermark of RSS usage, in KB */ 140 __u64 hiwater_vm; /* High-water VM usage, in KB */
|
H A D | n_r3964.h | 16 * Fixed HZ usage on 2.6 kernels 20 * Fix timer usage, use spinlocks properly.
|
H A D | atm_tcp.h | 44 * Field usage:
|
H A D | atm_zatm.h | 26 int ref_count; /* free buffer pool usage counters */
|
H A D | hiddev.h | 55 __u32 usage; member in struct:hiddev_collection_info 96 __u32 physical; /* physical usage for this field */ 97 __u32 logical; /* logical usage for this field */ 98 __u32 application; /* application usage for this field */
|
H A D | kexec.h | 11 /* kexec flags for different usage scenarios */
|
H A D | nbd.h | 10 * Cleanup PARANOIA usage & code.
|
/linux-4.4.14/fs/nilfs2/ |
H A D | sufile.h | 2 * sufile.h - NILFS segment usage file. 73 * @sufile: inode of segment usage file 83 * @sufile: inode of segment usage file 93 * @sufile: inode of segment usage file 107 * @sufile: inode of segment usage file 125 * @sufile: inode of segment usage file 138 * %-EINVAL - Invalid segment usage number.
|
H A D | sufile.c | 2 * sufile.c - NILFS segment usage file. 133 * @sufile: inode of segment usage file 142 * @sufile: inode of segment usage file 152 * segment usage entry is contained. If @ndone is given, the number 163 * %-ENOENT - Given segment usage is in hole block (may be returned if 166 * %-EINVAL - Invalid segment usage number 269 * @sufile: inode of segment usage file 298 * @sufile: inode of segment usage file 503 * nilfs_sufile_mark_dirty - mark the buffer having a segment usage dirty 504 * @sufile: inode of segment usage file 522 * nilfs_sufile_set_segment_usage - set usage of a segment 523 * @sufile: inode of segment usage file 559 * nilfs_sufile_get_stat - get segment usage statistics 560 * @sufile: inode of segment usage file 561 * @stat: pointer to a structure of segment usage statistics 564 * usage. 566 * Return Value: On success, 0 is returned, and segment usage information is 634 * @sufile: inode of segment usage file 739 * @sufile: inode of segment usage file 806 * @sufile: inode of segment usage file 880 * nilfs_sufile_set_suinfo - sets segment usage info 881 * @sufile: inode of segment usage file 887 * segment usage accordingly. Only the fields indicated by the sup_flags 1012 * @sufile: inode of segment usage file 1165 * @susize: size of a segment usage entry 1181 "NILFS: too large segment usage size: %zu bytes.\n", nilfs_sufile_read() 1186 "NILFS: too small segment usage size: %zu bytes.\n", nilfs_sufile_read()
|
/linux-4.4.14/fs/fscache/ |
H A D | operation.c | 41 atomic_set(&op->usage, 1); fscache_operation_init() 63 op->object->debug_id, op->debug_id, atomic_read(&op->usage)); fscache_enqueue_operation() 68 ASSERTCMP(atomic_read(&op->usage), >, 0); fscache_enqueue_operation() 75 atomic_inc(&op->usage); fscache_enqueue_operation() 159 ASSERTCMP(atomic_read(&op->usage), >, 0); fscache_submit_exclusive_op() 186 atomic_inc(&op->usage); fscache_submit_exclusive_op() 190 atomic_inc(&op->usage); fscache_submit_exclusive_op() 206 atomic_inc(&op->usage); fscache_submit_exclusive_op() 241 object->debug_id, op->debug_id, atomic_read(&op->usage)); fscache_submit_op() 244 ASSERTCMP(atomic_read(&op->usage), >, 0); fscache_submit_op() 270 atomic_inc(&op->usage); fscache_submit_op() 274 atomic_inc(&op->usage); fscache_submit_op() 286 atomic_inc(&op->usage); fscache_submit_op() 362 ASSERTCMP(atomic_read(&op->usage), >, 0); fscache_cancel_op() 484 op->object->debug_id, op->debug_id, atomic_read(&op->usage)); fscache_put_operation() 486 ASSERTCMP(atomic_read(&op->usage), >, 0); fscache_put_operation() 488 if (!atomic_dec_and_test(&op->usage)) fscache_put_operation() 572 ASSERTCMP(atomic_read(&op->usage), ==, 0); fscache_operation_gc() 602 op->object->debug_id, op->debug_id, atomic_read(&op->usage)); fscache_op_work_func()
|
H A D | netfs.c | 41 atomic_set(&cookie->usage, 1); __fscache_register_netfs() 62 atomic_inc(&cookie->parent->usage); __fscache_register_netfs()
|
H A D | cache.c | 36 atomic_inc(&tag->usage); __fscache_lookup_cache_tag() 50 atomic_set(&xtag->usage, 1); __fscache_lookup_cache_tag() 58 atomic_inc(&tag->usage); __fscache_lookup_cache_tag() 78 if (atomic_dec_and_test(&tag->usage)) __fscache_release_cache_tag() 277 atomic_inc(&fscache_fsdef_index.usage); fscache_add_cache()
|
/linux-4.4.14/kernel/ |
H A D | cred.c | 38 struct group_info init_groups = { .usage = ATOMIC_INIT(2) }; 44 .usage = ATOMIC_INIT(4), 103 atomic_read(&cred->usage) != 0 || put_cred_rcu() 106 " mag %x, put %p, usage %d, subscr %d\n", put_cred_rcu() 108 atomic_read(&cred->usage), put_cred_rcu() 111 if (atomic_read(&cred->usage) != 0) put_cred_rcu() 112 panic("CRED: put_cred_rcu() sees %p with usage %d\n", put_cred_rcu() 113 cred, atomic_read(&cred->usage)); put_cred_rcu() 137 atomic_read(&cred->usage), __put_cred() 140 BUG_ON(atomic_read(&cred->usage) != 0); __put_cred() 161 atomic_read(&tsk->cred->usage), exit_creds() 196 } while (!atomic_inc_not_zero(&((struct cred *)cred)->usage)); get_task_cred() 214 atomic_set(&new->usage, 1); cred_alloc_blank() 260 atomic_set(&new->usage, 1); prepare_creds() 337 p->cred, atomic_read(&p->cred->usage), copy_creds() 428 atomic_read(&new->usage), commit_creds() 437 BUG_ON(atomic_read(&new->usage) < 1); commit_creds() 502 atomic_read(&new->usage), abort_creds() 508 BUG_ON(atomic_read(&new->usage) < 1); abort_creds() 525 atomic_read(&new->usage), override_creds() 536 atomic_read(&old->usage), override_creds() 554 atomic_read(&old->usage), revert_creds() 613 atomic_set(&new->usage, 1); prepare_kernel_cred() 734 printk(KERN_ERR "CRED: ->usage=%d, subscr=%d\n", dump_invalid_creds() 735 atomic_read(&cred->usage), dump_invalid_creds() 809 atomic_read(&tsk->cred->usage), validate_creds_for_do_exit()
|
/linux-4.4.14/fs/afs/ |
H A D | server.c | 78 atomic_set(&server->usage, 1); afs_alloc_server() 94 _leave(" = %p{%d}", server, atomic_read(&server->usage)); afs_alloc_server() 143 _leave(" = %p{%d}", server, atomic_read(&server->usage)); afs_lookup_server() 157 _leave(" = %p{%d}", server, atomic_read(&server->usage)); afs_lookup_server() 224 _enter("%p{%d}", server, atomic_read(&server->usage)); afs_put_server() 226 _debug("PUT SERVER %d", atomic_read(&server->usage)); afs_put_server() 228 ASSERTCMP(atomic_read(&server->usage), >, 0); afs_put_server() 230 if (likely(!atomic_dec_and_test(&server->usage))) { afs_put_server() 238 if (atomic_read(&server->usage) == 0) { afs_put_server() 294 if (atomic_read(&server->usage) > 0) { afs_reap_server()
|
H A D | cell.c | 63 atomic_set(&cell->usage, 1); afs_cell_alloc() 348 _enter("%p{%d,%s}", cell, atomic_read(&cell->usage), cell->name); afs_put_cell() 350 ASSERTCMP(atomic_read(&cell->usage), >, 0); afs_put_cell() 356 if (likely(!atomic_dec_and_test(&cell->usage))) { afs_put_cell() 379 _enter("%p{%d,%s}", cell, atomic_read(&cell->usage), cell->name); afs_cell_destroy() 381 ASSERTCMP(atomic_read(&cell->usage), >=, 0); afs_cell_destroy() 385 if (atomic_read(&cell->usage) > 0) { afs_cell_destroy() 392 while (atomic_read(&cell->usage) > 0) { afs_cell_destroy() 402 ASSERTCMP(atomic_read(&cell->usage), ==, 0); afs_cell_destroy() 451 cell->name, atomic_read(&cell->usage)); afs_cell_purge()
|
H A D | vlocation.c | 179 atomic_set(&vl->usage, 1); afs_vlocation_alloc() 435 atomic_inc(&vl->usage); afs_vlocation_lookup() 498 ASSERTCMP(atomic_read(&vl->usage), >, 0); afs_put_vlocation() 500 if (likely(!atomic_dec_and_test(&vl->usage))) { afs_put_vlocation() 506 if (atomic_read(&vl->usage) == 0) { afs_put_vlocation() 569 if (atomic_read(&vl->usage) > 0) { afs_vlocation_reaper() 644 if (atomic_read(&vl->usage) > 0) afs_vlocation_updater() 659 atomic_inc(&vl->usage); afs_vlocation_updater()
|
H A D | write.c | 32 * unlink a writeback record because its usage has reached zero 71 _enter("{%d}", wb->usage); afs_put_writeback() 74 if (--wb->usage == 0) afs_put_writeback() 142 candidate->usage = 1; afs_write_begin() 208 wb->usage++; afs_write_begin() 603 wb->usage--; afs_pages_written_back() 607 if (wb->usage == 0) { afs_pages_written_back() 711 wb->usage = 1; afs_fsync()
|
H A D | volume.c | 103 atomic_set(&volume->usage, 1); afs_volume_lookup() 182 ASSERTCMP(atomic_read(&volume->usage), >, 0); afs_put_volume() 190 if (likely(!atomic_dec_and_test(&volume->usage))) { afs_put_volume() 217 * - returns with an elevated usage count on the server chosen
|
/linux-4.4.14/tools/vm/ |
H A D | slabinfo-gnuplot.sh | 38 usage() function 125 '$i Memory usage' with lines," 156 # use only 'TOP' slab (biggest memory usage or loss) 207 usage 252 usage 272 usage
|
/linux-4.4.14/samples/pktgen/ |
H A D | parameters.sh | 5 function usage() { function 63 usage; 82 usage
|
/linux-4.4.14/scripts/selinux/genheaders/ |
H A D | genheaders.c | 20 static void usage(void) usage() function 22 printf("usage: %s flask.h av_permissions.h\n", progname); usage() 52 usage(); main()
|
/linux-4.4.14/Documentation/networking/timestamping/ |
H A D | hwtstamp_config.c | 75 static void usage(void) usage() function 93 usage(); main() 102 usage(); main()
|
/linux-4.4.14/tools/perf/ |
H A D | builtin-data.c | 103 goto usage; cmd_data() 108 goto usage; cmd_data() 120 usage:
|
H A D | perf-with-kcore.sh | 16 usage() function 184 usage 227 usage 231 usage 242 usage 257 usage
|
H A D | perf.c | 202 usage(perf_usage_string); handle_options() 217 usage(perf_usage_string); handle_options() 231 usage(perf_usage_string); handle_options() 241 usage(perf_usage_string); handle_options() 274 usage(perf_usage_string); handle_options() 277 usage(perf_usage_string); handle_options() 283 usage(perf_usage_string); handle_options() 583 printf("\n usage: %s\n\n", perf_usage_string); main()
|
/linux-4.4.14/scripts/dtc/ |
H A D | util.h | 164 * This is a usage message fragment for the -t option. It is the format 193 * Show usage and exit 196 * to use the usage() helper below rather than call this. 199 * @param synopsis The initial example usage text (and possible examples) 209 * Show usage and exit 211 * If you name all your usage variables with usage_xxx, then you can call this 216 #define usage(errmsg) \ macro 248 case 'h': usage(NULL); \ 250 case '?': usage("unknown option");
|
H A D | fdtput.c | 291 static void usage(const char *msg) usage() function 328 usage(NULL); main() 335 usage("Invalid type string"); main() 347 usage("Missing filename"); main() 354 usage("Missing node"); main() 356 usage("Missing property"); main()
|
H A D | fdtget.c | 296 static void usage(const char *msg) usage() function 323 usage(NULL); main() 328 usage("Invalid type string"); main() 350 usage("Missing filename"); main() 361 usage("Must have an even number of arguments"); main()
|
/linux-4.4.14/include/linux/ |
H A D | verify_pefile.h | 19 enum key_being_used_for usage,
|
H A D | hid.h | 149 * HID usage tables 374 unsigned usage[HID_MAX_USAGES]; /* usage array */ member in struct:hid_local 389 unsigned usage; member in struct:hid_collection 394 unsigned hid; /* hid usage code */ 396 unsigned usage_index; /* index into usage array */ 408 unsigned physical; /* physical usage for this field */ 409 unsigned logical; /* logical usage for this field */ 410 unsigned application; /* application usage for this field */ 411 struct hid_usage *usage; /* usage table for this function */ member in struct:hid_field 412 unsigned maxusage; /* maximum usage index */ 646 * @event: if usage in usage_table, this hook is called (NULL means nop) 649 * @input_mapping: invoked on input registering before mapping an usage 650 * @input_mapped: invoked on input registering after mapping an usage 664 * input_mapping shall return a negative value to completely ignore this usage 665 * (e.g. doubled or invalid usage), zero to continue with parsing of this 666 * usage by generic code (no special handling needed) or positive to skip 668 * input_mapped shall return negative to inform the layer that this usage 689 struct hid_usage *usage, __s32 value); 697 struct hid_usage *usage, unsigned long **bit, int *max); 700 struct hid_usage *usage, unsigned long **bit, int *max); 705 struct hid_usage *usage); 860 * hid_map_usage - map usage input bits 863 * @usage: usage to fill in 865 * @max: maximal valid usage->code to consider later (out parameter) 867 * @c: code which corresponds to this usage and type 870 struct hid_usage *usage, unsigned long **bit, int *max, hid_map_usage() 875 usage->type = type; hid_map_usage() 876 usage->code = c; hid_map_usage() 899 * hid_map_usage_clear - map usage input bits and clear the input bit 905 struct hid_usage *usage, unsigned long **bit, int *max, hid_map_usage_clear() 908 hid_map_usage(hidinput, usage, bit, max, type, c); hid_map_usage_clear() 869 hid_map_usage(struct hid_input *hidinput, struct hid_usage *usage, unsigned long **bit, int *max, __u8 type, __u16 c) hid_map_usage() argument 904 hid_map_usage_clear(struct hid_input *hidinput, struct hid_usage *usage, unsigned long **bit, int *max, __u8 type, __u16 c) hid_map_usage_clear() argument
|
H A D | hid-sensor-hub.h | 29 * @usage_id: Parent usage id of a physical device. 55 * @usage_id: Usage id for physical device, E.g. Gyro usage id. 74 * @usage: Usage id for this hub device instance. 84 u32 usage; member in struct:hid_sensor_hub_device 161 * @usage_id: Attribute usage id of parent physical device as per spec 162 * @attr_usage_id: Attribute usage id as per spec 176 * @usage_id: Attribute usage id of parent physical device as per spec 177 * @attr_usage_id: Attribute usage id as per spec
|
H A D | hiddev.h | 44 struct hid_usage *usage, __s32 value); 52 struct hid_usage *usage, __s32 value) { } hiddev_report_event() 51 hiddev_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) hiddev_hid_event() argument
|
H A D | serial_max3100.h | 23 * flow ctrl is possible but you have less CPU usage)
|
H A D | n_r3964.h | 16 * Fixed HZ usage on 2.6 kernels 20 * Fix timer usage, use spinlocks properly.
|
H A D | nilfs2_fs.h | 95 * @sr_sufile: segment usage file inode 190 __le16 s_segment_usage_size; /* Size of a segment usage */ 241 #define NILFS_SUFILE_INO 5 /* segment usage file */ 613 * struct nilfs_segment_usage - segment usage 626 /* segment usage flag */ 675 * struct nilfs_sufile_header - segment usage file header 693 * nilfs_suinfo - segment usage information 696 * @sui_flags: segment usage flags 722 * nilfs_suinfo_update - segment usage information update 726 * @sup_sui: segment usage information 819 * struct nilfs_sustat - segment usage statistics
|
H A D | ctype.h | 56 * Fast implementation of tolower() for internal usage. Do not use in your
|
H A D | cred.h | 33 atomic_t usage; member in struct:group_info 51 atomic_inc(&gi->usage); get_group_info() 61 if (atomic_dec_and_test(&(group_info)->usage)) \ 119 atomic_t usage; member in struct:cred 232 atomic_inc(&cred->usage); get_new_cred() 245 * usage count. The purpose of this is to attempt to catch at compile time the 272 if (atomic_dec_and_test(&(cred)->usage)) put_cred()
|
H A D | fscache-cache.h | 40 atomic_t usage; member in struct:fscache_cache_tag 105 atomic_t usage; member in struct:fscache_operation 163 atomic_inc(&op->op.usage); fscache_get_retrieval() 233 /* increment the usage count on this object (may fail if unmounting) */ 479 * fscache_use_cookie - Request usage of cookie attached to an object 482 * Request usage of the cookie attached to an object. NULL is returned if the 483 * relinquishment had reduced the cookie usage count to 0. 502 * fscache_unuse_cookie - Cease usage of cookie attached to an object 505 * Cease usage of the cookie attached to an object. When the users count
|
/linux-4.4.14/include/uapi/asm-generic/ |
H A D | mman.h | 16 /* Bits [26:31] are reserved, see mman-common.h for MAP_HUGETLB usage */
|
/linux-4.4.14/arch/s390/include/asm/ |
H A D | isc.h | 9 * isc usage between drivers.
|
/linux-4.4.14/arch/sh/boards/mach-hp6xx/ |
H A D | pm_wakeup.S | 14 * Kernel mode register usage:
|
/linux-4.4.14/arch/sparc/include/asm/ |
H A D | signal.h | 17 * of interrupt usage and that sucks. Also without a flag like this
|
H A D | switch_to_64.h | 13 * We tell gcc we clobber all non-fixed-usage registers except
|
/linux-4.4.14/arch/cris/include/asm/ |
H A D | etraxi2c.h | 27 EXAMPLE usage:
|
/linux-4.4.14/tools/power/cpupower/bench/ |
H A D | cpufreq-bench_plot.sh | 28 function usage() function 42 usage 57 usage 67 usage
|
H A D | main.c | 49 usage 52 void usage() usage() function 54 printf("usage: ./bench\n"); usage() 131 usage(); main() 166 usage(); main()
|
/linux-4.4.14/drivers/hid/usbhid/ |
H A D | hid-pidff.c | 37 /* Report usage table used to put reports into an array */ 60 /* device_control is really 0x95, but 0x96 specified as it is the usage of 63 /* Value usage tables used to put fields and values into arrays */ 175 usage<->value pairs that pidff_usage values are */ 220 static void pidff_set(struct pidff_usage *usage, u16 value) pidff_set() argument 222 usage->value[0] = pidff_rescale(value, 0xffff, usage->field); pidff_set() 223 pr_debug("calculated from %d to %d\n", value, usage->value[0]); pidff_set() 226 static void pidff_set_signed(struct pidff_usage *usage, s16 value) pidff_set_signed() argument 228 if (usage->field->logical_minimum < 0) pidff_set_signed() 229 usage->value[0] = pidff_rescale_signed(value, usage->field); pidff_set_signed() 232 usage->value[0] = pidff_set_signed() 233 pidff_rescale(-value, 0x8000, usage->field); pidff_set_signed() 235 usage->value[0] = pidff_set_signed() 236 pidff_rescale(value, 0x7fff, usage->field); pidff_set_signed() 238 pr_debug("calculated from %d to %d\n", value, usage->value[0]); pidff_set_signed() 770 static int pidff_find_fields(struct pidff_usage *usage, const u8 *table, pidff_find_fields() argument 784 if (report->field[i]->usage[j].hid == pidff_find_fields() 788 usage[k].field = report->field[i]; pidff_find_fields() 789 usage[k].value = pidff_find_fields() 807 * Return index into pidff_reports for the given usage 809 static int pidff_check_usage(int usage) pidff_check_usage() argument 814 if (usage == (HID_UP_PID | pidff_reports[i])) pidff_check_usage() 836 hid_dbg(hid, "found usage 0x%02x from field->logical\n", pidff_find_reports() 845 * case we want the usage of the parent. However, Linux HID pidff_find_reports() 849 i = report->field[0]->usage[0].collection_index; pidff_find_reports() 853 ret = pidff_check_usage(hid->collection[i - 1].usage); pidff_find_reports() 856 "found usage 0x%02x from collection array\n", pidff_find_reports() 881 * Find a field with a specific usage within a report 884 int usage, int enforce_min) pidff_find_special_field() 889 if (report->field[i]->logical == (HID_UP_PID | usage) && pidff_find_special_field() 915 if (fld->usage[j].hid == (HID_UP_PID | usagetable[i])) { pidff_find_special_keys() 1022 if (pidff->set_effect_type->usage[pidff_type].hid != pidff_find_effects() 1023 pidff->create_new_effect_type->usage[pidff_type].hid) { pidff_find_effects() 883 pidff_find_special_field(struct hid_report *report, int usage, int enforce_min) pidff_find_special_field() argument
|
H A D | hiddev.c | 126 * Perform an exhaustive search of the report table for a usage, given its 127 * type and usage id. 148 if (field->usage[j].hid == uref->usage_code) { hiddev_lookup_usage() 188 struct hid_usage *usage, __s32 value) hiddev_hid_event() 199 uref.usage_index = (usage - field->usage); hiddev_hid_event() 200 uref.usage_code = usage->hid; hiddev_hid_event() 486 uref->usage_code = field->usage[uref->usage_index].hid; hiddev_ioctl_usage() 538 i = field->usage[uref->usage_index].collection_index; hiddev_ioctl_usage() 637 r = hid->collection[i].usage; hiddev_ioctl() 806 cinfo.usage = hid->collection[cinfo.index].usage; hiddev_ioctl() 889 !IS_INPUT_APPLICATION(hid->collection[i].usage)) hiddev_connect() 187 hiddev_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) hiddev_hid_event() argument
|
/linux-4.4.14/arch/powerpc/boot/ |
H A D | wrapper | 59 usage() { function 87 [ "$#" -gt 0 ] || usage 92 [ "$#" -gt 0 ] || usage 97 [ "$#" -gt 0 ] || usage 102 [ "$#" -gt 0 ] || usage 107 [ "$#" -gt 0 ] || usage 115 [ "$#" -gt 0 ] || usage 120 [ "$#" -gt 0 ] || usage 126 [ "$#" -gt 0 ] || usage 133 usage 136 [ -z "$kernel" ] || usage
|
/linux-4.4.14/arch/x86/include/asm/fpu/ |
H A D | api.h | 21 * during kernel FPU usage. 33 * in interrupt context interacting wrongly with other user/kernel fpu usage, we
|
/linux-4.4.14/tools/perf/scripts/python/ |
H A D | failed-syscalls-by-pid.py | 18 usage = "perf script -s syscall-counts-by-pid.py [comm|pid]\n"; variable 24 sys.exit(usage)
|
H A D | sctop.py | 20 usage = "perf script -s sctop.py [comm] [interval]\n"; variable 27 sys.exit(usage)
|
H A D | syscall-counts-by-pid.py | 17 usage = "perf script -s syscall-counts-by-pid.py [comm]\n"; variable 23 sys.exit(usage)
|
H A D | syscall-counts.py | 18 usage = "perf script -s syscall-counts.py [comm]\n"; variable 23 sys.exit(usage)
|
H A D | compaction-times.py | 14 usage = "usage: perf script report compaction-times.py -- [-h] [-u] [-p|-pv] [-t | [-m] [-fs] [-ms]] [pid|pid-range|comm-regex]\n" variable 247 global usage 249 sys.stdout.write(usage) 294 sys.exit(usage) 308 sys.exit(usage)
|
/linux-4.4.14/tools/perf/util/ |
H A D | usage.c | 2 * usage.c 58 void usage(const char *err) usage() function
|
/linux-4.4.14/scripts/selinux/mdp/ |
H A D | mdp.c | 32 static void usage(char *name) usage() function 34 printf("usage: %s [-m] policy_file context_file\n", name); usage() 56 usage(argv[0]); main() 68 usage(argv[0]); main() 141 usage(argv[0]); main()
|
/linux-4.4.14/arch/alpha/mm/ |
H A D | numa.c | 48 printk(" memcluster %2d, usage %1lx, start %8lu, end %8lu\n", for_each_mem_cluster() 49 i, cluster->usage, cluster->start_pfn, for_each_mem_cluster() 84 if (cluster->usage & 3) for_each_mem_cluster() 97 printk(" memcluster %2d, usage %1lx, start %8lu, end %8lu\n", for_each_mem_cluster() 98 i, cluster->usage, cluster->start_pfn, for_each_mem_cluster() 169 if (cluster->usage & 3) for_each_mem_cluster() 209 if (cluster->usage & 3) for_each_mem_cluster()
|
/linux-4.4.14/certs/ |
H A D | system_keyring.c | 116 * @usage: The use to which the key is being put. 120 enum key_being_used_for usage) system_verify_data() 137 ret = pkcs7_verify(pkcs7, usage); system_verify_data() 118 system_verify_data(const void *data, unsigned long len, const void *raw_pkcs7, size_t pkcs7_len, enum key_being_used_for usage) system_verify_data() argument
|
/linux-4.4.14/Documentation/laptops/ |
H A D | dslm.c | 126 static void usage(void) usage() function 128 puts("usage: dslm [-w <time>] <disk>"); usage() 145 usage(); main()
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | i8237.c | 20 * Allocation is handled in kernel/dma.c and normal usage is
|
/linux-4.4.14/arch/alpha/boot/tools/ |
H A D | objstrip.c | 42 usage (void) usage() function 45 "usage: %s [-v] -p file primary\n" usage() 86 usage(); main() 114 usage(); main()
|
/linux-4.4.14/arch/cris/arch-v10/kernel/ |
H A D | shadows.c | 22 * A common usage is that CSP0 controls LEDs and CSP4 video chips.
|
/linux-4.4.14/include/crypto/ |
H A D | pkcs7.h | 42 enum key_being_used_for usage);
|
/linux-4.4.14/include/keys/ |
H A D | system_keyring.h | 35 enum key_being_used_for usage);
|
/linux-4.4.14/arch/mips/sni/ |
H A D | eisa.c | 6 * modified for SNI usage by Thomas Bogendoerfer
|
/linux-4.4.14/tools/testing/fault-injection/ |
H A D | failcmd.sh | 17 usage() function 39 Display a usage message and exit 99 usage 198 usage
|
/linux-4.4.14/tools/testing/selftests/ftrace/ |
H A D | ftracetest | 10 usage() { # errno [message] function 51 usage 0 70 usage 1 "$1 is not a testcase" 79 usage 1 "Invalid option ($1)"
|
/linux-4.4.14/drivers/md/ |
H A D | dm-snap-transient.c | 111 .usage = transient_usage, 123 .usage = transient_usage,
|
/linux-4.4.14/fs/nfsd/ |
H A D | stats.c | 14 * time (seconds) when nfsd thread usage above thresholds 51 /* thread usage: */ nfsd_proc_show()
|
/linux-4.4.14/tools/perf/scripts/perl/ |
H A D | rw-by-file.pl | 21 my $usage = "perf script -s rw-by-file.pl <comm>\n"; 23 my $for_comm = shift or die $usage;
|
/linux-4.4.14/firmware/ |
H A D | ihex2fw.c | 60 static int usage(void) usage() function 64 fprintf(stderr, "usage: ihex2fw [<options>] <src.HEX> <dst.fw>\n"); usage() 90 return usage(); main() 95 return usage(); main() 104 return usage(); main() 123 return usage(); main()
|
/linux-4.4.14/fs/cachefiles/ |
H A D | interface.c | 54 atomic_set(&object->usage, 1); cachefiles_alloc_object() 177 * increment the usage count on an inode object (may fail if unmounting) 185 _enter("{OBJ%x,%d}", _object->debug_id, atomic_read(&object->usage)); cachefiles_grab_object() 188 ASSERT((atomic_read(&object->usage) & 0xffff0000) != 0x6b6b0000); cachefiles_grab_object() 191 atomic_inc(&object->usage); cachefiles_grab_object() 262 object->fscache.debug_id, atomic_read(&object->usage)); cachefiles_drop_object() 268 ASSERT((atomic_read(&object->usage) & 0xffff0000) != 0x6b6b0000); cachefiles_drop_object() 323 object->fscache.debug_id, atomic_read(&object->usage)); cachefiles_put_object() 326 ASSERT((atomic_read(&object->usage) & 0xffff0000) != 0x6b6b0000); cachefiles_put_object() 332 if (atomic_dec_and_test(&object->usage)) { cachefiles_put_object()
|
/linux-4.4.14/drivers/iio/magnetometer/ |
H A D | hid-sensor-magn-3d.c | 303 /* Parse report which is specific to an usage id*/ magn_3d_parse_report() 315 /* Scan for each usage attribute supported */ magn_3d_parse_report() 320 /* Check if usage attribute exists in the sensor hub device */ magn_3d_parse_report() 332 "failed to find any supported usage attributes in report\n"); magn_3d_parse_report() 336 dev_dbg(&pdev->dev, "magn_3d Found %d usage attributes\n", magn_3d_parse_report() 412 /* Function to initialize the processing for usage id */ hid_magn_3d_probe() 498 /* Function to deinitialize the processing for usage id */ hid_magn_3d_remove()
|
/linux-4.4.14/tools/usb/ |
H A D | testusb.c | 418 goto usage; main() 422 goto usage; main() 432 goto usage; main() 437 goto usage; main() 441 goto usage; main() 446 usage: main() 448 "usage: %s [options]\n" main() 465 goto usage; main() 469 goto usage; main()
|
/linux-4.4.14/tools/power/x86/x86_energy_perf_policy/ |
H A D | x86_energy_perf_policy.c | 64 void usage(void) usage() function 96 usage(); cmdline() 101 usage(); cmdline() 110 usage(); cmdline() 127 usage(); cmdline()
|
/linux-4.4.14/drivers/acpi/acpica/ |
H A D | acapps.h | 79 /* Macros for usage messages */ 81 #define ACPI_USAGE_HEADER(usage) \ 82 acpi_os_printf ("Usage: %s\nOptions:\n", usage);
|
/linux-4.4.14/scripts/kconfig/ |
H A D | merge_config.sh | 29 usage() { function 56 usage 81 usage
|
/linux-4.4.14/kernel/sched/ |
H A D | cpuacct.c | 28 /* track cpu usage of a group of tasks and its child groups */ 134 /* return total cpu usage (in nanoseconds) of a group */ cpuusage_read() 215 .name = "usage",
|
/linux-4.4.14/Documentation/connector/ |
H A D | ucon.c | 92 static void usage(void) usage() function 131 usage(); main() 136 usage(); main()
|
/linux-4.4.14/tools/virtio/virtio-trace/ |
H A D | trace-agent.c | 106 static void usage(char const *prg) usage() function 108 pr_err("usage: %s [-h] [-o] [-s <size of pipe>]\n", prg); usage() 207 usage(argv[0]); parse_args()
|
/linux-4.4.14/Documentation/ptp/ |
H A D | testptp.c | 113 static void usage(char *progname) usage() function 116 "usage: %s [options]\n" usage() 225 usage(progname); main() 249 usage(progname); main() 253 usage(progname); main() 480 usage(progname); main()
|
/linux-4.4.14/lib/ |
H A D | test_user_copy.c | 61 /* Legitimate usage: none of these should fail. */ test_user_copy_init() 71 /* Invalid usage: none of these should succeed. */ test_user_copy_init()
|
/linux-4.4.14/net/atm/ |
H A D | lec_arpc.h | 50 atomic_t usage; /* usage count */ member in struct:lec_arp_table
|
/linux-4.4.14/samples/bpf/ |
H A D | fds_example.c | 30 static void usage(void) usage() function 181 usage(); main()
|
/linux-4.4.14/kernel/locking/ |
H A D | lockdep_internals.h | 10 * Lock-class usage-state bits: 76 char usage[LOCK_USAGE_CHARS]);
|
/linux-4.4.14/include/media/davinci/ |
H A D | vpbe_types.h | 48 * @flags: bit field: bit usage is documented below 62 * flags usage
|
/linux-4.4.14/arch/parisc/kernel/ |
H A D | irq.c | 169 seq_puts(p, " Kernel stack usage\n"); arch_show_interrupts() 174 seq_puts(p, " Interrupt stack usage\n"); arch_show_interrupts() 416 /* calculate kernel stack usage */ stack_overflow_check() 422 /* check irq stack usage */ stack_overflow_check() 441 /* check kernel stack usage */ stack_overflow_check() 475 64); /* align for stack frame usage */ execute_on_irq_stack() 479 * the irq stack usage. execute_on_irq_stack() 494 /* free up irq stack usage. */ execute_on_irq_stack()
|
/linux-4.4.14/tools/build/ |
H A D | fixdep.c | 27 static void usage(void) usage() function 158 usage(); main()
|
/linux-4.4.14/net/sunrpc/auth_gss/ |
H A D | gss_krb5_crypto.c | 128 arcfour_hmac_md5_usage_to_salt(unsigned int usage, u8 salt[4]) arcfour_hmac_md5_usage_to_salt() argument 132 switch (usage) { arcfour_hmac_md5_usage_to_salt() 153 unsigned int usage, struct xdr_netobj *cksumout) make_checksum_hmac_md5() 172 if (arcfour_hmac_md5_usage_to_salt(usage, rc4salt)) { make_checksum_hmac_md5() 173 dprintk("%s: invalid usage value %u\n", __func__, usage); make_checksum_hmac_md5() 243 unsigned int usage, struct xdr_netobj *cksumout) make_checksum() 254 cksumkey, usage, cksumout); make_checksum() 324 unsigned int usage, struct xdr_netobj *cksumout) make_checksum_v2() 656 unsigned int usage; gss_krb5_aes_encrypt() local 662 usage = KG_USAGE_INITIATOR_SEAL; gss_krb5_aes_encrypt() 667 usage = KG_USAGE_ACCEPTOR_SEAL; gss_krb5_aes_encrypt() 708 cksumkey, usage, &hmac); gss_krb5_aes_encrypt() 772 unsigned int usage; gss_krb5_aes_decrypt() local 778 usage = KG_USAGE_ACCEPTOR_SEAL; gss_krb5_aes_decrypt() 783 usage = KG_USAGE_INITIATOR_SEAL; gss_krb5_aes_decrypt() 826 cksum_key, usage, &our_hmac_obj); gss_krb5_aes_decrypt() 151 make_checksum_hmac_md5(struct krb5_ctx *kctx, char *header, int hdrlen, struct xdr_buf *body, int body_offset, u8 *cksumkey, unsigned int usage, struct xdr_netobj *cksumout) make_checksum_hmac_md5() argument 241 make_checksum(struct krb5_ctx *kctx, char *header, int hdrlen, struct xdr_buf *body, int body_offset, u8 *cksumkey, unsigned int usage, struct xdr_netobj *cksumout) make_checksum() argument 322 make_checksum_v2(struct krb5_ctx *kctx, char *header, int hdrlen, struct xdr_buf *body, int body_offset, u8 *cksumkey, unsigned int usage, struct xdr_netobj *cksumout) make_checksum_v2() argument
|
/linux-4.4.14/drivers/net/wan/ |
H A D | cosa.c | 111 int usage; /* Usage count; >0 for chrdev, -1 for netdev */ member in struct:channel_data 157 int usage; /* usage count */ member in struct:cosa_data 542 cosa->usage = 0; cosa_probe() 649 if (chan->usage != 0) { cosa_net_open() 650 pr_warn("%s: cosa_net_open called with usage count %d\n", cosa_net_open() 651 chan->name, chan->usage); cosa_net_open() 658 chan->usage = -1; cosa_net_open() 659 chan->cosa->usage++; cosa_net_open() 665 chan->usage = 0; cosa_net_open() 666 chan->cosa->usage--; cosa_net_open() 724 chan->usage = 0; cosa_net_close() 725 chan->cosa->usage--; cosa_net_close() 962 if (chan->usage < 0) { /* in netdev mode */ cosa_open() 967 cosa->usage++; cosa_open() 968 chan->usage++; cosa_open() 987 cosa->usage--; cosa_release() 988 channel->usage--; cosa_release() 1016 if (cosa->usage > 1) cosa_reset() 1017 pr_info("cosa%d: WARNING: reset requested with cosa->usage > 1 (%d). Odd things may happen.\n", cosa_reset() 1018 cosa->num, cosa->usage); cosa_reset() 1035 if (cosa->usage > 1) cosa_download() 1036 pr_info("%s: WARNING: download of microcode requested with cosa->usage > 1 (%d). Odd things may happen.\n", cosa_download() 1037 cosa->name, cosa->usage); cosa_download() 1074 if (cosa->usage > 1) cosa_readmem() 1075 pr_info("cosa%d: WARNING: readmem requested with cosa->usage > 1 (%d). Odd things may happen.\n", cosa_readmem() 1076 cosa->num, cosa->usage); cosa_readmem() 1105 if (cosa->usage > 1) cosa_start() 1106 pr_info("cosa%d: WARNING: start microcode requested with cosa->usage > 1 (%d). Odd things may happen.\n", cosa_start() 1107 cosa->num, cosa->usage); cosa_start()
|
/linux-4.4.14/drivers/isdn/i4l/ |
H A D | isdn_common.h | 30 extern void isdn_free_channel(int di, int ch, int usage);
|
H A D | isdn_common.c | 673 dev->usage[i] &= ~ISDN_USAGE_DISABLED; isdn_status_callback() 675 if (USG_NONE(dev->usage[i])) { isdn_status_callback() 676 dev->usage[i] |= ISDN_USAGE_DISABLED; isdn_status_callback() 695 dev->usage[i] &= ~ISDN_USAGE_DISABLED; isdn_status_callback() 1021 sprintf(p, "%d ", dev->usage[i]); isdn_statstr() 1875 isdn_get_free_channel(int usage, int l2_proto, int l3_proto, int pre_dev isdn_get_free_channel() argument 1890 if (USG_NONE(dev->usage[i]) && isdn_get_free_channel() 1893 if ((dev->usage[i] & ISDN_USAGE_EXCLUSIVE) && isdn_get_free_channel() 1898 if (dev->usage[i] & ISDN_USAGE_DISABLED) isdn_get_free_channel() 1899 continue; /* usage not allowed */ isdn_get_free_channel() 1905 dev->usage[i] &= ISDN_USAGE_EXCLUSIVE; isdn_get_free_channel() 1906 dev->usage[i] |= usage; isdn_get_free_channel() 1911 dev->usage[i] &= ISDN_USAGE_EXCLUSIVE; isdn_get_free_channel() 1912 dev->usage[i] |= usage; isdn_get_free_channel() 1927 isdn_free_channel(int di, int ch, int usage) isdn_free_channel() argument 1937 if (((!usage) || ((dev->usage[i] & ISDN_USAGE_MASK) == usage)) && isdn_free_channel() 1940 dev->usage[i] &= (ISDN_USAGE_NONE | ISDN_USAGE_EXCLUSIVE); isdn_free_channel() 1967 dev->usage[i] &= ~ISDN_USAGE_EXCLUSIVE; isdn_unexclusive_channel()
|
/linux-4.4.14/drivers/hwmon/ |
H A D | abx500.h | 48 * @plat_data: private usage, usually points to platform specific data
|
/linux-4.4.14/arch/alpha/include/asm/ |
H A D | vga.h | 40 /* Do not trust that the usage will be correct; analyze the arguments. */
|
/linux-4.4.14/samples/kdb/ |
H A D | kdb_hello.c | 39 * 3: Description of the usage of any arguments kdb_hello_cmd_init()
|
/linux-4.4.14/include/linux/spi/ |
H A D | mmc_spi.h | 16 * card slot. (Modeled after PXA mmc glue; see that for usage examples.)
|
/linux-4.4.14/arch/mips/include/asm/sn/sn0/ |
H A D | ip27.h | 49 * R10000 status register interrupt bit mask usage for IP27.
|
/linux-4.4.14/arch/sh/kernel/cpu/ |
H A D | fpu.c | 16 * Memory allocation at the first usage of the FPU and other state. init_fpu()
|
/linux-4.4.14/arch/sparc/include/uapi/asm/ |
H A D | apc.h | 56 * WARNING: Internal usage of bit ports is platform dependent--
|
/linux-4.4.14/arch/mn10300/unit-asb2305/ |
H A D | pci-asb2305.h | 54 u16 exclusive_irqs; /* IRQs devoted exclusively to PCI usage */
|
/linux-4.4.14/tools/perf/bench/ |
H A D | mem-functions.c | 107 const char *const *usage; member in struct:bench_mem_info 156 argc = parse_options(argc, argv, options, info->usage, 0); bench_mem_common() 287 .usage = bench_mem_memcpy_usage, bench_mem_memcpy() 375 .usage = bench_mem_memset_usage, bench_mem_memset()
|
/linux-4.4.14/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm.c | 76 static void usage(void); 159 usage(); main() 182 usage(); main() 249 usage(); main() 258 usage(); main() 267 usage(); main() 308 usage() usage() function 312 "usage: %-16s [-nostdinc] [-I-] [-I directory] [-o output_file]\n" usage()
|
/linux-4.4.14/drivers/base/power/opp/ |
H A D | opp.h | 48 * RCU usage: opp list is traversed with RCU locks. node 109 * RCU usage: nodes are not modified in the list of device_opp,
|
/linux-4.4.14/fs/jfs/ |
H A D | jfs_types.h | 151 u8 used_hi; /* DASD usage (in logical blocks) */ 152 __le32 used_lo; /* DASD usage (in logical blocks) */
|
/linux-4.4.14/fs/ocfs2/ |
H A D | quota.h | 32 s64 dq_origspace; /* Last globally synced space usage */ 33 s64 dq_originodes; /* Last globally synced inode usage */
|
/linux-4.4.14/fs/xfs/ |
H A D | xfs_qm.h | 30 * We make this restriction to keep the memory usage to a minimum. 148 * Users are allowed to have a usage exceeding their softlimit for
|
/linux-4.4.14/include/drm/ttm/ |
H A D | ttm_memory.h | 40 * struct ttm_mem_shrink - callback to shrink TTM memory usage. 56 * @shrink: A single callback to shrink TTM memory usage. Extend this
|
/linux-4.4.14/arch/mn10300/boot/tools/ |
H A D | build.c | 64 void usage(void) usage() function 81 usage(); main()
|
/linux-4.4.14/sound/pci/ctxfi/ |
H A D | ctsrc.h | 52 /* Number of contiguous srcs for interleaved usage */ 80 /* Number of contiguous master srcs for interleaved usage */
|
/linux-4.4.14/tools/net/ |
H A D | bpf_jit_disasm.c | 225 static void usage(void) usage() function 248 usage(); main()
|
/linux-4.4.14/drivers/usb/storage/ |
H A D | protocol.h | 15 * Notably the usage of NAK, STALL and ACK differs from the norm, in
|
H A D | scsiglue.h | 15 * Notably the usage of NAK, STALL and ACK differs from the norm, in
|
/linux-4.4.14/drivers/isdn/hysdn/ |
H A D | hysdn_proclog.c | 189 inf->usage_cnt--; /* new usage count */ hysdn_log_read() 235 /* Otherwise file is handled as log output. In this case the interface usage */ 263 pd->if_used--; /* decrement interface usage count by one */ hysdn_log_close() 266 inf->usage_cnt--; /* decrement usage count for buffers */ hysdn_log_close()
|
/linux-4.4.14/drivers/mtd/chips/ |
H A D | map_absent.c | 9 * A usage example is as follows:
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
H A D | rtl2832_sdr.h | 20 * GNU Radio plugin "gr-kernel" for device usage will be on:
|
/linux-4.4.14/drivers/net/ppp/ |
H A D | ppp_mppe.h | 23 #define MPPE_D_BIT 0x10 /* Obsolete, usage unknown */
|
/linux-4.4.14/arch/um/drivers/ |
H A D | vde_kern.c | 5 * Transport usage:
|
/linux-4.4.14/sound/aoa/core/ |
H A D | alsa.c | 23 /* cannot be EEXIST due to usage in aoa_fabric_register */ aoa_alsa_init()
|
/linux-4.4.14/sound/core/seq/ |
H A D | seq_clientmgr.h | 73 /* usage statistics */
|
/linux-4.4.14/kernel/gcov/ |
H A D | gcov.h | 39 * generic code and usage of the interface below.*/
|