Home
last modified time | relevance | path

Searched refs:num_args (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/clk/ti/
H A Dclk.c166 int num_args; in ti_dt_clocks_register() local
179 num_args = 0; in ti_dt_clocks_register()
182 if (num_args >= 2) { in ti_dt_clocks_register()
187 tags[num_args++] = ptr + 1; in ti_dt_clocks_register()
193 if (num_args && clkctrl_nodes_missing) in ti_dt_clocks_register()
197 if (num_args && compat_mode) { in ti_dt_clocks_register()
209 clkspec.args_count = num_args; in ti_dt_clocks_register()
210 for (i = 0; i < num_args; i++) { in ti_dt_clocks_register()
225 if (num_args && !has_clkctrl_data) { in ti_dt_clocks_register()
/linux/drivers/platform/x86/amd/hsmp/
H A Dhsmp.c73 while (index < msg->num_args) { in __hsmp_send_message()
178 * num_args passed by user should match the num_args specified in in validate_message()
181 if (msg->num_args != hsmp_msg_desc_table[msg->msg_id].num_args) in validate_message()
229 int hsmp_msg_get_nargs(u16 sock_ind, u32 msg_id, u32 *data, u8 num_args) in hsmp_msg_get_nargs() argument
239 msg.response_sz = num_args; in hsmp_msg_get_nargs()
245 for (i = 0; i < num_args; i++) in hsmp_msg_get_nargs()
262 msg.num_args = 1; in hsmp_test()
H A Dhsmp.h73 int hsmp_msg_get_nargs(u16 sock_ind, u32 msg_id, u32 *data, u8 num_args);
H A Dhwmon.c34 msg.num_args = 1; in hsmp_hwmon_write()
/linux/drivers/firmware/xilinx/
H A Dzynqmp.c121 static noinline int do_fw_call_fail(u32 *ret_payload, u32 num_args, ...) in do_fw_call_fail() argument
141 static noinline int do_fw_call_smc(u32 *ret_payload, u32 num_args, ...) in do_fw_call_smc() argument
148 if (num_args > 8) in do_fw_call_smc()
151 va_start(arg_list, num_args); in do_fw_call_smc()
153 for (i = 0; i < num_args; i++) in do_fw_call_smc()
184 static noinline int do_fw_call_hvc(u32 *ret_payload, u32 num_args, ...) in do_fw_call_hvc() argument
191 if (num_args > 8) in do_fw_call_hvc()
194 va_start(arg_list, num_args); in do_fw_call_hvc()
196 for (i = 0; i < num_args; i++) in do_fw_call_hvc()
376 int zynqmp_pm_invoke_fw_fn(u32 pm_api_id, u32 *ret_payload, u32 num_args, ...) in zynqmp_pm_invoke_fw_fn() argument
[all …]
/linux/drivers/gpu/drm/amd/pm/swsmu/
H A Dsmu_cmn.c171 .num_args = 1, in smu_cmn_send_smc_msg_with_param()
278 for (i = 0; i < args->num_args; i++) in __smu_msg_v1_send()
310 if (args->num_args > 0) { in __smu_msg_v1_print_err_limited()
311 for (i = 0; i < args->num_args; i++) in __smu_msg_v1_print_err_limited()
314 16, 4, in, args->num_args * sizeof(u32), in __smu_msg_v1_print_err_limited()
358 if (args->num_args > 0) in __smu_msg_v1_print_error()
362 args->num_args * sizeof(u32), in __smu_msg_v1_print_error()
433 if (args->num_args > ctl->config.num_arg_regs || in smu_msg_v1_send_msg()
503 if (args->num_args > 0) in smu_msg_v1_send_msg()
506 args->num_args * sizeof(u32), in smu_msg_v1_send_msg()
[all …]
/linux/tools/leds/
H A Dget_led_device_info.sh6 num_args=$#
7 if [ $num_args -eq 1 ]; then
17 elif [ $num_args -eq 2 ]; then
/linux/arch/sparc/kernel/
H A Dhead_64.S176 stx %l3, [%sp + 2047 + 128 + 0x08] ! num_args, 1
200 stx %l3, [%sp + 2047 + 128 + 0x08] ! num_args, 4
224 stx %l3, [%sp + 2047 + 128 + 0x08] ! num_args, 1
243 stx %l3, [%sp + 2047 + 128 + 0x08] ! num_args, 4
263 stx %l3, [%sp + 2047 + 128 + 0x08] ! num_args, 3
296 stx %l3, [%sp + 2047 + 128 + 0x08] ! num_args, 7
351 stx %l3, [%sp + 2047 + 128 + 0x08] ! num_args, 1
372 stx %l3, [%sp + 2047 + 128 + 0x08] ! num_args, 4
/linux/kernel/bpf/
H A Dstream.c225 int ret, num_args; in bpf_stream_vprintk_impl()
234 num_args = data_len / 8; in bpf_stream_vprintk_impl()
236 ret = bpf_bprintf_prepare(fmt__str, fmt_size, args, num_args, &data); in bpf_stream_vprintk_impl()
226 int ret, num_args; bpf_stream_vprintk_impl() local
H A Dhelpers.c819 u32 num_args, struct bpf_bprintf_data *data) in bpf_bprintf_prepare() argument
821 bool get_buffers = (data->get_bin_args && num_args) || data->get_buf; in bpf_bprintf_prepare()
838 if (num_args) in bpf_bprintf_prepare()
861 if (num_spec >= num_args) { in bpf_bprintf_prepare()
1055 int err, num_args; in BPF_CALL_5() local
1060 num_args = data_len / 8; in BPF_CALL_5()
1065 err = bpf_bprintf_prepare(fmt, UINT_MAX, args, num_args, &data); in BPF_CALL_5()
/linux/include/linux/
H A DmISDNdsp.h18 int num_args; member
H A Dtracepoint-defs.h59 u32 num_args; member
H A Dacpi.h1335 const char *name, size_t index, size_t num_args,
1436 const char *name, size_t index, size_t num_args, in __acpi_node_get_property_reference() argument
/linux/sound/hda/codecs/side-codecs/
H A Dcirrus_scodec_test.c160 int num_args) in cirrus_scodec_test_set_spkid_swnode() argument
163 PROPERTY_ENTRY_REF_ARRAY_LEN("spk-id-gpios", args, num_args), in cirrus_scodec_test_set_spkid_swnode()
/linux/drivers/isdn/mISDN/
H A Ddsp_hwec.c29 .num_args = ARRAY_SIZE(args),
H A Ddsp_pipeline.c46 for (i = 0; i < elem->num_args; i++) in attr_show_args()
/linux/drivers/acpi/
H A Dproperty.c869 const union acpi_object *end, size_t num_args) in acpi_get_ref_args() argument
874 num_args = acpi_fwnode_get_args_count(ref_fwnode, nargs_prop); in acpi_get_ref_args()
882 for (i = 0; (*element) + i < end && i < num_args; i++) { in acpi_get_ref_args()
1107 size_t num_args, in __acpi_node_get_property_reference() argument
1110 return acpi_fwnode_get_reference_args(fwnode, propname, NULL, num_args, index, args); in __acpi_node_get_property_reference()
/linux/drivers/s390/cio/
H A Dchp.c256 int num_args; in chp_status_write() local
259 num_args = sscanf(buf, "%5s", cmd); in chp_status_write()
260 if (!num_args) in chp_status_write()
/linux/fs/fuse/
H A Ddev_uring.c616 int num_args = args->in_numargs; in fuse_uring_args_to_ring() local
634 if (num_args > 0) { in fuse_uring_args_to_ring()
649 num_args--; in fuse_uring_args_to_ring()
653 err = fuse_copy_args(&cs, num_args, args->in_pages, in fuse_uring_args_to_ring()
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-is.h200 u16 num_args; member
/linux/include/trace/
H A Dbpf_probe.h89 .num_args = COUNT_ARGS(args), \
/linux/drivers/md/
H A Ddm-table.c824 void dm_consume_args(struct dm_arg_set *as, unsigned int num_args) in dm_consume_args() argument
826 BUG_ON(as->argc < num_args); in dm_consume_args()
827 as->argc -= num_args; in dm_consume_args()
828 as->argv += num_args; in dm_consume_args()
/linux/kernel/trace/
H A Dbpf_trace.c422 int ret, num_args; in BPF_CALL_4() local
427 num_args = data_len / 8; in BPF_CALL_4()
429 ret = bpf_bprintf_prepare(fmt, fmt_size, args, num_args, &data); in BPF_CALL_4()
464 int err, num_args; in BPF_CALL_5() local
469 num_args = data_len / 8; in BPF_CALL_5()
471 err = bpf_bprintf_prepare(fmt, fmt_size, args, num_args, &data); in BPF_CALL_5()
2150 if (prog->aux->max_ctx_offset > btp->num_args * sizeof(u64)) in bpf_probe_register()
/linux/Documentation/arch/x86/
H A Damd_hsmp.rst177 __u16 num_args; /* Number of input argument words in message */
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede.h156 u8 num_args; member

12