Home
last modified time | relevance | path

Searched +defs:val +defs:usage (Results 1 – 25 of 53) sorted by relevance

123

/linux-6.14.4/drivers/hid/
Dhid-input.c52 __u32 usage; /* the HID usage associated */ member
107 static bool match_scancode(struct hid_usage *usage, in match_scancode()
113 static bool match_keycode(struct hid_usage *usage, in match_keycode()
122 static bool match_index(struct hid_usage *usage, in match_index()
138 struct hid_usage *usage; in hidinput_find_key() local
164 struct hid_usage *usage; in hidinput_locate_usage() local
181 struct hid_usage *usage; in hidinput_getkeycode() local
203 struct hid_usage *usage; in hidinput_setkeycode() local
442 union power_supply_propval *val) in hidinput_get_battery_property()
622 unsigned int usage, int value) in hidinput_set_battery_charge_status()
[all …]
Dhid-debug.c35 unsigned usage; member
2882 char *hid_resolv_usage(unsigned usage, struct seq_file *f) { in hid_resolv_usage()
3020 int val = nibble & 0x7; in hid_dump_field() local
3124 void hid_dump_input(struct hid_device *hdev, struct hid_usage *usage, __s32 value) in hid_dump_input()
3627 struct hid_usage *usage; in hid_dump_input_mapping() local
Dhid-ntrig.c235 unsigned long val; in set_min_width() local
270 unsigned long val; in set_min_height() local
304 unsigned long val; in set_activate_slack() local
339 unsigned long val; in set_activation_width() local
375 unsigned long val; in set_activation_height() local
409 unsigned long val; in set_deactivate_slack() local
455 struct hid_field *field, struct hid_usage *usage, in ntrig_input_mapping()
546 struct hid_field *field, struct hid_usage *usage, in ntrig_input_mapped()
567 struct hid_usage *usage, __s32 value) in ntrig_event()
Dhid-multitouch.c434 unsigned long val; in mt_set_quirks() local
494 struct hid_field *field, struct hid_usage *usage) in mt_feature_mapping()
543 struct mt_usages *usage; in mt_allocate_usage() local
688 struct mt_usages *usage; in mt_store_field() local
730 struct hid_field *field, struct hid_usage *usage, in mt_touch_input_mapping()
1012 struct hid_usage *usage, __s32 value) in mt_touch_event()
1172 struct hid_usage *usage, in mt_process_mt_event()
1356 struct hid_field *field, struct hid_usage *usage, in mt_input_mapping()
1429 struct hid_field *field, struct hid_usage *usage, in mt_input_mapped()
1446 struct hid_usage *usage, __s32 value) in mt_event()
[all …]
Dhid-sony.c588 struct hid_field *field, struct hid_usage *usage, in guitar_mapping()
617 struct hid_field *field, struct hid_usage *usage, in ps3remote_mapping()
651 struct hid_field *field, struct hid_usage *usage, in navigation_mapping()
699 struct hid_field *field, struct hid_usage *usage, in sixaxis_mapping()
827 int val; in sixaxis_parse_report() local
964 struct hid_field *field, struct hid_usage *usage, in sony_mapping()
1625 union power_supply_propval *val) in sony_battery_get_property()
Dhid-magicmouse.c35 static int param_set_scroll_speed(const char *val, in param_set_scroll_speed()
519 struct hid_usage *usage, __s32 value) in magicmouse_event()
697 struct hid_usage *usage, unsigned long **bit, int *max) in magicmouse_input_mapping()
/linux-6.14.4/tools/testing/selftests/futex/functional/
Dfutex_wait_private_mapped_file.c37 futex_t val = 1; variable
43 void usage(char *prog) in usage() function
/linux-6.14.4/tools/testing/selftests/gpio/
Dgpio-mockup-cdev.c22 uint64_t flags, unsigned int val) in request_line_v2()
60 uint32_t flags, unsigned int val) in request_line_v1()
91 static void usage(char *prog) in usage() function
120 unsigned int offset, val = 0, abiv; in main() local
/linux-6.14.4/samples/bpf/
Dsyscall_tp_user.c18 static void usage(const char *cmd) in usage() function
28 __u32 val; in verify_map() local
/linux-6.14.4/mm/
Dhugetlb_cgroup.c26 #define MEMFILE_PRIVATE(x, val) (((x) << 16) | (val)) argument
27 #define MEMFILE_IDX(val) (((val) >> 16) & 0xffff) argument
28 #define MEMFILE_ATTR(val) ((val) & 0xffff) argument
32 #define MEMFILE_OFFSET0(val) (((val) >> 16) & 0xffff) argument
33 #define MEMFILE_FIELD_SIZE(val) ((val) & 0xffff) argument
323 unsigned long usage = in __hugetlb_cgroup_commit_charge() local
372 unsigned long usage = in __hugetlb_cgroup_uncharge_folio() local
475 unsigned long usage; in hugetlb_cgroup_read_numa_stat() local
555 u64 val; in hugetlb_cgroup_read_u64_max() local
Dswapfile.c751 unsigned int start, unsigned char usage, in cluster_alloc_range()
780 unsigned char usage) in alloc_swap_scan_cluster()
887 unsigned char usage) in cluster_alloc_swap_entry()
1043 long val; in add_to_avail_list() local
1089 long val = atomic_long_add_return_relaxed(nr_entries, &si->inuse_pages); in swap_usage_add() local
1105 long val = atomic_long_sub_return_relaxed(nr_entries, &si->inuse_pages); in swap_usage_sub() local
1164 unsigned char usage, int nr, in cluster_alloc_swap()
1181 unsigned char usage, int nr, in scan_swap_map_slots()
1331 unsigned char usage) in __swap_entry_free_locked()
1440 unsigned char usage; in __swap_entry_free() local
[all …]
Dmemcontrol-v1.c89 #define MEMFILE_PRIVATE(x, val) ((x) << 16 | (val)) argument
90 #define MEMFILE_TYPE(val) ((val) >> 16 & 0xffff) argument
91 #define MEMFILE_ATTR(val) ((val) & 0xffff) argument
412 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write()
424 struct cftype *cft, u64 val) in mem_cgroup_move_charge_write()
433 unsigned long usage; in __mem_cgroup_threshold() local
517 unsigned long val, next; in memcg1_event_ratelimit() local
639 unsigned long usage; in __mem_cgroup_usage_register_event() local
730 unsigned long usage; in __mem_cgroup_usage_unregister_event() local
1438 struct cftype *cft, u64 val) in mem_cgroup_hierarchy_write()
[all …]
/linux-6.14.4/tools/testing/selftests/net/
Dudpgso_bench_rx.c128 int fd, val; in do_socket() local
187 static char sanitized_char(char val) in sanitized_char()
285 static void usage(const char *filepath) in usage() function
363 int val = 1; in do_recv() local
Dio_uring_zerocopy_tx.c73 static void do_setsockopt(int fd, int level, int optname, int val) in do_setsockopt()
221 static void usage(const char *filepath) in usage() function
Dbusy_poller.c73 static void usage(const char *filepath) in usage() function
270 int val; in run_poller() local
Dtimestamping.c46 static void usage(const char *error) in usage() function
333 int val; in main() local
Dudpgso_bench_tx.c430 static void usage(const char *filepath) in usage() function
552 int level, name, val; in set_pmtu_discover() local
570 int val = SOF_TIMESTAMPING_OPT_CMSG | SOF_TIMESTAMPING_OPT_ID | in set_tx_timestamping() local
641 int fd, i, val, ret; in main() local
/linux-6.14.4/drivers/video/logo/
Dpnmtologo.c80 int c, val; in get_number() local
116 unsigned int val = get_number(fp); in get_number255() local
280 unsigned char val, bit; in write_logo_mono() local
308 unsigned char val; in write_logo_vga16() local
424 static void usage(void) in usage() function
/linux-6.14.4/tools/firmware/
Dihex2fw.c48 uint8_t val = (nybble(data[0]) << 4) | nybble(data[1]); in hex() local
61 static int usage(void) in usage() function
/linux-6.14.4/tools/testing/selftests/vDSO/
Dvdso_test_getrandom.c149 unsigned int val; in test_vdso_getrandom() local
159 unsigned int val; in test_libc_getrandom() local
169 unsigned int val; in test_syscall_getrandom() local
291 static void usage(const char *argv0) in usage() function
/linux-6.14.4/arch/s390/tools/
Drelocs.c25 #define ELF_R_SYM(val) ELF64_R_SYM(val) argument
26 #define ELF_R_TYPE(val) ELF64_R_TYPE(val) argument
63 #define le16_to_cpu(val) (val) argument
64 #define le32_to_cpu(val) (val) argument
65 #define le64_to_cpu(val) (val) argument
66 #define be16_to_cpu(val) bswap_16(val) argument
67 #define be32_to_cpu(val) bswap_32(val) argument
68 #define be64_to_cpu(val) bswap_64(val) argument
72 #define le16_to_cpu(val) bswap_16(val) argument
73 #define le32_to_cpu(val) bswap_32(val) argument
[all …]
/linux-6.14.4/tools/bootconfig/
Dmain.c21 const char *val, *eol; in xbc_show_value() local
114 const char *val; in xbc_show_list() local
473 static int usage(void) in usage() function
/linux-6.14.4/tools/verification/rv/src/
Din_kernel.c347 int val; in ikm_event_handler() local
396 int val; in ikm_error_handler() local
536 static const char *const usage[] = { in ikm_usage() local
/linux-6.14.4/tools/testing/vsock/
Dvsock_perf.c256 int val = 1; in enable_so_zerocopy() local
410 static void usage(void) in usage() function
/linux-6.14.4/kernel/sched/
Dcputime.c918 enum cpu_usage_stat usage, in kcpustat_field_vtime()
919 int cpu, u64 *val) in kcpustat_field_vtime()
972 enum cpu_usage_stat usage, int cpu) in kcpustat_field()
975 u64 val = cpustat[usage]; in kcpustat_field() local

123