Home
last modified time | relevance | path

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

12345678910>>...26

/openbmc/u-boot/drivers/tee/optee/
H A Dsupplicant.c16 static void cmd_shm_alloc(struct udevice *dev, struct optee_msg_arg *arg, in cmd_shm_alloc() argument
24 arg->ret_origin = TEE_ORIGIN_COMMS; in cmd_shm_alloc()
26 if (arg->num_params != 1 || in cmd_shm_alloc()
27 arg->params[0].attr != OPTEE_MSG_ATTR_TYPE_VALUE_INPUT) { in cmd_shm_alloc()
28 arg->ret = TEE_ERROR_BAD_PARAMETERS; in cmd_shm_alloc()
32 rc = __tee_shm_add(dev, 0, NULL, arg->params[0].u.value.b, in cmd_shm_alloc()
36 arg->ret = TEE_ERROR_OUT_OF_MEMORY; in cmd_shm_alloc()
38 arg->ret = TEE_ERROR_GENERIC; in cmd_shm_alloc()
44 arg->ret = TEE_ERROR_OUT_OF_MEMORY; in cmd_shm_alloc()
50 arg->params[0].attr = OPTEE_MSG_ATTR_TYPE_TMEM_OUTPUT | in cmd_shm_alloc()
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus/
H A D0001-make-direction-attribute-conforming-to-introspect.dt.patch10 <!ATTRLIST arg direction (in|out) "in">
32 - self._inargs = [(arg.attrib.get("name", ""), arg.attrib["type"]) for arg in method if arg.tag =…
33 - self._outargs = [arg.attrib["type"] for arg in method if arg.tag == "arg" and arg.attrib["direct…
34 + self._inargs = [(arg.attrib.get("name", ""), arg.attrib["type"]) for arg in method if arg.tag =…
35 + self._outargs = [arg.attrib["type"] for arg in method if arg.tag == "arg" and arg.attrib.get("di…
/openbmc/qemu/target/xtensa/
H A Dtranslate.c448 static uint32_t test_exceptions_sr(DisasContext *dc, const OpcodeArg arg[], in test_exceptions_sr() argument
455 const OpcodeArg arg[], in test_exceptions_ccompare() argument
463 return test_exceptions_sr(dc, arg, par); in test_exceptions_ccompare()
466 static uint32_t test_exceptions_dbreak(DisasContext *dc, const OpcodeArg arg[], in test_exceptions_dbreak() argument
480 return test_exceptions_sr(dc, arg, par); in test_exceptions_dbreak()
483 static uint32_t test_exceptions_ibreak(DisasContext *dc, const OpcodeArg arg[], in test_exceptions_ibreak() argument
491 return test_exceptions_sr(dc, arg, par); in test_exceptions_ibreak()
494 static uint32_t test_exceptions_hpi(DisasContext *dc, const OpcodeArg arg[], in test_exceptions_hpi() argument
511 return test_exceptions_sr(dc, arg, par); in test_exceptions_hpi()
557 static void gen_zero_check(DisasContext *dc, const OpcodeArg arg[]) in gen_zero_check() argument
[all …]
/openbmc/qemu/target/microblaze/
H A Dtranslate.c190 static bool do_typea(DisasContext *dc, arg_typea *arg, bool side_effects, in do_typea() argument
195 if (arg->rd == 0 && !side_effects) { in do_typea()
199 rd = reg_for_write(dc, arg->rd); in do_typea()
200 ra = reg_for_read(dc, arg->ra); in do_typea()
201 rb = reg_for_read(dc, arg->rb); in do_typea()
206 static bool do_typea0(DisasContext *dc, arg_typea0 *arg, bool side_effects, in do_typea0() argument
211 if (arg->rd == 0 && !side_effects) { in do_typea0()
215 rd = reg_for_write(dc, arg->rd); in do_typea0()
216 ra = reg_for_read(dc, arg->ra); in do_typea0()
221 static bool do_typeb_imm(DisasContext *dc, arg_typeb *arg, bool side_effects, in do_typeb_imm() argument
[all …]
/openbmc/qemu/accel/tcg/
H A Dtcg-runtime.c107 uint32_t HELPER(clz_i32)(uint32_t arg, uint32_t zero_val) in HELPER()
109 return arg ? clz32(arg) : zero_val; in HELPER()
112 uint32_t HELPER(ctz_i32)(uint32_t arg, uint32_t zero_val) in HELPER()
114 return arg ? ctz32(arg) : zero_val; in HELPER()
117 uint64_t HELPER(clz_i64)(uint64_t arg, uint64_t zero_val) in HELPER()
119 return arg ? clz64(arg) : zero_val; in HELPER()
122 uint64_t HELPER(ctz_i64)(uint64_t arg, uint64_t zero_val) in HELPER()
124 return arg ? ctz64(arg) : zero_val; in HELPER()
127 uint32_t HELPER(clrsb_i32)(uint32_t arg) in HELPER()
129 return clrsb32(arg); in HELPER()
[all …]
/openbmc/u-boot/arch/sandbox/cpu/
H A Dstart.c74 static int sandbox_cmdline_cb_help(struct sandbox_state *state, const char *arg) in sandbox_cmdline_cb_help() argument
109 const char *arg) in sandbox_cmdline_cb_boot() argument
117 const char *arg) in sandbox_cmdline_cb_command() argument
119 state->cmd = arg; in sandbox_cmdline_cb_command()
124 static int sandbox_cmdline_cb_fdt(struct sandbox_state *state, const char *arg) in sandbox_cmdline_cb_fdt() argument
126 state->fdt_fname = arg; in sandbox_cmdline_cb_fdt()
132 const char *arg) in sandbox_cmdline_cb_default_fdt() argument
151 const char *arg) in sandbox_cmdline_cb_interactive() argument
160 const char *arg) in sandbox_cmdline_cb_jump() argument
163 state->jumped_fname = arg; in sandbox_cmdline_cb_jump()
[all …]
/openbmc/qemu/target/hppa/
H A Dfpu_helper.c138 float32 HELPER(fsqrt_s)(CPUHPPAState *env, float32 arg) in HELPER()
140 float32 ret = float32_sqrt(arg, &env->fp_status); in HELPER()
145 float32 HELPER(frnd_s)(CPUHPPAState *env, float32 arg) in HELPER()
147 float32 ret = float32_round_to_int(arg, &env->fp_status); in HELPER()
180 float64 HELPER(fsqrt_d)(CPUHPPAState *env, float64 arg) in HELPER()
182 float64 ret = float64_sqrt(arg, &env->fp_status); in HELPER()
187 float64 HELPER(frnd_d)(CPUHPPAState *env, float64 arg) in HELPER()
189 float64 ret = float64_round_to_int(arg, &env->fp_status); in HELPER()
222 float64 HELPER(fcnv_s_d)(CPUHPPAState *env, float32 arg) in HELPER()
224 float64 ret = float32_to_float64(arg, &env->fp_status); in HELPER()
[all …]
/openbmc/qemu/block/
H A Dqapi-system.c421 void qmp_block_set_io_throttle(BlockIOThrottle *arg, Error **errp) in qmp_block_set_io_throttle() argument
427 blk = qmp_get_blk(arg->device, arg->id, errp); in qmp_block_set_io_throttle()
439 cfg.buckets[THROTTLE_BPS_TOTAL].avg = arg->bps; in qmp_block_set_io_throttle()
440 cfg.buckets[THROTTLE_BPS_READ].avg = arg->bps_rd; in qmp_block_set_io_throttle()
441 cfg.buckets[THROTTLE_BPS_WRITE].avg = arg->bps_wr; in qmp_block_set_io_throttle()
443 cfg.buckets[THROTTLE_OPS_TOTAL].avg = arg->iops; in qmp_block_set_io_throttle()
444 cfg.buckets[THROTTLE_OPS_READ].avg = arg->iops_rd; in qmp_block_set_io_throttle()
445 cfg.buckets[THROTTLE_OPS_WRITE].avg = arg->iops_wr; in qmp_block_set_io_throttle()
447 if (arg->has_bps_max) { in qmp_block_set_io_throttle()
448 cfg.buckets[THROTTLE_BPS_TOTAL].max = arg->bps_max; in qmp_block_set_io_throttle()
[all …]
/openbmc/qemu/tests/tcg/i386/
H A Dtest-avx.py183 def ArgGenerator(arg, op): argument
184 if arg[:3] == 'xmm' or arg[:3] == "ymm":
185 if "/" in arg:
186 r, m = arg.split('/')
188 raise Exception("Expected /m: %s", arg)
189 return XMMArg(arg[0], int(m[1:]));
191 return XMMArg(arg[0], 0);
192 elif arg[:2] == 'mm':
193 if "/" in arg:
194 r, m = arg.split('/')
[all …]
H A Dtest-mmx.py122 def ArgGenerator(arg, op): argument
123 if arg[:2] == 'mm':
124 if "/" in arg:
125 r, m = arg.split('/')
127 raise Exception("Expected /m: %s", arg)
131 elif arg[:4] == 'imm8':
133 elif arg[0] == 'r':
134 if '/m' in arg:
135 r, m = arg.split('/')
137 raise Exception("Expected /m: %s", arg)
[all …]
/openbmc/u-boot/test/dm/
H A Dtee.c16 struct tee_open_session_arg arg; in open_session() local
20 memset(&arg, 0, sizeof(arg)); in open_session()
21 tee_optee_ta_uuid_to_octets(arg.uuid, &uuid); in open_session()
22 rc = tee_open_session(dev, &arg, 0, NULL); in open_session()
25 if (arg.ret) in open_session()
27 *session = arg.session; in open_session()
35 struct tee_invoke_arg arg; in invoke_func() local
37 memset(&arg, 0, sizeof(arg)); in invoke_func()
38 arg.session = session; in invoke_func()
39 arg.func = TA_AVB_CMD_READ_LOCK_STATE; in invoke_func()
[all …]
/openbmc/qemu/util/
H A Dthrottle.c513 void throttle_limits_to_config(ThrottleLimits *arg, ThrottleConfig *cfg, in throttle_limits_to_config() argument
516 if (arg->has_bps_total) { in throttle_limits_to_config()
517 cfg->buckets[THROTTLE_BPS_TOTAL].avg = arg->bps_total; in throttle_limits_to_config()
519 if (arg->has_bps_read) { in throttle_limits_to_config()
520 cfg->buckets[THROTTLE_BPS_READ].avg = arg->bps_read; in throttle_limits_to_config()
522 if (arg->has_bps_write) { in throttle_limits_to_config()
523 cfg->buckets[THROTTLE_BPS_WRITE].avg = arg->bps_write; in throttle_limits_to_config()
526 if (arg->has_iops_total) { in throttle_limits_to_config()
527 cfg->buckets[THROTTLE_OPS_TOTAL].avg = arg->iops_total; in throttle_limits_to_config()
529 if (arg->has_iops_read) { in throttle_limits_to_config()
[all …]
/openbmc/qemu/tests/qtest/
H A Dtest-arm-mptimer.c92 static void test_timer_oneshot(gconstpointer arg) in test_timer_oneshot() argument
94 int scaler = *((int *) arg); in test_timer_oneshot()
116 static void test_timer_pause(gconstpointer arg) in test_timer_pause() argument
118 int scaler = *((int *) arg); in test_timer_pause()
157 static void test_timer_reload(gconstpointer arg) in test_timer_reload() argument
159 int scaler = *((int *) arg); in test_timer_reload()
178 static void test_timer_periodic(gconstpointer arg) in test_timer_periodic() argument
180 int scaler = *((int *) arg); in test_timer_periodic()
197 static void test_timer_oneshot_to_periodic(gconstpointer arg) in test_timer_oneshot_to_periodic() argument
199 int scaler = *((int *) arg); in test_timer_oneshot_to_periodic()
[all …]
/openbmc/qemu/
H A Dblockdev-nbd.c209 void nbd_server_start_options(NbdServerOptions *arg, Error **errp) in nbd_server_start_options() argument
211 if (!arg->has_max_connections) { in nbd_server_start_options()
212 arg->max_connections = NBD_DEFAULT_MAX_CONNECTIONS; in nbd_server_start_options()
214 if (!arg->has_handshake_max_seconds) { in nbd_server_start_options()
215 arg->handshake_max_seconds = NBD_DEFAULT_HANDSHAKE_MAX_SECS; in nbd_server_start_options()
218 nbd_server_start(arg->addr, arg->handshake_max_seconds, arg->tls_creds, in nbd_server_start_options()
219 arg->tls_authz, arg->max_connections, errp); in nbd_server_start_options()
244 void qmp_nbd_server_add(NbdServerAddOptions *arg, Error **errp) in qmp_nbd_server_add() argument
251 bs = bdrv_lookup_bs(arg->device, arg->device, errp); in qmp_nbd_server_add()
260 if (!arg->name) { in qmp_nbd_server_add()
[all …]
H A Dqemu-bridge-helper.c87 char *cmd, *arg, *argend; in parse_acl_file() local
99 arg = strchr(cmd, ' '); in parse_acl_file()
100 if (arg == NULL) { in parse_acl_file()
101 arg = strchr(cmd, '\t'); in parse_acl_file()
104 if (arg == NULL) { in parse_acl_file()
109 *arg = 0; in parse_acl_file()
110 arg++; in parse_acl_file()
111 while (g_ascii_isspace(*arg)) { in parse_acl_file()
112 arg++; in parse_acl_file()
115 argend = arg + strlen(arg); in parse_acl_file()
[all …]
/openbmc/qemu/linux-user/
H A Dmain.c271 static void handle_arg_help(const char *arg) in handle_arg_help() argument
276 static void handle_arg_log(const char *arg) in handle_arg_log() argument
278 last_log_mask = qemu_str_to_log_mask(arg); in handle_arg_log()
285 static void handle_arg_dfilter(const char *arg) in handle_arg_dfilter() argument
287 qemu_set_dfilter_ranges(arg, &error_fatal); in handle_arg_dfilter()
290 static void handle_arg_log_filename(const char *arg) in handle_arg_log_filename() argument
292 last_log_filename = arg; in handle_arg_log_filename()
295 static void handle_arg_set_env(const char *arg) in handle_arg_set_env() argument
298 r = p = strdup(arg); in handle_arg_set_env()
307 static void handle_arg_unset_env(const char *arg) in handle_arg_unset_env() argument
[all …]
H A Dthunk.c275 const argtype *thunk_print(void *arg, const argtype *type_ptr) in thunk_print() argument
283 qemu_log("%c", *(uint8_t *)arg); in thunk_print()
286 qemu_log("%" PRId16, tswap16(*(uint16_t *)arg)); in thunk_print()
289 qemu_log("%" PRId32, tswap32(*(uint32_t *)arg)); in thunk_print()
292 qemu_log("%" PRId64, tswap64(*(uint64_t *)arg)); in thunk_print()
295 qemu_log("%" PRIu64, tswap64(*(uint64_t *)arg)); in thunk_print()
299 qemu_log("0x%" PRIx32, tswap32(*(uint32_t *)arg)); in thunk_print()
302 qemu_log("%" PRId32, tswap32(*(uint32_t *)arg)); in thunk_print()
305 qemu_log("%" PRIu32, tswap32(*(uint32_t *)arg)); in thunk_print()
309 qemu_log("0x%" PRIx32, tswap32(*(uint64_t *)arg & 0xffffffff)); in thunk_print()
[all …]
/openbmc/u-boot/arch/nios2/cpu/
H A Dinterrupts.c20 void *arg; member
54 act->handler (act->arg); in external_interrupt()
62 static void def_hdlr (void *arg) in def_hdlr() argument
69 irqs &= ~(1 << (int)arg); in def_hdlr()
72 (int)arg); in def_hdlr()
76 void irq_install_handler (int irq, interrupt_handler_t *hdlr, void *arg) in irq_install_handler() argument
90 act->arg = arg; in irq_install_handler()
94 act->arg = (void *)irq; in irq_install_handler()
109 vecs[i].arg = (void *)i; in interrupt_init()
134 (ulong)act->arg, in do_irqinfo()
/openbmc/u-boot/cmd/aspeed/nettest/
H A Dmactest.c108 switch (p_eng->arg.test_mode) { in Print_Header()
125 PRINTF(option, "TX frame - 0x%08x\n", p_eng->arg.user_def_val); in Print_Header()
134 if (p_eng->arg.run_mode == MODE_NCSI) { in print_arg_test_mode()
272 if (MODE_DEDICATED == p_eng->arg.run_mode) { in print_usage()
284 } else if (MODE_NCSI == p_eng->arg.run_mode) { in print_usage()
357 if (p_eng->arg.run_mode == MODE_DEDICATED) { in finish_check()
402 if (p_eng->arg.run_mode == MODE_NCSI ) { in check_test_mode()
403 switch (p_eng->arg.test_mode) { in check_test_mode()
422 switch (p_eng->arg.test_mode) { in check_test_mode()
641 if (p_eng->arg.mac_idx > p_eng->env.mac_num - 1) { in check_mac_idx()
[all …]
/openbmc/qemu/target/ppc/
H A Darch_dump.c104 static void ppc_write_elf_prstatus(NoteFuncArg *arg, PowerPCCPU *cpu, int id) in ppc_write_elf_prstatus() argument
110 Note *note = &arg->note; in ppc_write_elf_prstatus()
111 DumpState *s = arg->state; in ppc_write_elf_prstatus()
136 static void ppc_write_elf_fpregset(NoteFuncArg *arg, PowerPCCPU *cpu, int id) in ppc_write_elf_fpregset() argument
140 Note *note = &arg->note; in ppc_write_elf_fpregset()
141 DumpState *s = arg->state; in ppc_write_elf_fpregset()
155 static void ppc_write_elf_vmxregset(NoteFuncArg *arg, PowerPCCPU *cpu, int id) in ppc_write_elf_vmxregset() argument
159 Note *note = &arg->note; in ppc_write_elf_vmxregset()
160 DumpState *s = arg->state; in ppc_write_elf_vmxregset()
187 static void ppc_write_elf_vsxregset(NoteFuncArg *arg, PowerPCCPU *cpu, int id) in ppc_write_elf_vsxregset() argument
[all …]
/openbmc/sdbusplus/include/sdbusplus/sdbuspp_support/
H A Dserver.hpp39 std::tuple<Args...> arg{}; in property_callback() local
40 std::apply([&](Args&... a) { (m.read(a), ...); }, arg); in property_callback()
46 m.append(std::apply(f, std::move(arg))); in property_callback()
51 std::apply(f, std::move(arg)); in property_callback()
95 std::tuple<Args...> arg{}; in method_callback() local
96 std::apply([&](Args&... a) { (m.read(a), ...); }, arg); in method_callback()
105 std::apply(f, std::move(arg)); in method_callback()
110 reply.append(std::apply(f, std::move(arg))); in method_callback()
121 std::apply(f, std::move(arg))); in method_callback()
/openbmc/qemu/target/tricore/
H A Dfpu_helper.c357 uint32_t helper_ftoi(CPUTriCoreState *env, uint32_t arg) in helper_ftoi() argument
359 float32 f_arg = make_float32(arg); in helper_ftoi()
376 uint32_t helper_hptof(CPUTriCoreState *env, uint32_t arg) in helper_hptof() argument
378 float16 f_arg = make_float16(arg); in helper_hptof()
412 uint32_t helper_ftohp(CPUTriCoreState *env, uint32_t arg) in helper_ftohp() argument
414 float32 f_arg = make_float32(arg); in helper_ftohp()
427 result = float16_set_sign(result, arg >> 31); in helper_ftohp()
429 result = deposit32(result, 8, 2, extract32(arg, 21, 2)); in helper_ftohp()
430 result = deposit32(result, 0, 8, extract32(arg, 0, 8)); in helper_ftohp()
450 uint32_t helper_itof(CPUTriCoreState *env, uint32_t arg) in helper_itof() argument
[all …]
/openbmc/qemu/chardev/
H A Dchar-parallel.c73 static int pp_ioctl(Chardev *chr, int cmd, void *arg) in pp_ioctl() argument
84 *(uint8_t *)arg = b; in pp_ioctl()
87 b = *(uint8_t *)arg; in pp_ioctl()
99 *(uint8_t *)arg = b | 0xc0; in pp_ioctl()
102 b = *(uint8_t *)arg; in pp_ioctl()
111 *(uint8_t *)arg = b; in pp_ioctl()
114 if (ioctl(fd, PPDATADIR, (int *)arg) < 0) { in pp_ioctl()
120 struct ParallelIOArg *parg = arg; in pp_ioctl()
129 struct ParallelIOArg *parg = arg; in pp_ioctl()
138 struct ParallelIOArg *parg = arg; in pp_ioctl()
[all …]
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-yosemite4/plat-svc/files/
H A Dyosemite4-medusa-event11 arg=""
17 arg="$HSC_NUM"
24 arg="$DELTA_NUM"
31 arg="$MB_NUM"
38 "$script_to_run" "$arg" # Send the event
45 "$script_to_run" "$arg" # Send the event
/openbmc/qemu/tests/tcg/multiarch/
H A Dthreadcount.c30 ThreadArg *arg = varg; in thread_fn() local
31 usleep(arg->delay); in thread_fn()
32 free(arg); in thread_fn()
47 ThreadArg *arg = calloc(sizeof(ThreadArg), 1); in main() local
48 arg->delay = i * 100; in main()
49 pthread_create(threads + i, NULL, thread_fn, arg); in main()

12345678910>>...26