/openbmc/linux/mm/ |
H A D | bootmem_info.c | 48 struct mem_section_usage *usage; in register_page_bootmem_info_section() local 68 usage = ms->usage; in register_page_bootmem_info_section() 69 page = virt_to_page(usage); in register_page_bootmem_info_section() 83 struct mem_section_usage *usage; in register_page_bootmem_info_section() local 92 usage = ms->usage; in register_page_bootmem_info_section() 93 page = virt_to_page(usage); in register_page_bootmem_info_section()
|
/openbmc/linux/drivers/hid/ |
H A D | hid-cypress.c | 84 struct hid_field *field, struct hid_usage *usage, in cp_input_mapped() argument 92 if (usage->type == EV_REL && usage->code == REL_WHEEL) in cp_input_mapped() 94 if (usage->hid == 0x00090005) in cp_input_mapped() 101 struct hid_usage *usage, __s32 value) in cp_event() argument 106 !usage->type || !(quirks & CP_2WHEEL_MOUSE_HACK)) in cp_event() 109 if (usage->hid == 0x00090005) { in cp_event() 118 if (usage->code == REL_WHEEL && (quirks & CP_2WHEEL_MOUSE_HACK_ON)) { in cp_event() 121 input_event(input, usage->type, REL_HWHEEL, value); in cp_event()
|
H A D | hid-plantronics.c | 38 (usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER) 53 struct hid_usage *usage, in plantronics_input_mapping() argument 87 switch (usage->hid) { in plantronics_input_mapping() 110 usage->hid, field->application); in plantronics_input_mapping() 114 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, mapped_key); in plantronics_input_mapping() 116 usage->hid, field->application, mapped_key); in plantronics_input_mapping() 121 struct hid_usage *usage, __s32 value) in plantronics_event() argument 155 col_page = hdev->collection[i].usage & HID_USAGE_PAGE; in plantronics_device_type() 157 plt_type = hdev->collection[i].usage; in plantronics_device_type() 161 plt_type = hdev->collection[i].usage; in plantronics_device_type()
|
H A D | hid-petalynx.c | 35 #define pl_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 38 struct hid_field *field, struct hid_usage *usage, in pl_input_mapping() argument 41 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_LOGIVENDOR) { in pl_input_mapping() 42 switch (usage->hid & HID_USAGE) { in pl_input_mapping() 54 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER) { in pl_input_mapping() 55 switch (usage->hid & HID_USAGE) { in pl_input_mapping()
|
H A D | hid-tivo.c | 19 #define tivo_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 23 struct hid_field *field, struct hid_usage *usage, in tivo_input_mapping() argument 26 switch (usage->hid & HID_USAGE_PAGE) { in tivo_input_mapping() 28 switch (usage->hid & HID_USAGE) { in tivo_input_mapping() 42 switch (usage->hid & HID_USAGE) { in tivo_input_mapping()
|
H A D | hid-samsung.c | 93 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c)) 96 struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, in samsung_kbd_mouse_input_mapping() argument 102 if (1 != ifnum || HID_UP_CONSUMER != (usage->hid & HID_USAGE_PAGE)) in samsung_kbd_mouse_input_mapping() 106 usage->hid & HID_USAGE); in samsung_kbd_mouse_input_mapping() 108 switch (usage->hid & HID_USAGE) { in samsung_kbd_mouse_input_mapping() 137 struct hid_field *field, struct hid_usage *usage, in samsung_input_mapping() argument 144 hi, field, usage, bit, max); in samsung_input_mapping()
|
H A D | hid-corsair.c | 48 static int corsair_usage_to_gkey(unsigned int usage) in corsair_usage_to_gkey() argument 51 if (usage >= 0xd0 && usage <= 0xdf) in corsair_usage_to_gkey() 52 return usage - 0xd0 + 1; in corsair_usage_to_gkey() 54 if (usage >= 0xe8 && usage <= 0xe9) in corsair_usage_to_gkey() 55 return usage - 0xe8 + 17; in corsair_usage_to_gkey() 606 struct hid_usage *usage, __s32 value) in corsair_event() argument 613 switch (usage->hid & HID_USAGE) { in corsair_event() 630 struct hid_usage *usage, unsigned long **bit, in corsair_input_mapping() argument 635 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_KEYBOARD) in corsair_input_mapping() 640 hid_map_usage_clear(input, usage, bit, max, EV_KEY, in corsair_input_mapping() [all …]
|
H A D | hid-xinmo.c | 26 struct hid_usage *usage, __s32 value) in xinmo_event() argument 28 switch (usage->code) { in xinmo_event() 34 input_event(field->hidinput->input, usage->type, in xinmo_event() 35 usage->code, -1); in xinmo_event()
|
H A D | hid-penmount.c | 20 struct hid_usage *usage, unsigned long **bit, int *max) in penmount_input_mapping() argument 22 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON) { in penmount_input_mapping() 23 if (((usage->hid - 1) & HID_USAGE) == 0) { in penmount_input_mapping() 24 hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_TOUCH); in penmount_input_mapping()
|
H A D | hid-kensington.c | 18 #define ks_map_key(c) hid_map_usage(hi, usage, bit, max, EV_KEY, (c)) 21 struct hid_field *field, struct hid_usage *usage, in ks_input_mapping() argument 24 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_MSVENDOR) in ks_input_mapping() 27 switch (usage->hid & HID_USAGE) { in ks_input_mapping()
|
H A D | hid-lcpower.c | 18 #define ts_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 21 struct hid_field *field, struct hid_usage *usage, in ts_input_mapping() argument 24 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR) in ts_input_mapping() 27 switch (usage->hid & HID_USAGE) { in ts_input_mapping()
|
H A D | hid-sunplus.c | 33 #define sp_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 36 struct hid_field *field, struct hid_usage *usage, in sp_input_mapping() argument 39 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) in sp_input_mapping() 42 switch (usage->hid & HID_USAGE) { in sp_input_mapping()
|
/openbmc/u-boot/tools/ |
H A D | jtagconsole | 3 usage() { function 19 -h|--help) usage;; 21 -*) usage "Invalid option $1";; 31 usage "Invalid number of arguments"
|
H A D | fit_info.c | 29 void usage(char *cmdname) in usage() function 67 usage(cmdname); in main() 73 usage(*argv); in main() 77 usage(*argv); in main() 81 usage(*argv); in main()
|
H A D | netconsole | 3 usage() { function 18 -h|--help) usage;; 20 -*) usage "Invalid option $1";; 34 usage "Invalid number of arguments"
|
/openbmc/phosphor-ipmi-flash/tools/ |
H A D | main.cpp | 57 void usage(const char* program) in usage() function 131 usage(argv[0]); in main() 140 usage(argv[0]); in main() 154 usage(argv[0]); in main() 160 usage(argv[0]); in main() 169 usage(argv[0]); in main() 175 usage(argv[0]); in main() 193 usage(argv[0]); in main() 200 usage(argv[0]); in main() 210 usage(argv[0]); in main()
|
/openbmc/qemu/io/ |
H A D | channel-buffer.c | 48 ioc->capacity = ioc->usage = ioc->offset = 0; in qio_channel_buffer_finalize() 66 if (bioc->offset >= bioc->usage) { in qio_channel_buffer_readv() 69 if ((bioc->offset + want) > bioc->usage) { in qio_channel_buffer_readv() 70 want = bioc->usage - bioc->offset; in qio_channel_buffer_readv() 102 if (bioc->offset > bioc->usage) { in qio_channel_buffer_writev() 103 memset(bioc->data, 0, bioc->offset - bioc->usage); in qio_channel_buffer_writev() 104 bioc->usage = bioc->offset; in qio_channel_buffer_writev() 108 memcpy(bioc->data + bioc->usage, in qio_channel_buffer_writev() 111 bioc->usage += iov[i].iov_len; in qio_channel_buffer_writev() 147 bioc->capacity = bioc->usage = bioc->offset = 0; in qio_channel_buffer_close()
|
/openbmc/linux/crypto/asymmetric_keys/ |
H A D | pkcs7_key_type.c | 21 module_param_named(usage, pkcs7_usage, uint, S_IWUSR | S_IRUGO); 53 enum key_being_used_for usage = pkcs7_usage; in pkcs7_preparse() local 55 if (usage >= NR__KEY_BEING_USED_FOR) { in pkcs7_preparse() 56 pr_err("Invalid usage type %d\n", usage); in pkcs7_preparse() 62 VERIFY_USE_SECONDARY_KEYRING, usage, in pkcs7_preparse()
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | test_hmm.sh | 52 usage 71 usage() function 92 usage 97 usage
|
/openbmc/linux/kernel/ |
H A D | cred.c | 45 .usage = ATOMIC_INIT(4), 74 if (atomic_long_read(&cred->usage) != 0) in put_cred_rcu() 101 atomic_long_read(&cred->usage)); in __put_cred() 176 atomic_long_set(&new->usage, 1); in cred_alloc_blank() 217 atomic_long_set(&new->usage, 1); in prepare_creds() 394 atomic_long_read(&new->usage)); in commit_creds() 469 atomic_long_read(&new->usage)); in abort_creds() 488 atomic_long_read(&new->usage)); in override_creds() 502 atomic_long_read(&old->usage)); in override_creds() 519 atomic_long_read(&old->usage)); in revert_creds() [all …]
|
/openbmc/linux/Documentation/userspace-api/ioctl/ |
H A D | cdrom.rst | 103 usage:: 124 usage:: 147 usage:: 178 usage:: 207 usage:: 232 usage:: 263 usage:: 288 usage:: 314 usage:: 341 usage:: [all …]
|
/openbmc/linux/drivers/leds/trigger/ |
H A D | ledtrig-activity.c | 39 unsigned int usage; in led_activity_function() local 85 usage = 0; in led_activity_function() 87 usage = 100; in led_activity_function() 89 usage = 100 * diff_used / diff_boot; in led_activity_function() 137 if (usage < target) in led_activity_function() 140 990 - 900 * usage / target; /* OFF */ in led_activity_function() 143 10 + 80 * (usage - target) / (100 - target) : /* ON */ in led_activity_function() 144 90 - 80 * (usage - target) / (100 - target); /* OFF */ in led_activity_function()
|
/openbmc/phosphor-hwmon/msl/ |
H A D | max31785-msl | 25 usage="Usage: $(basename "$0") -p PATH... -b BUS_NUMBER -r REVISION" 38 echo "$usage" >&2 43 echo "$usage" >&2 51 echo "$usage" >&2
|
/openbmc/openbmc/poky/scripts/contrib/ |
H A D | ddimage | 11 usage() { function 114 usage 123 usage 129 usage 152 usage
|
/openbmc/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | kvm-again.sh | 65 usage () { function 91 usage 99 usage 147 usage 154 usage 162 usage 180 usage
|