Searched refs:usage (Results 151 - 175 of 506) sorted by relevance

1234567891011>>

/linux-master/tools/firmware/
H A Dihex2fw.c61 static int usage(void) function
65 fprintf(stderr, "usage: ihex2fw [<options>] <src.HEX> <dst.fw>\n");
91 return usage();
96 return usage();
105 return usage();
124 return usage();
/linux-master/tools/pci/
H A Dpcitest.c185 goto usage;
193 goto usage;
198 goto usage;
203 goto usage;
229 usage:
231 "usage: %s [options]\n"
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum2_kvdl.c15 * usage bits we need and how many indexes there are
49 unsigned long usage[]; /* Usage bits */ member in struct:mlxsw_sp2_kvdl_part
70 bit = find_next_zero_bit(part->usage, part->usage_bit_count, bit);
79 if (test_bit(bit + i, part->usage)) {
102 __set_bit(bit + i, part->usage);
142 __clear_bit(bit + i, part->usage);
199 /* For some partitions, one usage bit represents a group of indexes.
200 * That's why we compute the number of indexes per usage bit here,
/linux-master/scripts/
H A Ddecode_stacktrace.sh6 usage() { function
49 usage
66 usage
227 usage
233 usage
/linux-master/drivers/hid/usbhid/
H A Dhid-pidff.c25 /* Report usage table used to put reports into an array */
48 /* device_control is really 0x95, but 0x96 specified as it is the usage of
51 /* Value usage tables used to put fields and values into arrays */
163 usage<->value pairs that pidff_usage values are */
208 static void pidff_set(struct pidff_usage *usage, u16 value) argument
210 usage->value[0] = pidff_rescale(value, 0xffff, usage->field);
211 pr_debug("calculated from %d to %d\n", value, usage->value[0]);
214 static void pidff_set_signed(struct pidff_usage *usage, s16 value) argument
216 if (usage
758 pidff_find_fields(struct pidff_usage *usage, const u8 *table, struct hid_report *report, int count, int strict) argument
797 pidff_check_usage(int usage) argument
871 pidff_find_special_field(struct hid_report *report, int usage, int enforce_min) argument
[all...]
/linux-master/drivers/hid/
H A Dhid-apple.c399 struct hid_usage *usage, __s32 value)
404 u16 code = usage->code;
534 if (usage->code != code) {
535 input_event_with_scancode(input, usage->type, code, usage->hid, value);
544 struct hid_usage *usage, __s32 value)
549 !usage->type)
553 usage->code == REL_HWHEEL) {
554 input_event_with_scancode(field->hidinput->input, usage->type,
555 usage
398 hidinput_apple_event(struct hid_device *hid, struct input_dev *input, struct hid_usage *usage, __s32 value) argument
543 apple_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
669 apple_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
690 apple_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 Dwacom.h232 struct hid_field *field, struct hid_usage *usage);
234 struct hid_usage *usage, __s32 value);
241 int wacom_equivalent_usage(int usage);
/linux-master/samples/connector/
H A Ducon.c78 static void usage(void) function
117 usage();
122 usage();
/linux-master/scripts/dtc/
H A Dfdtoverlay.c186 usage("missing input file");
189 usage("missing output file");
195 usage("missing overlay file(s)");
/linux-master/tools/testing/selftests/gpio/
H A Dgpio-mockup-cdev.c91 static void usage(char *prog) function
158 usage(argv[0]);
163 usage(argv[0]);
/linux-master/tools/testing/selftests/futex/functional/
H A Dfutex_requeue_pi_signal_restart.c40 void usage(char *prog) function
131 usage(basename(argv[0]));
137 usage(basename(argv[0]));
H A Dfutex_wait_timeout.c29 void usage(char *prog) function
116 usage(basename(argv[0]));
125 usage(basename(argv[0]));
/linux-master/samples/hid/
H A Dhid_surface_dial.c49 static void usage(const char *prog) function
176 usage(basename(argv[0]));
182 usage(basename(argv[0]));
/linux-master/samples/bpf/
H A Dxdp_adjust_tail_user.c68 static void usage(const char *cmd) function
125 usage(argv[0]);
137 usage(argv[0]);
H A Dxdp_fwd_user.c107 static void usage(const char *prog) function
110 "usage: %s [OPTS] interface-list\n"
147 usage(basename(argv[0]));
156 usage(basename(argv[0]));
H A Dsampleip_user.c29 static void usage(void) function
155 usage();
162 usage();
/linux-master/drivers/gpu/drm/vgem/
H A Dvgem_fence.c133 enum dma_resv_usage usage; local
155 usage = dma_resv_usage_rw(arg->flags & VGEM_FENCE_WRITE);
156 if (!dma_resv_test_signaled(resv, usage)) {
/linux-master/tools/objtool/
H A Dbuiltin-check.c75 OPT_BOOLEAN('r', "retpoline", &opts.retpoline, "validate and annotate retpoline usage"),
76 OPT_BOOLEAN(0, "rethunk", &opts.rethunk, "validate and annotate rethunk usage"),
101 int cmd_parse_options(int argc, const char **argv, const char * const usage[]) argument
126 argc = parse_options(argc, argv, check_options, usage, 0);
128 usage_with_options(usage, check_options);
/linux-master/tools/hv/
H A Dvmbus_testing126 "Use (-h) to check usage.")
130 "Use (-h) to check usage." )
272 parser = argparse.ArgumentParser(prog = "vmbus_testing",usage ="\n"
314 usage = "%(prog)s [-h]\n"
331 usage = "%(prog)s [disable_all | D] -h\n"
339 usage = "%(prog)s [disable_single | d] -h\n"
347 usage = "%(prog)s [view_all | V] -h\n"
357 usage = "%(prog)s [view_single | v] -h\n"
/linux-master/security/landlock/
H A Druleset.h149 * @usage: Number of potential children domains plus their parent
152 refcount_t usage; member in struct:landlock_hierarchy
165 * process (i.e. as a domain), this tree is immutable until @usage
174 * process (i.e. as a domain), this tree is immutable until @usage
189 * landlock_put_ruleset_deferred() when @usage reaches zero.
190 * The fields @lock, @usage, @num_rules, @num_layers and
197 * @root, if @usage is greater than zero.
201 * @usage: Number of processes (i.e. domains) or file
204 refcount_t usage; member in struct:landlock_ruleset::__anon649::__anon650
256 refcount_inc(&ruleset->usage);
[all...]
/linux-master/include/linux/sched/
H A Dtask.h118 refcount_inc(&t->usage);
127 if (!refcount_dec_and_test(&t->usage))
152 * refcount_dec_and_test(&t->usage) succeeds.
156 * way; rcu_users has a reference so task->usage can't be
170 if (refcount_sub_and_test(nr, &t->usage))
/linux-master/drivers/gpu/drm/
H A Ddrm_gem_atomic_helper.c139 enum dma_resv_usage usage; local
159 usage = fence ? DMA_RESV_USAGE_KERNEL : DMA_RESV_USAGE_WRITE;
170 ret = dma_resv_get_singleton(obj->resv, usage, &new);
/linux-master/drivers/iio/orientation/
H A Dhid-sensor-rotation.c196 /* Parse report which is specific to an usage id*/
223 hsdev->usage,
230 /* Function to initialize the processing for usage id */
250 switch (hsdev->usage) {
265 hsdev->usage,
284 hsdev->usage, rot_state);
313 ret = sensor_hub_register_callback(hsdev, hsdev->usage,
329 /* Function to deinitialize the processing for usage id */
336 sensor_hub_remove_callback(hsdev, hsdev->usage);
/linux-master/drivers/iio/position/
H A Dhid-sensor-custom-intel-hinge.c130 hsdev->usage,
235 /* Parse report which is specific to an usage id */
263 /* Function to initialize the processing for usage id */
285 ret = hid_sensor_parse_common_attributes(hsdev, hsdev->usage,
302 hsdev->usage, st);
323 ret = sensor_hub_register_callback(hsdev, hsdev->usage, &st->callbacks);
338 sensor_hub_remove_callback(hsdev, hsdev->usage);
344 /* Function to deinitialize the processing for usage id */
352 sensor_hub_remove_callback(hsdev, hsdev->usage);
/linux-master/tools/testing/selftests/ftrace/
H A Dftracetest10 usage() { # errno [message] function
89 usage 0
101 usage "--console can not use with --verbose"
110 usage "--console can not use with --verbose"
141 usage 1 "$1 is not a testcase"
150 usage 1 "Invalid option ($1)"

Completed in 263 milliseconds

1234567891011>>