usage 87 arch/alpha/boot/tools/objstrip.c usage(); usage 115 arch/alpha/boot/tools/objstrip.c usage(); usage 148 arch/alpha/include/asm/hwrpb.h unsigned long usage; usage 326 arch/alpha/kernel/setup.c i, cluster->usage, cluster->start_pfn, usage 332 arch/alpha/kernel/setup.c if (cluster->usage & 3) usage 410 arch/alpha/kernel/setup.c return (cluster->usage & 3) ? 0 : 1; usage 50 arch/alpha/mm/numa.c i, cluster->usage, cluster->start_pfn, usage 83 arch/alpha/mm/numa.c if (cluster->usage & 3) usage 97 arch/alpha/mm/numa.c i, cluster->usage, cluster->start_pfn, usage 24 arch/mips/bcm63xx/clk.c unsigned int usage; usage 33 arch/mips/bcm63xx/clk.c if (clk->set && (clk->usage++) == 0) usage 39 arch/mips/bcm63xx/clk.c if (clk->set && (--clk->usage) == 0) usage 288 arch/mips/boot/elf2ecoff.c usage: usage 295 arch/mips/boot/elf2ecoff.c goto usage; usage 66 arch/mips/boot/tools/relocs_main.c usage(); usage 69 arch/mips/boot/tools/relocs_main.c usage(); usage 1879 arch/powerpc/kernel/eeh.c static const char usage[] = "input format: <domain>:<bus>:<dev>.<fn>\n"; usage 1882 arch/powerpc/kernel/eeh.c usage, sizeof(usage) - 1); usage 183 arch/sparc/boot/piggyback.c usage(); usage 346 arch/x86/boot/tools/build.c usage(); usage 104 arch/x86/tools/insn_decoder_test.c usage(); usage 123 arch/x86/tools/insn_sanity.c usage("Failed to open /dev/urandom"); usage 186 arch/x86/tools/insn_sanity.c usage("Failed to open input file"); usage 195 arch/x86/tools/insn_sanity.c usage("Failed to parse seed"); usage 201 arch/x86/tools/insn_sanity.c usage("Failed to parse max_iter"); usage 204 arch/x86/tools/insn_sanity.c usage(NULL); usage 210 arch/x86/tools/insn_sanity.c usage("Max iteration number must be bigger than iter-num"); usage 213 arch/x86/tools/insn_sanity.c usage("Don't use input file (-i) with random seed (-s)"); usage 62 arch/x86/tools/relocs_common.c usage(); usage 65 arch/x86/tools/relocs_common.c usage(); usage 1334 block/blk-iocost.c static u32 surplus_adjusted_hweight_inuse(u32 usage, u32 hw_inuse) usage 1337 block/blk-iocost.c usage = DIV_ROUND_UP(usage * SURPLUS_SCALE_PCT, 100); usage 1338 block/blk-iocost.c usage += SURPLUS_SCALE_ABS; usage 1341 block/blk-iocost.c if (usage + SURPLUS_MIN_ADJ_DELTA > hw_inuse) usage 1344 block/blk-iocost.c return usage; usage 1404 block/blk-iocost.c u32 hw_active, hw_inuse, usage; usage 1445 block/blk-iocost.c usage = DIV64_U64_ROUND_UP(vusage * hw_inuse, usage 1448 block/blk-iocost.c iocg->usages[iocg->usage_idx] = usage; usage 1450 block/blk-iocost.c usage = 0; usage 1468 block/blk-iocost.c if (surplus_adjusted_hweight_inuse(usage, hw_inuse)) { usage 1480 block/blk-iocost.c usage * SURPLUS_SCALE_PCT / 100 + usage 1506 block/blk-iocost.c u32 usage, hw_active, hw_inuse, new_hwi, new_inuse; usage 1513 block/blk-iocost.c for (i = 0, usage = 0; i < NR_USAGE_SLOTS; i++) { usage 1515 block/blk-iocost.c usage = max(usage, iocg->usages[i]); usage 1523 block/blk-iocost.c new_hwi = surplus_adjusted_hweight_inuse(usage, hw_inuse); usage 206 certs/system_keyring.c enum key_being_used_for usage, usage 221 certs/system_keyring.c ret = pkcs7_verify(pkcs7, usage); usage 285 certs/system_keyring.c enum key_being_used_for usage, usage 298 certs/system_keyring.c ret = verify_pkcs7_message_sig(data, len, pkcs7, trusted_keys, usage, usage 21 crypto/asymmetric_keys/pkcs7_key_type.c module_param_named(usage, pkcs7_usage, uint, S_IWUSR | S_IRUGO); usage 53 crypto/asymmetric_keys/pkcs7_key_type.c enum key_being_used_for usage = pkcs7_usage; usage 55 crypto/asymmetric_keys/pkcs7_key_type.c if (usage >= NR__KEY_BEING_USED_FOR) { usage 56 crypto/asymmetric_keys/pkcs7_key_type.c pr_err("Invalid usage type %d\n", usage); usage 62 crypto/asymmetric_keys/pkcs7_key_type.c VERIFY_USE_SECONDARY_KEYRING, usage, usage 405 crypto/asymmetric_keys/pkcs7_verify.c enum key_being_used_for usage) usage 413 crypto/asymmetric_keys/pkcs7_verify.c switch (usage) { usage 418 crypto/asymmetric_keys/verify_pefile.c enum key_being_used_for usage) usage 436 crypto/asymmetric_keys/verify_pefile.c trusted_keys, usage, usage 54 drivers/acpi/acpica/acapps.h #define ACPI_USAGE_HEADER(usage) \ usage 55 drivers/acpi/acpica/acapps.h printf ("Usage: %s\nOptions:\n", usage); usage 264 drivers/cpuidle/cpuidle.c dev->states_usage[entered_state].usage++; usage 298 drivers/cpuidle/sysfs.c define_show_state_ull_function(usage) usage 312 drivers/cpuidle/sysfs.c define_one_state_ro(usage, show_state_usage); usage 349 drivers/cpuidle/sysfs.c define_show_state_s2idle_ull_function(usage); usage 356 drivers/cpuidle/sysfs.c define_one_state_s2idle_ro(usage, show_state_s2idle_usage); usage 30 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c atomic64_t usage; usage 221 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c u64 usage; usage 229 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c for (usage = 0; nodes && pages; pages -= nodes->size, nodes++) usage 230 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c usage += amdgpu_vram_mgr_vis_size(adev, nodes); usage 232 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c return usage; usage 288 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c if (atomic64_add_return(mem_bytes, &mgr->usage) > adev->gmc.mc_vram_size) { usage 289 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c atomic64_sub(mem_bytes, &mgr->usage); usage 311 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c atomic64_sub(mem_bytes, &mgr->usage); usage 368 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c atomic64_sub(mem->num_pages << PAGE_SHIFT, &mgr->usage); usage 390 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c uint64_t usage = 0, vis_usage = 0; usage 400 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c usage += nodes->size << PAGE_SHIFT; usage 406 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c atomic64_sub(usage, &mgr->usage); usage 424 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c return atomic64_read(&mgr->usage); usage 677 drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h SVGA3dDeclUsage usage; usage 820 drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h uint8 usage; /* SVGA3dDeclUsage */ usage 35 drivers/hid/hid-a4tech.c struct hid_field *field, struct hid_usage *usage, usage 41 drivers/hid/hid-a4tech.c usage->hid == A4_WHEEL_ORIENTATION) { usage 57 drivers/hid/hid-a4tech.c struct hid_field *field, struct hid_usage *usage, usage 62 drivers/hid/hid-a4tech.c if (usage->type == EV_REL && usage->code == REL_WHEEL_HI_RES) { usage 67 drivers/hid/hid-a4tech.c if ((a4->quirks & A4_2WHEEL_MOUSE_HACK_7) && usage->hid == 0x00090007) usage 74 drivers/hid/hid-a4tech.c struct hid_usage *usage, __s32 value) usage 85 drivers/hid/hid-a4tech.c if (usage->type == EV_REL && usage->code == REL_WHEEL_HI_RES) { usage 90 drivers/hid/hid-a4tech.c if (usage->hid == A4_WHEEL_ORIENTATION) { usage 99 drivers/hid/hid-a4tech.c if ((a4->quirks & A4_2WHEEL_MOUSE_HACK_7) && usage->hid == 0x00090007) { usage 104 drivers/hid/hid-a4tech.c if (usage->code == REL_WHEEL_HI_RES && a4->hw_wheel) { usage 105 drivers/hid/hid-a4tech.c input_event(input, usage->type, REL_HWHEEL, value); usage 106 drivers/hid/hid-a4tech.c input_event(input, usage->type, REL_HWHEEL_HI_RES, value * 120); usage 22 drivers/hid/hid-accutouch.c struct hid_usage *usage, usage 25 drivers/hid/hid-accutouch.c if ((usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON) { usage 26 drivers/hid/hid-accutouch.c hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_TOUCH); usage 775 drivers/hid/hid-alps.c struct hid_usage *usage, unsigned long **bit, int *max) usage 179 drivers/hid/hid-apple.c struct hid_usage *usage, __s32 value) usage 186 drivers/hid/hid-apple.c if (usage->code == KEY_FN) { usage 188 drivers/hid/hid-apple.c input_event(input, usage->type, usage->code, value); usage 201 drivers/hid/hid-apple.c trans = apple_find_translation (table, usage->code); usage 229 drivers/hid/hid-apple.c input_event(input, usage->type, code, value); usage 234 drivers/hid/hid-apple.c (test_bit(usage->code, asc->pressed_numlock) || usage 237 drivers/hid/hid-apple.c usage->code); usage 241 drivers/hid/hid-apple.c set_bit(usage->code, usage 244 drivers/hid/hid-apple.c clear_bit(usage->code, usage 247 drivers/hid/hid-apple.c input_event(input, usage->type, trans->to, usage 257 drivers/hid/hid-apple.c trans = apple_find_translation(apple_iso_keyboard, usage->code); usage 259 drivers/hid/hid-apple.c input_event(input, usage->type, trans->to, value); usage 266 drivers/hid/hid-apple.c trans = apple_find_translation(swapped_option_cmd_keys, usage->code); usage 268 drivers/hid/hid-apple.c input_event(input, usage->type, trans->to, value); usage 277 drivers/hid/hid-apple.c struct hid_usage *usage, __s32 value) usage 282 drivers/hid/hid-apple.c !usage->type) usage 286 drivers/hid/hid-apple.c usage->code == REL_HWHEEL) { usage 287 drivers/hid/hid-apple.c input_event(field->hidinput->input, usage->type, usage->code, usage 294 drivers/hid/hid-apple.c usage, value)) usage 339 drivers/hid/hid-apple.c struct hid_field *field, struct hid_usage *usage, usage 342 drivers/hid/hid-apple.c if (usage->hid == (HID_UP_CUSTOM | 0x0003) || usage 343 drivers/hid/hid-apple.c usage->hid == (HID_UP_MSVENDOR | 0x0003) || usage 344 drivers/hid/hid-apple.c usage->hid == (HID_UP_HPVENDOR2 | 0x0003)) { usage 347 drivers/hid/hid-apple.c hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_FN); usage 357 drivers/hid/hid-apple.c struct hid_field *field, struct hid_usage *usage, usage 363 drivers/hid/hid-apple.c if (usage->hid == HID_GD_Z) usage 364 drivers/hid/hid-apple.c hid_map_usage(hi, usage, bit, max, EV_REL, REL_HWHEEL); usage 365 drivers/hid/hid-apple.c else if (usage->code == BTN_1) usage 366 drivers/hid/hid-apple.c hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_2); usage 367 drivers/hid/hid-apple.c else if (usage->code == BTN_2) usage 368 drivers/hid/hid-apple.c hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_1); usage 276 drivers/hid/hid-appleir.c struct hid_usage *usage, unsigned long **bit, int *max) usage 261 drivers/hid/hid-asus.c struct hid_usage *usage, __s32 value) usage 263 drivers/hid/hid-asus.c if ((usage->hid & HID_USAGE_PAGE) == 0xff310000 && usage 264 drivers/hid/hid-asus.c (usage->hid & HID_USAGE) != 0x00 && usage 265 drivers/hid/hid-asus.c (usage->hid & HID_USAGE) != 0xff && !usage->type) { usage 267 drivers/hid/hid-asus.c usage->hid & HID_USAGE); usage 659 drivers/hid/hid-asus.c #define asus_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, \ usage 663 drivers/hid/hid-asus.c struct hid_usage *usage, unsigned long **bit, usage 682 drivers/hid/hid-asus.c usage->hid == (HID_UP_GENDEVCTRLS | 0x0024) || usage 683 drivers/hid/hid-asus.c usage->hid == (HID_UP_GENDEVCTRLS | 0x0025) || usage 684 drivers/hid/hid-asus.c usage->hid == (HID_UP_GENDEVCTRLS | 0x0026)) usage 691 drivers/hid/hid-asus.c usage->hid != (HID_UP_BUTTON | 1)) usage 696 drivers/hid/hid-asus.c if ((usage->hid & HID_USAGE_PAGE) == 0xff310000) { usage 698 drivers/hid/hid-asus.c switch (usage->hid & HID_USAGE) { usage 743 drivers/hid/hid-asus.c if ((usage->hid & HID_USAGE_PAGE) == HID_UP_MSVENDOR) { usage 745 drivers/hid/hid-asus.c switch (usage->hid & HID_USAGE) { usage 771 drivers/hid/hid-asus.c (usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER) { usage 772 drivers/hid/hid-asus.c switch (usage->hid & HID_USAGE) { usage 902 drivers/hid/hid-asus.c hdev->collection->usage == HID_GD_MOUSE) usage 24 drivers/hid/hid-belkin.c #define belkin_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ usage 27 drivers/hid/hid-belkin.c struct hid_field *field, struct hid_usage *usage, usage 32 drivers/hid/hid-belkin.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER || usage 36 drivers/hid/hid-belkin.c switch (usage->hid & HID_USAGE) { usage 36 drivers/hid/hid-cherry.c #define ch_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ usage 39 drivers/hid/hid-cherry.c struct hid_field *field, struct hid_usage *usage, usage 42 drivers/hid/hid-cherry.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) usage 45 drivers/hid/hid-cherry.c switch (usage->hid & HID_USAGE) { usage 24 drivers/hid/hid-chicony.c #define ch_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ usage 27 drivers/hid/hid-chicony.c struct hid_field *field, struct hid_usage *usage, usage 30 drivers/hid/hid-chicony.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_MSVENDOR) usage 34 drivers/hid/hid-chicony.c switch (usage->hid & HID_USAGE) { usage 96 drivers/hid/hid-cmedia.c struct hid_usage *usage, unsigned long **bit, int *max) usage 110 drivers/hid/hid-core.c field->usage = (struct hid_usage *)(field + 1); usage 111 drivers/hid/hid-core.c field->value = (s32 *)(field->usage + usages); usage 124 drivers/hid/hid-core.c unsigned usage; usage 127 drivers/hid/hid-core.c usage = parser->local.usage[0]; usage 171 drivers/hid/hid-core.c collection->usage = usage; usage 209 drivers/hid/hid-core.c return collection[index].usage; usage 221 drivers/hid/hid-core.c parser->local.usage[index] &= 0xFFFF; usage 222 drivers/hid/hid-core.c parser->local.usage[index] |= usage 230 drivers/hid/hid-core.c static int hid_add_usage(struct hid_parser *parser, unsigned usage, u8 size) usage 236 drivers/hid/hid-core.c parser->local.usage[parser->local.usage_index] = usage; usage 316 drivers/hid/hid-core.c field->usage[i].hid = parser->local.usage[j]; usage 317 drivers/hid/hid-core.c field->usage[i].collection_index = usage 319 drivers/hid/hid-core.c field->usage[i].usage_index = i; usage 320 drivers/hid/hid-core.c field->usage[i].resolution_multiplier = 1; usage 592 drivers/hid/hid-core.c current_page = parser->local.usage[i] >> 16; usage 777 drivers/hid/hid-core.c static void hid_scan_input_usage(struct hid_parser *parser, u32 usage) usage 781 drivers/hid/hid-core.c if (usage == HID_DG_CONTACTID) usage 785 drivers/hid/hid-core.c static void hid_scan_feature_usage(struct hid_parser *parser, u32 usage) usage 787 drivers/hid/hid-core.c if (usage == 0xff0000c5 && parser->global.report_count == 256 && usage 791 drivers/hid/hid-core.c if (usage == 0xff0000c6 && parser->global.report_count == 1 && usage 812 drivers/hid/hid-core.c if (parser->local.usage[i] == HID_GD_POINTER) usage 839 drivers/hid/hid-core.c hid_scan_input_usage(parser, parser->local.usage[i]); usage 845 drivers/hid/hid-core.c hid_scan_feature_usage(parser, parser->local.usage[i]); usage 1053 drivers/hid/hid-core.c struct hid_usage *usage; usage 1063 drivers/hid/hid-core.c usage = &field->usage[i]; usage 1065 drivers/hid/hid-core.c collection = &hid->collection[usage->collection_index]; usage 1072 drivers/hid/hid-core.c usage->resolution_multiplier = effective_multiplier; usage 1105 drivers/hid/hid-core.c multiplier_collection = &hid->collection[multiplier->usage->collection_index]; usage 1150 drivers/hid/hid-core.c struct hid_usage *usage; usage 1161 drivers/hid/hid-core.c usage = &rep->field[i]->usage[j]; usage 1162 drivers/hid/hid-core.c if (usage->hid == HID_GD_RESOLUTION_MULTIPLIER) usage 1474 drivers/hid/hid-core.c static int hid_match_usage(struct hid_device *hid, struct hid_usage *usage) usage 1483 drivers/hid/hid-core.c id->usage_hid == usage->hid) && usage 1485 drivers/hid/hid-core.c id->usage_type == usage->type) && usage 1487 drivers/hid/hid-core.c id->usage_code == usage->code)) usage 1493 drivers/hid/hid-core.c struct hid_usage *usage, __s32 value, int interrupt) usage 1499 drivers/hid/hid-core.c hid_dump_input(hid, usage, value); usage 1501 drivers/hid/hid-core.c if (hdrv && hdrv->event && hid_match_usage(hid, usage)) { usage 1502 drivers/hid/hid-core.c ret = hdrv->event(hid, field, usage, value); usage 1512 drivers/hid/hid-core.c hidinput_hid_event(hid, field, usage, value); usage 1514 drivers/hid/hid-core.c hid->hiddev_hid_event(hid, field, usage, value); usage 1549 drivers/hid/hid-core.c field->usage[value[n] - min].hid == HID_UP_KEYBOARD + 1) usage 1556 drivers/hid/hid-core.c hid_process_event(hid, field, &field->usage[n], value[n], interrupt); usage 1562 drivers/hid/hid-core.c && field->usage[field->value[n] - min].hid usage 1564 drivers/hid/hid-core.c hid_process_event(hid, field, &field->usage[field->value[n] - min], 0, interrupt); usage 1568 drivers/hid/hid-core.c && field->usage[value[n] - min].hid usage 1570 drivers/hid/hid-core.c hid_process_event(hid, field, &field->usage[value[n] - min], 1, interrupt); usage 1649 drivers/hid/hid-core.c hid_dump_input(field->report->device, field->usage + offset, value); usage 1970 drivers/hid/hid-core.c (col->usage & HID_USAGE_PAGE) == HID_UP_GENDESK && usage 1971 drivers/hid/hid-core.c (col->usage & 0xffff) < ARRAY_SIZE(types)) { usage 1972 drivers/hid/hid-core.c type = types[col->usage & 0xffff]; usage 48 drivers/hid/hid-corsair.c static int corsair_usage_to_gkey(unsigned int usage) usage 51 drivers/hid/hid-corsair.c if (usage >= 0xd0 && usage <= 0xdf) usage 52 drivers/hid/hid-corsair.c return usage - 0xd0 + 1; usage 54 drivers/hid/hid-corsair.c if (usage >= 0xe8 && usage <= 0xe9) usage 55 drivers/hid/hid-corsair.c return usage - 0xe8 + 17; usage 601 drivers/hid/hid-corsair.c struct hid_usage *usage, __s32 value) usage 608 drivers/hid/hid-corsair.c switch (usage->hid & HID_USAGE) { usage 625 drivers/hid/hid-corsair.c struct hid_usage *usage, unsigned long **bit, usage 630 drivers/hid/hid-corsair.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_KEYBOARD) usage 633 drivers/hid/hid-corsair.c gkey = corsair_usage_to_gkey(usage->hid & HID_USAGE); usage 635 drivers/hid/hid-corsair.c hid_map_usage_clear(input, usage, bit, max, EV_KEY, usage 639 drivers/hid/hid-corsair.c if ((usage->hid & HID_USAGE) >= CORSAIR_USAGE_SPECIAL_MIN && usage 640 drivers/hid/hid-corsair.c (usage->hid & HID_USAGE) <= CORSAIR_USAGE_SPECIAL_MAX) { usage 641 drivers/hid/hid-corsair.c switch (usage->hid & HID_USAGE) { usage 643 drivers/hid/hid-corsair.c hid_map_usage_clear(input, usage, bit, max, EV_KEY, usage 648 drivers/hid/hid-corsair.c hid_map_usage_clear(input, usage, bit, max, EV_KEY, usage 653 drivers/hid/hid-corsair.c hid_map_usage_clear(input, usage, bit, max, EV_KEY, usage 658 drivers/hid/hid-corsair.c hid_map_usage_clear(input, usage, bit, max, EV_KEY, usage 663 drivers/hid/hid-corsair.c hid_map_usage_clear(input, usage, bit, max, EV_KEY, usage 213 drivers/hid/hid-cougar.c if (hdev->collection->usage == COUGAR_VENDOR_USAGE) { usage 233 drivers/hid/hid-cougar.c if (hdev->collection->usage == HID_GD_KEYBOARD) { usage 241 drivers/hid/hid-cougar.c } else if (hdev->collection->usage == COUGAR_VENDOR_USAGE) { usage 211 drivers/hid/hid-creative-sb0540.c struct hid_usage *usage, unsigned long **bit, int *max) usage 52 drivers/hid/hid-cypress.c struct hid_field *field, struct hid_usage *usage, usage 60 drivers/hid/hid-cypress.c if (usage->type == EV_REL && usage->code == REL_WHEEL) usage 62 drivers/hid/hid-cypress.c if (usage->hid == 0x00090005) usage 69 drivers/hid/hid-cypress.c struct hid_usage *usage, __s32 value) usage 74 drivers/hid/hid-cypress.c !usage->type || !(quirks & CP_2WHEEL_MOUSE_HACK)) usage 77 drivers/hid/hid-cypress.c if (usage->hid == 0x00090005) { usage 86 drivers/hid/hid-cypress.c if (usage->code == REL_WHEEL && (quirks & CP_2WHEEL_MOUSE_HACK_ON)) { usage 89 drivers/hid/hid-cypress.c input_event(input, usage->type, REL_HWHEEL, value); usage 35 drivers/hid/hid-debug.c unsigned usage; usage 473 drivers/hid/hid-debug.c char *hid_resolv_usage(unsigned usage, struct seq_file *f) { usage 478 drivers/hid/hid-debug.c buf = resolv_usage_page(usage >> 16, f); usage 494 drivers/hid/hid-debug.c if (p->page == (usage >> 16)) { usage 495 drivers/hid/hid-debug.c for(++p; p->description && p->usage != 0; p++) usage 496 drivers/hid/hid-debug.c if (p->usage == (usage & 0xffff)) { usage 511 drivers/hid/hid-debug.c "%04x", usage & 0xffff); usage 513 drivers/hid/hid-debug.c seq_printf(f, "%04x", usage & 0xffff); usage 542 drivers/hid/hid-debug.c tab(n+2, f); hid_resolv_usage(field->usage[j].hid, f); seq_printf(f, "\n"); usage 695 drivers/hid/hid-debug.c void hid_dump_input(struct hid_device *hdev, struct hid_usage *usage, __s32 value) usage 700 drivers/hid/hid-debug.c buf = hid_resolv_usage(usage->hid, NULL); usage 1015 drivers/hid/hid-debug.c struct hid_usage *usage; usage 1021 drivers/hid/hid-debug.c usage = report->field[i]->usage + j; usage 1022 drivers/hid/hid-debug.c hid_resolv_usage(usage->hid, f); usage 1024 drivers/hid/hid-debug.c hid_resolv_event(usage->type, usage->code, f); usage 245 drivers/hid/hid-dr.c #define map_abs(c) hid_map_usage(hi, usage, bit, max, EV_ABS, (c)) usage 246 drivers/hid/hid-dr.c #define map_rel(c) hid_map_usage(hi, usage, bit, max, EV_REL, (c)) usage 249 drivers/hid/hid-dr.c struct hid_field *field, struct hid_usage *usage, usage 252 drivers/hid/hid-dr.c switch (usage->hid) { usage 260 drivers/hid/hid-dr.c map_rel(usage->hid & 0xf); usage 262 drivers/hid/hid-dr.c map_abs(usage->hid & 0xf); usage 64 drivers/hid/hid-elan.c struct hid_field *field, struct hid_usage *usage, usage 22 drivers/hid/hid-ezkey.c #define ez_map_rel(c) hid_map_usage(hi, usage, bit, max, EV_REL, (c)) usage 23 drivers/hid/hid-ezkey.c #define ez_map_key(c) hid_map_usage(hi, usage, bit, max, EV_KEY, (c)) usage 26 drivers/hid/hid-ezkey.c struct hid_field *field, struct hid_usage *usage, usage 29 drivers/hid/hid-ezkey.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) usage 32 drivers/hid/hid-ezkey.c switch (usage->hid & HID_USAGE) { usage 48 drivers/hid/hid-ezkey.c struct hid_usage *usage, __s32 value) usage 51 drivers/hid/hid-ezkey.c !usage->type) usage 55 drivers/hid/hid-ezkey.c if (usage->type == EV_REL && usage->code == REL_HWHEEL) { usage 57 drivers/hid/hid-ezkey.c input_event(input, usage->type, REL_WHEEL, -value); usage 28 drivers/hid/hid-gfrm.c struct hid_field *field, struct hid_usage *usage, usage 34 drivers/hid/hid-gfrm.c if (usage->hid == (HID_UP_CONSUMER | 0x4)) { usage 36 drivers/hid/hid-gfrm.c hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_INFO); usage 40 drivers/hid/hid-gfrm.c if (usage->hid == (HID_UP_CONSUMER | 0x41)) { usage 42 drivers/hid/hid-gfrm.c hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_OK); usage 354 drivers/hid/hid-google-hammer.c struct hid_usage *usage, usage 358 drivers/hid/hid-google-hammer.c usage->hid == WHISKERS_KBD_FOLDED) { usage 371 drivers/hid/hid-google-hammer.c struct hid_usage *usage, __s32 value) usage 376 drivers/hid/hid-google-hammer.c usage->hid == WHISKERS_KBD_FOLDED) { usage 426 drivers/hid/hid-google-hammer.c if (field->usage[j].hid == HID_AD_BRIGHTNESS) usage 22 drivers/hid/hid-gyration.c #define gy_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ usage 25 drivers/hid/hid-gyration.c struct hid_field *field, struct hid_usage *usage, usage 28 drivers/hid/hid-gyration.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR) usage 32 drivers/hid/hid-gyration.c switch (usage->hid & HID_USAGE) { usage 55 drivers/hid/hid-gyration.c struct hid_usage *usage, __s32 value) usage 61 drivers/hid/hid-gyration.c if ((usage->hid & HID_USAGE_PAGE) == HID_UP_GENDESK && usage 62 drivers/hid/hid-gyration.c (usage->hid & 0xff) == 0x82) { usage 64 drivers/hid/hid-gyration.c input_event(input, usage->type, usage->code, 1); usage 66 drivers/hid/hid-gyration.c input_event(input, usage->type, usage->code, 0); usage 165 drivers/hid/hid-icade.c struct hid_usage *usage, __s32 value) usage 170 drivers/hid/hid-icade.c !usage->type) usage 177 drivers/hid/hid-icade.c trans = icade_find_translation(usage->hid & HID_USAGE); usage 182 drivers/hid/hid-icade.c input_event(field->hidinput->input, usage->type, usage 189 drivers/hid/hid-icade.c struct hid_field *field, struct hid_usage *usage, usage 194 drivers/hid/hid-icade.c if ((usage->hid & HID_USAGE_PAGE) == HID_UP_KEYBOARD) { usage 195 drivers/hid/hid-icade.c trans = icade_find_translation(usage->hid & HID_USAGE); usage 200 drivers/hid/hid-icade.c hid_map_usage(hi, usage, bit, max, EV_KEY, trans->to); usage 212 drivers/hid/hid-icade.c struct hid_field *field, struct hid_usage *usage, usage 215 drivers/hid/hid-icade.c if (usage->type == EV_KEY) usage 216 drivers/hid/hid-icade.c set_bit(usage->type, hi->input->evbit); usage 51 drivers/hid/hid-input.c #define map_abs(c) hid_map_usage(hidinput, usage, &bit, &max, EV_ABS, (c)) usage 52 drivers/hid/hid-input.c #define map_rel(c) hid_map_usage(hidinput, usage, &bit, &max, EV_REL, (c)) usage 53 drivers/hid/hid-input.c #define map_key(c) hid_map_usage(hidinput, usage, &bit, &max, EV_KEY, (c)) usage 54 drivers/hid/hid-input.c #define map_led(c) hid_map_usage(hidinput, usage, &bit, &max, EV_LED, (c)) usage 56 drivers/hid/hid-input.c #define map_abs_clear(c) hid_map_usage_clear(hidinput, usage, &bit, \ usage 58 drivers/hid/hid-input.c #define map_key_clear(c) hid_map_usage_clear(hidinput, usage, &bit, \ usage 61 drivers/hid/hid-input.c static bool match_scancode(struct hid_usage *usage, usage 64 drivers/hid/hid-input.c return (usage->hid & (HID_USAGE_PAGE | HID_USAGE)) == scancode; usage 67 drivers/hid/hid-input.c static bool match_keycode(struct hid_usage *usage, usage 73 drivers/hid/hid-input.c return (usage->type == EV_KEY && usage->code == keycode); usage 76 drivers/hid/hid-input.c static bool match_index(struct hid_usage *usage, usage 82 drivers/hid/hid-input.c typedef bool (*hid_usage_cmp_t)(struct hid_usage *usage, usage 92 drivers/hid/hid-input.c struct hid_usage *usage; usage 98 drivers/hid/hid-input.c usage = report->field[i]->usage + j; usage 99 drivers/hid/hid-input.c if (usage->type == EV_KEY || usage->type == 0) { usage 100 drivers/hid/hid-input.c if (match(usage, cur_idx, value)) { usage 103 drivers/hid/hid-input.c return usage; usage 118 drivers/hid/hid-input.c struct hid_usage *usage; usage 122 drivers/hid/hid-input.c usage = hidinput_find_key(hid, match_index, ke->index, index); usage 124 drivers/hid/hid-input.c usage = hidinput_find_key(hid, match_scancode, scancode, index); usage 126 drivers/hid/hid-input.c usage = NULL; usage 128 drivers/hid/hid-input.c return usage; usage 135 drivers/hid/hid-input.c struct hid_usage *usage; usage 138 drivers/hid/hid-input.c usage = hidinput_locate_usage(hid, ke, &index); usage 139 drivers/hid/hid-input.c if (usage) { usage 140 drivers/hid/hid-input.c ke->keycode = usage->type == EV_KEY ? usage 141 drivers/hid/hid-input.c usage->code : KEY_RESERVED; usage 143 drivers/hid/hid-input.c scancode = usage->hid & (HID_USAGE_PAGE | HID_USAGE); usage 157 drivers/hid/hid-input.c struct hid_usage *usage; usage 159 drivers/hid/hid-input.c usage = hidinput_locate_usage(hid, ke, NULL); usage 160 drivers/hid/hid-input.c if (usage) { usage 161 drivers/hid/hid-input.c *old_keycode = usage->type == EV_KEY ? usage 162 drivers/hid/hid-input.c usage->code : KEY_RESERVED; usage 163 drivers/hid/hid-input.c usage->code = ke->keycode; usage 166 drivers/hid/hid-input.c set_bit(usage->code, dev->keybit); usage 168 drivers/hid/hid-input.c usage->code, usage->hid); usage 560 drivers/hid/hid-input.c struct hid_usage *usage) usage 578 drivers/hid/hid-input.c (usage->hid & HID_USAGE_PAGE) != HID_UP_LED) { usage 584 drivers/hid/hid-input.c usage, &bit, &max); usage 591 drivers/hid/hid-input.c switch (usage->hid & HID_USAGE_PAGE) { usage 598 drivers/hid/hid-input.c if ((usage->hid & HID_USAGE) < 256) { usage 599 drivers/hid/hid-input.c if (!hid_keyboard[usage->hid & HID_USAGE]) goto ignore; usage 600 drivers/hid/hid-input.c map_key_clear(hid_keyboard[usage->hid & HID_USAGE]); usage 607 drivers/hid/hid-input.c code = ((usage->hid - 1) & HID_USAGE); usage 638 drivers/hid/hid-input.c switch (usage->hid & 0xffff) { usage 649 drivers/hid/hid-input.c if ((usage->hid & 0xf0) == 0x80) { /* SystemControl */ usage 650 drivers/hid/hid-input.c switch (usage->hid & 0xf) { usage 671 drivers/hid/hid-input.c if ((usage->hid & 0xf0) == 0xb0) { /* SC - Display */ usage 672 drivers/hid/hid-input.c switch (usage->hid & 0xf) { usage 688 drivers/hid/hid-input.c if ((usage->hid & 0xf0) == 0x90) { /* D-pad */ usage 689 drivers/hid/hid-input.c switch (usage->hid) { usage 690 drivers/hid/hid-input.c case HID_GD_UP: usage->hat_dir = 1; break; usage 691 drivers/hid/hid-input.c case HID_GD_DOWN: usage->hat_dir = 5; break; usage 692 drivers/hid/hid-input.c case HID_GD_RIGHT: usage->hat_dir = 3; break; usage 693 drivers/hid/hid-input.c case HID_GD_LEFT: usage->hat_dir = 7; break; usage 704 drivers/hid/hid-input.c switch (usage->hid) { usage 709 drivers/hid/hid-input.c map_rel(usage->hid & 0xf); usage 711 drivers/hid/hid-input.c map_abs_clear(usage->hid & 0xf); usage 719 drivers/hid/hid-input.c map_abs(usage->hid & 0xf); usage 724 drivers/hid/hid-input.c map_rel(usage->hid & 0xf); usage 726 drivers/hid/hid-input.c map_abs(usage->hid & 0xf); usage 730 drivers/hid/hid-input.c usage->hat_min = field->logical_minimum; usage 731 drivers/hid/hid-input.c usage->hat_max = field->logical_maximum; usage 753 drivers/hid/hid-input.c switch (usage->hid & 0xffff) { /* HID-Value: */ usage 776 drivers/hid/hid-input.c switch (usage->hid & 0xff) { usage 799 drivers/hid/hid-input.c usage->type = EV_PWR; usage 840 drivers/hid/hid-input.c usage->type = EV_MSC; usage 841 drivers/hid/hid-input.c usage->code = MSC_SERIAL; usage 851 drivers/hid/hid-input.c switch (usage->hid & HID_USAGE) { usage 874 drivers/hid/hid-input.c switch (usage->hid & HID_USAGE) { usage 1058 drivers/hid/hid-input.c switch (usage->hid) { usage 1061 drivers/hid/hid-input.c usage->type = EV_PWR; usage 1068 drivers/hid/hid-input.c switch (usage->hid & HID_USAGE) { usage 1087 drivers/hid/hid-input.c switch (usage->hid & HID_USAGE) { usage 1110 drivers/hid/hid-input.c switch (usage->hid & HID_USAGE) { usage 1136 drivers/hid/hid-input.c device->driver->input_mapped(device, hidinput, field, usage, usage 1145 drivers/hid/hid-input.c set_bit(usage->type, input->evbit); usage 1162 drivers/hid/hid-input.c while (usage->code <= max && test_and_set_bit(usage->code, bit)) { usage 1164 drivers/hid/hid-input.c usage->code = find_next_zero_bit(bit, usage 1166 drivers/hid/hid-input.c usage->code); usage 1173 drivers/hid/hid-input.c if (usage->code > max) usage 1176 drivers/hid/hid-input.c if (usage->type == EV_ABS) { usage 1181 drivers/hid/hid-input.c if ((device->quirks & HID_QUIRK_BADPAD) && (usage->code == ABS_X || usage->code == ABS_Y)) { usage 1187 drivers/hid/hid-input.c input_set_abs_params(input, usage->code, a, b, (b - a) >> 8, (b - a) >> 4); usage 1188 drivers/hid/hid-input.c else input_set_abs_params(input, usage->code, a, b, 0, 0); usage 1190 drivers/hid/hid-input.c input_abs_set_res(input, usage->code, usage 1191 drivers/hid/hid-input.c hidinput_calc_abs_res(field, usage->code)); usage 1194 drivers/hid/hid-input.c if (usage->code == ABS_MT_POSITION_X && input->hint_events_per_packet == 0) usage 1198 drivers/hid/hid-input.c if (usage->type == EV_ABS && usage 1199 drivers/hid/hid-input.c (usage->hat_min < usage->hat_max || usage->hat_dir)) { usage 1201 drivers/hid/hid-input.c for (i = usage->code; i < usage->code + 2 && i <= max; i++) { usage 1205 drivers/hid/hid-input.c if (usage->hat_dir && !field->dpad) usage 1206 drivers/hid/hid-input.c field->dpad = usage->code; usage 1213 drivers/hid/hid-input.c if ((usage->type == EV_ABS) && (field->flags & HID_MAIN_ITEM_RELATIVE) && usage 1214 drivers/hid/hid-input.c (usage->code == ABS_VOLUME)) { usage 1219 drivers/hid/hid-input.c if (usage->type == EV_KEY) { usage 1227 drivers/hid/hid-input.c usage->type = 0; usage 1228 drivers/hid/hid-input.c usage->code = 0; usage 1231 drivers/hid/hid-input.c static void hidinput_handle_scroll(struct hid_usage *usage, usage 1241 drivers/hid/hid-input.c if (usage->code == REL_WHEEL_HI_RES) usage 1252 drivers/hid/hid-input.c hi_res = value * 120/usage->resolution_multiplier; usage 1254 drivers/hid/hid-input.c usage->wheel_accumulated += hi_res; usage 1255 drivers/hid/hid-input.c lo_res = usage->wheel_accumulated/120; usage 1257 drivers/hid/hid-input.c usage->wheel_accumulated -= lo_res * 120; usage 1260 drivers/hid/hid-input.c input_event(input, EV_REL, usage->code, hi_res); usage 1263 drivers/hid/hid-input.c void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) usage 1268 drivers/hid/hid-input.c if (!usage->type) usage 1271 drivers/hid/hid-input.c if (usage->type == EV_PWR) { usage 1281 drivers/hid/hid-input.c if (usage->hat_min < usage->hat_max || usage->hat_dir) { usage 1282 drivers/hid/hid-input.c int hat_dir = usage->hat_dir; usage 1284 drivers/hid/hid-input.c hat_dir = (value - usage->hat_min) * 8 / (usage->hat_max - usage->hat_min + 1) + 1; usage 1286 drivers/hid/hid-input.c input_event(input, usage->type, usage->code , hid_hat_to_axis[hat_dir].x); usage 1287 drivers/hid/hid-input.c input_event(input, usage->type, usage->code + 1, hid_hat_to_axis[hat_dir].y); usage 1291 drivers/hid/hid-input.c if (usage->hid == (HID_UP_DIGITIZER | 0x003c)) { /* Invert */ usage 1296 drivers/hid/hid-input.c if (usage->hid == (HID_UP_DIGITIZER | 0x0032)) { /* InRange */ usage 1298 drivers/hid/hid-input.c input_event(input, usage->type, (*quirks & HID_QUIRK_INVERT) ? BTN_TOOL_RUBBER : usage->code, 1); usage 1301 drivers/hid/hid-input.c input_event(input, usage->type, usage->code, 0); usage 1302 drivers/hid/hid-input.c input_event(input, usage->type, BTN_TOOL_RUBBER, 0); usage 1306 drivers/hid/hid-input.c if (usage->hid == (HID_UP_DIGITIZER | 0x0030) && (*quirks & HID_QUIRK_NOTOUCH)) { /* Pressure */ usage 1312 drivers/hid/hid-input.c if (usage->hid == (HID_UP_PID | 0x83UL)) { /* Simultaneous Effects Max */ usage 1317 drivers/hid/hid-input.c if (usage->hid == (HID_UP_PID | 0x7fUL)) { usage 1322 drivers/hid/hid-input.c if ((usage->type == EV_KEY) && (usage->code == 0)) /* Key 0 is "unassigned", not KEY_UNKNOWN */ usage 1325 drivers/hid/hid-input.c if ((usage->type == EV_REL) && (usage->code == REL_WHEEL_HI_RES || usage 1326 drivers/hid/hid-input.c usage->code == REL_HWHEEL_HI_RES)) { usage 1327 drivers/hid/hid-input.c hidinput_handle_scroll(usage, input, value); usage 1331 drivers/hid/hid-input.c if ((usage->type == EV_ABS) && (field->flags & HID_MAIN_ITEM_RELATIVE) && usage 1332 drivers/hid/hid-input.c (usage->code == ABS_VOLUME)) { usage 1383 drivers/hid/hid-input.c usage->usage_index < field->maxusage && usage 1384 drivers/hid/hid-input.c value == field->value[usage->usage_index]) usage 1388 drivers/hid/hid-input.c if (usage->type == EV_KEY && usage 1389 drivers/hid/hid-input.c (!test_bit(usage->code, input->key)) == value) usage 1390 drivers/hid/hid-input.c input_event(input, EV_MSC, MSC_SCAN, usage->hid); usage 1392 drivers/hid/hid-input.c input_event(input, usage->type, usage->code, value); usage 1395 drivers/hid/hid-input.c usage->type == EV_KEY && value) { usage 1397 drivers/hid/hid-input.c input_event(input, usage->type, usage->code, 0); usage 1422 drivers/hid/hid-input.c if ((*field)->usage[j].type == type && (*field)->usage[j].code == code) usage 1442 drivers/hid/hid-input.c if (field->usage[j].type == EV_LED) usage 1463 drivers/hid/hid-input.c if (field->usage[j].type == EV_LED && usage 1561 drivers/hid/hid-input.c struct hid_usage *usage; usage 1591 drivers/hid/hid-input.c usage = &report->field[i]->usage[j]; usage 1593 drivers/hid/hid-input.c if (usage->hid != HID_GD_RESOLUTION_MULTIPLIER) usage 1634 drivers/hid/hid-input.c struct hid_usage *usage; usage 1645 drivers/hid/hid-input.c usage = &rep->field[i]->usage[j]; usage 1648 drivers/hid/hid-input.c if (usage->hid == HID_DC_BATTERYSTRENGTH) usage 1653 drivers/hid/hid-input.c drv->feature_mapping(hid, rep->field[i], usage); usage 1847 drivers/hid/hid-input.c report->field[i]->usage + j); usage 1874 drivers/hid/hid-input.c if (IS_INPUT_APPLICATION(col->usage)) usage 15 drivers/hid/hid-ite.c struct hid_usage *usage, __s32 value) usage 29 drivers/hid/hid-ite.c if (usage->hid == HID_GD_RFKILL_BTN) { usage 22 drivers/hid/hid-jabra.c struct hid_usage *usage, usage 26 drivers/hid/hid-jabra.c ((usage->hid & HID_USAGE_PAGE) >= HID_UP_VENDOR_DEFINED_MIN && usage 27 drivers/hid/hid-jabra.c (usage->hid & HID_USAGE_PAGE) <= HID_UP_VENDOR_DEFINED_MAX); usage 30 drivers/hid/hid-jabra.c usage->hid, usage 32 drivers/hid/hid-jabra.c usage->collection_index, usage 33 drivers/hid/hid-jabra.c usage->usage_index, usage 18 drivers/hid/hid-kensington.c #define ks_map_key(c) hid_map_usage(hi, usage, bit, max, EV_KEY, (c)) usage 21 drivers/hid/hid-kensington.c struct hid_field *field, struct hid_usage *usage, usage 24 drivers/hid/hid-kensington.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_MSVENDOR) usage 27 drivers/hid/hid-kensington.c switch (usage->hid & HID_USAGE) { usage 18 drivers/hid/hid-lcpower.c #define ts_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ usage 21 drivers/hid/hid-lcpower.c struct hid_field *field, struct hid_usage *usage, usage 24 drivers/hid/hid-lcpower.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR) usage 27 drivers/hid/hid-lcpower.c switch (usage->hid & HID_USAGE) { usage 53 drivers/hid/hid-lenovo.c #define map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c)) usage 86 drivers/hid/hid-lenovo.c struct hid_usage *usage, unsigned long **bit, int *max) usage 88 drivers/hid/hid-lenovo.c if (usage->hid == (HID_UP_BUTTON | 0x0010)) { usage 99 drivers/hid/hid-lenovo.c struct hid_usage *usage, unsigned long **bit, int *max) usage 102 drivers/hid/hid-lenovo.c if ((usage->hid & HID_USAGE_PAGE) == HID_UP_MSVENDOR || usage 103 drivers/hid/hid-lenovo.c (usage->hid & HID_USAGE_PAGE) == HID_UP_LNVENDOR) { usage 104 drivers/hid/hid-lenovo.c switch (usage->hid & HID_USAGE) { usage 140 drivers/hid/hid-lenovo.c if (usage->hid == HID_GD_WHEEL) usage 142 drivers/hid/hid-lenovo.c if ((usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON && usage 143 drivers/hid/hid-lenovo.c (usage->hid & HID_USAGE) == 0x003) usage 145 drivers/hid/hid-lenovo.c if ((usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER && usage 146 drivers/hid/hid-lenovo.c (usage->hid & HID_USAGE) == 0x238) usage 150 drivers/hid/hid-lenovo.c if ((usage->hid & HID_USAGE_PAGE) == 0xff100000 || usage 151 drivers/hid/hid-lenovo.c (usage->hid & HID_USAGE_PAGE) == 0xffa10000) { usage 156 drivers/hid/hid-lenovo.c switch (usage->hid & HID_USAGE) { usage 158 drivers/hid/hid-lenovo.c hid_map_usage(hi, usage, bit, max, EV_REL, REL_HWHEEL); usage 161 drivers/hid/hid-lenovo.c hid_map_usage(hi, usage, bit, max, EV_REL, REL_WHEEL); usage 173 drivers/hid/hid-lenovo.c struct hid_usage *usage, unsigned long **bit, int *max) usage 175 drivers/hid/hid-lenovo.c if (usage->hid == HID_GD_Z) { usage 176 drivers/hid/hid-lenovo.c hid_map_usage(hi, usage, bit, max, EV_REL, REL_HWHEEL); usage 184 drivers/hid/hid-lenovo.c struct hid_usage *usage, unsigned long **bit, int *max) usage 189 drivers/hid/hid-lenovo.c usage, bit, max); usage 193 drivers/hid/hid-lenovo.c usage, bit, max); usage 201 drivers/hid/hid-lenovo.c usage, bit, max); usage 358 drivers/hid/hid-lenovo.c struct hid_field *field, struct hid_usage *usage, __s32 value) usage 363 drivers/hid/hid-lenovo.c if (usage->type == EV_REL && (usage->code == REL_WHEEL || usage 364 drivers/hid/hid-lenovo.c usage->code == REL_HWHEEL)) { usage 371 drivers/hid/hid-lenovo.c if (usage->type == EV_KEY && usage->code == BTN_MIDDLE) { usage 393 drivers/hid/hid-lenovo.c struct hid_usage *usage, __s32 value) usage 398 drivers/hid/hid-lenovo.c return lenovo_event_cptkbd(hdev, field, usage, value); usage 535 drivers/hid/hid-lg.c #define lg_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ usage 539 drivers/hid/hid-lg.c struct hid_usage *usage, unsigned long **bit, int *max) usage 541 drivers/hid/hid-lg.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR) usage 545 drivers/hid/hid-lg.c switch (usage->hid & HID_USAGE) { usage 571 drivers/hid/hid-lg.c static int lg_dinovo_mapping(struct hid_input *hi, struct hid_usage *usage, usage 574 drivers/hid/hid-lg.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR) usage 577 drivers/hid/hid-lg.c switch (usage->hid & HID_USAGE) { usage 587 drivers/hid/hid-lg.c static int lg_wireless_mapping(struct hid_input *hi, struct hid_usage *usage, usage 590 drivers/hid/hid-lg.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) usage 593 drivers/hid/hid-lg.c switch (usage->hid & HID_USAGE) { usage 649 drivers/hid/hid-lg.c struct hid_field *field, struct hid_usage *usage, usage 665 drivers/hid/hid-lg.c unsigned int hid = usage->hid; usage 668 drivers/hid/hid-lg.c lg_ultrax_remote_mapping(hi, usage, bit, max)) usage 672 drivers/hid/hid-lg.c lg_dinovo_mapping(hi, usage, bit, max)) usage 675 drivers/hid/hid-lg.c if ((drv_data->quirks & LG_WIRELESS) && lg_wireless_mapping(hi, usage, bit, max)) usage 692 drivers/hid/hid-lg.c hid_map_usage(hi, usage, bit, max, EV_KEY, usage 702 drivers/hid/hid-lg.c struct hid_field *field, struct hid_usage *usage, usage 707 drivers/hid/hid-lg.c if ((drv_data->quirks & LG_BAD_RELATIVE_KEYS) && usage->type == EV_KEY && usage 711 drivers/hid/hid-lg.c if ((drv_data->quirks & LG_DUPLICATE_USAGES) && (usage->type == EV_KEY || usage 712 drivers/hid/hid-lg.c usage->type == EV_REL || usage->type == EV_ABS)) usage 713 drivers/hid/hid-lg.c clear_bit(usage->code, *bit); usage 716 drivers/hid/hid-lg.c if (usage->type == EV_ABS && (usage->code == ABS_X || usage 717 drivers/hid/hid-lg.c usage->code == ABS_Y || usage->code == ABS_Z || usage 718 drivers/hid/hid-lg.c usage->code == ABS_RZ)) { usage 743 drivers/hid/hid-lg.c struct hid_usage *usage, __s32 value) usage 747 drivers/hid/hid-lg.c if ((drv_data->quirks & LG_INVERT_HWHEEL) && usage->code == REL_HWHEEL) { usage 748 drivers/hid/hid-lg.c input_event(field->hidinput->input, usage->type, usage->code, usage 753 drivers/hid/hid-lg.c return lg4ff_adjust_input_event(hdev, field, usage, value, drv_data); usage 301 drivers/hid/hid-lg4ff.c struct hid_usage *usage, s32 value, struct lg_drv_data *drv_data) usage 313 drivers/hid/hid-lg4ff.c switch (usage->code) { usage 316 drivers/hid/hid-lg4ff.c input_event(field->hidinput->input, usage->type, usage->code, new_value); usage 9 drivers/hid/hid-lg4ff.h struct hid_usage *usage, s32 value, struct lg_drv_data *drv_data); usage 16 drivers/hid/hid-lg4ff.h struct hid_usage *usage, s32 value, struct lg_drv_data *drv_data) { return 0; } usage 2204 drivers/hid/hid-logitech-hidpp.c struct hid_field *field, struct hid_usage *usage, usage 2604 drivers/hid/hid-logitech-hidpp.c struct hid_field *field, struct hid_usage *usage, usage 2992 drivers/hid/hid-logitech-hidpp.c struct hid_field *field, struct hid_usage *usage, usage 3001 drivers/hid/hid-logitech-hidpp.c return wtp_input_mapping(hdev, hi, field, usage, bit, max); usage 3004 drivers/hid/hid-logitech-hidpp.c return m560_input_mapping(hdev, hi, field, usage, bit, max); usage 3010 drivers/hid/hid-logitech-hidpp.c struct hid_field *field, struct hid_usage *usage, usage 3020 drivers/hid/hid-logitech-hidpp.c if (usage->type == EV_ABS && (usage->code == ABS_X || usage 3021 drivers/hid/hid-logitech-hidpp.c usage->code == ABS_Y || usage->code == ABS_Z || usage 3022 drivers/hid/hid-logitech-hidpp.c usage->code == ABS_RZ)) { usage 3189 drivers/hid/hid-logitech-hidpp.c struct hid_usage *usage, __s32 value) usage 543 drivers/hid/hid-magicmouse.c struct hid_usage *usage, unsigned long **bit, int *max) usage 78 drivers/hid/hid-microsoft.c #define ms_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ usage 80 drivers/hid/hid-microsoft.c static int ms_ergonomy_kb_quirk(struct hid_input *hi, struct hid_usage *usage, usage 85 drivers/hid/hid-microsoft.c if ((usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER) { usage 86 drivers/hid/hid-microsoft.c switch (usage->hid & HID_USAGE) { usage 101 drivers/hid/hid-microsoft.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_MSVENDOR) usage 104 drivers/hid/hid-microsoft.c switch (usage->hid & HID_USAGE) { usage 115 drivers/hid/hid-microsoft.c hid_map_usage_clear(hi, usage, bit, max, EV_REL, REL_WHEEL); usage 142 drivers/hid/hid-microsoft.c static int ms_presenter_8k_quirk(struct hid_input *hi, struct hid_usage *usage, usage 145 drivers/hid/hid-microsoft.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_MSVENDOR) usage 149 drivers/hid/hid-microsoft.c switch (usage->hid & HID_USAGE) { usage 162 drivers/hid/hid-microsoft.c struct hid_usage *usage, unsigned long **bit, int *max) usage 164 drivers/hid/hid-microsoft.c switch (usage->hid & HID_USAGE_PAGE) { usage 171 drivers/hid/hid-microsoft.c switch (usage->hid) { usage 186 drivers/hid/hid-microsoft.c struct hid_field *field, struct hid_usage *usage, usage 193 drivers/hid/hid-microsoft.c int ret = ms_ergonomy_kb_quirk(hi, usage, bit, max); usage 199 drivers/hid/hid-microsoft.c ms_presenter_8k_quirk(hi, usage, bit, max)) usage 203 drivers/hid/hid-microsoft.c int ret = ms_surface_dial_quirk(hi, field, usage, bit, max); usage 213 drivers/hid/hid-microsoft.c struct hid_field *field, struct hid_usage *usage, usage 220 drivers/hid/hid-microsoft.c clear_bit(usage->code, *bit); usage 226 drivers/hid/hid-microsoft.c struct hid_usage *usage, __s32 value) usage 233 drivers/hid/hid-microsoft.c !usage->type) usage 239 drivers/hid/hid-microsoft.c if (quirks & MS_ERGONOMY && usage->hid == (HID_UP_MSVENDOR | 0xff00)) { usage 247 drivers/hid/hid-microsoft.c if (quirks & MS_ERGONOMY && usage->hid == (HID_UP_MSVENDOR | 0xff01)) { usage 262 drivers/hid/hid-microsoft.c if (quirks & MS_ERGONOMY && usage->hid == (HID_UP_MSVENDOR | 0xff05)) { usage 273 drivers/hid/hid-microsoft.c input_event(input, usage->type, key, 1); usage 276 drivers/hid/hid-microsoft.c input_event(input, usage->type, last_key, 0); usage 31 drivers/hid/hid-monterey.c #define mr_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ usage 34 drivers/hid/hid-monterey.c struct hid_field *field, struct hid_usage *usage, usage 37 drivers/hid/hid-monterey.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) usage 40 drivers/hid/hid-monterey.c switch (usage->hid & HID_USAGE) { usage 458 drivers/hid/hid-multitouch.c struct hid_field *field, struct hid_usage *usage) usage 462 drivers/hid/hid-multitouch.c switch (usage->hid) { usage 476 drivers/hid/hid-multitouch.c if (usage->usage_index >= field->report_count) { usage 482 drivers/hid/hid-multitouch.c if (field->value[usage->usage_index] == MT_BUTTONTYPE_CLICKPAD) usage 488 drivers/hid/hid-multitouch.c if (usage->usage_index == 0) usage 507 drivers/hid/hid-multitouch.c struct mt_usages *usage; usage 509 drivers/hid/hid-multitouch.c usage = devm_kzalloc(&hdev->dev, sizeof(*usage), GFP_KERNEL); usage 510 drivers/hid/hid-multitouch.c if (!usage) usage 514 drivers/hid/hid-multitouch.c usage->x = DEFAULT_ZERO; usage 515 drivers/hid/hid-multitouch.c usage->y = DEFAULT_ZERO; usage 516 drivers/hid/hid-multitouch.c usage->cx = DEFAULT_ZERO; usage 517 drivers/hid/hid-multitouch.c usage->cy = DEFAULT_ZERO; usage 518 drivers/hid/hid-multitouch.c usage->p = DEFAULT_ZERO; usage 519 drivers/hid/hid-multitouch.c usage->w = DEFAULT_ZERO; usage 520 drivers/hid/hid-multitouch.c usage->h = DEFAULT_ZERO; usage 521 drivers/hid/hid-multitouch.c usage->a = DEFAULT_ZERO; usage 522 drivers/hid/hid-multitouch.c usage->contactid = DEFAULT_ZERO; usage 523 drivers/hid/hid-multitouch.c usage->tip_state = DEFAULT_FALSE; usage 524 drivers/hid/hid-multitouch.c usage->inrange_state = DEFAULT_FALSE; usage 525 drivers/hid/hid-multitouch.c usage->confidence_state = DEFAULT_TRUE; usage 527 drivers/hid/hid-multitouch.c list_add_tail(&usage->list, &application->mt_usages); usage 529 drivers/hid/hid-multitouch.c return usage; usage 615 drivers/hid/hid-multitouch.c if (field->usage[n].hid == HID_DG_CONTACTID) usage 648 drivers/hid/hid-multitouch.c struct mt_usages *usage; usage 652 drivers/hid/hid-multitouch.c usage = mt_allocate_usage(hdev, application); usage 654 drivers/hid/hid-multitouch.c usage = list_last_entry(&application->mt_usages, usage 658 drivers/hid/hid-multitouch.c if (!usage) usage 661 drivers/hid/hid-multitouch.c target = (__s32 **)((char *)usage + offset); usage 667 drivers/hid/hid-multitouch.c if (usage->contactid == DEFAULT_ZERO || usage 668 drivers/hid/hid-multitouch.c usage->x == DEFAULT_ZERO || usage 669 drivers/hid/hid-multitouch.c usage->y == DEFAULT_ZERO) { usage 674 drivers/hid/hid-multitouch.c usage = mt_allocate_usage(hdev, application); usage 675 drivers/hid/hid-multitouch.c if (!usage) usage 678 drivers/hid/hid-multitouch.c target = (__s32 **)((char *)usage + offset); usage 686 drivers/hid/hid-multitouch.c &field->value[usage->usage_index], \ usage 690 drivers/hid/hid-multitouch.c struct hid_field *field, struct hid_usage *usage, usage 702 drivers/hid/hid-multitouch.c (usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON) { usage 708 drivers/hid/hid-multitouch.c if ((usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON) usage 711 drivers/hid/hid-multitouch.c if (usage->usage_index) usage 712 drivers/hid/hid-multitouch.c prev_usage = &field->usage[usage->usage_index - 1]; usage 714 drivers/hid/hid-multitouch.c switch (usage->hid & HID_USAGE_PAGE) { usage 717 drivers/hid/hid-multitouch.c switch (usage->hid) { usage 719 drivers/hid/hid-multitouch.c if (prev_usage && (prev_usage->hid == usage->hid)) { usage 744 drivers/hid/hid-multitouch.c if (prev_usage && (prev_usage->hid == usage->hid)) { usage 759 drivers/hid/hid-multitouch.c switch (usage->hid) { usage 821 drivers/hid/hid-multitouch.c app->scantime = &field->value[usage->usage_index]; usage 826 drivers/hid/hid-multitouch.c app->raw_cc = &field->value[usage->usage_index]; usage 853 drivers/hid/hid-multitouch.c code = BTN_MOUSE + ((usage->hid - 1) & HID_USAGE); usage 860 drivers/hid/hid-multitouch.c (usage->hid & HID_USAGE) > 1) usage 864 drivers/hid/hid-multitouch.c code = BTN_0 + ((usage->hid - 1) & HID_USAGE); usage 866 drivers/hid/hid-multitouch.c hid_map_usage(hi, usage, bit, max, EV_KEY, code); usage 968 drivers/hid/hid-multitouch.c struct hid_usage *usage, __s32 value) usage 972 drivers/hid/hid-multitouch.c hid->hiddev_hid_event(hid, field, usage, value); usage 1107 drivers/hid/hid-multitouch.c struct hid_usage *usage, usage 1114 drivers/hid/hid-multitouch.c if (!usage->type || !(hid->claimed & HID_CLAIMED_INPUT)) usage 1134 drivers/hid/hid-multitouch.c if (usage->type == EV_KEY && usage->code == BTN_LEFT) { usage 1140 drivers/hid/hid-multitouch.c input_event(input, usage->type, usage->code, value); usage 1207 drivers/hid/hid-multitouch.c &field->usage[n], field->value[n], usage 1288 drivers/hid/hid-multitouch.c #define mt_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, \ usage 1291 drivers/hid/hid-multitouch.c struct hid_field *field, struct hid_usage *usage, usage 1332 drivers/hid/hid-multitouch.c (usage->hid & HID_USAGE_PAGE) == HID_UP_CUSTOM) { usage 1336 drivers/hid/hid-multitouch.c switch (usage->hid & HID_USAGE) { usage 1349 drivers/hid/hid-multitouch.c return mt_touch_input_mapping(hdev, hi, field, usage, bit, max, usage 1364 drivers/hid/hid-multitouch.c struct hid_field *field, struct hid_usage *usage, usage 1381 drivers/hid/hid-multitouch.c struct hid_usage *usage, __s32 value) usage 1388 drivers/hid/hid-multitouch.c return mt_touch_event(hid, field, usage, value); usage 1412 drivers/hid/hid-multitouch.c struct hid_usage *usage, usage 1421 drivers/hid/hid-multitouch.c unsigned int index = usage->usage_index; usage 1426 drivers/hid/hid-multitouch.c switch (usage->hid) { usage 1486 drivers/hid/hid-multitouch.c struct hid_usage *usage; usage 1501 drivers/hid/hid-multitouch.c usage = &rep->field[i]->usage[j]; usage 1505 drivers/hid/hid-multitouch.c usage, usage 1612 drivers/hid/hid-multitouch.c static void mt_fix_const_field(struct hid_field *field, unsigned int usage) usage 1614 drivers/hid/hid-multitouch.c if (field->usage[0].hid != usage || usage 1622 drivers/hid/hid-multitouch.c static void mt_fix_const_fields(struct hid_device *hdev, unsigned int usage) usage 1636 drivers/hid/hid-multitouch.c mt_fix_const_field(report->field[i], usage); usage 455 drivers/hid/hid-ntrig.c struct hid_field *field, struct hid_usage *usage, usage 464 drivers/hid/hid-ntrig.c switch (usage->hid & HID_USAGE_PAGE) { usage 466 drivers/hid/hid-ntrig.c switch (usage->hid) { usage 468 drivers/hid/hid-ntrig.c hid_map_usage(hi, usage, bit, max, usage 490 drivers/hid/hid-ntrig.c hid_map_usage(hi, usage, bit, max, usage 515 drivers/hid/hid-ntrig.c switch (usage->hid) { usage 525 drivers/hid/hid-ntrig.c hid_map_usage(hi, usage, bit, max, usage 529 drivers/hid/hid-ntrig.c hid_map_usage(hi, usage, bit, max, usage 546 drivers/hid/hid-ntrig.c struct hid_field *field, struct hid_usage *usage, usage 553 drivers/hid/hid-ntrig.c if (usage->type == EV_KEY || usage->type == EV_REL usage 554 drivers/hid/hid-ntrig.c || usage->type == EV_ABS) usage 555 drivers/hid/hid-ntrig.c clear_bit(usage->code, *bit); usage 567 drivers/hid/hid-ntrig.c struct hid_usage *usage, __s32 value) usage 587 drivers/hid/hid-ntrig.c switch (usage->hid) { usage 853 drivers/hid/hid-ntrig.c hid->hiddev_hid_event(hid, field, usage, value); usage 20 drivers/hid/hid-penmount.c struct hid_usage *usage, unsigned long **bit, int *max) usage 22 drivers/hid/hid-penmount.c if ((usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON) { usage 23 drivers/hid/hid-penmount.c if (((usage->hid - 1) & HID_USAGE) == 0) { usage 24 drivers/hid/hid-penmount.c hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_TOUCH); usage 35 drivers/hid/hid-petalynx.c #define pl_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ usage 38 drivers/hid/hid-petalynx.c struct hid_field *field, struct hid_usage *usage, usage 41 drivers/hid/hid-petalynx.c if ((usage->hid & HID_USAGE_PAGE) == HID_UP_LOGIVENDOR) { usage 42 drivers/hid/hid-petalynx.c switch (usage->hid & HID_USAGE) { usage 54 drivers/hid/hid-petalynx.c if ((usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER) { usage 55 drivers/hid/hid-petalynx.c switch (usage->hid & HID_USAGE) { usage 124 drivers/hid/hid-pl.c report->field[0]->usage[0].hid == usage 37 drivers/hid/hid-plantronics.c (usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER) usage 42 drivers/hid/hid-plantronics.c struct hid_usage *usage, usage 75 drivers/hid/hid-plantronics.c switch (usage->hid) { usage 98 drivers/hid/hid-plantronics.c usage->hid, field->application); usage 102 drivers/hid/hid-plantronics.c hid_map_usage_clear(hi, usage, bit, max, EV_KEY, mapped_key); usage 104 drivers/hid/hid-plantronics.c usage->hid, field->application, mapped_key); usage 119 drivers/hid/hid-plantronics.c col_page = hdev->collection[i].usage & HID_USAGE_PAGE; usage 121 drivers/hid/hid-plantronics.c plt_type = hdev->collection[i].usage; usage 125 drivers/hid/hid-plantronics.c plt_type = hdev->collection[i].usage; usage 759 drivers/hid/hid-prodikeys.c struct hid_field *field, struct hid_usage *usage, usage 767 drivers/hid/hid-prodikeys.c if (HID_UP_MSVENDOR == (usage->hid & HID_USAGE_PAGE) && usage 400 drivers/hid/hid-rmi.c struct hid_usage *usage, __s32 value) usage 408 drivers/hid/hid-rmi.c if ((usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON) usage 411 drivers/hid/hid-rmi.c if ((usage->hid == HID_GD_X || usage->hid == HID_GD_Y) usage 545 drivers/hid/hid-rmi.c struct hid_usage *usage, unsigned long **bit, int *max) usage 555 drivers/hid/hid-rmi.c ((usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON)) usage 151 drivers/hid/hid-saitek.c struct hid_usage *usage, __s32 value) usage 156 drivers/hid/hid-saitek.c if (usage->type == EV_KEY && value && usage 158 drivers/hid/hid-saitek.c usage->code - BTN_MOUSE == 10) || usage 160 drivers/hid/hid-saitek.c usage->code - BTN_MOUSE == 15))) { usage 162 drivers/hid/hid-saitek.c input_report_key(input, usage->code, 1); usage 165 drivers/hid/hid-saitek.c input_report_key(input, usage->code, 0); usage 93 drivers/hid/hid-samsung.c hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c)) usage 96 drivers/hid/hid-samsung.c struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, usage 102 drivers/hid/hid-samsung.c if (1 != ifnum || HID_UP_CONSUMER != (usage->hid & HID_USAGE_PAGE)) usage 106 drivers/hid/hid-samsung.c usage->hid & HID_USAGE); usage 108 drivers/hid/hid-samsung.c switch (usage->hid & HID_USAGE) { usage 137 drivers/hid/hid-samsung.c struct hid_field *field, struct hid_usage *usage, usage 144 drivers/hid/hid-samsung.c hi, field, usage, bit, max); usage 278 drivers/hid/hid-sensor-custom.c int index, usage, field_index; usage 284 drivers/hid/hid-sensor-custom.c if (sscanf(attr->attr.name, "feature-%x-%x-%s", &index, &usage, usage 288 drivers/hid/hid-sensor-custom.c } else if (sscanf(attr->attr.name, "input-%x-%x-%s", &index, &usage, usage 348 drivers/hid/hid-sensor-custom.c sensor_inst->hsdev->usage, usage 349 drivers/hid/hid-sensor-custom.c usage, report_id, usage 366 drivers/hid/hid-sensor-custom.c usage_desc = bsearch(&usage, hid_custom_usage_desc_table, usage 385 drivers/hid/hid-sensor-custom.c int index, field_index, usage; usage 389 drivers/hid/hid-sensor-custom.c if (sscanf(attr->attr.name, "feature-%x-%x-%s", &index, &usage, usage 435 drivers/hid/hid-sensor-custom.c header.usage_id = hsdev->usage; usage 487 drivers/hid/hid-sensor-custom.c sensor_field->attribute.usage_id = sensor_inst->hsdev->usage; usage 491 drivers/hid/hid-sensor-custom.c sensor_field->attribute.attrib_id = field->usage[0].hid; usage 537 drivers/hid/hid-sensor-custom.c ((field->usage[0].collection_index >= usage 539 drivers/hid/hid-sensor-custom.c (field->usage[0].collection_index < usage 767 drivers/hid/hid-sensor-custom.c ret = sensor_hub_register_callback(hsdev, hsdev->usage, usage 795 drivers/hid/hid-sensor-custom.c sensor_hub_remove_callback(hsdev, hsdev->usage); usage 809 drivers/hid/hid-sensor-custom.c sensor_hub_remove_callback(hsdev, hsdev->usage); usage 361 drivers/hid/hid-sensor-hub.c if (field->usage[i].hid == usage_id) usage 362 drivers/hid/hid-sensor-hub.c return field->usage[i].usage_index; usage 398 drivers/hid/hid-sensor-hub.c field->usage[0].hid == usage 400 drivers/hid/hid-sensor-hub.c (field->usage[0].collection_index >= usage 402 drivers/hid/hid-sensor-hub.c (field->usage[0].collection_index < usage 492 drivers/hid/hid-sensor-hub.c i, report->field[i]->usage->collection_index, usage 493 drivers/hid/hid-sensor-hub.c report->field[i]->usage->hid, usage 499 drivers/hid/hid-sensor-hub.c report->field[i]->usage->collection_index]; usage 501 drivers/hid/hid-sensor-hub.c collection->usage); usage 505 drivers/hid/hid-sensor-hub.c report->field[i]->usage[0].collection_index, usage 512 drivers/hid/hid-sensor-hub.c report->field[i]->usage->hid || usage 530 drivers/hid/hid-sensor-hub.c report->field[i]->usage->hid, sz, ptr, usage 536 drivers/hid/hid-sensor-hub.c callback->send_event(hsdev, collection->usage, usage 669 drivers/hid/hid-sensor-hub.c hsdev->usage = collection->usage; usage 684 drivers/hid/hid-sensor-hub.c collection->usage); usage 704 drivers/hid/hid-sensor-hub.c collection->usage == HID_USAGE_SENSOR_COLLECTION) usage 680 drivers/hid/hid-sony.c struct hid_field *field, struct hid_usage *usage, usage 683 drivers/hid/hid-sony.c unsigned int key = usage->hid & HID_USAGE; usage 685 drivers/hid/hid-sony.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_BUTTON) usage 688 drivers/hid/hid-sony.c switch (usage->collection_index) { usage 709 drivers/hid/hid-sony.c hid_map_usage_clear(hi, usage, bit, max, EV_KEY, key); usage 714 drivers/hid/hid-sony.c struct hid_field *field, struct hid_usage *usage, usage 717 drivers/hid/hid-sony.c if ((usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON) { usage 718 drivers/hid/hid-sony.c unsigned int key = usage->hid & HID_USAGE; usage 727 drivers/hid/hid-sony.c hid_map_usage_clear(hi, usage, bit, max, EV_KEY, key); usage 729 drivers/hid/hid-sony.c } else if (usage->hid == HID_GD_POINTER) { usage 735 drivers/hid/hid-sony.c switch (usage->usage_index) { usage 737 drivers/hid/hid-sony.c usage->hid = HID_GD_Z; usage 743 drivers/hid/hid-sony.c hid_map_usage_clear(hi, usage, bit, max, EV_ABS, usage->hid & 0xf); usage 745 drivers/hid/hid-sony.c } else if ((usage->hid & HID_USAGE_PAGE) == HID_UP_GENDESK) { usage 746 drivers/hid/hid-sony.c unsigned int abs = usage->hid & HID_USAGE; usage 753 drivers/hid/hid-sony.c hid_map_usage_clear(hi, usage, bit, max, EV_ABS, abs); usage 762 drivers/hid/hid-sony.c struct hid_field *field, struct hid_usage *usage, usage 765 drivers/hid/hid-sony.c if ((usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON) { usage 766 drivers/hid/hid-sony.c unsigned int key = usage->hid & HID_USAGE; usage 772 drivers/hid/hid-sony.c hid_map_usage_clear(hi, usage, bit, max, EV_KEY, key); usage 774 drivers/hid/hid-sony.c } else if (usage->hid == HID_GD_POINTER) { usage 781 drivers/hid/hid-sony.c switch (usage->usage_index) { usage 783 drivers/hid/hid-sony.c usage->hid = HID_GD_Z; usage 786 drivers/hid/hid-sony.c usage->hid = HID_GD_RZ; usage 792 drivers/hid/hid-sony.c hid_map_usage_clear(hi, usage, bit, max, EV_ABS, usage->hid & 0xf); usage 794 drivers/hid/hid-sony.c } else if ((usage->hid & HID_USAGE_PAGE) == HID_UP_GENDESK) { usage 795 drivers/hid/hid-sony.c unsigned int abs = usage->hid & HID_USAGE; usage 802 drivers/hid/hid-sony.c hid_map_usage_clear(hi, usage, bit, max, EV_ABS, abs); usage 810 drivers/hid/hid-sony.c struct hid_field *field, struct hid_usage *usage, usage 813 drivers/hid/hid-sony.c if ((usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON) { usage 814 drivers/hid/hid-sony.c unsigned int key = usage->hid & HID_USAGE; usage 820 drivers/hid/hid-sony.c hid_map_usage_clear(hi, usage, bit, max, EV_KEY, key); usage 822 drivers/hid/hid-sony.c } else if ((usage->hid & HID_USAGE_PAGE) == HID_UP_GENDESK) { usage 823 drivers/hid/hid-sony.c unsigned int abs = usage->hid & HID_USAGE; usage 826 drivers/hid/hid-sony.c if (usage->hid == HID_GD_HATSWITCH) usage 833 drivers/hid/hid-sony.c hid_map_usage_clear(hi, usage, bit, max, EV_ABS, abs); usage 1323 drivers/hid/hid-sony.c struct hid_field *field, struct hid_usage *usage, usage 1329 drivers/hid/hid-sony.c unsigned int key = usage->hid & HID_USAGE; usage 1331 drivers/hid/hid-sony.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_BUTTON) usage 1334 drivers/hid/hid-sony.c switch (usage->collection_index) { usage 1347 drivers/hid/hid-sony.c hid_map_usage_clear(hi, usage, bit, max, EV_KEY, key); usage 1352 drivers/hid/hid-sony.c return ps3remote_mapping(hdev, hi, field, usage, bit, max); usage 1355 drivers/hid/hid-sony.c return navigation_mapping(hdev, hi, field, usage, bit, max); usage 1358 drivers/hid/hid-sony.c return sixaxis_mapping(hdev, hi, field, usage, bit, max); usage 1361 drivers/hid/hid-sony.c return ds4_mapping(hdev, hi, field, usage, bit, max); usage 26 drivers/hid/hid-speedlink.c struct hid_field *field, struct hid_usage *usage, usage 35 drivers/hid/hid-speedlink.c switch (usage->hid & HID_USAGE_PAGE) { usage 43 drivers/hid/hid-speedlink.c struct hid_usage *usage, __s32 value) usage 33 drivers/hid/hid-sunplus.c #define sp_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ usage 36 drivers/hid/hid-sunplus.c struct hid_field *field, struct hid_usage *usage, usage 39 drivers/hid/hid-sunplus.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) usage 42 drivers/hid/hid-sunplus.c switch (usage->hid & HID_USAGE) { usage 19 drivers/hid/hid-tivo.c #define tivo_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ usage 23 drivers/hid/hid-tivo.c struct hid_field *field, struct hid_usage *usage, usage 26 drivers/hid/hid-tivo.c switch (usage->hid & HID_USAGE_PAGE) { usage 28 drivers/hid/hid-tivo.c switch (usage->hid & HID_USAGE) { usage 42 drivers/hid/hid-tivo.c switch (usage->hid & HID_USAGE) { usage 154 drivers/hid/hid-tmff.c switch (field->usage[0].hid) { usage 187 drivers/hid/hid-tmff.c field->usage[0].hid); usage 24 drivers/hid/hid-topseed.c #define ts_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ usage 27 drivers/hid/hid-topseed.c struct hid_field *field, struct hid_usage *usage, usage 30 drivers/hid/hid-topseed.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR) usage 33 drivers/hid/hid-topseed.c switch (usage->hid & HID_USAGE) { usage 59 drivers/hid/hid-twinhan.c #define th_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ usage 62 drivers/hid/hid-twinhan.c struct hid_field *field, struct hid_usage *usage, usage 65 drivers/hid/hid-twinhan.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_KEYBOARD) usage 68 drivers/hid/hid-twinhan.c switch (usage->hid & HID_USAGE) { usage 87 drivers/hid/hid-uclogic-core.c struct hid_usage *usage, usage 26 drivers/hid/hid-xinmo.c struct hid_usage *usage, __s32 value) usage 28 drivers/hid/hid-xinmo.c switch (usage->code) { usage 34 drivers/hid/hid-xinmo.c input_event(field->hidinput->input, usage->type, usage 35 drivers/hid/hid-xinmo.c usage->code, -1); usage 43 drivers/hid/hid-zydacron.c hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c)) usage 46 drivers/hid/hid-zydacron.c struct hid_field *field, struct hid_usage *usage, usage 53 drivers/hid/hid-zydacron.c if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) usage 57 drivers/hid/hid-zydacron.c usage->hid & HID_USAGE); usage 59 drivers/hid/hid-zydacron.c switch (usage->hid & HID_USAGE) { usage 807 drivers/hid/usbhid/hid-core.c struct hid_usage *usage; usage 814 drivers/hid/usbhid/hid-core.c usage = &field->usage[j]; usage 815 drivers/hid/usbhid/hid-core.c if ((usage->hid & HID_USAGE_PAGE) == page && usage 816 drivers/hid/usbhid/hid-core.c (usage->hid & 0xFFFF) == hid_code) { usage 1115 drivers/hid/usbhid/hid-core.c switch (hid->collection->usage) { usage 208 drivers/hid/usbhid/hid-pidff.c static void pidff_set(struct pidff_usage *usage, u16 value) usage 210 drivers/hid/usbhid/hid-pidff.c usage->value[0] = pidff_rescale(value, 0xffff, usage->field); usage 211 drivers/hid/usbhid/hid-pidff.c pr_debug("calculated from %d to %d\n", value, usage->value[0]); usage 214 drivers/hid/usbhid/hid-pidff.c static void pidff_set_signed(struct pidff_usage *usage, s16 value) usage 216 drivers/hid/usbhid/hid-pidff.c if (usage->field->logical_minimum < 0) usage 217 drivers/hid/usbhid/hid-pidff.c usage->value[0] = pidff_rescale_signed(value, usage->field); usage 220 drivers/hid/usbhid/hid-pidff.c usage->value[0] = usage 221 drivers/hid/usbhid/hid-pidff.c pidff_rescale(-value, 0x8000, usage->field); usage 223 drivers/hid/usbhid/hid-pidff.c usage->value[0] = usage 224 drivers/hid/usbhid/hid-pidff.c pidff_rescale(value, 0x7fff, usage->field); usage 226 drivers/hid/usbhid/hid-pidff.c pr_debug("calculated from %d to %d\n", value, usage->value[0]); usage 758 drivers/hid/usbhid/hid-pidff.c static int pidff_find_fields(struct pidff_usage *usage, const u8 *table, usage 772 drivers/hid/usbhid/hid-pidff.c if (report->field[i]->usage[j].hid == usage 776 drivers/hid/usbhid/hid-pidff.c usage[k].field = report->field[i]; usage 777 drivers/hid/usbhid/hid-pidff.c usage[k].value = usage 797 drivers/hid/usbhid/hid-pidff.c static int pidff_check_usage(int usage) usage 802 drivers/hid/usbhid/hid-pidff.c if (usage == (HID_UP_PID | pidff_reports[i])) usage 837 drivers/hid/usbhid/hid-pidff.c i = report->field[0]->usage[0].collection_index; usage 841 drivers/hid/usbhid/hid-pidff.c ret = pidff_check_usage(hid->collection[i - 1].usage); usage 872 drivers/hid/usbhid/hid-pidff.c int usage, int enforce_min) usage 877 drivers/hid/usbhid/hid-pidff.c if (report->field[i]->logical == (HID_UP_PID | usage) && usage 903 drivers/hid/usbhid/hid-pidff.c if (fld->usage[j].hid == (HID_UP_PID | usagetable[i])) { usage 1010 drivers/hid/usbhid/hid-pidff.c if (pidff->set_effect_type->usage[pidff_type].hid != usage 1011 drivers/hid/usbhid/hid-pidff.c pidff->create_new_effect_type->usage[pidff_type].hid) { usage 127 drivers/hid/usbhid/hiddev.c if (field->usage[j].hid == uref->usage_code) { usage 167 drivers/hid/usbhid/hiddev.c struct hid_usage *usage, __s32 value) usage 178 drivers/hid/usbhid/hiddev.c uref.usage_index = (usage - field->usage); usage 179 drivers/hid/usbhid/hiddev.c uref.usage_code = usage->hid; usage 468 drivers/hid/usbhid/hiddev.c uref->usage_code = field->usage[uref->usage_index].hid; usage 532 drivers/hid/usbhid/hiddev.c i = field->usage[uref->usage_index].collection_index; usage 631 drivers/hid/usbhid/hiddev.c r = hid->collection[i].usage; usage 809 drivers/hid/usbhid/hiddev.c cinfo.usage = hid->collection[cinfo.index].usage; usage 892 drivers/hid/usbhid/hiddev.c !IS_INPUT_APPLICATION(hid->collection[i].usage)) usage 231 drivers/hid/wacom.h struct hid_field *field, struct hid_usage *usage); usage 233 drivers/hid/wacom.h struct hid_usage *usage, __s32 value); usage 240 drivers/hid/wacom.h int wacom_equivalent_usage(int usage); usage 107 drivers/hid/wacom_sys.c struct hid_usage *usage = &field->usage[j]; usage 108 drivers/hid/wacom_sys.c unsigned int equivalent_usage = wacom_equivalent_usage(usage->hid); usage 212 drivers/hid/wacom_sys.c struct hid_field *field, struct hid_usage *usage) usage 216 drivers/hid/wacom_sys.c unsigned int equivalent_usage = wacom_equivalent_usage(usage->hid); usage 238 drivers/hid/wacom_sys.c usage->hid == 0x000D0000 && usage 241 drivers/hid/wacom_sys.c int i = usage->usage_index; usage 244 drivers/hid/wacom_sys.c field->usage[i-4].hid == HID_DG_TIPSWITCH && usage 245 drivers/hid/wacom_sys.c field->usage[i-3].hid == HID_DG_BARRELSWITCH && usage 246 drivers/hid/wacom_sys.c field->usage[i-2].hid == HID_DG_ERASER && usage 247 drivers/hid/wacom_sys.c field->usage[i-1].hid == HID_DG_INVERT && usage 248 drivers/hid/wacom_sys.c field->usage[i+1].hid == HID_DG_INRANGE) { usage 249 drivers/hid/wacom_sys.c usage->hid = HID_DG_BARRELSWITCH2; usage 261 drivers/hid/wacom_sys.c if (usage->hid == WACOM_HID_WT_SERIALNUMBER && usage 268 drivers/hid/wacom_sys.c a->usage[0].hid == HID_DG_TOOLSERIALNUMBER && usage 271 drivers/hid/wacom_sys.c b->usage[0].hid == 0xFF000000 && usage 274 drivers/hid/wacom_sys.c usage->hid = WACOM_HID_WD_TOOLTYPE; usage 279 drivers/hid/wacom_sys.c b->usage[0].hid = WACOM_HID_WD_SERIALHI; usage 295 drivers/hid/wacom_sys.c struct hid_field *field, struct hid_usage *usage) usage 300 drivers/hid/wacom_sys.c unsigned int equivalent_usage = wacom_equivalent_usage(usage->hid); usage 305 drivers/hid/wacom_sys.c wacom_hid_usage_quirk(hdev, field, usage); usage 339 drivers/hid/wacom_sys.c if (usage->usage_index >= field->report_count) { usage 345 drivers/hid/wacom_sys.c hid_data->inputmode_index = usage->usage_index; usage 428 drivers/hid/wacom_sys.c struct hid_field *field, struct hid_usage *usage) usage 434 drivers/hid/wacom_sys.c unsigned equivalent_usage = wacom_equivalent_usage(usage->hid); usage 448 drivers/hid/wacom_sys.c wacom_hid_usage_quirk(hdev, field, usage); usage 480 drivers/hid/wacom_sys.c wacom_wac_usage_mapping(hdev, field, usage); usage 528 drivers/hid/wacom_sys.c hreport->field[i]->usage + j); usage 543 drivers/hid/wacom_sys.c hreport->field[i]->usage + j); usage 1778 drivers/hid/wacom_wac.c static int wacom_offset_rotation(struct input_dev *input, struct hid_usage *usage, usage 1781 drivers/hid/wacom_wac.c struct input_absinfo *abs = &input->absinfo[usage->code]; usage 1792 drivers/hid/wacom_wac.c int wacom_equivalent_usage(int usage) usage 1794 drivers/hid/wacom_wac.c if ((usage & HID_USAGE_PAGE) == WACOM_HID_UP_WACOMDIGITIZER) { usage 1795 drivers/hid/wacom_wac.c int subpage = (usage & 0xFF00) << 8; usage 1796 drivers/hid/wacom_wac.c int subusage = (usage & 0xFF); usage 1802 drivers/hid/wacom_wac.c usage == WACOM_HID_WD_SENSE || usage 1803 drivers/hid/wacom_wac.c usage == WACOM_HID_WD_SERIALHI || usage 1804 drivers/hid/wacom_wac.c usage == WACOM_HID_WD_TOOLTYPE || usage 1805 drivers/hid/wacom_wac.c usage == WACOM_HID_WD_DISTANCE || usage 1806 drivers/hid/wacom_wac.c usage == WACOM_HID_WD_TOUCHSTRIP || usage 1807 drivers/hid/wacom_wac.c usage == WACOM_HID_WD_TOUCHSTRIP2 || usage 1808 drivers/hid/wacom_wac.c usage == WACOM_HID_WD_TOUCHRING || usage 1809 drivers/hid/wacom_wac.c usage == WACOM_HID_WD_TOUCHRINGSTATUS || usage 1810 drivers/hid/wacom_wac.c usage == WACOM_HID_WD_REPORT_VALID) { usage 1811 drivers/hid/wacom_wac.c return usage; usage 1820 drivers/hid/wacom_wac.c if ((usage & HID_USAGE_PAGE) == WACOM_HID_UP_WACOMTOUCH) { usage 1821 drivers/hid/wacom_wac.c int subpage = (usage & 0xFF00) << 8; usage 1822 drivers/hid/wacom_wac.c int subusage = (usage & 0xFF); usage 1824 drivers/hid/wacom_wac.c if (usage == WACOM_HID_WT_REPORT_VALID) usage 1825 drivers/hid/wacom_wac.c return usage; usage 1833 drivers/hid/wacom_wac.c return usage; usage 1836 drivers/hid/wacom_wac.c static void wacom_map_usage(struct input_dev *input, struct hid_usage *usage, usage 1844 drivers/hid/wacom_wac.c unsigned int equivalent_usage = wacom_equivalent_usage(usage->hid); usage 1860 drivers/hid/wacom_wac.c usage->type = type; usage 1861 drivers/hid/wacom_wac.c usage->code = code; usage 1884 drivers/hid/wacom_wac.c struct hid_field *field, struct hid_usage *usage) usage 1889 drivers/hid/wacom_wac.c unsigned equivalent_usage = wacom_equivalent_usage(usage->hid); usage 1901 drivers/hid/wacom_wac.c struct hid_usage *usage, __s32 value) usage 1905 drivers/hid/wacom_wac.c unsigned equivalent_usage = wacom_equivalent_usage(usage->hid); usage 1960 drivers/hid/wacom_wac.c struct hid_field *field, struct hid_usage *usage) usage 1966 drivers/hid/wacom_wac.c unsigned equivalent_usage = wacom_equivalent_usage(usage->hid); usage 1971 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_X, 0); usage 1976 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_Y, 0); usage 1981 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_Z, 0); usage 1990 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, usage 2007 drivers/hid/wacom_wac.c usage->type = EV_SW; usage 2008 drivers/hid/wacom_wac.c usage->code = SW_MUTE_DEVICE; usage 2012 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_RX, 0); usage 2016 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_RY, 0); usage 2020 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_WHEEL, 0); usage 2028 drivers/hid/wacom_wac.c usage->type = EV_ABS; usage 2029 drivers/hid/wacom_wac.c usage->code = ABS_WHEEL; usage 2034 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, KEY_BUTTONCONFIG, 0); usage 2038 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, KEY_ONSCREEN_KEYBOARD, 0); usage 2042 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, KEY_CONTROLPANEL, 0); usage 2057 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, usage 2067 drivers/hid/wacom_wac.c struct hid_usage *usage, __s32 value) usage 2073 drivers/hid/wacom_wac.c unsigned equivalent_usage = wacom_equivalent_usage(usage->hid); usage 2081 drivers/hid/wacom_wac.c if (!usage->type && equivalent_usage != WACOM_HID_WD_MODE_CHANGE) usage 2085 drivers/hid/wacom_wac.c if (usage->hid != WACOM_HID_WD_TOUCHRING) usage 2108 drivers/hid/wacom_wac.c value = wacom_offset_rotation(input, usage, value, 3, 16); usage 2112 drivers/hid/wacom_wac.c value = wacom_offset_rotation(input, usage, value, 1, 2); usage 2115 drivers/hid/wacom_wac.c value = wacom_offset_rotation(input, usage, value, 1, 4); usage 2121 drivers/hid/wacom_wac.c input_event(input, usage->type, usage->code, 0); usage 2158 drivers/hid/wacom_wac.c input_event(input, usage->type, usage->code, value); usage 2191 drivers/hid/wacom_wac.c struct hid_field *field, struct hid_usage *usage) usage 2197 drivers/hid/wacom_wac.c unsigned equivalent_usage = wacom_equivalent_usage(usage->hid); usage 2201 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_X, 4); usage 2204 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_Y, 4); usage 2208 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_DISTANCE, 0); usage 2211 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_PRESSURE, 0); usage 2214 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, BTN_TOOL_PEN, 0); usage 2217 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, usage 2221 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_TILT_X, 0); usage 2224 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_TILT_Y, 0); usage 2227 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_Z, 0); usage 2231 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, BTN_TOUCH, 0); usage 2234 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, BTN_STYLUS, 0); usage 2237 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, BTN_STYLUS2, 0); usage 2241 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_MSC, MSC_SERIAL, 0); usage 2245 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, BTN_TOOL_PEN, 0); usage 2248 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_MISC, 0); usage 2264 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_WHEEL, 0); usage 2270 drivers/hid/wacom_wac.c struct hid_usage *usage, __s32 value) usage 2276 drivers/hid/wacom_wac.c unsigned equivalent_usage = wacom_equivalent_usage(usage->hid); usage 2320 drivers/hid/wacom_wac.c value = wacom_offset_rotation(input, usage, value, 1, 4); usage 2387 drivers/hid/wacom_wac.c if (!usage->type || delay_pen_events(wacom_wac)) usage 2392 drivers/hid/wacom_wac.c input_event(input, usage->type, usage->code, value); usage 2394 drivers/hid/wacom_wac.c input_event(input, usage->type, usage->code, 0); usage 2474 drivers/hid/wacom_wac.c struct hid_field *field, struct hid_usage *usage) usage 2480 drivers/hid/wacom_wac.c unsigned equivalent_usage = wacom_equivalent_usage(usage->hid); usage 2485 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_X, 4); usage 2487 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, usage 2492 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_Y, 4); usage 2494 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, usage 2499 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_MT_TOUCH_MAJOR, 0); usage 2500 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_MT_TOUCH_MINOR, 0); usage 2504 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, BTN_TOUCH, 0); usage 2509 drivers/hid/wacom_wac.c wacom_wac->hid_data.cc_value_index = usage->usage_index; usage 2570 drivers/hid/wacom_wac.c struct hid_field *field, struct hid_usage *usage, __s32 value) usage 2574 drivers/hid/wacom_wac.c unsigned equivalent_usage = wacom_equivalent_usage(usage->hid); usage 2607 drivers/hid/wacom_wac.c if (usage->usage_index + 1 == field->report_count) { usage 2628 drivers/hid/wacom_wac.c struct hid_usage *usage = &field->usage[j]; usage 2630 drivers/hid/wacom_wac.c wacom_equivalent_usage(usage->hid); usage 2690 drivers/hid/wacom_wac.c struct hid_field *field, struct hid_usage *usage) usage 2700 drivers/hid/wacom_wac.c if (WACOM_BATTERY_USAGE(usage)) usage 2701 drivers/hid/wacom_wac.c wacom_wac_battery_usage_mapping(hdev, field, usage); usage 2703 drivers/hid/wacom_wac.c wacom_wac_pad_usage_mapping(hdev, field, usage); usage 2705 drivers/hid/wacom_wac.c wacom_wac_pen_usage_mapping(hdev, field, usage); usage 2707 drivers/hid/wacom_wac.c wacom_wac_finger_usage_mapping(hdev, field, usage); usage 2711 drivers/hid/wacom_wac.c struct hid_usage *usage, __s32 value) usage 2722 drivers/hid/wacom_wac.c if (WACOM_BATTERY_USAGE(usage)) usage 2723 drivers/hid/wacom_wac.c wacom_wac_battery_event(hdev, field, usage, value); usage 2725 drivers/hid/wacom_wac.c wacom_wac_pad_event(hdev, field, usage, value); usage 2727 drivers/hid/wacom_wac.c wacom_wac_pen_event(hdev, field, usage, value); usage 2729 drivers/hid/wacom_wac.c wacom_wac_finger_event(hdev, field, usage, value); usage 2749 drivers/hid/wacom_wac.c if (field->usage[n].collection_index == collection_index) usage 2750 drivers/hid/wacom_wac.c wacom_wac_event(hdev, field, &field->usage[n], usage 2822 drivers/hid/wacom_wac.c if (field->usage[0].collection_index != prev_collection) { usage 2824 drivers/hid/wacom_wac.c field->usage[0].collection_index, field, r) < 0) usage 2826 drivers/hid/wacom_wac.c prev_collection = field->usage[0].collection_index; usage 154 drivers/iio/accel/hid-sensor-accel-3d.c hsdev->usage, address, report_id, usage 316 drivers/iio/accel/hid-sensor-accel-3d.c hsdev->usage, usage 358 drivers/iio/accel/hid-sensor-accel-3d.c if (hsdev->usage == HID_USAGE_SENSOR_ACCEL_3D) { usage 369 drivers/iio/accel/hid-sensor-accel-3d.c ret = hid_sensor_parse_common_attributes(hsdev, hsdev->usage, usage 383 drivers/iio/accel/hid-sensor-accel-3d.c hsdev->usage, accel_state); usage 417 drivers/iio/accel/hid-sensor-accel-3d.c ret = sensor_hub_register_callback(hsdev, hsdev->usage, usage 444 drivers/iio/accel/hid-sensor-accel-3d.c sensor_hub_remove_callback(hsdev, hsdev->usage); usage 209 drivers/iio/orientation/hid-sensor-rotation.c hsdev->usage, usage 248 drivers/iio/orientation/hid-sensor-rotation.c switch (hsdev->usage) { usage 262 drivers/iio/orientation/hid-sensor-rotation.c ret = hid_sensor_parse_common_attributes(hsdev, hsdev->usage, usage 279 drivers/iio/orientation/hid-sensor-rotation.c hsdev->usage, rot_state); usage 314 drivers/iio/orientation/hid-sensor-rotation.c ret = sensor_hub_register_callback(hsdev, hsdev->usage, usage 339 drivers/iio/orientation/hid-sensor-rotation.c sensor_hub_remove_callback(hsdev, hsdev->usage); usage 224 drivers/infiniband/hw/mlx4/cq.c cq->mcq.usage = MLX4_RES_USAGE_USER_VERBS; usage 242 drivers/infiniband/hw/mlx4/cq.c cq->mcq.usage = MLX4_RES_USAGE_DRIVER; usage 649 drivers/infiniband/hw/mlx4/qp.c qp->mqp.usage = MLX4_RES_USAGE_USER_VERBS; usage 651 drivers/infiniband/hw/mlx4/qp.c err = mlx4_qp_reserve_range(dev->dev, 1, 1, &qpn, 0, qp->mqp.usage); usage 801 drivers/infiniband/hw/mlx4/qp.c qp->mqp.usage); usage 939 drivers/infiniband/hw/mlx4/qp.c qp->mqp.usage = MLX4_RES_USAGE_USER_VERBS; usage 1136 drivers/infiniband/hw/mlx4/qp.c qp->mqp.usage = MLX4_RES_USAGE_USER_VERBS; usage 1191 drivers/infiniband/hw/mlx4/qp.c qp->mqp.usage = MLX4_RES_USAGE_DRIVER; usage 1212 drivers/infiniband/hw/mlx4/qp.c qp->mqp.usage); usage 1218 drivers/infiniband/hw/mlx4/qp.c &qpn, 0, qp->mqp.usage); usage 208 drivers/infiniband/sw/siw/siw_main.c int usage; usage 214 drivers/infiniband/sw/siw/siw_main.c usage = atomic_read(&per_cpu(siw_use_cnt, cpu)); usage 215 drivers/infiniband/sw/siw/siw_main.c if (usage <= min_use) { usage 217 drivers/infiniband/sw/siw/siw_main.c min_use = usage; usage 162 drivers/input/misc/soc_button_array.c int upage, usage; usage 179 drivers/input/misc/soc_button_array.c usage = soc_button_get_acpi_object_int(&desc->package.elements[4]); usage 191 drivers/input/misc/soc_button_array.c if (upage == 0x01 && usage == 0x81) { usage 195 drivers/input/misc/soc_button_array.c } else if (upage == 0x01 && usage == 0xca) { usage 199 drivers/input/misc/soc_button_array.c } else if (upage == 0x07 && usage == 0xe3) { usage 203 drivers/input/misc/soc_button_array.c } else if (upage == 0x0c && usage == 0xe9) { usage 207 drivers/input/misc/soc_button_array.c } else if (upage == 0x0c && usage == 0xea) { usage 213 drivers/input/misc/soc_button_array.c info->acpi_index, upage, usage); usage 117 drivers/input/tablet/gtco.c u32 usage; usage 217 drivers/input/tablet/gtco.c __u32 usage = 0; usage 296 drivers/input/tablet/gtco.c dev_dbg(ddev, "GER: X Usage: 0x%x\n", usage); usage 304 drivers/input/tablet/gtco.c dev_dbg(ddev, "GER: Y Usage: 0x%x\n", usage); usage 313 drivers/input/tablet/gtco.c if (usage == DIGITIZER_USAGE_TILT_X) { usage 321 drivers/input/tablet/gtco.c if (usage == DIGITIZER_USAGE_TILT_Y) { usage 329 drivers/input/tablet/gtco.c if (usage == DIGITIZER_USAGE_TIP_PRESSURE) { usage 425 drivers/input/tablet/gtco.c if (device->usage == 0) usage 426 drivers/input/tablet/gtco.c device->usage = data; usage 511 drivers/input/tablet/gtco.c usage = data; usage 38 drivers/leds/trigger/ledtrig-activity.c unsigned int usage; usage 80 drivers/leds/trigger/ledtrig-activity.c usage = 0; usage 82 drivers/leds/trigger/ledtrig-activity.c usage = 100; usage 84 drivers/leds/trigger/ledtrig-activity.c usage = 100 * diff_used / diff_boot; usage 132 drivers/leds/trigger/ledtrig-activity.c if (usage < target) usage 135 drivers/leds/trigger/ledtrig-activity.c 990 - 900 * usage / target; /* OFF */ usage 138 drivers/leds/trigger/ledtrig-activity.c 10 + 80 * (usage - target) / (100 - target) : /* ON */ usage 139 drivers/leds/trigger/ledtrig-activity.c 90 - 80 * (usage - target) / (100 - target); /* OFF */ usage 106 drivers/md/dm-exception-store.h void (*usage) (struct dm_exception_store *store, usage 934 drivers/md/dm-snap-persistent.c .usage = persistent_usage, usage 949 drivers/md/dm-snap-persistent.c .usage = persistent_usage, usage 111 drivers/md/dm-snap-transient.c .usage = transient_usage, usage 123 drivers/md/dm-snap-transient.c .usage = transient_usage, usage 2329 drivers/md/dm-snap.c if (snap->store->type->usage) { usage 2332 drivers/md/dm-snap.c snap->store->type->usage(snap->store, usage 807 drivers/media/platform/qcom/venus/helpers.c int venus_helper_set_core_usage(struct venus_inst *inst, u32 usage) usage 815 drivers/media/platform/qcom/venus/helpers.c cu.video_core_enable_mask = usage; usage 36 drivers/media/platform/qcom/venus/helpers.h int venus_helper_set_core_usage(struct venus_inst *inst, u32 usage); usage 113 drivers/mmc/core/block.c unsigned int usage; usage 178 drivers/mmc/core/block.c if (md && md->usage == 0) usage 181 drivers/mmc/core/block.c md->usage++; usage 196 drivers/mmc/core/block.c md->usage--; usage 197 drivers/mmc/core/block.c if (md->usage == 0) { usage 311 drivers/mmc/core/block.c if (md->usage == 2) usage 2294 drivers/mmc/core/block.c md->usage = 1; usage 244 drivers/net/ethernet/mellanox/mlx4/cq.c static int mlx4_cq_alloc_icm(struct mlx4_dev *dev, int *cqn, u8 usage) usage 246 drivers/net/ethernet/mellanox/mlx4/cq.c u32 in_modifier = RES_CQ | (((u32)usage & 3) << 30); usage 359 drivers/net/ethernet/mellanox/mlx4/cq.c err = mlx4_cq_alloc_icm(dev, &cq->cqn, cq->usage); usage 140 drivers/net/ethernet/mellanox/mlx4/en_cq.c cq->mcq.usage = MLX4_RES_USAGE_DRIVER; usage 2592 drivers/net/ethernet/mellanox/mlx4/main.c int mlx4_counter_alloc(struct mlx4_dev *dev, u32 *idx, u8 usage) usage 2594 drivers/net/ethernet/mellanox/mlx4/main.c u32 in_modifier = RES_COUNTER | (((u32)usage & 3) << 30); usage 248 drivers/net/ethernet/mellanox/mlx4/qp.c int *base, u8 flags, u8 usage) usage 250 drivers/net/ethernet/mellanox/mlx4/qp.c u32 in_modifier = RES_QP | (((u32)usage & 3) << 30); usage 319 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c if (WARN_ON(!test_bit(element, key_info->elusage.usage))) usage 160 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.h DECLARE_BITMAP(usage, MLXSW_AFK_ELEMENT_MAX); usage 164 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.h for_each_set_bit(element, (elusage)->usage, MLXSW_AFK_ELEMENT_MAX) usage 170 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.h __set_bit(element, elusage->usage); usage 176 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.h bitmap_zero(elusage->usage, MLXSW_AFK_ELEMENT_MAX); usage 198 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.h if (test_bit(i, elusage_small->usage) && usage 199 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.h !test_bit(i, elusage_big->usage)) usage 63 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c unsigned long usage[0]; /* Entries */ usage 126 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c entry_index = find_first_zero_bit(part->usage, nr_entries); usage 129 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c __set_bit(entry_index, part->usage); usage 143 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c __clear_bit(entry_index, part->usage); usage 288 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c while ((bit = find_next_bit(part->usage, nr_entries, bit + 1)) usage 48 drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c unsigned long usage[0]; /* Usage bits */ usage 69 drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c bit = find_next_zero_bit(part->usage, part->usage_bit_count, bit); usage 78 drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c if (test_bit(bit + i, part->usage)) { usage 101 drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c __set_bit(bit + i, part->usage); usage 141 drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c __clear_bit(bit + i, part->usage); usage 20 drivers/net/ethernet/mellanox/mlxsw/spectrum_cnt.c unsigned long *usage; /* Usage bitmap */ usage 94 drivers/net/ethernet/mellanox/mlxsw/spectrum_cnt.c pool->usage = kzalloc(map_size, GFP_KERNEL); usage 95 drivers/net/ethernet/mellanox/mlxsw/spectrum_cnt.c if (!pool->usage) { usage 128 drivers/net/ethernet/mellanox/mlxsw/spectrum_cnt.c WARN_ON(find_first_bit(pool->usage, pool->pool_size) != usage 130 drivers/net/ethernet/mellanox/mlxsw/spectrum_cnt.c kfree(pool->usage); usage 148 drivers/net/ethernet/mellanox/mlxsw/spectrum_cnt.c entry_index = find_next_zero_bit(pool->usage, stop_index, entry_index); usage 157 drivers/net/ethernet/mellanox/mlxsw/spectrum_cnt.c __set_bit(entry_index + i, pool->usage); usage 175 drivers/net/ethernet/mellanox/mlxsw/spectrum_cnt.c __clear_bit(counter_index + i, pool->usage); usage 379 drivers/net/ethernet/qlogic/qed/qed_int.c u32 usage = 1; usage 394 drivers/net/ethernet/qlogic/qed/qed_int.c while (count-- && usage) { usage 395 drivers/net/ethernet/qlogic/qed/qed_int.c usage = qed_rd(p_hwfn, p_ptt, DORQ_REG_PF_USAGE_CNT); usage 400 drivers/net/ethernet/qlogic/qed/qed_int.c if (usage) { usage 403 drivers/net/ethernet/qlogic/qed/qed_int.c QED_DB_REC_INTERVAL * QED_DB_REC_COUNT, usage); usage 1655 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.free_cnt--; usage 1714 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.free_cnt++; usage 2024 drivers/net/ethernet/qlogic/qed/qed_int.c if (p_info->usage.cnt != RESC_NUM(p_hwfn, QED_SB) - 1) { usage 2028 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.cnt); usage 2029 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.cnt = RESC_NUM(p_hwfn, QED_SB) - 1; usage 2035 drivers/net/ethernet/qlogic/qed/qed_int.c if (vfs != p_info->usage.iov_cnt) usage 2039 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.iov_cnt, vfs); usage 2045 drivers/net/ethernet/qlogic/qed/qed_int.c if (vfs > p_info->usage.free_cnt + usage 2046 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.free_cnt_iov - p_info->usage.cnt) { usage 2049 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.free_cnt + usage 2050 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.free_cnt_iov, usage 2051 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.cnt, vfs); usage 2058 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.iov_cnt = vfs; usage 2063 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.free_cnt = p_info->usage.cnt; usage 2064 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.free_cnt_iov = p_info->usage.iov_cnt; usage 2065 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.orig = p_info->usage.cnt; usage 2066 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.iov_orig = p_info->usage.iov_cnt; usage 2071 drivers/net/ethernet/qlogic/qed/qed_int.c pf_sbs = p_info->usage.cnt; usage 2072 drivers/net/ethernet/qlogic/qed/qed_int.c vf_sbs = p_info->usage.iov_cnt; usage 2093 drivers/net/ethernet/qlogic/qed/qed_int.c p_block->vector_number = p_info->usage.cnt - pf_sbs; usage 2100 drivers/net/ethernet/qlogic/qed/qed_int.c p_info->usage.iov_cnt - vf_sbs; usage 2195 drivers/net/ethernet/qlogic/qed/qed_int.c p_igu_info->usage.cnt++; usage 2204 drivers/net/ethernet/qlogic/qed/qed_int.c p_igu_info->usage.iov_cnt++; usage 2237 drivers/net/ethernet/qlogic/qed/qed_int.c p_igu_info->usage.free_cnt = p_igu_info->usage.cnt; usage 2238 drivers/net/ethernet/qlogic/qed/qed_int.c p_igu_info->usage.free_cnt_iov = p_igu_info->usage.iov_cnt; usage 2243 drivers/net/ethernet/qlogic/qed/qed_int.c p_igu_info->usage.cnt, p_igu_info->usage.iov_cnt); usage 2341 drivers/net/ethernet/qlogic/qed/qed_int.c memcpy(p_sb_cnt_info, &info->usage, sizeof(*p_sb_cnt_info)); usage 235 drivers/net/ethernet/qlogic/qed/qed_int.h struct qed_sb_cnt_info usage; usage 899 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (num_rx_queues > p_hwfn->hw_info.p_igu_info->usage.free_cnt_iov) usage 900 drivers/net/ethernet/qlogic/qed/qed_sriov.c num_rx_queues = p_hwfn->hw_info.p_igu_info->usage.free_cnt_iov; usage 901 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_hwfn->hw_info.p_igu_info->usage.free_cnt_iov -= num_rx_queues; usage 950 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_hwfn->hw_info.p_igu_info->usage.free_cnt_iov++; usage 98 drivers/net/wan/cosa.c int usage; /* Usage count; >0 for chrdev, -1 for netdev */ usage 144 drivers/net/wan/cosa.c int usage; /* usage count */ usage 528 drivers/net/wan/cosa.c cosa->usage = 0; usage 634 drivers/net/wan/cosa.c if (chan->usage != 0) { usage 636 drivers/net/wan/cosa.c chan->name, chan->usage); usage 643 drivers/net/wan/cosa.c chan->usage = -1; usage 644 drivers/net/wan/cosa.c chan->cosa->usage++; usage 650 drivers/net/wan/cosa.c chan->usage = 0; usage 651 drivers/net/wan/cosa.c chan->cosa->usage--; usage 709 drivers/net/wan/cosa.c chan->usage = 0; usage 710 drivers/net/wan/cosa.c chan->cosa->usage--; usage 947 drivers/net/wan/cosa.c if (chan->usage < 0) { /* in netdev mode */ usage 952 drivers/net/wan/cosa.c cosa->usage++; usage 953 drivers/net/wan/cosa.c chan->usage++; usage 972 drivers/net/wan/cosa.c cosa->usage--; usage 973 drivers/net/wan/cosa.c channel->usage--; usage 1000 drivers/net/wan/cosa.c if (cosa->usage > 1) usage 1002 drivers/net/wan/cosa.c cosa->num, cosa->usage); usage 1019 drivers/net/wan/cosa.c if (cosa->usage > 1) usage 1021 drivers/net/wan/cosa.c cosa->name, cosa->usage); usage 1058 drivers/net/wan/cosa.c if (cosa->usage > 1) usage 1060 drivers/net/wan/cosa.c cosa->num, cosa->usage); usage 1089 drivers/net/wan/cosa.c if (cosa->usage > 1) usage 1091 drivers/net/wan/cosa.c cosa->num, cosa->usage); usage 339 drivers/net/wireless/st/cw1200/txrx.c int usage, locked; usage 344 drivers/net/wireless/st/cw1200/txrx.c usage = tx_policy_release(cache, &cache->cache[idx]); usage 345 drivers/net/wireless/st/cw1200/txrx.c if (locked && !usage) { usage 76 drivers/scsi/aic7xxx/aicasm/aicasm.c static void usage(void); usage 159 drivers/scsi/aic7xxx/aicasm/aicasm.c usage(); usage 182 drivers/scsi/aic7xxx/aicasm/aicasm.c usage(); usage 249 drivers/scsi/aic7xxx/aicasm/aicasm.c usage(); usage 258 drivers/scsi/aic7xxx/aicasm/aicasm.c usage(); usage 267 drivers/scsi/aic7xxx/aicasm/aicasm.c usage(); usage 167 drivers/staging/greybus/Documentation/firmware/firmware.c usage(); usage 837 drivers/staging/greybus/tools/loopback_test.c usage(); usage 959 drivers/staging/greybus/tools/loopback_test.c usage(); usage 983 drivers/staging/greybus/tools/loopback_test.c usage(); usage 141 drivers/staging/unisys/visornic/visornic_main.c atomic_t usage; usage 559 drivers/staging/unisys/visornic/visornic_main.c if (atomic_read(&devdata->usage) > 1) { usage 565 drivers/staging/unisys/visornic/visornic_main.c if (atomic_read(&devdata->usage)) usage 1829 drivers/staging/unisys/visornic/visornic_main.c atomic_set(&devdata->usage, 1); usage 49 drivers/thermal/of-thermal.c unsigned int usage; usage 230 drivers/thermal/of-thermal.c tbp->usage); usage 690 drivers/thermal/of-thermal.c __tbp->usage = THERMAL_WEIGHT_DEFAULT; usage 693 drivers/thermal/of-thermal.c __tbp->usage = prop; usage 738 drivers/video/fbdev/pxafb.c if (ofb->usage++ == 0) { usage 752 drivers/video/fbdev/pxafb.c if (ofb->usage == 1) { usage 759 drivers/video/fbdev/pxafb.c ofb->usage--; usage 897 drivers/video/fbdev/pxafb.c ofb->usage = 0; usage 1666 drivers/video/fbdev/pxafb.c if (!(fbi->overlay[0].usage || fbi->overlay[1].usage)) usage 96 drivers/video/fbdev/pxafb.h uint32_t usage; usage 21 fs/afs/addr_list.c if (alist && refcount_dec_and_test(&alist->usage)) usage 44 fs/afs/addr_list.c refcount_set(&alist->usage, 1); usage 137 fs/afs/afs_vl.h refcount_t usage; usage 43 fs/afs/callback.c new_vi->usage = 1; usage 48 fs/afs/callback.c refcount_set(&new->usage, 1); usage 62 fs/afs/callback.c vi->usage++; usage 183 fs/afs/callback.c if (cbi && refcount_dec_and_test(&cbi->usage)) { usage 190 fs/afs/callback.c if (--vi->usage == 0) usage 97 fs/afs/cell.c if (atomic_inc_not_zero(&cell->usage)) { usage 162 fs/afs/cell.c atomic_set(&cell->usage, 2); usage 482 fs/afs/cell.c ASSERTCMP(atomic_read(&cell->usage), ==, 0); usage 522 fs/afs/cell.c atomic_inc(&cell->usage); usage 544 fs/afs/cell.c if (atomic_dec_return(&cell->usage) > 1) usage 653 fs/afs/cell.c int ret, usage; usage 663 fs/afs/cell.c usage = 1; usage 664 fs/afs/cell.c deleted = atomic_try_cmpxchg_relaxed(&cell->usage, &usage, 0); usage 691 fs/afs/cell.c if (atomic_read(&cell->usage) > 1) { usage 704 fs/afs/cell.c if (atomic_read(&cell->usage) > 1) usage 772 fs/afs/cell.c unsigned usage; usage 775 fs/afs/cell.c usage = atomic_read(&cell->usage); usage 776 fs/afs/cell.c _debug("manage %s %u", cell->name, usage); usage 778 fs/afs/cell.c ASSERTCMP(usage, >=, 1); usage 782 fs/afs/cell.c usage = atomic_dec_return(&cell->usage); usage 783 fs/afs/cell.c ASSERTCMP(usage, ==, 1); usage 786 fs/afs/cell.c if (usage == 1) { usage 271 fs/afs/cmservice.c trace_afs_server(call->server, atomic_read(&call->server->usage), usage 245 fs/afs/dir.c refcount_set(&req->usage, 1); usage 874 fs/afs/dir.c refcount_inc(&subs->usage); usage 72 fs/afs/file.c if (refcount_dec_and_test(&wbk->usage)) { usage 88 fs/afs/file.c refcount_set(&wbk->usage, 2); usage 104 fs/afs/file.c refcount_inc(&p->usage); usage 193 fs/afs/file.c if (refcount_dec_and_test(&req->usage)) { usage 323 fs/afs/file.c refcount_set(&req->usage, 1); usage 469 fs/afs/file.c refcount_set(&req->usage, 1); usage 511 fs/afs/fsclient.c refcount_inc(&req->usage); usage 559 fs/afs/fsclient.c refcount_inc(&req->usage); usage 85 fs/afs/internal.h refcount_t usage; usage 141 fs/afs/internal.h atomic_t usage; usage 201 fs/afs/internal.h refcount_t usage; usage 231 fs/afs/internal.h refcount_t usage; usage 266 fs/afs/internal.h refcount_t usage; usage 380 fs/afs/internal.h atomic_t usage; usage 413 fs/afs/internal.h atomic_t usage; usage 448 fs/afs/internal.h atomic_t usage; usage 514 fs/afs/internal.h atomic_t usage; usage 558 fs/afs/internal.h unsigned int usage; usage 573 fs/afs/internal.h refcount_t usage; usage 585 fs/afs/internal.h refcount_t usage; usage 599 fs/afs/internal.h atomic_t usage; usage 716 fs/afs/internal.h refcount_t usage; usage 804 fs/afs/internal.h refcount_inc(&alist->usage); usage 851 fs/afs/internal.h refcount_inc(&cbi->usage); usage 1253 fs/afs/internal.h refcount_inc(&slist->usage); usage 1300 fs/afs/internal.h atomic_inc(&vlserver->usage); usage 1307 fs/afs/internal.h atomic_inc(&vllist->usage); usage 1324 fs/afs/internal.h atomic_inc(&volume->usage); usage 106 fs/afs/main.c refcount_set(&sysnames->usage, 1); usage 50 fs/afs/proc.c atomic_read(&cell->usage), usage 221 fs/afs/proc.c atomic_read(&vol->usage), vol->vid, usage 388 fs/afs/proc.c atomic_read(&server->usage), usage 492 fs/afs/proc.c refcount_set(&sysnames->usage, 1); usage 560 fs/afs/proc.c if (sysnames && refcount_dec_and_test(&sysnames->usage)) { usage 150 fs/afs/rxrpc.c atomic_set(&call->usage, 1); usage 168 fs/afs/rxrpc.c int n = atomic_dec_return(&call->usage); usage 204 fs/afs/rxrpc.c int u = atomic_inc_return(&call->usage); usage 706 fs/afs/rxrpc.c u = atomic_fetch_add_unless(&call->usage, 1, 0); usage 96 fs/afs/security.c if (permits && refcount_dec_and_test(&permits->usage)) { usage 210 fs/afs/security.c if (permits && !refcount_inc_not_zero(&permits->usage)) usage 228 fs/afs/security.c refcount_set(&new->usage, 1); usage 262 fs/afs/security.c if (refcount_inc_not_zero(&xpermits->usage)) { usage 83 fs/afs/server.c if (server && !atomic_inc_not_zero(&server->usage)) usage 217 fs/afs/server.c atomic_set(&server->usage, 1); usage 295 fs/afs/server.c _leave(" = %p{%d}", server, atomic_read(&server->usage)); usage 331 fs/afs/server.c unsigned int u = atomic_inc_return(&server->usage); usage 343 fs/afs/server.c unsigned int usage; usage 350 fs/afs/server.c usage = atomic_dec_return(&server->usage); usage 352 fs/afs/server.c trace_afs_server(server, usage, reason); usage 354 fs/afs/server.c if (likely(usage > 0)) usage 364 fs/afs/server.c trace_afs_server(server, atomic_read(&server->usage), usage 382 fs/afs/server.c trace_afs_server(server, atomic_read(&server->usage), usage 391 fs/afs/server.c trace_afs_server(server, atomic_read(&server->usage), usage 404 fs/afs/server.c int usage; usage 410 fs/afs/server.c usage = 1; usage 411 fs/afs/server.c deleted = atomic_try_cmpxchg(&server->usage, &usage, 0); usage 412 fs/afs/server.c trace_afs_server(server, usage, afs_server_trace_gc); usage 456 fs/afs/server.c int usage = atomic_read(&server->usage); usage 458 fs/afs/server.c _debug("manage %pU %u", &server->uuid, usage); usage 460 fs/afs/server.c ASSERTCMP(usage, >=, 1); usage 461 fs/afs/server.c ASSERTIFCMP(purging, usage, ==, 1); usage 463 fs/afs/server.c if (usage == 1) { usage 535 fs/afs/server.c trace_afs_server(server, atomic_read(&server->usage), afs_server_trace_update); usage 16 fs/afs/server_list.c if (slist && refcount_dec_and_test(&slist->usage)) { usage 46 fs/afs/server_list.c refcount_set(&slist->usage, 1); usage 136 fs/afs/server_list.c refcount_inc(&cbi->usage); usage 20 fs/afs/vl_list.c atomic_set(&vlserver->usage, 1); usage 42 fs/afs/vl_list.c unsigned int u = atomic_dec_return(&vlserver->usage); usage 56 fs/afs/vl_list.c atomic_set(&vllist->usage, 1); usage 66 fs/afs/vl_list.c unsigned int u = atomic_dec_return(&vllist->usage); usage 41 fs/afs/volume.c atomic_set(&volume->usage, 1); usage 53 fs/afs/volume.c refcount_set(&slist->usage, 1); usage 174 fs/afs/volume.c if (atomic_dec_and_test(&volume->usage)) usage 51 fs/afs/write.c refcount_set(&req->usage, 1); usage 399 fs/afs/write.c refcount_inc(&wbk->usage); usage 833 fs/afs/write.c if (refcount_read(&wbk->usage) == 1) usage 623 fs/afs/yfsclient.c refcount_inc(&req->usage); usage 2079 fs/btrfs/ctree.h cpu->usage = le64_to_cpu(disk->usage); usage 2099 fs/btrfs/ctree.h disk->usage = cpu_to_le64(cpu->usage); usage 3378 fs/btrfs/volumes.c bctl->data.usage = 90; usage 3384 fs/btrfs/volumes.c bctl->sys.usage = 90; usage 3390 fs/btrfs/volumes.c bctl->meta.usage = 90; usage 3475 fs/btrfs/volumes.c else if (bargs->usage > 100) usage 3479 fs/btrfs/volumes.c bargs->usage); usage 3975 fs/btrfs/volumes.c CHECK_APPEND_1ARG("usage=%llu,", bargs->usage); usage 108 fs/cachefiles/bind.c atomic_set(&fsdef->usage, 1); usage 50 fs/cachefiles/interface.c atomic_set(&object->usage, 1); usage 189 fs/cachefiles/interface.c _enter("{OBJ%x,%d}", _object->debug_id, atomic_read(&object->usage)); usage 192 fs/cachefiles/interface.c ASSERT((atomic_read(&object->usage) & 0xffff0000) != 0x6b6b0000); usage 195 fs/cachefiles/interface.c u = atomic_inc_return(&object->usage); usage 274 fs/cachefiles/interface.c object->fscache.debug_id, atomic_read(&object->usage)); usage 280 fs/cachefiles/interface.c ASSERT((atomic_read(&object->usage) & 0xffff0000) != 0x6b6b0000); usage 334 fs/cachefiles/interface.c object->fscache.debug_id, atomic_read(&object->usage)); usage 337 fs/cachefiles/interface.c ASSERT((atomic_read(&object->usage) & 0xffff0000) != 0x6b6b0000); usage 343 fs/cachefiles/interface.c u = atomic_dec_return(&object->usage); usage 43 fs/cachefiles/internal.h atomic_t usage; /* object usage count */ usage 191 fs/cachefiles/namei.c atomic_inc(&xobject->usage); usage 702 fs/cachefiles/rdwr.c object->fscache.debug_id, atomic_read(&op->op.usage), usage 798 fs/ext4/xattr.c int ext4_get_inode_usage(struct inode *inode, qsize_t *usage) usage 845 fs/ext4/xattr.c *usage = ea_inode_refs + 1; usage 212 fs/ext4/xattr.h extern int ext4_get_inode_usage(struct inode *inode, qsize_t *usage); usage 365 fs/fs_context.c refcount_inc(&fc->log->usage); usage 475 fs/fs_context.c if (refcount_dec_and_test(&log->usage)) { usage 32 fs/fscache/cache.c atomic_inc(&tag->usage); usage 46 fs/fscache/cache.c atomic_set(&xtag->usage, 1); usage 54 fs/fscache/cache.c atomic_inc(&tag->usage); usage 74 fs/fscache/cache.c if (atomic_dec_and_test(&tag->usage)) usage 273 fs/fscache/cache.c atomic_inc(&fscache_fsdef_index.usage); usage 164 fs/fscache/cookie.c atomic_set(&cookie->usage, 1); usage 221 fs/fscache/cookie.c atomic_read(&cursor->usage)); usage 824 fs/fscache/cookie.c ASSERTCMP(atomic_read(&cookie->parent->usage), >, 0); usage 830 fs/fscache/cookie.c ASSERTCMP(atomic_read(&cookie->usage), >, 0); usage 860 fs/fscache/cookie.c int usage; usage 865 fs/fscache/cookie.c usage = atomic_dec_return(&cookie->usage); usage 866 fs/fscache/cookie.c trace_fscache_cookie(cookie, where, usage); usage 868 fs/fscache/cookie.c if (usage > 0) usage 870 fs/fscache/cookie.c BUG_ON(usage < 0); usage 48 fs/fscache/fsdef.c .usage = ATOMIC_INIT(1), usage 322 fs/fscache/internal.h int usage = atomic_inc_return(&cookie->usage); usage 324 fs/fscache/internal.h trace_fscache_cookie(cookie, where, usage); usage 38 fs/fscache/operation.c atomic_set(&op->usage, 1); usage 63 fs/fscache/operation.c op->object->debug_id, op->debug_id, atomic_read(&op->usage)); usage 68 fs/fscache/operation.c ASSERTCMP(atomic_read(&op->usage), >, 0); usage 77 fs/fscache/operation.c atomic_inc(&op->usage); usage 166 fs/fscache/operation.c ASSERTCMP(atomic_read(&op->usage), >, 0); usage 193 fs/fscache/operation.c atomic_inc(&op->usage); usage 197 fs/fscache/operation.c atomic_inc(&op->usage); usage 213 fs/fscache/operation.c atomic_inc(&op->usage); usage 248 fs/fscache/operation.c object->debug_id, op->debug_id, atomic_read(&op->usage)); usage 253 fs/fscache/operation.c ASSERTCMP(atomic_read(&op->usage), >, 0); usage 279 fs/fscache/operation.c atomic_inc(&op->usage); usage 283 fs/fscache/operation.c atomic_inc(&op->usage); usage 295 fs/fscache/operation.c atomic_inc(&op->usage); usage 373 fs/fscache/operation.c ASSERTCMP(atomic_read(&op->usage), >, 0); usage 500 fs/fscache/operation.c op->debug_id, atomic_read(&op->usage)); usage 502 fs/fscache/operation.c ASSERTCMP(atomic_read(&op->usage), >, 0); usage 504 fs/fscache/operation.c if (!atomic_dec_and_test(&op->usage)) usage 592 fs/fscache/operation.c ASSERTCMP(atomic_read(&op->usage), ==, 0); usage 622 fs/fscache/operation.c op->object->debug_id, op->debug_id, atomic_read(&op->usage)); usage 799 fs/fscache/page.c _enter("{OP%x,%d}", op->op.debug_id, atomic_read(&op->op.usage)); usage 103 fs/fsopen.c refcount_set(&fc->log->usage, 1); usage 3387 fs/unicode/mkutf8data.c usage(); usage 39 include/crypto/pkcs7.h enum key_being_used_for usage); usage 34 include/linux/cpuidle.h unsigned long long usage; usage 26 include/linux/cred.h atomic_t usage; usage 42 include/linux/cred.h atomic_inc(&gi->usage); usage 52 include/linux/cred.h if (atomic_dec_and_test(&(group_info)->usage)) \ usage 112 include/linux/cred.h atomic_t usage; usage 230 include/linux/cred.h atomic_inc(&cred->usage); usage 262 include/linux/cred.h if (!atomic_inc_not_zero(&nonconst_cred->usage)) usage 286 include/linux/cred.h if (atomic_dec_and_test(&(cred)->usage)) usage 177 include/linux/fs_context.h refcount_t usage; usage 48 include/linux/fscache-cache.h atomic_t usage; usage 113 include/linux/fscache-cache.h atomic_t usage; usage 172 include/linux/fscache-cache.h atomic_inc(&op->op.usage); usage 134 include/linux/fscache.h atomic_t usage; /* number of users of this cookie */ usage 71 include/linux/hid-sensor-hub.h u32 usage; usage 408 include/linux/hid.h unsigned usage[HID_MAX_USAGES]; /* usage array */ usage 425 include/linux/hid.h unsigned usage; usage 451 include/linux/hid.h struct hid_usage *usage; /* usage table for this function */ usage 752 include/linux/hid.h struct hid_usage *usage, __s32 value); usage 760 include/linux/hid.h struct hid_usage *usage, unsigned long **bit, int *max); usage 763 include/linux/hid.h struct hid_usage *usage, unsigned long **bit, int *max); usage 768 include/linux/hid.h struct hid_usage *usage); usage 964 include/linux/hid.h struct hid_usage *usage, unsigned long **bit, int *max, usage 969 include/linux/hid.h usage->type = type; usage 970 include/linux/hid.h usage->code = c; usage 999 include/linux/hid.h struct hid_usage *usage, unsigned long **bit, int *max, usage 1002 include/linux/hid.h hid_map_usage(hidinput, usage, bit, max, type, c); usage 44 include/linux/hiddev.h struct hid_usage *usage, __s32 value); usage 52 include/linux/hiddev.h struct hid_usage *usage, __s32 value) { } usage 205 include/linux/kdb.h static inline int kdb_register(char *cmd, kdb_func_t func, char *usage, usage 207 include/linux/kdb.h static inline int kdb_register_flags(char *cmd, kdb_func_t func, char *usage, usage 87 include/linux/key.h refcount_t usage; usage 173 include/linux/key.h refcount_t usage; /* number of references */ usage 281 include/linux/key.h refcount_inc(&key->usage); usage 762 include/linux/mlx4/device.h u8 usage; usage 772 include/linux/mlx4/device.h u8 usage; usage 1144 include/linux/mlx4/device.h int *base, u8 flags, u8 usage); usage 1442 include/linux/mlx4/device.h int mlx4_counter_alloc(struct mlx4_dev *dev, u32 *idx, u8 usage); usage 1199 include/linux/mmzone.h struct mem_section_usage *usage; usage 1232 include/linux/mmzone.h return ms->usage->pageblock_flags; usage 1335 include/linux/mmzone.h return test_bit(idx, ms->usage->subsection_map); usage 10 include/linux/page_counter.h atomic_long_t usage; usage 40 include/linux/page_counter.h atomic_long_set(&counter->usage, 0); usage 47 include/linux/page_counter.h return atomic_long_read(&counter->usage); usage 642 include/linux/sched.h refcount_t usage; usage 110 include/linux/sched/task.h refcount_inc(&t->usage); usage 118 include/linux/sched/task.h if (refcount_dec_and_test(&t->usage)) usage 240 include/linux/sunrpc/gss_krb5.h unsigned int usage, struct xdr_netobj *cksumout); usage 245 include/linux/sunrpc/gss_krb5.h unsigned int usage, struct xdr_netobj *cksum); usage 40 include/linux/verification.h enum key_being_used_for usage, usage 48 include/linux/verification.h enum key_being_used_for usage, usage 58 include/linux/verification.h enum key_being_used_for usage); usage 543 include/trace/events/afs.h int usage, int outstanding, const void *where), usage 545 include/trace/events/afs.h TP_ARGS(call, op, usage, outstanding, where), usage 550 include/trace/events/afs.h __field(int, usage ) usage 558 include/trace/events/afs.h __entry->usage = usage; usage 566 include/trace/events/afs.h __entry->usage, usage 1274 include/trace/events/afs.h TP_PROTO(struct afs_server *server, int usage, enum afs_server_trace reason), usage 1276 include/trace/events/afs.h TP_ARGS(server, usage, reason), usage 1280 include/trace/events/afs.h __field(int, usage ) usage 1286 include/trace/events/afs.h __entry->usage = usage; usage 1293 include/trace/events/afs.h __entry->usage) usage 75 include/trace/events/cachefiles.h int usage), usage 77 include/trace/events/cachefiles.h TP_ARGS(obj, cookie, why, usage), usage 84 include/trace/events/cachefiles.h __field(int, usage ) usage 90 include/trace/events/cachefiles.h __entry->usage = usage; usage 95 include/trace/events/cachefiles.h __entry->cookie, __entry->obj, __entry->usage, usage 165 include/trace/events/fscache.h int usage), usage 167 include/trace/events/fscache.h TP_ARGS(cookie, where, usage), usage 173 include/trace/events/fscache.h __field(int, usage ) usage 183 include/trace/events/fscache.h __entry->usage = usage; usage 191 include/trace/events/fscache.h __entry->cookie, __entry->usage, usage 233 include/trace/events/fscache.h __entry->p_usage = atomic_read(&cookie->parent->usage); usage 253 include/trace/events/fscache.h __field(int, usage ) usage 263 include/trace/events/fscache.h __entry->usage = atomic_read(&cookie->usage); usage 271 include/trace/events/fscache.h __entry->cookie, __entry->usage, usage 283 include/trace/events/fscache.h __field(int, usage ) usage 291 include/trace/events/fscache.h __entry->usage = atomic_read(&cookie->usage); usage 298 include/trace/events/fscache.h __entry->cookie, __entry->usage, usage 309 include/trace/events/fscache.h __field(int, usage ) usage 317 include/trace/events/fscache.h __entry->usage = atomic_read(&cookie->usage); usage 324 include/trace/events/fscache.h __entry->cookie, __entry->usage, usage 496 include/trace/events/rxrpc.h int usage, const void *where), usage 498 include/trace/events/rxrpc.h TP_ARGS(local_debug_id, op, usage, where), usage 503 include/trace/events/rxrpc.h __field(int, usage ) usage 510 include/trace/events/rxrpc.h __entry->usage = usage; usage 517 include/trace/events/rxrpc.h __entry->usage, usage 523 include/trace/events/rxrpc.h int usage, const void *where), usage 525 include/trace/events/rxrpc.h TP_ARGS(peer_debug_id, op, usage, where), usage 530 include/trace/events/rxrpc.h __field(int, usage ) usage 537 include/trace/events/rxrpc.h __entry->usage = usage; usage 544 include/trace/events/rxrpc.h __entry->usage, usage 550 include/trace/events/rxrpc.h int usage, const void *where), usage 552 include/trace/events/rxrpc.h TP_ARGS(conn_debug_id, op, usage, where), usage 557 include/trace/events/rxrpc.h __field(int, usage ) usage 564 include/trace/events/rxrpc.h __entry->usage = usage; usage 571 include/trace/events/rxrpc.h __entry->usage, usage 585 include/trace/events/rxrpc.h __field(int, usage ) usage 593 include/trace/events/rxrpc.h __entry->usage = atomic_read(&conn->usage); usage 605 include/trace/events/rxrpc.h __entry->usage) usage 610 include/trace/events/rxrpc.h int usage, const void *where, const void *aux), usage 612 include/trace/events/rxrpc.h TP_ARGS(call_debug_id, op, usage, where, aux), usage 617 include/trace/events/rxrpc.h __field(int, usage ) usage 625 include/trace/events/rxrpc.h __entry->usage = usage; usage 633 include/trace/events/rxrpc.h __entry->usage, usage 640 include/trace/events/rxrpc.h int usage, int mod_count, u8 flags, const void *where), usage 642 include/trace/events/rxrpc.h TP_ARGS(skb, op, usage, mod_count, flags, where), usage 648 include/trace/events/rxrpc.h __field(int, usage ) usage 657 include/trace/events/rxrpc.h __entry->usage = usage; usage 666 include/trace/events/rxrpc.h __entry->usage, usage 291 include/uapi/linux/btrfs.h __u64 usage; usage 675 include/uapi/linux/btrfs_tree.h __le64 usage; usage 56 include/uapi/linux/hiddev.h __u32 usage; usage 67 init/init_task.c .usage = REFCOUNT_INIT(2), usage 45 kernel/cgroup/rdma.c int usage; usage 180 kernel/cgroup/rdma.c rpool->resources[index].usage--; usage 186 kernel/cgroup/rdma.c WARN_ON_ONCE(rpool->resources[index].usage < 0); usage 284 kernel/cgroup/rdma.c new = rpool->resources[index].usage + 1; usage 289 kernel/cgroup/rdma.c rpool->resources[index].usage = new; usage 511 kernel/cgroup/rdma.c value = rpool->resources[i].usage; usage 391 kernel/cgroup/rstat.c u64 usage, utime, stime; usage 397 kernel/cgroup/rstat.c usage = cgrp->bstat.cputime.sum_exec_runtime; usage 401 kernel/cgroup/rstat.c do_div(usage, NSEC_PER_USEC); usage 408 kernel/cgroup/rstat.c usage, utime, stime); usage 36 kernel/cred.c struct group_info init_groups = { .usage = ATOMIC_INIT(2) }; usage 42 kernel/cred.c .usage = ATOMIC_INIT(4), usage 101 kernel/cred.c atomic_read(&cred->usage) != 0 || usage 106 kernel/cred.c atomic_read(&cred->usage), usage 109 kernel/cred.c if (atomic_read(&cred->usage) != 0) usage 111 kernel/cred.c cred, atomic_read(&cred->usage)); usage 135 kernel/cred.c atomic_read(&cred->usage), usage 138 kernel/cred.c BUG_ON(atomic_read(&cred->usage) != 0); usage 162 kernel/cred.c atomic_read(&tsk->cred->usage), usage 221 kernel/cred.c atomic_set(&new->usage, 1); usage 268 kernel/cred.c atomic_set(&new->usage, 1); usage 349 kernel/cred.c p->cred, atomic_read(&p->cred->usage), usage 440 kernel/cred.c atomic_read(&new->usage), usage 449 kernel/cred.c BUG_ON(atomic_read(&new->usage) < 1); usage 523 kernel/cred.c atomic_read(&new->usage), usage 529 kernel/cred.c BUG_ON(atomic_read(&new->usage) < 1); usage 546 kernel/cred.c atomic_read(&new->usage), usage 569 kernel/cred.c atomic_read(&old->usage), usage 587 kernel/cred.c atomic_read(&old->usage), usage 701 kernel/cred.c atomic_set(&new->usage, 1); usage 812 kernel/cred.c atomic_read(&cred->usage), usage 886 kernel/cred.c atomic_read(&tsk->cred->usage), usage 663 kernel/debug/kdb/kdb_main.c char *usage; usage 687 kernel/debug/kdb/kdb_main.c kdb_register_flags(s->name, kdb_exec_defcmd, s->usage, usage 719 kernel/debug/kdb/kdb_main.c s->usage, s->help); usage 744 kernel/debug/kdb/kdb_main.c s->usage = kdb_strdup(argv[2], GFP_KDB); usage 745 kernel/debug/kdb/kdb_main.c if (!s->usage) usage 750 kernel/debug/kdb/kdb_main.c if (s->usage[0] == '"') { usage 751 kernel/debug/kdb/kdb_main.c strcpy(s->usage, argv[2]+1); usage 752 kernel/debug/kdb/kdb_main.c s->usage[strlen(s->usage)-1] = '\0'; usage 763 kernel/debug/kdb/kdb_main.c kfree(s->usage); usage 2660 kernel/debug/kdb/kdb_main.c char *usage, usage 2712 kernel/debug/kdb/kdb_main.c kp->cmd_usage = usage; usage 2736 kernel/debug/kdb/kdb_main.c char *usage, usage 2740 kernel/debug/kdb/kdb_main.c return kdb_register_flags(cmd, func, usage, help, minlen, 0); usage 737 kernel/fork.c WARN_ON(refcount_read(&tsk->usage)); usage 923 kernel/fork.c refcount_set(&tsk->usage, 1); usage 27 kernel/groups.c atomic_set(&gi->usage, 1); usage 617 kernel/locking/lockdep.c void get_usage_chars(struct lock_class *class, char usage[LOCK_USAGE_CHARS]) usage 622 kernel/locking/lockdep.c usage[i++] = get_usage_char(class, LOCK_USED_IN_##__STATE); \ usage 623 kernel/locking/lockdep.c usage[i++] = get_usage_char(class, LOCK_USED_IN_##__STATE##_READ); usage 627 kernel/locking/lockdep.c usage[i] = '\0'; usage 650 kernel/locking/lockdep.c char usage[LOCK_USAGE_CHARS]; usage 652 kernel/locking/lockdep.c get_usage_chars(class, usage); usage 656 kernel/locking/lockdep.c printk(KERN_CONT "){%s}", usage); usage 3305 kernel/locking/lockdep.c check_usage_f usage = dir ? usage 3320 kernel/locking/lockdep.c !usage(curr, this, excl_bit, state_name(new_bit & ~LOCK_USAGE_READ_MASK))) usage 3331 kernel/locking/lockdep.c !usage(curr, this, excl_bit + LOCK_USAGE_READ_MASK, usage 119 kernel/locking/lockdep_internals.h char usage[LOCK_USAGE_CHARS]); usage 62 kernel/locking/lockdep_proc.c char usage[LOCK_USAGE_CHARS]; usage 78 kernel/locking/lockdep_proc.c get_usage_chars(class, usage); usage 79 kernel/locking/lockdep_proc.c seq_printf(m, " %s", usage); usage 129 kernel/seccomp.c refcount_t usage; usage 465 kernel/seccomp.c refcount_set(&sfilter->usage, 1); usage 554 kernel/seccomp.c refcount_inc(&filter->usage); usage 577 kernel/seccomp.c while (orig && refcount_dec_and_test(&orig->usage)) { usage 2438 mm/memcontrol.c unsigned long usage, high; usage 2441 mm/memcontrol.c usage = page_counter_read(&memcg->memory); usage 2444 mm/memcontrol.c if (usage <= high) usage 2453 mm/memcontrol.c overage = usage - high; usage 4025 mm/memcontrol.c unsigned long usage; usage 4037 mm/memcontrol.c usage = mem_cgroup_usage(memcg, swap); usage 4052 mm/memcontrol.c for (; i >= 0 && unlikely(t->entries[i].threshold > usage); i--) usage 4064 mm/memcontrol.c for (; i < t->size && unlikely(t->entries[i].threshold <= usage); i++) usage 4125 mm/memcontrol.c unsigned long usage; usage 4136 mm/memcontrol.c usage = mem_cgroup_usage(memcg, false); usage 4139 mm/memcontrol.c usage = mem_cgroup_usage(memcg, true); usage 4174 mm/memcontrol.c if (new->entries[i].threshold <= usage) { usage 4217 mm/memcontrol.c unsigned long usage; usage 4224 mm/memcontrol.c usage = mem_cgroup_usage(memcg, false); usage 4227 mm/memcontrol.c usage = mem_cgroup_usage(memcg, true); usage 4268 mm/memcontrol.c if (new->entries[j].threshold <= usage) { usage 6430 mm/memcontrol.c unsigned long usage; usage 6440 mm/memcontrol.c usage = page_counter_read(&memcg->memory); usage 6441 mm/memcontrol.c if (!usage) usage 6460 mm/memcontrol.c min_usage = min(usage, memcg->memory.min); usage 6474 mm/memcontrol.c low_usage = min(usage, memcg->memory.low); usage 6487 mm/memcontrol.c if (usage <= emin) usage 6489 mm/memcontrol.c else if (usage <= elow) usage 171 mm/memory_hotplug.c struct mem_section_usage *usage; usage 191 mm/memory_hotplug.c usage = ms->usage; usage 192 mm/memory_hotplug.c page = virt_to_page(usage); usage 206 mm/memory_hotplug.c struct mem_section_usage *usage; usage 215 mm/memory_hotplug.c usage = ms->usage; usage 216 mm/memory_hotplug.c page = virt_to_page(usage); usage 17 mm/page_counter.c unsigned long usage) usage 26 mm/page_counter.c if (usage <= c->min) usage 27 mm/page_counter.c protected = usage; usage 38 mm/page_counter.c if (usage <= c->low) usage 39 mm/page_counter.c protected = usage; usage 59 mm/page_counter.c new = atomic_long_sub_return(nr_pages, &counter->usage); usage 79 mm/page_counter.c new = atomic_long_add_return(nr_pages, &c->usage); usage 121 mm/page_counter.c new = atomic_long_add_return(nr_pages, &c->usage); usage 123 mm/page_counter.c atomic_long_sub(nr_pages, &c->usage); usage 177 mm/page_counter.c long usage; usage 190 mm/page_counter.c usage = atomic_long_read(&counter->usage); usage 192 mm/page_counter.c if (usage > nr_pages) usage 197 mm/page_counter.c if (atomic_long_read(&counter->usage) <= usage) usage 219 mm/page_counter.c propagate_protected_usage(c, atomic_long_read(&c->usage)); usage 236 mm/page_counter.c propagate_protected_usage(c, atomic_long_read(&c->usage)); usage 246 mm/sparse.c subsection_mask_set(ms->usage->subsection_map, pfn, pfns); usage 335 mm/sparse.c struct mem_section_usage *usage, unsigned long flags) usage 340 mm/sparse.c ms->usage = usage; usage 358 mm/sparse.c struct mem_section_usage *usage; usage 375 mm/sparse.c usage = memblock_alloc_try_nid(size, SMP_CACHE_BYTES, goal, limit, nid); usage 376 mm/sparse.c if (!usage && limit) { usage 380 mm/sparse.c return usage; usage 384 mm/sparse.c struct mem_section_usage *usage) usage 398 mm/sparse.c usemap_snr = pfn_to_section_nr(__pa(usage) >> PAGE_SHIFT); usage 434 mm/sparse.c struct mem_section_usage *usage) usage 531 mm/sparse.c struct mem_section_usage *usage; usage 535 mm/sparse.c usage = sparse_early_usemaps_alloc_pgdat_section(NODE_DATA(nid), usage 537 mm/sparse.c if (!usage) { usage 556 mm/sparse.c check_usemap_section_nr(nid, usage); usage 557 mm/sparse.c sparse_init_one_section(__nr_to_section(pnum), pnum, map, usage, usage 559 mm/sparse.c usage = (void *) usage + mem_section_usage_size(); usage 746 mm/sparse.c unsigned long *subsection_map = ms->usage usage 747 mm/sparse.c ? &ms->usage->subsection_map[0] : NULL; usage 787 mm/sparse.c if (!PageReserved(virt_to_page(ms->usage))) { usage 788 mm/sparse.c kfree(ms->usage); usage 789 mm/sparse.c ms->usage = NULL; usage 814 mm/sparse.c struct mem_section_usage *usage = NULL; usage 821 mm/sparse.c if (!ms->usage) { usage 822 mm/sparse.c usage = kzalloc(mem_section_usage_size(), GFP_KERNEL); usage 823 mm/sparse.c if (!usage) usage 825 mm/sparse.c ms->usage = usage; usage 827 mm/sparse.c subsection_map = &ms->usage->subsection_map[0]; usage 838 mm/sparse.c if (usage) usage 839 mm/sparse.c ms->usage = NULL; usage 840 mm/sparse.c kfree(usage); usage 906 mm/sparse.c sparse_init_one_section(ms, section_nr, memmap, ms->usage, 0); usage 733 mm/swapfile.c unsigned char usage, int nr, usage 846 mm/swapfile.c si->swap_map[offset] = usage; usage 978 mm/swapfile.c unsigned char usage) usage 983 mm/swapfile.c n_ret = scan_swap_map_slots(si, usage, 1, &entry); usage 1179 mm/swapfile.c unsigned char usage) usage 1189 mm/swapfile.c if (usage == SWAP_HAS_CACHE) { usage 1208 mm/swapfile.c usage = count | has_cache; usage 1209 mm/swapfile.c p->swap_map[offset] = usage ? : SWAP_HAS_CACHE; usage 1211 mm/swapfile.c return usage; usage 1278 mm/swapfile.c swp_entry_t entry, unsigned char usage) usage 1284 mm/swapfile.c usage = __swap_entry_free_locked(p, offset, usage); usage 1286 mm/swapfile.c if (!usage) usage 1289 mm/swapfile.c return usage; usage 3377 mm/swapfile.c static int __swap_duplicate(swp_entry_t entry, unsigned char usage) usage 3408 mm/swapfile.c if (usage == SWAP_HAS_CACHE) { usage 3421 mm/swapfile.c count += usage; usage 108 net/atm/lec.c refcount_inc(&entry->usage); usage 113 net/atm/lec.c if (refcount_dec_and_test(&entry->usage)) usage 1561 net/atm/lec.c refcount_set(&to_return->usage, 1); usage 51 net/atm/lec_arpc.h refcount_t usage; /* usage count */ usage 43 net/core/net_namespace.c static struct key_tag init_net_key_domain = { .usage = REFCOUNT_INIT(1) }; usage 419 net/core/net_namespace.c refcount_set(&net->key_domain->usage, 1); usage 353 net/rxrpc/af_rxrpc.c _enter("%d{%d}", call->debug_id, atomic_read(&call->usage)); usage 269 net/rxrpc/ar-internal.h atomic_t usage; /* Number of references to the structure */ usage 294 net/rxrpc/ar-internal.h atomic_t usage; usage 416 net/rxrpc/ar-internal.h atomic_t usage; usage 601 net/rxrpc/ar-internal.h atomic_t usage; usage 88 net/rxrpc/call_accept.c atomic_read(&conn->usage), here); usage 101 net/rxrpc/call_accept.c atomic_read(&call->usage), usage 91 net/rxrpc/call_object.c _leave(" = %p [%d]", call, atomic_read(&call->usage)); usage 139 net/rxrpc/call_object.c atomic_set(&call->usage, 1); usage 243 net/rxrpc/call_object.c atomic_read(&call->usage), usage 294 net/rxrpc/call_object.c atomic_read(&call->usage), here, NULL); usage 317 net/rxrpc/call_object.c atomic_read(&call->usage), here, ERR_PTR(ret)); usage 375 net/rxrpc/call_object.c int n = atomic_fetch_add_unless(&call->usage, 1, 0); usage 392 net/rxrpc/call_object.c int n = atomic_read(&call->usage); usage 409 net/rxrpc/call_object.c int n = atomic_read(&call->usage); usage 422 net/rxrpc/call_object.c int n = atomic_inc_return(&call->usage); usage 449 net/rxrpc/call_object.c _enter("{%d,%d}", call->debug_id, atomic_read(&call->usage)); usage 452 net/rxrpc/call_object.c atomic_read(&call->usage), usage 546 net/rxrpc/call_object.c n = atomic_dec_return(&call->usage); usage 639 net/rxrpc/call_object.c call, atomic_read(&call->usage), usage 156 net/rxrpc/conn_client.c conn, atomic_read(&conn->usage)); usage 182 net/rxrpc/conn_client.c atomic_set(&conn->usage, 1); usage 216 net/rxrpc/conn_client.c atomic_read(&conn->usage), usage 1002 net/rxrpc/conn_client.c n = atomic_dec_return(&conn->usage); usage 110 net/rxrpc/conn_object.c if (!conn || atomic_read(&conn->usage) == 0) usage 120 net/rxrpc/conn_object.c if (!conn || atomic_read(&conn->usage) == 0) { usage 267 net/rxrpc/conn_object.c int n = atomic_fetch_add_unless(&conn->usage, 1, 0); usage 284 net/rxrpc/conn_object.c int n = atomic_read(&conn->usage); usage 296 net/rxrpc/conn_object.c int n = atomic_inc_return(&conn->usage); usage 310 net/rxrpc/conn_object.c int n = atomic_fetch_add_unless(&conn->usage, 1, 0); usage 338 net/rxrpc/conn_object.c n = atomic_dec_return(&conn->usage); usage 354 net/rxrpc/conn_object.c _enter("{%d,u=%d}", conn->debug_id, atomic_read(&conn->usage)); usage 356 net/rxrpc/conn_object.c ASSERTCMP(atomic_read(&conn->usage), ==, 0); usage 395 net/rxrpc/conn_object.c ASSERTCMP(atomic_read(&conn->usage), >, 0); usage 396 net/rxrpc/conn_object.c if (likely(atomic_read(&conn->usage) > 1)) usage 408 net/rxrpc/conn_object.c conn->debug_id, atomic_read(&conn->usage), usage 421 net/rxrpc/conn_object.c if (atomic_cmpxchg(&conn->usage, 1, 0) != 1) usage 445 net/rxrpc/conn_object.c ASSERTCMP(atomic_read(&conn->usage), ==, 0); usage 473 net/rxrpc/conn_object.c conn, atomic_read(&conn->usage)); usage 96 net/rxrpc/conn_service.c if (atomic_read(&cursor->usage) == 0) usage 129 net/rxrpc/conn_service.c atomic_set(&conn->usage, 2); usage 138 net/rxrpc/conn_service.c atomic_read(&conn->usage), usage 1144 net/rxrpc/input.c CHECK_SLAB_OKAY(&local->usage); usage 1403 net/rxrpc/input.c if (!call || atomic_read(&call->usage) == 0) { usage 81 net/rxrpc/local_object.c atomic_set(&local->usage, 1); usage 314 net/rxrpc/local_object.c n = atomic_inc_return(&local->usage); usage 327 net/rxrpc/local_object.c int n = atomic_fetch_add_unless(&local->usage, 1, 0); usage 344 net/rxrpc/local_object.c int n = atomic_read(&local->usage); usage 364 net/rxrpc/local_object.c n = atomic_dec_return(&local->usage); usage 452 net/rxrpc/local_object.c atomic_read(&local->usage), NULL); usage 508 net/rxrpc/local_object.c local, atomic_read(&local->usage)); usage 124 net/rxrpc/peer_object.c atomic_read(&peer->usage) > 0) usage 143 net/rxrpc/peer_object.c _leave(" = %p {u=%d}", peer, atomic_read(&peer->usage)); usage 218 net/rxrpc/peer_object.c atomic_set(&peer->usage, 1); usage 373 net/rxrpc/peer_object.c _leave(" = %p {u=%d}", peer, atomic_read(&peer->usage)); usage 385 net/rxrpc/peer_object.c n = atomic_inc_return(&peer->usage); usage 398 net/rxrpc/peer_object.c int n = atomic_fetch_add_unless(&peer->usage, 1, 0); usage 436 net/rxrpc/peer_object.c n = atomic_dec_return(&peer->usage); usage 453 net/rxrpc/peer_object.c n = atomic_dec_return(&peer->usage); usage 478 net/rxrpc/peer_object.c atomic_read(&peer->usage), usage 110 net/rxrpc/proc.c atomic_read(&call->usage), usage 192 net/rxrpc/proc.c atomic_read(&conn->usage), usage 242 net/rxrpc/proc.c atomic_read(&peer->usage), usage 42 net/sunrpc/auth.c .usage = ATOMIC_INIT(1), usage 142 net/sunrpc/auth_gss/gss_krb5_crypto.c arcfour_hmac_md5_usage_to_salt(unsigned int usage, u8 salt[4]) usage 146 net/sunrpc/auth_gss/gss_krb5_crypto.c switch (usage) { usage 167 net/sunrpc/auth_gss/gss_krb5_crypto.c unsigned int usage, struct xdr_netobj *cksumout) usage 190 net/sunrpc/auth_gss/gss_krb5_crypto.c if (arcfour_hmac_md5_usage_to_salt(usage, rc4salt)) { usage 191 net/sunrpc/auth_gss/gss_krb5_crypto.c dprintk("%s: invalid usage value %u\n", __func__, usage); usage 278 net/sunrpc/auth_gss/gss_krb5_crypto.c unsigned int usage, struct xdr_netobj *cksumout) usage 290 net/sunrpc/auth_gss/gss_krb5_crypto.c cksumkey, usage, cksumout); usage 375 net/sunrpc/auth_gss/gss_krb5_crypto.c unsigned int usage, struct xdr_netobj *cksumout) usage 746 net/sunrpc/auth_gss/gss_krb5_crypto.c unsigned int usage; usage 752 net/sunrpc/auth_gss/gss_krb5_crypto.c usage = KG_USAGE_INITIATOR_SEAL; usage 757 net/sunrpc/auth_gss/gss_krb5_crypto.c usage = KG_USAGE_ACCEPTOR_SEAL; usage 798 net/sunrpc/auth_gss/gss_krb5_crypto.c cksumkey, usage, &hmac); usage 866 net/sunrpc/auth_gss/gss_krb5_crypto.c unsigned int usage; usage 872 net/sunrpc/auth_gss/gss_krb5_crypto.c usage = KG_USAGE_ACCEPTOR_SEAL; usage 877 net/sunrpc/auth_gss/gss_krb5_crypto.c usage = KG_USAGE_INITIATOR_SEAL; usage 924 net/sunrpc/auth_gss/gss_krb5_crypto.c cksum_key, usage, &our_hmac_obj); usage 347 net/sunrpc/auth_gss/gss_krb5_mech.c set_cdata(u8 cdata[GSS_KRB5_K5CLENGTH], u32 usage, u8 seed) usage 349 net/sunrpc/auth_gss/gss_krb5_mech.c cdata[0] = (usage>>24)&0xff; usage 350 net/sunrpc/auth_gss/gss_krb5_mech.c cdata[1] = (usage>>16)&0xff; usage 351 net/sunrpc/auth_gss/gss_krb5_mech.c cdata[2] = (usage>>8)&0xff; usage 352 net/sunrpc/auth_gss/gss_krb5_mech.c cdata[3] = usage&0xff; usage 288 samples/bpf/cookie_uid_helper_example.c return usage(); usage 300 samples/bpf/cookie_uid_helper_example.c usage(); usage 190 samples/bpf/fds_example.c usage(); usage 99 samples/bpf/ibumad_user.c usage(argv[0]); usage 105 samples/bpf/ibumad_user.c usage(argv[0]); usage 148 samples/bpf/sampleip_user.c usage(); usage 155 samples/bpf/sampleip_user.c usage(); usage 99 samples/bpf/syscall_tp_user.c usage(argv[0]); usage 42 samples/bpf/tc_l2_redirect_user.c usage(); usage 48 samples/bpf/tc_l2_redirect_user.c usage(); usage 49 samples/bpf/test_cgrp2_array_pin.c usage(); usage 55 samples/bpf/test_cgrp2_array_pin.c usage(); usage 144 samples/bpf/test_cgrp2_attach.c return usage(argv[0]); usage 149 samples/bpf/test_cgrp2_attach.c return usage(argv[0]); usage 156 samples/bpf/test_cgrp2_attach.c return usage(argv[0]); usage 238 samples/bpf/test_cgrp2_sock.c return usage(argv[0]); usage 38 samples/bpf/test_cgrp2_sock2.c return usage(argv[0]); usage 107 samples/bpf/xdp1_user.c usage(basename(argv[0])); usage 113 samples/bpf/xdp1_user.c usage(basename(argv[0])); usage 123 samples/bpf/xdp_adjust_tail_user.c usage(argv[0]); usage 132 samples/bpf/xdp_adjust_tail_user.c usage(argv[0]); usage 95 samples/bpf/xdp_fwd_user.c usage(basename(argv[0])); usage 101 samples/bpf/xdp_fwd_user.c usage(basename(argv[0])); usage 678 samples/bpf/xdp_monitor_user.c usage(argv); usage 778 samples/bpf/xdp_redirect_cpu_user.c usage(argv, obj); usage 785 samples/bpf/xdp_redirect_cpu_user.c usage(argv, obj); usage 792 samples/bpf/xdp_redirect_cpu_user.c usage(argv, obj); usage 125 samples/bpf/xdp_redirect_map_user.c usage(basename(argv[0])); usage 126 samples/bpf/xdp_redirect_user.c usage(basename(argv[0])); usage 660 samples/bpf/xdp_router_ipv4_user.c usage(basename(argv[0])); usage 666 samples/bpf/xdp_router_ipv4_user.c usage(basename(argv[0])); usage 550 samples/bpf/xdp_rxq_info_user.c usage(argv); usage 557 samples/bpf/xdp_rxq_info_user.c usage(argv); usage 131 samples/bpf/xdp_sample_pkts_user.c usage(basename(argv[0])); usage 137 samples/bpf/xdp_sample_pkts_user.c usage(basename(argv[0])); usage 240 samples/bpf/xdp_tx_iptunnel_user.c usage(argv[0]); usage 249 samples/bpf/xdp_tx_iptunnel_user.c usage(argv[0]); usage 457 samples/bpf/xdpsock_user.c usage(basename(argv[0])); usage 465 samples/bpf/xdpsock_user.c usage(basename(argv[0])); usage 472 samples/bpf/xdpsock_user.c usage(basename(argv[0])); usage 117 samples/connector/ucon.c usage(); usage 122 samples/connector/ucon.c usage(); usage 397 scripts/basic/fixdep.c usage(); usage 87 scripts/conmakehash.c usage(argv[0]); usage 261 scripts/dtc/dtc.c usage(NULL); usage 263 scripts/dtc/dtc.c usage("unknown option"); usage 268 scripts/dtc/dtc.c usage("missing files"); usage 309 scripts/dtc/fdtget.c usage(NULL); usage 314 scripts/dtc/fdtget.c usage("Invalid type string"); usage 336 scripts/dtc/fdtget.c usage("Missing filename"); usage 347 scripts/dtc/fdtget.c usage("Must have an even number of arguments"); usage 314 scripts/dtc/fdtput.c usage(NULL); usage 321 scripts/dtc/fdtput.c usage("Invalid type string"); usage 333 scripts/dtc/fdtput.c usage("Missing filename"); usage 340 scripts/dtc/fdtput.c usage("Missing node"); usage 342 scripts/dtc/fdtput.c usage("Missing property"); usage 238 scripts/dtc/util.h case 'h': usage(NULL); \ usage 240 scripts/dtc/util.h case '?': usage("unknown option"); usage 755 scripts/kallsyms.c usage(); usage 758 scripts/kallsyms.c usage(); usage 1868 scripts/kconfig/qconf.cc usage(); usage 1874 scripts/kconfig/qconf.cc usage(); usage 81 scripts/pnmtologo.c static void usage(void) __attribute ((noreturn)); usage 461 scripts/pnmtologo.c usage(); usage 482 scripts/pnmtologo.c usage(); usage 486 scripts/pnmtologo.c usage(); usage 491 scripts/pnmtologo.c usage(); usage 53 scripts/selinux/genheaders/genheaders.c usage(); usage 48 scripts/selinux/mdp/mdp.c usage(argv[0]); usage 60 scripts/selinux/mdp/mdp.c usage(argv[0]); usage 246 scripts/selinux/mdp/mdp.c usage(argv[0]); usage 232 scripts/unifdef.c static void usage(void); usage 259 scripts/unifdef.c usage(); usage 309 scripts/unifdef.c usage(); usage 1175 scripts/unifdef.c usage(); usage 1178 scripts/unifdef.c usage(); usage 216 security/keys/gc.c if (refcount_read(&key->usage) == 0) usage 57 security/keys/internal.h refcount_t usage; /* for accessing qnkeys & qnbytes */ usage 92 security/keys/key.c refcount_set(&candidate->usage, 1); usage 109 security/keys/key.c refcount_inc(&user->usage); usage 121 security/keys/key.c if (refcount_dec_and_lock(&user->usage, &key_user_lock)) { usage 287 security/keys/key.c refcount_set(&key->usage, 1); usage 316 security/keys/key.c refcount_inc(&key->domain_tag->usage); usage 646 security/keys/key.c if (refcount_dec_and_test(&key->usage)) usage 683 security/keys/key.c if (!refcount_inc_not_zero(&key->usage)) usage 216 security/keys/keyring.c static struct key_tag default_domain_tag = { .usage = REFCOUNT_INIT(1), }; usage 240 security/keys/keyring.c if (refcount_dec_and_test(&tag->usage)) { usage 1175 security/keys/keyring.c if (!refcount_inc_not_zero(&keyring->usage)) usage 1436 security/keys/keyring.c kenter("{%d,%d}", keyring->serial, refcount_read(&keyring->usage)); usage 1449 security/keys/keyring.c kdebug("begun {%d,%d}", keyring->serial, refcount_read(&keyring->usage)); usage 1459 security/keys/keyring.c kleave(" = %d {%d,%d}", ret, keyring->serial, refcount_read(&keyring->usage)); usage 235 security/keys/proc.c refcount_read(&key->usage), usage 314 security/keys/proc.c refcount_read(&user->usage), usage 27 security/keys/process_keys.c .usage = REFCOUNT_INIT(3), usage 230 security/keys/request_key_auth.c kleave(" = {%d,%d}", authkey->serial, refcount_read(&authkey->usage)); usage 371 tools/accounting/getdelays.c usage(); usage 447 tools/accounting/getdelays.c usage(); usage 283 tools/bpf/bpf_jit_disasm.c usage(); usage 403 tools/bpf/bpftool/btf.c usage(); usage 413 tools/bpf/bpftool/btf.c usage(); usage 443 tools/bpf/bpftool/btf.c usage(); usage 413 tools/bpf/bpftool/main.c usage(); usage 420 tools/bpf/bpftool/main.c usage(); usage 21 tools/bpf/bpftool/main.h #define NEXT_ARG() ({ argc--; argv++; if (argc < 0) usage(); }) usage 22 tools/bpf/bpftool/main.h #define NEXT_ARGP() ({ (*argc)--; (*argv)++; if (*argc < 0) usage(); }) usage 107 tools/bpf/bpftool/main.h void usage(void) __noreturn; usage 780 tools/bpf/bpftool/map.c usage(); usage 886 tools/bpf/bpftool/map.c usage(); usage 969 tools/bpf/bpftool/map.c usage(); usage 1020 tools/bpf/bpftool/map.c usage(); usage 1091 tools/bpf/bpftool/map.c usage(); usage 1231 tools/bpf/bpftool/map.c usage(); usage 396 tools/bpf/bpftool/net.c usage(); usage 445 tools/bpf/bpftool/prog.c usage(); usage 472 tools/bpf/bpftool/prog.c usage(); usage 160 tools/build/fixdep.c usage(); usage 91 tools/firmware/ihex2fw.c return usage(); usage 96 tools/firmware/ihex2fw.c return usage(); usage 105 tools/firmware/ihex2fw.c return usage(); usage 124 tools/firmware/ihex2fw.c return usage(); usage 145 tools/laptop/dslm/dslm.c usage(); usage 164 tools/pci/pcitest.c goto usage; usage 172 tools/pci/pcitest.c goto usage; usage 177 tools/pci/pcitest.c goto usage; usage 182 tools/pci/pcitest.c goto usage; usage 202 tools/pci/pcitest.c usage: usage 114 tools/perf/bench/mem-functions.c const char *const *usage; usage 182 tools/perf/bench/mem-functions.c argc = parse_options(argc, argv, options, info->usage, 0); usage 296 tools/perf/bench/mem-functions.c .usage = bench_mem_memcpy_usage, usage 370 tools/perf/bench/mem-functions.c .usage = bench_mem_memset_usage, usage 110 tools/perf/builtin-data.c goto usage; usage 115 tools/perf/builtin-data.c goto usage; usage 127 tools/perf/builtin-data.c usage: usage 230 tools/perf/perf.c usage(perf_usage_string); usage 240 tools/perf/perf.c usage(perf_usage_string); usage 273 tools/perf/perf.c usage(perf_usage_string); usage 276 tools/perf/perf.c usage(perf_usage_string); usage 282 tools/perf/perf.c usage(perf_usage_string); usage 188 tools/perf/util/bpf-loader.c const char *usage; usage 194 tools/perf/util/bpf-loader.c .usage = "exec=<full path of file>", usage 200 tools/perf/util/bpf-loader.c .usage = "module=<module name> ", usage 206 tools/perf/util/bpf-loader.c .usage = "inlines=[yes|no] ", usage 212 tools/perf/util/bpf-loader.c .usage = "force=[yes|no] ", usage 234 tools/perf/util/bpf-loader.c pr_debug("\t%s:\t%s\n", bpf_prog_config_terms[i].usage, usage 16 tools/perf/util/util.h void usage(const char *err) __noreturn; usage 410 tools/power/acpi/tools/acpidbg/acpidbg.c usage(stdout, argv[0]); usage 415 tools/power/acpi/tools/acpidbg/acpidbg.c usage(stderr, argv[0]); usage 62 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); usage 67 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); usage 72 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); usage 78 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); usage 84 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); usage 92 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_SUCCESS); usage 95 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); usage 104 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); usage 110 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); usage 119 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); usage 218 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); usage 229 tools/power/acpi/tools/ec/ec_access.c usage(argv[0], EXIT_FAILURE); usage 118 tools/power/cpupower/bench/main.c usage(); usage 153 tools/power/cpupower/bench/main.c usage(); usage 1661 tools/power/x86/intel-speed-select/isst-config.c usage(); usage 1675 tools/power/x86/intel-speed-select/isst-config.c usage(); usage 249 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c usage(); usage 282 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c usage(); usage 301 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c usage(); usage 332 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c usage(); usage 379 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c usage(); usage 462 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c usage(); usage 564 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c usage(); usage 609 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c usage(); usage 621 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c usage(); usage 119 tools/spi/spidev_fdx.c goto usage; usage 124 tools/spi/spidev_fdx.c goto usage; usage 131 tools/spi/spidev_fdx.c usage: usage 140 tools/spi/spidev_fdx.c goto usage; usage 6930 tools/testing/selftests/bpf/test_btf.c usage(argv[0]); usage 6933 tools/testing/selftests/bpf/test_btf.c usage(argv[0]); usage 619 tools/testing/selftests/bpf/test_flow_dissector.c usage(filepath); usage 654 tools/testing/selftests/bpf/test_flow_dissector.c usage(argv[0]); usage 663 tools/testing/selftests/bpf/test_flow_dissector.c usage(argv[0]); usage 671 tools/testing/selftests/bpf/test_flow_dissector.c usage(argv[0]); usage 132 tools/testing/selftests/bpf/test_libbpf_open.c usage(argv); usage 137 tools/testing/selftests/bpf/test_libbpf_open.c usage(argv); usage 1808 tools/testing/selftests/bpf/test_sockmap.c usage(argv); usage 1816 tools/testing/selftests/bpf/test_sockmap.c usage(argv); usage 372 tools/testing/selftests/futex/functional/futex_requeue_pi.c usage(basename(argv[0])); usage 388 tools/testing/selftests/futex/functional/futex_requeue_pi.c usage(basename(argv[0])); usage 66 tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c usage(basename(argv[0])); usage 72 tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c usage(basename(argv[0])); usage 131 tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c usage(basename(argv[0])); usage 137 tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c usage(basename(argv[0])); usage 85 tools/testing/selftests/futex/functional/futex_wait_private_mapped_file.c usage(basename(argv[0])); usage 91 tools/testing/selftests/futex/functional/futex_wait_private_mapped_file.c usage(basename(argv[0])); usage 53 tools/testing/selftests/futex/functional/futex_wait_timeout.c usage(basename(argv[0])); usage 62 tools/testing/selftests/futex/functional/futex_wait_timeout.c usage(basename(argv[0])); usage 78 tools/testing/selftests/futex/functional/futex_wait_uninitialized_heap.c usage(basename(argv[0])); usage 84 tools/testing/selftests/futex/functional/futex_wait_uninitialized_heap.c usage(basename(argv[0])); usage 52 tools/testing/selftests/futex/functional/futex_wait_wouldblock.c usage(basename(argv[0])); usage 58 tools/testing/selftests/futex/functional/futex_wait_wouldblock.c usage(basename(argv[0])); usage 30 tools/testing/selftests/intel_pstate/aperf.c usage(argv[0]); usage 38 tools/testing/selftests/intel_pstate/aperf.c usage(argv[0]); usage 38 tools/testing/selftests/mqueue/mq_open_tests.c static char *usage = usage 44 tools/testing/selftests/mqueue/mq_perf_tests.c static char *usage = usage 783 tools/testing/selftests/net/msg_zerocopy.c usage(argv[0]); usage 342 tools/testing/selftests/net/udpgso_bench_rx.c usage(argv[0]); usage 496 tools/testing/selftests/net/udpgso_bench_tx.c usage(argv[0]); usage 94 tools/testing/selftests/networking/timestamping/hwtstamp_config.c usage(); usage 103 tools/testing/selftests/networking/timestamping/hwtstamp_config.c usage(); usage 318 tools/testing/selftests/networking/timestamping/timestamping.c usage(0); usage 345 tools/testing/selftests/networking/timestamping/timestamping.c usage(argv[i]); usage 642 tools/testing/selftests/networking/timestamping/txtimestamp.c usage(argv[0]); usage 754 tools/testing/selftests/networking/timestamping/txtimestamp.c usage(argv[0]); usage 532 tools/testing/selftests/powerpc/alignment/alignment_handler.c usage(argv[0]); usage 425 tools/testing/selftests/powerpc/benchmarks/context_switch.c usage(); usage 437 tools/testing/selftests/powerpc/benchmarks/context_switch.c usage(); usage 447 tools/testing/selftests/powerpc/benchmarks/context_switch.c usage(); usage 246 tools/testing/selftests/powerpc/benchmarks/fork.c usage(); usage 255 tools/testing/selftests/powerpc/benchmarks/fork.c usage(); usage 261 tools/testing/selftests/powerpc/benchmarks/fork.c usage(); usage 265 tools/testing/selftests/powerpc/benchmarks/fork.c usage(); usage 76 tools/testing/selftests/powerpc/benchmarks/mmap_bench.c usage(); usage 83 tools/testing/selftests/powerpc/benchmarks/mmap_bench.c usage(); usage 213 tools/testing/selftests/ptp/testptp.c usage(progname); usage 240 tools/testing/selftests/ptp/testptp.c usage(progname); usage 244 tools/testing/selftests/ptp/testptp.c usage(progname); usage 434 tools/testing/selftests/ptp/testptp.c usage(progname); usage 1295 tools/testing/selftests/vm/userfaultfd.c usage(); usage 1308 tools/testing/selftests/vm/userfaultfd.c usage(); usage 1314 tools/testing/selftests/vm/userfaultfd.c usage(); usage 1320 tools/testing/selftests/vm/userfaultfd.c usage(); usage 235 tools/testing/selftests/watchdog/watchdog-test.c usage(argv[0]); usage 639 tools/testing/vsock/vsock_diag_test.c usage(); usage 644 tools/testing/vsock/vsock_diag_test.c usage(); usage 646 tools/testing/vsock/vsock_diag_test.c usage(); usage 648 tools/testing/vsock/vsock_diag_test.c usage(); usage 652 tools/testing/vsock/vsock_diag_test.c usage(); usage 263 tools/thermal/tmon/tmon.c usage(); usage 407 tools/usb/testusb.c goto usage; usage 411 tools/usb/testusb.c goto usage; usage 421 tools/usb/testusb.c goto usage; usage 426 tools/usb/testusb.c goto usage; usage 430 tools/usb/testusb.c goto usage; usage 435 tools/usb/testusb.c usage: usage 454 tools/usb/testusb.c goto usage; usage 458 tools/usb/testusb.c goto usage; usage 38 tools/usb/usbip/src/usbip.c void (*usage)(void); usage 46 tools/usb/usbip/src/usbip.c .usage = NULL usage 52 tools/usb/usbip/src/usbip.c .usage = NULL usage 58 tools/usb/usbip/src/usbip.c .usage = usbip_attach_usage usage 64 tools/usb/usbip/src/usbip.c .usage = usbip_detach_usage usage 70 tools/usb/usbip/src/usbip.c .usage = usbip_list_usage usage 76 tools/usb/usbip/src/usbip.c .usage = usbip_bind_usage usage 82 tools/usb/usbip/src/usbip.c .usage = usbip_unbind_usage usage 88 tools/usb/usbip/src/usbip.c .usage = NULL usage 101 tools/usb/usbip/src/usbip.c if (!strcmp(cmds[i].name, argv[0]) && cmds[i].usage) { usage 102 tools/usb/usbip/src/usbip.c cmds[i].usage(); usage 205 tools/virtio/virtio-trace/trace-agent.c usage(argv[0]); usage 1315 tools/vm/page-types.c usage(); usage 1318 tools/vm/page-types.c usage(); usage 1416 tools/vm/slabinfo.c usage(); usage 543 usr/gen_init_cpio.c usage(argv[0]); usage 549 usr/gen_init_cpio.c usage(argv[0]); usage 555 usr/gen_init_cpio.c usage(argv[0]); usage 564 usr/gen_init_cpio.c usage(argv[0]);