Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 2705) sorted by relevance

12345678910>>...109

/linux/drivers/net/wireless/silabs/wfx/
H A Dhif_tx_mib.c19 struct wfx_hif_mib_current_tx_power_level arg = { in wfx_hif_set_output_power() local
24 &arg, sizeof(arg)); in wfx_hif_set_output_power()
30 struct wfx_hif_mib_beacon_wake_up_period arg = { in wfx_hif_set_beacon_wakeup_period() local
39 &arg, sizeof(arg)); in wfx_hif_set_beacon_wakeup_period()
44 struct wfx_hif_mib_rcpi_rssi_threshold arg = { in wfx_hif_set_rcpi_rssi_threshold() local
50 arg.upperthresh = 1; in wfx_hif_set_rcpi_rssi_threshold()
51 arg.lowerthresh = 1; in wfx_hif_set_rcpi_rssi_threshold()
53 arg.upper_threshold = rssi_thold + rssi_hyst; in wfx_hif_set_rcpi_rssi_threshold()
54 arg.upper_threshold = (arg.upper_threshold + 110) * 2; in wfx_hif_set_rcpi_rssi_threshold()
55 arg.lower_threshold = rssi_thold; in wfx_hif_set_rcpi_rssi_threshold()
[all …]
/linux/drivers/gpu/drm/amd/display/include/
H A Dfixed31_32.h85 * result = arg
87 static inline struct fixed31_32 dc_fixpt_from_int(int arg) in dc_fixpt_from_int() argument
91 res.value = (long long) arg << FIXED31_32_BITS_PER_FRACTIONAL_PART; in dc_fixpt_from_int()
103 * result = -arg
105 static inline struct fixed31_32 dc_fixpt_neg(struct fixed31_32 arg) in dc_fixpt_neg() argument
109 res.value = -arg.value; in dc_fixpt_neg()
116 * result = abs(arg) := (arg >= 0) ? arg : -arg
118 dc_fixpt_abs(struct fixed31_32 arg) dc_fixpt_abs() argument
189 dc_fixpt_clamp(struct fixed31_32 arg,struct fixed31_32 min_value,struct fixed31_32 max_value) dc_fixpt_clamp() argument
210 dc_fixpt_shl(struct fixed31_32 arg,unsigned char shift) dc_fixpt_shl() argument
224 dc_fixpt_shr(struct fixed31_32 arg,unsigned char shift) dc_fixpt_shr() argument
446 dc_fixpt_floor(struct fixed31_32 arg) dc_fixpt_floor() argument
460 dc_fixpt_round(struct fixed31_32 arg) dc_fixpt_round() argument
480 dc_fixpt_ceil(struct fixed31_32 arg) dc_fixpt_ceil() argument
517 dc_fixpt_truncate(struct fixed31_32 arg,unsigned int frac_bits) dc_fixpt_truncate() argument
[all...]
/linux/tools/perf/trace/beauty/
H A Dfcntl.c18 static size_t syscall_arg__scnprintf_fcntl_getfd(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_getfd() argument
20 return fcntl__scnprintf_getfd(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_fcntl_getfd()
31 static size_t syscall_arg__scnprintf_fcntl_getlease(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_getlease() argument
33 return fcntl__scnprintf_getlease(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_fcntl_getlease()
36 size_t syscall_arg__scnprintf_fcntl_cmd(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_cmd() argument
38 if (arg->val == F_GETFL) { in syscall_arg__scnprintf_fcntl_cmd()
39 syscall_arg__set_ret_scnprintf(arg, syscall_arg__scnprintf_open_flags); in syscall_arg__scnprintf_fcntl_cmd()
42 if (arg in syscall_arg__scnprintf_fcntl_cmd()
70 syscall_arg__scnprintf_fcntl_arg(char * bf,size_t size,struct syscall_arg * arg) syscall_arg__scnprintf_fcntl_arg() argument
[all...]
H A Dbeauty.h79 * @size: 8 if all we need is an integer, otherwise all of the augmented arg.
93 * @len: for tracepoint dynamic arrays, if fmt->nr_entries == 0, then its not a fixed array, look at arg->len
94 * @args: All the args, use syscall_args__val(arg, nth) to access one
100 * @idx: syscall arg idx (is this the first?)
101 * @mask: a syscall arg may mask another arg, see syscall_arg__scnprintf_futex_op
123 unsigned long syscall_arg__val(struct syscall_arg *arg, u8 idx);
125 size_t syscall_arg__scnprintf_strarray_flags(char *bf, size_t size, struct syscall_arg *arg);
128 bool syscall_arg__strtoul_strarray(char *bf, size_t size, struct syscall_arg *arg, u64 *ret);
131 bool syscall_arg__strtoul_strarray_flags(char *bf, size_t size, struct syscall_arg *arg, u6
[all...]
/linux/arch/powerpc/perf/
H A Dhv-gpci.c134 size_t *n, struct hv_gpci_request_buffer *arg) in systeminfo_gpci_request() argument
139 arg->params.counter_request = cpu_to_be32(req); in systeminfo_gpci_request()
140 arg->params.starting_index = cpu_to_be32(starting_index); in systeminfo_gpci_request()
141 arg->params.secondary_index = cpu_to_be16(secondary_index); in systeminfo_gpci_request()
144 virt_to_phys(arg), HGPCI_REQ_BUFFER_SIZE); in systeminfo_gpci_request()
176 for (i = 0; i < be16_to_cpu(arg->params.returned_values); i++) { in systeminfo_gpci_request()
177 j = i * be16_to_cpu(arg->params.cv_element_size); in systeminfo_gpci_request()
179 for (; j < (i + 1) * be16_to_cpu(arg->params.cv_element_size); j++) in systeminfo_gpci_request()
180 *n += sprintf(buf + *n, "%02x", (u8)arg->bytes[j]); in systeminfo_gpci_request()
195 struct hv_gpci_request_buffer *arg; in processor_bus_topology_show() local
[all …]
/linux/drivers/acpi/acpica/
H A Ddsfield.c39 union acpi_parse_object *arg);
123 union acpi_parse_object *arg; in acpi_ds_create_buffer_field() local
139 arg = acpi_ps_get_arg(op, 3); in acpi_ds_create_buffer_field()
143 arg = acpi_ps_get_arg(op, 2); in acpi_ds_create_buffer_field()
146 if (!arg) { in acpi_ds_create_buffer_field()
177 arg->common.value.string, ACPI_TYPE_ANY, in acpi_ds_create_buffer_field()
185 arg->common.value.string, status); in acpi_ds_create_buffer_field()
262 union acpi_parse_object *arg) in acpi_ds_get_field_names() argument
282 while (arg) { in acpi_ds_get_field_names()
290 switch (arg->common.aml_opcode) { in acpi_ds_get_field_names()
[all …]
H A Dpstree.c39 union acpi_parse_object *arg = NULL; in acpi_ps_get_arg() local
71 arg = op->common.value.arg; in acpi_ps_get_arg()
72 while (arg && argn) { in acpi_ps_get_arg()
74 arg = arg->common.next; in acpi_ps_get_arg()
77 return (arg); in acpi_ps_get_arg()
94 acpi_ps_append_arg(union acpi_parse_object *op, union acpi_parse_object *arg) in acpi_ps_append_arg() argument
128 if (op->common.value.arg) { in acpi_ps_append_arg()
132 prev_arg = op->common.value.arg; in acpi_ps_append_arg()
136 prev_arg->common.next = arg; in acpi_ps_append_arg()
140 op->common.value.arg = arg; in acpi_ps_append_arg()
[all …]
H A Dpsargs.c201 union acpi_parse_object *arg, u8 possible_method_call) in acpi_ps_get_next_namepath() argument
213 acpi_ps_init_op(arg, AML_INT_NAMEPATH_OP); in acpi_ps_get_next_namepath()
218 arg->common.value.name = path; in acpi_ps_get_next_namepath()
253 acpi_ps_init_op(arg, AML_INT_METHODCALL_OP); in acpi_ps_get_next_namepath()
270 acpi_ps_init_op(arg, AML_INT_METHODCALL_OP); in acpi_ps_get_next_namepath()
276 acpi_ps_append_arg(arg, name_op); in acpi_ps_get_next_namepath()
320 else if ((arg->common.parent) && in acpi_ps_get_next_namepath()
321 ((arg->common.parent->common.aml_opcode == in acpi_ps_get_next_namepath()
323 || (arg->common.parent->common.aml_opcode == in acpi_ps_get_next_namepath()
345 arg->common.value.name = path; in acpi_ps_get_next_namepath()
[all …]
/linux/drivers/scsi/elx/libefc/
H A Defc_fabric.h19 enum efc_sm_event evt, void *arg);
22 enum efc_sm_event evt, void *arg);
25 enum efc_sm_event evt, void *arg);
28 enum efc_sm_event evt, void *arg);
32 enum efc_sm_event evt, void *arg);
35 enum efc_sm_event evt, void *arg);
38 enum efc_sm_event evt, void *arg);
41 __efc_ns_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg);
44 enum efc_sm_event evt, void *arg);
47 enum efc_sm_event evt, void *arg);
[all …]
H A Defc_device.h26 enum efc_sm_event evt, void *arg);
29 enum efc_sm_event evt, void *arg);
31 __efc_d_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg);
34 enum efc_sm_event evt, void *arg);
37 enum efc_sm_event evt, void *arg);
40 enum efc_sm_event evt, void *arg);
43 enum efc_sm_event evt, void *arg);
46 enum efc_sm_event evt, void *arg);
49 enum efc_sm_event evt, void *arg);
52 enum efc_sm_event evt, void *arg);
[all …]
/linux/drivers/net/wireless/st/cw1200/
H A Dwsm.c83 void *arg, u16 cmd, long tmo);
92 void *arg, in wsm_generic_confirm() argument
105 int wsm_configuration(struct cw1200_common *priv, struct wsm_configuration *arg) in wsm_configuration() argument
112 WSM_PUT32(buf, arg->dot11MaxTransmitMsduLifeTime); in wsm_configuration()
113 WSM_PUT32(buf, arg->dot11MaxReceiveLifeTime); in wsm_configuration()
114 WSM_PUT32(buf, arg->dot11RtsThreshold); in wsm_configuration()
117 WSM_PUT16(buf, arg->dpdData_size + 12); in wsm_configuration()
119 WSM_PUT(buf, arg->dot11StationId, ETH_ALEN); in wsm_configuration()
121 WSM_PUT(buf, arg->dpdData, arg->dpdData_size); in wsm_configuration()
123 ret = wsm_cmd_send(priv, buf, arg, in wsm_configuration()
[all …]
H A Dwsm.h652 struct wsm_configuration *arg);
662 int wsm_reset(struct cw1200_common *priv, const struct wsm_reset *arg);
737 int wsm_scan(struct cw1200_common *priv, const struct wsm_scan *arg);
884 struct wsm_event *arg);
947 int wsm_join(struct cw1200_common *priv, struct wsm_join *arg);
972 int wsm_set_pm(struct cw1200_common *priv, const struct wsm_set_pm *arg);
999 const struct wsm_set_bss_params *arg);
1062 int wsm_add_key(struct cw1200_common *priv, const struct wsm_add_key *arg);
1072 const struct wsm_remove_key *arg);
1104 const struct wsm_set_tx_queue_params *arg, u8 id);
[all …]
/linux/io_uring/
H A Dregister.c35 static __cold int io_probe(struct io_ring_ctx *ctx, void __user *arg, in io_probe() argument
51 if (copy_from_user(p, arg, size)) in io_probe()
67 if (copy_to_user(arg, p, size)) in io_probe()
106 void __user *arg, unsigned int nr_args) in io_register_restrictions() argument
120 if (!arg || nr_args > IORING_MAX_RESTRICTIONS) in io_register_restrictions()
127 res = memdup_user(arg, size); in io_register_restrictions()
216 void __user *arg, unsigned len) in io_register_iowq_aff() argument
231 (const compat_ulong_t __user *)arg, in io_register_iowq_aff()
235 ret = copy_from_user(new_mask, arg, len); in io_register_iowq_aff()
253 void __user *arg) in io_register_iowq_max_workers() argument
339 io_register_clock(struct io_ring_ctx * ctx,struct io_uring_clock_register __user * arg) io_register_clock() argument
364 __io_uring_register(struct io_ring_ctx * ctx,unsigned opcode,void __user * arg,unsigned nr_args) __io_uring_register() argument
592 SYSCALL_DEFINE4(io_uring_register,unsigned int,fd,unsigned int,opcode,void __user *,arg,unsigned int,nr_args) SYSCALL_DEFINE4() argument
[all...]
/linux/sound/drivers/opl3/
H A Dopl3_oss.c11 static int snd_opl3_open_seq_oss(struct snd_seq_oss_arg *arg, void *closure);
12 static int snd_opl3_close_seq_oss(struct snd_seq_oss_arg *arg);
13 static int snd_opl3_ioctl_seq_oss(struct snd_seq_oss_arg *arg, unsigned int cmd, unsigned long ioarg);
14 static int snd_opl3_load_patch_seq_oss(struct snd_seq_oss_arg *arg, int format, const char __user *buf, int offs, int count);
15 static int snd_opl3_reset_seq_oss(struct snd_seq_oss_arg *arg);
92 struct snd_seq_oss_reg *arg; in snd_opl3_init_seq_oss() local
101 arg = SNDRV_SEQ_DEVICE_ARGPTR(dev); in snd_opl3_init_seq_oss()
102 arg->type = SYNTH_TYPE_FM; in snd_opl3_init_seq_oss()
104 arg->subtype = FM_TYPE_ADLIB; in snd_opl3_init_seq_oss()
105 arg in snd_opl3_init_seq_oss()
131 snd_opl3_open_seq_oss(struct snd_seq_oss_arg * arg,void * closure) snd_opl3_open_seq_oss() argument
157 snd_opl3_close_seq_oss(struct snd_seq_oss_arg * arg) snd_opl3_close_seq_oss() argument
176 snd_opl3_load_patch_seq_oss(struct snd_seq_oss_arg * arg,int format,const char __user * buf,int offs,int count) snd_opl3_load_patch_seq_oss() argument
220 snd_opl3_ioctl_seq_oss(struct snd_seq_oss_arg * arg,unsigned int cmd,unsigned long ioarg) snd_opl3_ioctl_seq_oss() argument
246 snd_opl3_reset_seq_oss(struct snd_seq_oss_arg * arg) snd_opl3_reset_seq_oss() argument
[all...]
/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c344 int arg; in dsf() local
361 for (arg = 2; arg < argc; arg++) { in dsf()
362 if (!strcmp(argv[arg], "lip")) { in dsf()
363 if (++arg >= argc) in dsf()
366 params[0] = argv[arg]; in dsf()
367 } else if (!strcmp(argv[arg], "lport")) { in dsf()
368 if (++arg >= argc) in dsf()
371 params[1] = argv[arg]; in dsf()
372 } else if (!strcmp(argv[arg], "rip")) { in dsf()
373 if (++arg >= argc) in dsf()
[all …]
/linux/drivers/tee/amdtee/
H A Dcall.c240 int handle_invoke_cmd(struct tee_ioctl_invoke_arg *arg, u32 sinfo, in handle_invoke_cmd() argument
246 if (!arg || (!p && arg->num_params)) in handle_invoke_cmd()
249 arg->ret_origin = TEEC_ORIGIN_COMMS; in handle_invoke_cmd()
251 if (arg->session == 0) { in handle_invoke_cmd()
252 arg->ret = TEEC_ERROR_BAD_PARAMETERS; in handle_invoke_cmd()
256 ret = tee_params_to_amd_params(p, arg->num_params, &cmd.op); in handle_invoke_cmd()
259 arg->ret = TEEC_ERROR_BAD_PARAMETERS; in handle_invoke_cmd()
263 cmd.ta_handle = get_ta_handle(arg->session); in handle_invoke_cmd()
264 cmd.cmd_id = arg->func; in handle_invoke_cmd()
268 sizeof(cmd), &arg->ret); in handle_invoke_cmd()
[all …]
/linux/rust/kernel/
H A Dprint.rs143 ($format_string:path, false, $($arg:tt)+) => (
149 match format_args!($($arg)+) {
166 ($format_string:path, true, $($arg:tt)+) => (
168 format_args!($($arg)+),
177 ($format_string:path, $e:expr, $($arg:tt)+) => (
210 ($($arg:tt)*) => (
211 $crate::print_macro!($crate::print::format_strings::EMERG, false, $($arg)*)
234 ($($arg:tt)*) => (
235 $crate::print_macro!($crate::print::format_strings::ALERT, false, $($arg)*)
258 ($($arg:tt)*) => (
[all …]
/linux/tools/thermal/thermal-engine/
H A Dthermal-engine.c41 static int show_trip(struct thermal_trip *tt, __maybe_unused void *arg) in show_trip() argument
49 static int show_temp(struct thermal_zone *tz, __maybe_unused void *arg) in show_temp() argument
51 thermal_cmd_get_temp(arg, tz); in show_temp()
58 static int show_governor(struct thermal_zone *tz, __maybe_unused void *arg) in show_governor() argument
60 thermal_cmd_get_governor(arg, tz); in show_governor()
67 static int show_tz(struct thermal_zone *tz, __maybe_unused void *arg) in show_tz() argument
73 show_temp(tz, arg); in show_tz()
75 show_governor(tz, arg); in show_tz()
80 static int tz_create(const char *name, int tz_id, __maybe_unused void *arg) in tz_create() argument
87 static int tz_delete(int tz_id, __maybe_unused void *arg) in tz_delete() argument
[all …]
/linux/tools/testing/selftests/rseq/
H A Drseq-ppc.h46 #define RSEQ_STORE_LONG(arg) "std%U[" __rseq_str(arg) "]%X[" __rseq_str(arg) "] " /* To memory ("m"… argument
47 #define RSEQ_STORE_INT(arg) "stw%U[" __rseq_str(arg) "]%X[" __rseq_str(arg) "] " /* To memory ("m" … argument
48 #define RSEQ_LOAD_LONG(arg) "ld%U[" __rseq_str(arg) "]%X[" __rseq_str(arg) "] " /* From memory ("m"… argument
49 #define RSEQ_LOAD_INT(arg) "lwz%U[" __rseq_str(arg) "]%X[" __rseq_str(arg) "] " /* From memory ("m"… argument
91 #define RSEQ_STORE_LONG(arg) "stw%U[" __rseq_str(arg) "]%X[" __rseq_str(arg) "] " /* To memory ("m"… argument
92 #define RSEQ_STORE_INT(arg) RSEQ_STORE_LONG(arg) /* To memory ("m" constraint) */ argument
93 #define RSEQ_LOAD_LONG(arg) "lwz%U[" __rseq_str(arg) "]%X[" __rseq_str(arg) "] " /* From memory ("m… argument
94 #define RSEQ_LOAD_INT(arg) RSEQ_LOAD_LONG(arg) /* From memory ("m" constraint) */ argument
/linux/fs/bcachefs/
H A Dfs-ioctl.c69 static int bch2_ioc_getflags(struct bch_inode_info *inode, int __user *arg) in bch2_ioc_getflags() argument
73 return put_user(flags, arg); in bch2_ioc_getflags()
79 void __user *arg) in bch2_ioc_setflags() argument
85 if (get_user(uflags, (int __user *) arg)) in bch2_ioc_setflags()
115 struct fsxattr __user *arg) in bch2_ioc_fsgetxattr() argument
126 if (copy_to_user(arg, &fa, sizeof(fa))) in bch2_ioc_fsgetxattr()
150 struct fsxattr __user *arg) in bch2_ioc_fssetxattr() argument
156 if (copy_from_user(&fa, arg, sizeof(fa))) in bch2_ioc_fssetxattr()
275 static int bch2_ioc_getversion(struct bch_inode_info *inode, u32 __user *arg) in bch2_ioc_getversion() argument
277 return put_user(inode->v.i_generation, arg); in bch2_ioc_getversion()
[all …]
/linux/fs/verity/
H A Dmeasure.c31 struct fsverity_digest arg; in fsverity_ioctl_measure() local
44 if (get_user(arg.digest_size, &uarg->digest_size)) in fsverity_ioctl_measure()
46 if (arg.digest_size < hash_alg->digest_size) in fsverity_ioctl_measure()
49 memset(&arg, 0, sizeof(arg)); in fsverity_ioctl_measure()
50 arg.digest_algorithm = hash_alg - fsverity_hash_algs; in fsverity_ioctl_measure()
51 arg.digest_size = hash_alg->digest_size; in fsverity_ioctl_measure()
53 if (copy_to_user(uarg, &arg, sizeof(arg))) in fsverity_ioctl_measure()
125 struct fsverity_digest *arg; in bpf_get_fsverity_digest() local
133 arg = __bpf_dynptr_data_rw(digest_ptr, dynptr_sz); in bpf_get_fsverity_digest()
134 if (!arg) in bpf_get_fsverity_digest()
[all …]
/linux/drivers/media/firewire/
H A Dfiredtv-ci.c44 static int fdtv_ca_get_caps(void *arg) in fdtv_ca_get_caps() argument
46 struct ca_caps *cap = arg; in fdtv_ca_get_caps()
55 static int fdtv_ca_get_slot_info(struct firedtv *fdtv, void *arg) in fdtv_ca_get_slot_info() argument
58 struct ca_slot_info *slot = arg; in fdtv_ca_get_slot_info()
73 static int fdtv_ca_app_info(struct firedtv *fdtv, void *arg) in fdtv_ca_app_info() argument
75 struct ca_msg *reply = arg; in fdtv_ca_app_info()
80 static int fdtv_ca_info(struct firedtv *fdtv, void *arg) in fdtv_ca_info() argument
82 struct ca_msg *reply = arg; in fdtv_ca_info()
87 static int fdtv_ca_get_mmi(struct firedtv *fdtv, void *arg) in fdtv_ca_get_mmi() argument
89 struct ca_msg *reply = arg; in fdtv_ca_get_mmi()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp.c171 struct nfp_nsp_command_arg arg; member
360 __nfp_nsp_command(struct nfp_nsp *state, const struct nfp_nsp_command_arg *arg) in __nfp_nsp_command() argument
377 err = nfp_cpp_writeq(cpp, nsp_cpp, nsp_buffer, arg->buf); in __nfp_nsp_command()
382 FIELD_PREP(NSP_COMMAND_OPTION, arg->option) | in __nfp_nsp_command()
383 FIELD_PREP(NSP_COMMAND_CODE, arg->code) | in __nfp_nsp_command()
384 FIELD_PREP(NSP_COMMAND_DMA_BUF, arg->dma) | in __nfp_nsp_command()
394 err, arg->code); in __nfp_nsp_command()
400 0, arg->timeout_sec ?: NFP_NSP_TIMEOUT_DEFAULT); in __nfp_nsp_command()
403 err, arg->code); in __nfp_nsp_command()
414 if (!arg->error_quiet) in __nfp_nsp_command()
[all …]
/linux/net/sctp/
H A Dsm_statefuns.c75 void *arg,
82 void *arg,
89 void *arg,
96 void *arg,
111 void *arg,
121 void *arg,
129 void *arg, void *ext,
137 void *arg,
145 void *arg,
157 void *arg,
[all …]
/linux/tools/lib/thermal/include/
H A Dthermal.h17 int (*tz_temp)(int tz_id, int temp, void *arg);
21 int (*tz_create)(const char *name, int tz_id, void *arg);
22 int (*tz_delete)(int tz_id, void *arg);
23 int (*tz_enable)(int tz_id, void *arg);
24 int (*tz_disable)(int tz_id, void *arg);
25 int (*trip_high)(int tz_id, int trip_id, int temp, void *arg);
26 int (*trip_low)(int tz_id, int trip_id, int temp, void *arg);
27 int (*trip_add)(int tz_id, int trip_id, int type, int temp, int hyst, void *arg);
28 int (*trip_change)(int tz_id, int trip_id, int type, int temp, int hyst, void *arg);
29 int (*trip_delete)(int tz_id, int trip_id, void *arg);
[all …]

12345678910>>...109