Searched refs:usage (Results 1 - 25 of 506) sorted by relevance

1234567891011>>

/linux-master/tools/verification/rv/src/
H A Drv.c42 static const char *const usage[] = { local
44 " usage: rv list [-h]",
56 /* more than 1 is always usage */
57 for (i = 0; usage[i]; i++)
58 fprintf(stderr, "%s\n", usage[i]);
79 static const char *const usage[] = { local
81 " usage: rv mon [-h] monitor [monitor options]",
97 for (i = 0; usage[i]; i++)
98 fprintf(stderr, "%s\n", usage[i]);
104 for (i = 0; usage[
121 static void usage(int exit_val, const char *fmt, ...) function
127 static const char *const usage[] = { local
[all...]
/linux-master/drivers/hid/
H A Dhid-ezkey.c22 #define ez_map_rel(c) hid_map_usage(hi, usage, bit, max, EV_REL, (c))
23 #define ez_map_key(c) hid_map_usage(hi, usage, bit, max, EV_KEY, (c))
26 struct hid_field *field, struct hid_usage *usage,
29 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER)
32 switch (usage->hid & HID_USAGE) {
37 * totally broken way. We map this usage temporarily
48 struct hid_usage *usage, __s32 value)
51 !usage->type)
55 if (usage->type == EV_REL && usage
25 ez_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
47 ez_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
[all...]
H A Dhid-jabra.c22 struct hid_usage *usage,
26 ((usage->hid & HID_USAGE_PAGE) >= HID_UP_VENDOR_DEFINED_MIN &&
27 (usage->hid & HID_USAGE_PAGE) <= HID_UP_VENDOR_DEFINED_MAX);
30 usage->hid,
32 usage->collection_index,
33 usage->usage_index,
19 jabra_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-penmount.c20 struct hid_usage *usage, unsigned long **bit, int *max)
22 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON) {
23 if (((usage->hid - 1) & HID_USAGE) == 0) {
24 hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_TOUCH);
18 penmount_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-vivaldi-common.h10 struct hid_field *field, struct hid_usage *usage);
H A Dhid-gyration.c22 #define gy_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
25 struct hid_field *field, struct hid_usage *usage,
28 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR)
32 switch (usage->hid & HID_USAGE) {
55 struct hid_usage *usage, __s32 value)
61 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_GENDESK &&
62 (usage->hid & 0xff) == 0x82) {
64 input_event(input, usage->type, usage->code, 1);
66 input_event(input, usage
24 gyration_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
54 gyration_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
[all...]
H A Dhid-icade.c38 /* The translation code uses HID usage instead of input layer
102 * int usage = usage_for_key (trans->from);
103 * max_usage = usage > max_usage ? usage : max_usage;
165 struct hid_usage *usage, __s32 value)
170 !usage->type)
177 trans = icade_find_translation(usage->hid & HID_USAGE);
182 input_event(field->hidinput->input, usage->type,
189 struct hid_field *field, struct hid_usage *usage,
194 if ((usage
164 icade_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
188 icade_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
211 icade_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
[all...]
H A Dhid-evision.c18 struct hid_field *field, struct hid_usage *usage,
21 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER)
25 if ((usage->hid & HID_USAGE) >> 8 == 0x05)
28 if ((usage->hid & HID_USAGE) >> 8 == 0x06)
31 switch (usage->hid & HID_USAGE) {
17 evision_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-accutouch.c22 struct hid_usage *usage,
25 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON) {
26 hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_TOUCH);
19 accutouch_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-lcpower.c18 #define ts_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
21 struct hid_field *field, struct hid_usage *usage,
24 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR)
27 switch (usage->hid & HID_USAGE) {
20 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-kensington.c18 #define ks_map_key(c) hid_map_usage(hi, usage, bit, max, EV_KEY, (c))
21 struct hid_field *field, struct hid_usage *usage,
24 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_MSVENDOR)
27 switch (usage->hid & HID_USAGE) {
20 ks_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-xinmo.c26 struct hid_usage *usage, __s32 value)
28 switch (usage->code) {
34 input_event(field->hidinput->input, usage->type,
35 usage->code, -1);
25 xinmo_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
H A Dhid-samsung.c18 * several key mappings used from the consumer usage page
85 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c))
88 struct hid_input *hi, struct hid_field *field, struct hid_usage *usage,
94 if (ifnum != 1 || HID_UP_CONSUMER != (usage->hid & HID_USAGE_PAGE))
98 usage->hid & HID_USAGE);
100 switch (usage->hid & HID_USAGE) {
143 struct hid_input *hi, struct hid_field *field, struct hid_usage *usage,
146 if (!(HID_UP_CONSUMER == (usage->hid & HID_USAGE_PAGE) ||
147 HID_UP_KEYBOARD == (usage->hid & HID_USAGE_PAGE)))
151 usage
87 samsung_kbd_mouse_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
142 samsung_kbd_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
235 samsung_gamepad_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
326 samsung_actionmouse_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
349 samsung_universal_kbd_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
480 samsung_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
[all...]
H A Dhid-a4tech.c35 struct hid_field *field, struct hid_usage *usage,
41 usage->hid == A4_WHEEL_ORIENTATION) {
43 * We do not want to have this usage mapped to anything as it's
57 struct hid_field *field, struct hid_usage *usage,
62 if (usage->type == EV_REL && usage->code == REL_WHEEL_HI_RES) {
67 if ((a4->quirks & A4_2WHEEL_MOUSE_HACK_7) && usage->hid == 0x00090007)
74 struct hid_usage *usage, __s32 value)
85 if (usage->type == EV_REL && usage
34 a4_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
56 a4_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
73 a4_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
[all...]
/linux-master/tools/testing/selftests/mm/
H A Dtest_hmm.sh52 usage
71 usage() function
75 echo "Example usage:"
92 usage
97 usage
/linux-master/scripts/
H A Dcheckdeclares.pl17 sub usage { subroutine
24 usage();
H A Dcheckincludes.pl17 sub usage { subroutine
27 usage();
36 usage();
H A Dsyscalltbl.sh18 usage() { function
19 echo >&2 "usage: $0 [--abis ABIS] INFILE OUTFILE" >&2
40 usage;;
47 usage
H A Dsyscallnr.sh17 usage() { function
18 echo >&2 "usage: $0 [--abis ABIS] [--prefix PREFIX] INFILE OUTFILE" >&2
44 usage;;
51 usage
H A Dobjdump-func6 # usage: objdump-func <file> <func> [<func> ...]
15 usage() { function
16 echo "usage: objdump-func <file> <func> [<func> ...]" >&2
20 [[ $# -lt 2 ]] && usage
/linux-master/tools/usb/usbip/src/
H A Dusbip.c31 printf("usage: %s", usbip_usage_string);
38 void (*usage)(void); member in struct:command
46 .usage = NULL
52 .usage = NULL
58 .usage = usbip_attach_usage
64 .usage = usbip_detach_usage
70 .usage = usbip_list_usage
76 .usage = usbip_bind_usage
82 .usage = usbip_unbind_usage
88 .usage
[all...]
/linux-master/mm/
H A Dpage_counter.c17 unsigned long usage)
25 protected = min(usage, READ_ONCE(c->min));
34 protected = min(usage, READ_ONCE(c->low));
53 new = atomic_long_sub_return(nr_pages, &counter->usage);
58 atomic_long_set(&counter->usage, new);
77 new = atomic_long_add_return(nr_pages, &c->usage);
119 new = atomic_long_add_return(nr_pages, &c->usage);
121 atomic_long_sub(nr_pages, &c->usage);
175 long usage; local
188 usage
16 propagate_protected_usage(struct page_counter *c, unsigned long usage) argument
[all...]
/linux-master/tools/power/acpi/tools/ec/
H A Dec_access.c35 void usage(char progname[], int exit_status) function
62 usage(argv[0], EXIT_FAILURE);
67 usage(argv[0], EXIT_FAILURE);
72 usage(argv[0], EXIT_FAILURE);
78 usage(argv[0], EXIT_FAILURE);
84 usage(argv[0], EXIT_FAILURE);
92 usage(argv[0], EXIT_SUCCESS);
95 usage(argv[0], EXIT_FAILURE);
104 usage(argv[0], EXIT_FAILURE);
110 usage(arg
[all...]
/linux-master/include/linux/
H A Ddma-resv.h68 * with this usage. But fences can never be degraded in the sense that a fence
123 * This returns the implicit synchronization usage for write or read accesses,
197 /** @usage: Return fences with this usage or lower. */
198 enum dma_resv_usage usage; member in struct:dma_resv_iter
203 /** @fence_usage: the usage of the current fence */
228 * @usage: controls which fences to include, see enum dma_resv_usage.
232 enum dma_resv_usage usage)
235 cursor->usage = usage;
230 dma_resv_iter_begin(struct dma_resv_iter *cursor, struct dma_resv *obj, enum dma_resv_usage usage) argument
[all...]
/linux-master/crypto/asymmetric_keys/
H A Dpkcs7_key_type.c21 module_param_named(usage, pkcs7_usage, uint, S_IWUSR | S_IRUGO);
53 enum key_being_used_for usage = pkcs7_usage; local
55 if (usage >= NR__KEY_BEING_USED_FOR) {
56 pr_err("Invalid usage type %d\n", usage);
62 VERIFY_USE_SECONDARY_KEYRING, usage,

Completed in 376 milliseconds

1234567891011>>