Searched refs:usage (Results 51 - 75 of 506) sorted by relevance

1234567891011>>

/linux-master/drivers/hid/
H A Dhid-lenovo.c63 #define map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c))
142 * - get a reasonable usage max for the vendor collection
156 rdesc[244] = 0x00; /* usage minimum = 0x00 */
157 rdesc[247] = 0xff; /* usage maximum = 0xff */
171 struct hid_usage *usage, unsigned long **bit, int *max)
173 if (usage->hid == (HID_UP_BUTTON | 0x0010)) {
184 struct hid_usage *usage, unsigned long **bit, int *max)
187 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_MSVENDOR ||
188 (usage->hid & HID_USAGE_PAGE) == HID_UP_LNVENDOR) {
189 switch (usage
169 lenovo_input_mapping_tpkbd(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
182 lenovo_input_mapping_cptkbd(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
256 lenovo_input_mapping_tpIIkbd(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
351 lenovo_input_mapping_scrollpoint(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
362 lenovo_input_mapping_tp10_ultrabook_kbd(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
400 lenovo_input_mapping_x1_tab_kbd(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
448 lenovo_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
702 lenovo_event_tp10ubkbd(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
720 lenovo_event_cptkbd(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
766 lenovo_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
[all...]
H A Dhid-lg4ff.h9 struct hid_usage *usage, s32 value, struct lg_drv_data *drv_data);
16 struct hid_usage *usage, s32 value, struct lg_drv_data *drv_data) { return 0; }
15 lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, s32 value, struct lg_drv_data *drv_data) argument
H A Dhid-topseed.c24 #define ts_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
27 struct hid_field *field, struct hid_usage *usage,
30 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR)
33 switch (usage->hid & HID_USAGE) {
26 ts_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-twinhan.c59 #define th_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
62 struct hid_field *field, struct hid_usage *usage,
65 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_KEYBOARD)
68 switch (usage->hid & HID_USAGE) {
61 twinhan_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-multitouch.c480 struct hid_field *field, struct hid_usage *usage)
484 switch (usage->hid) {
498 if (usage->usage_index >= field->report_count) {
504 if (field->value[usage->usage_index] == MT_BUTTONTYPE_CLICKPAD)
510 if (usage->usage_index == 0)
529 struct mt_usages *usage; local
531 usage = devm_kzalloc(&hdev->dev, sizeof(*usage), GFP_KERNEL);
532 if (!usage)
536 usage
479 mt_feature_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) argument
674 struct mt_usages *usage; local
715 mt_touch_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max, struct mt_application *app) argument
997 mt_touch_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
1155 mt_process_mt_event(struct hid_device *hid, struct mt_application *app, struct hid_field *field, struct hid_usage *usage, __s32 value, bool first_packet) argument
1341 mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
1414 mt_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
1431 mt_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
1461 mt_need_to_apply_feature(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, enum latency_mode latency, bool surface_switch, bool button_switch, bool *inputmode_found) argument
1537 struct hid_usage *usage; local
1653 mt_fix_const_field(struct hid_field *field, unsigned int usage) argument
1663 mt_fix_const_fields(struct hid_device *hdev, unsigned int usage) argument
[all...]
H A Dhid-gfrm.c28 struct hid_field *field, struct hid_usage *usage,
34 if (usage->hid == (HID_UP_CONSUMER | 0x4)) {
36 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_INFO);
40 if (usage->hid == (HID_UP_CONSUMER | 0x41)) {
42 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_OK);
27 gfrm_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-saitek.c151 struct hid_usage *usage, __s32 value)
156 if (usage->type == EV_KEY && value &&
158 usage->code - BTN_MOUSE == 10) ||
160 usage->code - BTN_MOUSE == 15))) {
162 input_report_key(input, usage->code, 1);
165 input_report_key(input, usage->code, 0);
150 saitek_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
/linux-master/tools/perf/scripts/python/
H A Dsyscall-counts.py20 usage = "perf script -s syscall-counts.py [comm]\n"; variable
25 sys.exit(usage)
/linux-master/include/linux/
H A Dhiddev.h44 struct hid_usage *usage, __s32 value);
52 struct hid_usage *usage, __s32 value) { }
51 hiddev_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
H A Dpage_counter.h12 * Make sure 'usage' does not share cacheline with any other field. The
13 * memcg->memory.usage is a hot member of struct mem_cgroup.
15 atomic_long_t usage; member in struct:page_counter
18 /* effective memory.min and memory.min usage tracking */
23 /* effective memory.low and memory.low usage tracking */
50 atomic_long_set(&counter->usage, 0);
57 return atomic_long_read(&counter->usage);
/linux-master/security/landlock/
H A Dobject.c31 refcount_set(&new_object->usage, 1);
39 * The caller must own the object (i.e. thanks to object->usage) to safely put
58 if (refcount_dec_and_lock(&object->usage, &object->lock)) {
/linux-master/tools/tracing/rtla/src/
H A Dtimerlat.c25 " usage: [rtla] timerlat [MODE] ...",
43 goto usage;
68 usage:
/linux-master/tools/rcu/
H A Dextract-stall.sh4 usage() { function
20 usage "Console log file \"$1\" missing or unreadable."
/linux-master/samples/kdb/
H A Dkdb_hello.c34 .usage = "[string]",
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_fdinfo.c63 ktime_t usage[AMDGPU_HW_IP_NUM]; local
76 amdgpu_ctx_mgr_usage(&fpriv->ctx_mgr, usage);
80 * For text output format description please see drm-usage-stats.rst!
105 if (!usage[hw_ip])
109 ktime_to_ns(usage[hw_ip]));
/linux-master/arch/x86/tools/
H A Drelocs_common.c13 static void usage(void) function
62 usage();
65 usage();
/linux-master/arch/mips/boot/tools/
H A Drelocs_main.c24 static void usage(void) function
66 usage();
69 usage();
/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A Dmmap_bench.c29 static void usage(void) function
76 usage();
83 usage();
/linux-master/samples/bpf/
H A Dtest_cgrp2_array_pin.c16 static void usage(void) function
49 usage();
55 usage();
/linux-master/scripts/
H A Dshow_delta15 def usage(): function
16 print ("""usage: show_delta [<options>] <filename>
26 -h Show this usage help.
87 usage()
92 usage()
/linux-master/tools/testing/selftests/rcutorture/bin/
H A Dkvm-again.sh65 usage () { function
91 usage
99 usage
147 usage
154 usage
162 usage
180 usage
/linux-master/tools/testing/selftests/futex/functional/
H A Dfutex_wait_uninitialized_heap.c42 void usage(char *prog) function
78 usage(basename(argv[0]));
84 usage(basename(argv[0]));
H A Dfutex_wait_private_mapped_file.c43 void usage(char *prog) function
85 usage(basename(argv[0]));
91 usage(basename(argv[0]));
H A Dfutex_requeue_pi_mismatched_ops.c35 void usage(char *prog) function
66 usage(basename(argv[0]));
72 usage(basename(argv[0]));
H A Dfutex_requeue.c19 void usage(char *prog) function
57 usage(basename(argv[0]));
63 usage(basename(argv[0]));

Completed in 267 milliseconds

1234567891011>>