Searched refs:usage (Results 26 - 50 of 506) sorted by relevance

1234567891011>>

/linux-master/drivers/hid/
H A Dhid-tivo.c19 #define tivo_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
23 struct hid_field *field, struct hid_usage *usage,
26 switch (usage->hid & HID_USAGE_PAGE) {
28 switch (usage->hid & HID_USAGE) {
42 switch (usage->hid & HID_USAGE) {
22 tivo_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-speedlink.c26 struct hid_field *field, struct hid_usage *usage,
35 switch (usage->hid & HID_USAGE_PAGE) {
43 struct hid_usage *usage, __s32 value)
24 speedlink_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
42 speedlink_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
H A Dhid-input.c52 __u32 usage; /* the HID usage associated */ member in struct:usage_priority
56 unsigned int slot_overwrite; /* for globals: allows to set the usage
80 .usage = HID_DG_ERASER,
83 .usage = HID_DG_INVERT,
86 .usage = HID_DG_TIPSWITCH,
89 .usage = HID_DG_TIPPRESSURE,
92 .usage = HID_DG_INRANGE,
96 #define map_abs(c) hid_map_usage(hidinput, usage, &bit, &max, EV_ABS, (c))
97 #define map_rel(c) hid_map_usage(hidinput, usage,
107 match_scancode(struct hid_usage *usage, unsigned int cur_idx, unsigned int scancode) argument
113 match_keycode(struct hid_usage *usage, unsigned int cur_idx, unsigned int keycode) argument
122 match_index(struct hid_usage *usage, unsigned int cur_idx, unsigned int idx) argument
138 struct hid_usage *usage; local
164 struct hid_usage *usage; local
181 struct hid_usage *usage; local
203 struct hid_usage *usage; local
644 hidinput_set_battery_charge_status(struct hid_device *dev, unsigned int usage, int value) argument
672 hidinput_set_battery_charge_status(struct hid_device *dev, unsigned int usage, int value) argument
679 hidinput_field_in_collection(struct hid_device *device, struct hid_field *field, unsigned int type, unsigned int usage) argument
689 hidinput_configure_usage(struct hid_input *hidinput, struct hid_field *field, struct hid_usage *usage, unsigned int usage_index) argument
1465 hidinput_handle_scroll(struct hid_usage *usage, struct input_dev *input, __s32 value) argument
1525 hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
1902 struct hid_usage *usage; local
1985 struct hid_usage *usage; local
[all...]
H A Dhid-petalynx.c35 #define pl_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
38 struct hid_field *field, struct hid_usage *usage,
41 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_LOGIVENDOR) {
42 switch (usage->hid & HID_USAGE) {
54 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER) {
55 switch (usage->hid & HID_USAGE) {
37 pl_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-ite.c43 struct hid_usage *usage, unsigned long **bit,
50 (usage->hid & HID_USAGE_PAGE) == 0x00880000) {
51 if (usage->hid == 0x00880078) {
53 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_F22);
56 if (usage->hid == 0x00880079) {
58 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_F23);
68 struct hid_usage *usage, __s32 value)
82 if (usage->hid == HID_GD_RFKILL_BTN) {
41 ite_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
67 ite_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
H A Dhid-cherry.c36 #define ch_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
39 struct hid_field *field, struct hid_usage *usage,
42 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER)
45 switch (usage->hid & HID_USAGE) {
38 ch_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-belkin.c24 #define belkin_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
27 struct hid_field *field, struct hid_usage *usage,
32 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER ||
36 switch (usage->hid & HID_USAGE) {
26 belkin_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-monterey.c31 #define mr_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
34 struct hid_field *field, struct hid_usage *usage,
37 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER)
40 switch (usage->hid & HID_USAGE) {
33 mr_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-sunplus.c33 #define sp_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
36 struct hid_field *field, struct hid_usage *usage,
39 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER)
42 switch (usage->hid & HID_USAGE) {
35 sp_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-plantronics.c38 (usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER)
53 struct hid_usage *usage,
87 switch (usage->hid) {
109 hid_dbg(hdev, "usage: %08x (appl: %08x) - defaulted\n",
110 usage->hid, field->application);
114 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, mapped_key);
115 hid_dbg(hdev, "usage: %08x (appl: %08x) - mapped to key %d\n",
116 usage->hid, field->application, mapped_key);
121 struct hid_usage *usage, __s32 value)
155 col_page = hdev->collection[i].usage
50 plantronics_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
120 plantronics_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
[all...]
H A Dhid-microsoft.c78 #define ms_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
80 static int ms_ergonomy_kb_quirk(struct hid_input *hi, struct hid_usage *usage, argument
85 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER) {
86 switch (usage->hid & HID_USAGE) {
88 * Microsoft uses these 2 reserved usage ids for 2 keys on
101 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_MSVENDOR)
104 switch (usage->hid & HID_USAGE) {
115 hid_map_usage_clear(hi, usage, bit, max, EV_REL, REL_WHEEL);
121 * (this usage is found on interface 1).
142 static int ms_presenter_8k_quirk(struct hid_input *hi, struct hid_usage *usage, argument
161 ms_surface_dial_quirk(struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
182 ms_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
209 ms_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
222 ms_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
[all...]
H A Dhid-cypress.c29 * Some USB barcode readers from cypress have usage min and usage max in
84 struct hid_field *field, struct hid_usage *usage,
92 if (usage->type == EV_REL && usage->code == REL_WHEEL)
94 if (usage->hid == 0x00090005)
101 struct hid_usage *usage, __s32 value)
106 !usage->type || !(quirks & CP_2WHEEL_MOUSE_HACK))
109 if (usage->hid == 0x00090005) {
118 if (usage
83 cp_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
100 cp_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
[all...]
/linux-master/drivers/dma-buf/
H A Dst-dma-resv.c65 enum dma_resv_usage usage = (unsigned long)arg; local
89 dma_resv_add_fence(&resv, f, usage);
90 if (dma_resv_test_signaled(&resv, usage)) {
96 if (!dma_resv_test_signaled(&resv, usage)) {
111 enum dma_resv_usage usage = (unsigned long)arg; local
136 dma_resv_add_fence(&resv, f, usage);
139 dma_resv_for_each_fence(&cursor, &resv, usage, fence) {
150 if (dma_resv_iter_usage(&cursor) != usage) {
151 pr_err("Unexpected fence usage\n");
172 enum dma_resv_usage usage local
246 enum dma_resv_usage usage = (unsigned long)arg; local
305 enum dma_resv_usage usage; local
[all...]
H A Ddma-resv.c49 * can have any number of fences attaches to it. Each fence carries an usage
69 /* Extract the fence and usage flags from an RCU protected entry in the list. */
72 enum dma_resv_usage *usage)
79 if (usage)
80 *usage = tmp & DMA_RESV_LIST_MASK;
83 /* Set the fence and usage flags at the specific index in the list. */
87 enum dma_resv_usage usage)
89 long tmp = ((long)fence) | usage;
209 enum dma_resv_usage usage; local
212 dma_resv_list_entry(old, i, obj, &fence, &usage);
70 dma_resv_list_entry(struct dma_resv_list *list, unsigned int index, struct dma_resv *resv, struct dma_fence **fence, enum dma_resv_usage *usage) argument
84 dma_resv_list_set(struct dma_resv_list *list, unsigned int index, struct dma_fence *fence, enum dma_resv_usage usage) argument
280 dma_resv_add_fence(struct dma_resv *obj, struct dma_fence *fence, enum dma_resv_usage usage) argument
335 dma_resv_replace_fences(struct dma_resv *obj, uint64_t context, struct dma_fence *replacement, enum dma_resv_usage usage) argument
561 dma_resv_get_fences(struct dma_resv *obj, enum dma_resv_usage usage, unsigned int *num_fences, struct dma_fence ***fences) argument
619 dma_resv_get_singleton(struct dma_resv *obj, enum dma_resv_usage usage, struct dma_fence **fence) argument
670 dma_resv_wait_timeout(struct dma_resv *obj, enum dma_resv_usage usage, bool intr, unsigned long timeout) argument
701 dma_resv_set_deadline(struct dma_resv *obj, enum dma_resv_usage usage, ktime_t deadline) argument
728 dma_resv_test_signaled(struct dma_resv *obj, enum dma_resv_usage usage) argument
753 static const char *usage[] = { "kernel", "write", "read", "bookkeep" }; local
[all...]
/linux-master/samples/bpf/
H A Dtc_l2_redirect_user.c15 static void usage(void) function
42 usage();
48 usage();
/linux-master/scripts/
H A Dsyscallhdr.sh18 usage() { function
19 echo >&2 "usage: $0 [--abis ABIS] [--emit-nr] [--offset OFFSET] [--prefix PREFIX] INFILE OUTFILE" >&2
55 usage;;
62 usage
H A Dver_linux9 usage = "If some fields are empty or look unusual you may have an old version.\n"
10 usage = usage "Compare to the current minimal requirements in Documentation/Changes.\n"
11 print usage
H A Dgfp-translate17 usage() { function
18 echo "usage: gfp-translate [-h] [ --source DIRECTORY ] gfpmask"
30 usage
33 usage
61 usage
/linux-master/include/linux/
H A Dverification.h51 enum key_being_used_for usage,
59 enum key_being_used_for usage,
69 enum key_being_used_for usage);
/linux-master/security/landlock/
H A Dobject.h41 * @usage: This counter is used to tie an object to the rules matching
45 * adding a new rule to an object with a usage counter of zero, we must
48 refcount_t usage; member in struct:landlock_object
51 * held from the time @usage drops to zero until any weak references
65 * @rcu_free: Enables lockless use of @usage, @lock and
88 refcount_inc(&object->usage);
/linux-master/mm/
H A Dbootmem_info.c48 struct mem_section_usage *usage; local
68 usage = ms->usage;
69 page = virt_to_page(usage);
83 struct mem_section_usage *usage; local
92 usage = ms->usage;
93 page = virt_to_page(usage);
H A Dsparse.c208 subsection_mask_set(ms->usage->subsection_map, pfn, pfns);
302 struct mem_section_usage *usage, unsigned long flags)
307 ms->usage = usage;
335 struct mem_section_usage *usage; local
352 usage = memblock_alloc_try_nid(size, SMP_CACHE_BYTES, goal, limit, nid);
353 if (!usage && limit) {
357 return usage;
361 struct mem_section_usage *usage)
375 usemap_snr = pfn_to_section_nr(__pa(usage) >> PAGE_SHIF
300 sparse_init_one_section(struct mem_section *ms, unsigned long pnum, struct page *mem_map, struct mem_section_usage *usage, unsigned long flags) argument
360 check_usemap_section_nr(int nid, struct mem_section_usage *usage) argument
410 check_usemap_section_nr(int nid, struct mem_section_usage *usage) argument
509 struct mem_section_usage *usage; local
536 sparse_init_one_section(__nr_to_section(pnum), pnum, map, usage, local
833 struct mem_section_usage *usage = NULL; local
[all...]
/linux-master/tools/power/cpupower/bench/
H A Dcpufreq-bench_plot.sh15 function usage() function
29 usage
44 usage
54 usage
/linux-master/tools/memory-model/scripts/
H A Dparseargs.sh49 usage () { function
58 usage
65 usage
70 usage
84 usage
91 usage
136 usage
/linux-master/tools/perf/util/
H A Dusage.c3 * usage.c
31 void usage(const char *err) function

Completed in 217 milliseconds

1234567891011>>