Home
last modified time | relevance | path

Searched refs:usage (Results 101 – 125 of 1865) sorted by relevance

12345678910>>...75

/openbmc/linux/samples/bpf/
H A Dtc_l2_redirect_user.c15 static void usage(void) in usage() function
42 usage(); in main()
48 usage(); in main()
/openbmc/linux/drivers/hid/
H A Dhid-speedlink.c26 struct hid_field *field, struct hid_usage *usage, in speedlink_input_mapping() argument
35 switch (usage->hid & HID_USAGE_PAGE) { in speedlink_input_mapping()
43 struct hid_usage *usage, __s32 value) in speedlink_event() argument
H A Dhid-dr.c245 #define map_abs(c) hid_map_usage(hi, usage, bit, max, EV_ABS, (c))
246 #define map_rel(c) hid_map_usage(hi, usage, bit, max, EV_REL, (c))
249 struct hid_field *field, struct hid_usage *usage, in dr_input_mapping() argument
252 switch (usage->hid) { in dr_input_mapping()
260 map_rel(usage->hid & 0xf); in dr_input_mapping()
262 map_abs(usage->hid & 0xf); in dr_input_mapping()
H A Dhid-apple.c403 u16 code = usage->code; in hidinput_apple_event()
533 if (usage->code != code) { in hidinput_apple_event()
534 input_event_with_scancode(input, usage->type, code, usage->hid, value); in hidinput_apple_event()
548 !usage->type) in apple_event()
552 usage->code == REL_HWHEEL) { in apple_event()
554 usage->code, usage->hid, -value); in apple_event()
560 usage, value)) in apple_event()
696 if (usage->hid == HID_GD_Z) in apple_input_mapped()
698 else if (usage->code == BTN_1) in apple_input_mapped()
700 else if (usage->code == BTN_2) in apple_input_mapped()
[all …]
H A Dhid-debug.c35 unsigned usage; member
516 buf = resolv_usage_page(usage >> 16, f); in hid_resolv_usage()
531 if (p->page == (usage >> 16)) { in hid_resolv_usage()
533 if (p->usage == (usage & 0xffff)) { in hid_resolv_usage()
548 usage & 0xffff); in hid_resolv_usage()
550 seq_printf(f, "%04x", usage & 0xffff); in hid_resolv_usage()
737 buf = hid_resolv_usage(usage->hid, NULL); in hid_dump_input()
1073 struct hid_usage *usage; in hid_dump_input_mapping() local
1079 usage = report->field[i]->usage + j; in hid_dump_input_mapping()
1080 hid_resolv_usage(usage->hid, f); in hid_dump_input_mapping()
[all …]
H A Dhid-vivaldi-common.c32 struct hid_field *field, struct hid_usage *usage) in vivaldi_feature_mapping() argument
42 (usage->hid & HID_USAGE_PAGE) != HID_UP_ORDINAL) in vivaldi_feature_mapping()
45 fn_key = usage->hid & HID_USAGE; in vivaldi_feature_mapping()
96 field->value[usage->usage_index]; in vivaldi_feature_mapping()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_acl_flex_keys.h130 DECLARE_BITMAP(usage, MLXSW_AFK_ELEMENT_MAX);
134 for_each_set_bit(element, (elusage)->usage, MLXSW_AFK_ELEMENT_MAX)
140 __set_bit(element, elusage->usage); in mlxsw_afk_element_usage_add()
146 bitmap_zero(elusage->usage, MLXSW_AFK_ELEMENT_MAX); in mlxsw_afk_element_usage_zero()
168 if (test_bit(i, elusage_small->usage) && in mlxsw_afk_element_usage_subset()
169 !test_bit(i, elusage_big->usage)) in mlxsw_afk_element_usage_subset()
/openbmc/u-boot/tools/
H A Ddumpimage.c12 static void usage(void);
98 usage(); in main()
100 usage(); in main()
106 usage(); in main()
193 static void usage(void) in usage() function
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_fdinfo.c63 ktime_t usage[AMDGPU_HW_IP_NUM]; in amdgpu_show_fdinfo() local
81 amdgpu_ctx_mgr_usage(&fpriv->ctx_mgr, usage); in amdgpu_show_fdinfo()
113 if (!usage[hw_ip]) in amdgpu_show_fdinfo()
117 ktime_to_ns(usage[hw_ip])); in amdgpu_show_fdinfo()
/openbmc/linux/drivers/hid/usbhid/
H A Dhid-pidff.c210 usage->value[0] = pidff_rescale(value, 0xffff, usage->field); in pidff_set()
216 if (usage->field->logical_minimum < 0) in pidff_set_signed()
217 usage->value[0] = pidff_rescale_signed(value, usage->field); in pidff_set_signed()
220 usage->value[0] = in pidff_set_signed()
223 usage->value[0] = in pidff_set_signed()
772 if (report->field[i]->usage[j].hid == in pidff_find_fields()
776 usage[k].field = report->field[i]; in pidff_find_fields()
777 usage[k].value = in pidff_find_fields()
797 static int pidff_check_usage(int usage) in pidff_check_usage() argument
802 if (usage == (HID_UP_PID | pidff_reports[i])) in pidff_check_usage()
[all …]
/openbmc/openbmc/poky/scripts/
H A Drunqemu-gen-tapdevs16 usage() { function
30 usage
44 usage
/openbmc/openbmc/poky/scripts/esdk-tools/
H A Drunqemu-gen-tapdevs16 usage() { function
30 usage
44 usage
/openbmc/linux/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);
/openbmc/phosphor-led-manager/scripts/
H A Dled-set-all-groups-asserted.sh8 function usage() function
19 usage;
29 usage;
/openbmc/linux/Documentation/hid/
H A Dhiddev.rst86 usage changes available to the reader using a struct hiddev_event::
93 containing the HID usage identifier for the status that changed, and
96 structures. The HID usage identifier is a composite of the HID usage
209 Returns the value of a usage in a hiddev_usage_ref structure. The
210 usage to be retrieved can be specified as above, or the user can
214 usage if it is found.
219 Sets the value of a usage in an output report. The user fills in
226 Returns the collection index associated with this usage. This
227 indicates where in the collection hierarchy this usage sits.
241 device has more than one usage in its reports with the
[all …]
/openbmc/qemu/bsd-user/
H A Dmain.c143 static void usage(void) in usage() function
286 usage(); in main()
341 usage(); in main()
349 usage(); in main()
355 usage(); in main()
363 usage(); in main()
390 usage(); in main()
406 usage(); in main()
424 usage(); in main()
/openbmc/linux/Documentation/admin-guide/perf/
H A Dhns3-pmu.rst41 Example usage of checking event code and subevent code::
61 Example usage of checking supported filter mode::
66 Example usage of perf::
84 Example usage of perf::
93 Example usage of perf::
101 Example usage of perf::
118 Example usage of perf::
126 Example usage of perf::
134 Example usage of perf::
/openbmc/linux/scripts/dtc/
H A Dfdtput.c277 static void usage(const char *msg) in usage() function
314 usage(NULL); in main()
321 usage("Invalid type string"); in main()
333 usage("Missing filename"); in main()
340 usage("Missing node"); in main()
342 usage("Missing property"); in main()
/openbmc/linux/mm/
H A Dhugetlb_cgroup.c320 unsigned long usage = in __hugetlb_cgroup_commit_charge() local
321 h_cg->nodeinfo[folio_nid(folio)]->usage[idx]; in __hugetlb_cgroup_commit_charge()
328 usage + nr_pages); in __hugetlb_cgroup_commit_charge()
369 unsigned long usage = in __hugetlb_cgroup_uncharge_folio() local
370 h_cg->nodeinfo[folio_nid(folio)]->usage[idx]; in __hugetlb_cgroup_uncharge_folio()
377 usage - nr_pages); in __hugetlb_cgroup_uncharge_folio()
475 unsigned long usage; in hugetlb_cgroup_read_numa_stat() local
479 usage = 0; in hugetlb_cgroup_read_numa_stat()
481 usage += READ_ONCE(h_cg->nodeinfo[nid]->usage[idx]); in hugetlb_cgroup_read_numa_stat()
504 usage = 0; in hugetlb_cgroup_read_numa_stat()
[all …]
/openbmc/linux/tools/spi/
H A Dspidev_fdx.c119 goto usage; in main()
124 goto usage; in main()
131 usage: in main()
140 goto usage; in main()
/openbmc/openbmc/meta-fii/meta-kudo/recipes-kudo/host/files/
H A Dampere_power_util.sh8 function usage() { function
102 usage;
108 usage;
137 usage;
/openbmc/linux/scripts/
H A Ddiffconfig13 def usage(): function
73 usage()
83 usage()
102 usage()
/openbmc/linux/Documentation/translations/zh_CN/admin-guide/mm/damon/
H A Dreclaim.rst135 DAMON用于监测冷内存的采样间隔。更多细节请参考DAMON文档 (:doc:`usage`) 。
142 DAMON对冷内存监测的聚集间隔。更多细节请参考DAMON文档 (:doc:`usage`)。
150 置的太高可能会导致监测开销的增加。更多细节请参考DAMON文档 (:doc:`usage`) 。
158 设置得太低可能会导致监测质量不好。更多细节请参考DAMON文档 (:doc:`usage`) 。
H A Dlru_sort.rst147 DAMON对冷内存监测的采样周期。更多细节请参考DAMON文档 (:doc:`usage`) 。默认5
155 DAMON对冷内存进行收集的时间周期。更多细节请参考DAMON文档 (:doc:`usage`) 。默认
164 大会增加开销。更多细节请参考DAMON文档 (:doc:`usage`) 。默认值为10。
172 低会导致监测结果变差。更多细节请参考DAMON文档 (:doc:`usage`) 。默认值为1000。
/openbmc/linux/tools/usb/
H A Dtestusb.c415 goto usage; in main()
419 goto usage; in main()
429 goto usage; in main()
434 goto usage; in main()
438 goto usage; in main()
443 usage: in main()
462 goto usage; in main()
466 goto usage; in main()

12345678910>>...75