/openbmc/hiomapd/ |
H A D | control_legacy.c | 32 size_t num_args; member 61 resp->num_args = DAEMON_STATE_NUM_ARGS; in control_legacy_daemon_state() 62 resp->args = calloc(resp->num_args, sizeof(*resp->args)); in control_legacy_daemon_state() 80 resp->num_args = LPC_STATE_NUM_ARGS; in control_legacy_lpc_state() 81 resp->args = calloc(resp->num_args, sizeof(*resp->args)); in control_legacy_lpc_state() 181 if (req->num_args != 1) { in control_legacy_resume() 235 &req.num_args); in method_cmd() 241 MSG_DBG("DBUS num_args: %u\n", (unsigned) req.num_args); in method_cmd() 242 for (i = 0; i < req.num_args; i++) { in method_cmd() 270 rc = sd_bus_message_append_array(n, 'y', resp.args, resp.num_args); in method_cmd() [all …]
|
/openbmc/phosphor-mboxd/ |
H A D | mboxd_dbus.c | 67 resp->num_args = DAEMON_STATE_NUM_ARGS; in dbus_handle_daemon_state() 68 resp->args = calloc(resp->num_args, sizeof(*resp->args)); in dbus_handle_daemon_state() 86 resp->num_args = LPC_STATE_NUM_ARGS; in dbus_handle_lpc_state() 87 resp->args = calloc(resp->num_args, sizeof(*resp->args)); in dbus_handle_lpc_state() 218 if (req->num_args != 1) { in dbus_handle_resume() 280 &req.num_args); in method_cmd() 286 MSG_DBG("DBUS num_args: %u\n", (unsigned) req.num_args); in method_cmd() 287 for (i = 0; i < req.num_args; i++) { in method_cmd() 315 rc = sd_bus_message_append_array(n, 'y', resp.args, resp.num_args); in method_cmd() 322 MSG_DBG("DBUS num_args: %u\n", (unsigned) resp.num_args); in method_cmd() [all …]
|
H A D | mboxctl.c | 120 rc = sd_bus_message_append_array(m, 'y', msg->args, msg->num_args); in send_dbus_msg() 154 if (sz < resp->num_args) { in send_dbus_msg() 160 memcpy(resp->args, buf, resp->num_args); in send_dbus_msg() 196 resp.num_args = DAEMON_STATE_NUM_ARGS; in handle_cmd_daemon_state() 197 resp.args = calloc(resp.num_args, sizeof(*resp.args)); in handle_cmd_daemon_state() 229 resp.num_args = LPC_STATE_NUM_ARGS; in handle_cmd_lpc_state() 230 resp.args = calloc(resp.num_args, sizeof(*resp.args)); in handle_cmd_lpc_state() 327 msg.num_args = RESUME_NUM_ARGS; in handle_cmd_resume() 328 msg.args = calloc(msg.num_args, sizeof(*msg.args)); in handle_cmd_resume()
|
H A D | dbus.h | 48 size_t num_args; member
|
/openbmc/linux/drivers/clk/ti/ |
H A D | clk.c | 174 int num_args; in ti_dt_clocks_register() local 187 num_args = 0; in ti_dt_clocks_register() 190 if (num_args >= 2) { in ti_dt_clocks_register() 195 tags[num_args++] = ptr + 1; in ti_dt_clocks_register() 201 if (num_args && clkctrl_nodes_missing) in ti_dt_clocks_register() 205 if (num_args && compat_mode) { in ti_dt_clocks_register() 217 clkspec.args_count = num_args; in ti_dt_clocks_register() 218 for (i = 0; i < num_args; i++) { in ti_dt_clocks_register() 233 if (num_args && !has_clkctrl_data) { in ti_dt_clocks_register()
|
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-is-regs.c | 86 int fimc_is_hw_get_params(struct fimc_is *is, unsigned int num_args) in fimc_is_hw_get_params() argument 90 if (num_args > FIMC_IS_MAX_PARAMS) in fimc_is_hw_get_params() 93 is->i2h_cmd.num_args = num_args; in fimc_is_hw_get_params() 96 if (i < num_args) in fimc_is_hw_get_params()
|
H A D | fimc-is.h | 200 u16 num_args; member
|
/openbmc/u-boot/arch/arm/mach-omap2/ |
H A D | sec-common.c | 63 u32 num_args; in secure_rom_call() local 68 num_args = va_arg(ap, u32); in secure_rom_call() 70 if (num_args > 4) { in secure_rom_call() 76 for (i = 0; i < num_args; i++) in secure_rom_call() 79 secure_rom_call_args[0] = num_args; in secure_rom_call()
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | qcow2.py | 142 for name, handler, num_args, desc in cmds: 145 elif len(args) != num_args: 160 for name, handler, num_args, desc in cmds:
|
/openbmc/linux/tools/leds/ |
H A D | get_led_device_info.sh | 6 num_args=$# 7 if [ $num_args -eq 1 ]; then 17 elif [ $num_args -eq 2 ]; then
|
/openbmc/linux/arch/x86/include/uapi/asm/ |
H A D | amd_hsmp.h | 55 __u16 num_args; /* Number of input argument words in message */ member 68 int num_args; member
|
/openbmc/linux/drivers/platform/x86/amd/ |
H A D | hsmp.c | 95 while (index < msg->num_args) { in __hsmp_send_message() 182 if (msg->num_args != hsmp_msg_desc_table[msg->msg_id].num_args || in validate_message() 239 msg.num_args = 1; in hsmp_test()
|
/openbmc/u-boot/tools/dtoc/ |
H A D | dtb_platdata.py | 238 num_args = fdt_util.fdt32_to_cpu(cells.value) 239 max_args = max(max_args, num_args) 240 args.append(num_args) 241 i += 1 + num_args
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | head_64.S | 176 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
|
/openbmc/linux/include/linux/ |
H A D | mISDNdsp.h | 18 int num_args; member
|
H A D | tracepoint-defs.h | 53 u32 num_args; member
|
H A D | device-mapper.h | 441 unsigned int *num_args, char **error); 451 void dm_consume_args(struct dm_arg_set *as, unsigned int num_args);
|
/openbmc/linux/drivers/isdn/mISDN/ |
H A D | dsp_hwec.c | 29 .num_args = ARRAY_SIZE(args),
|
H A D | dsp_pipeline.c | 44 for (i = 0; i < elem->num_args; i++) in attr_show_args()
|
/openbmc/linux/drivers/s390/cio/ |
H A D | chp.c | 251 int num_args; in chp_status_write() local 254 num_args = sscanf(buf, "%5s", cmd); in chp_status_write() 255 if (!num_args) in chp_status_write()
|
/openbmc/linux/kernel/bpf/ |
H A D | helpers.c | 822 u32 num_args, struct bpf_bprintf_data *data) in bpf_bprintf_prepare() argument 824 bool get_buffers = (data->get_bin_args && num_args) || data->get_buf; in bpf_bprintf_prepare() 841 if (num_args) in bpf_bprintf_prepare() 864 if (num_spec >= num_args) { in bpf_bprintf_prepare() 1053 int err, num_args; in BPF_CALL_5() local 1058 num_args = data_len / 8; in BPF_CALL_5() 1063 err = bpf_bprintf_prepare(fmt, UINT_MAX, args, num_args, &data); in BPF_CALL_5()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ethtool.c | 2049 edev->dump_info.num_args = 0; in qede_set_dump() 2053 if (edev->dump_info.num_args == QEDE_DUMP_MAX_ARGS) { in qede_set_dump() 2054 DP_ERR(edev, "Arg count = %d\n", edev->dump_info.num_args); in qede_set_dump() 2060 edev->dump_info.args[edev->dump_info.num_args] = val->flag; in qede_set_dump() 2061 edev->dump_info.num_args++; in qede_set_dump() 2120 if (edev->dump_info.num_args != QEDE_DUMP_NVM_ARG_COUNT) { in qede_get_dump_data() 2122 edev->dump_info.num_args, in qede_get_dump_data() 2143 edev->dump_info.num_args = 0; in qede_get_dump_data()
|
/openbmc/linux/include/trace/ |
H A D | bpf_probe.h | 76 .num_args = COUNT_ARGS(args), \
|
/openbmc/linux/drivers/acpi/ |
H A D | property.c | 798 const union acpi_object *end, size_t num_args) in acpi_get_ref_args() argument 820 for (i = 0; (*element) + i < end && i < num_args; i++) { in acpi_get_ref_args() 884 const char *propname, size_t index, size_t num_args, in __acpi_node_get_property_reference() argument 949 &element, end, num_args); in __acpi_node_get_property_reference()
|
/openbmc/linux/Documentation/arch/x86/ |
H A D | amd_hsmp.rst | 71 __u16 num_args; /* Number of input argument words in message */
|