Home
last modified time | relevance | path

Searched refs:nargs (Results 1 – 25 of 118) sorted by relevance

12345

/openbmc/qemu/pc-bios/vof/
H A Dci.c5 uint32_t nargs; member
38 pargs->args[pargs->nargs] = 0; in prom_handle()
39 pargs->args[pargs->nargs + 1] = pargs->args[2]; in prom_handle()
51 static int call_ci(const char *service, int nargs, int nret, ...) in call_ci() argument
58 args.nargs = nargs; in call_ci()
62 for (i = 0; i < nargs; i++) { in call_ci()
68 args.args[nargs + i] = 0; in call_ci()
75 return (nret > 0) ? args.args[nargs] : 0; in call_ci()
/openbmc/u-boot/common/
H A Dcli_simple.c25 int nargs = 0; in cli_simple_parse_line() local
28 while (nargs < CONFIG_SYS_MAXARGS) { in cli_simple_parse_line()
34 argv[nargs] = NULL; in cli_simple_parse_line()
35 debug_parser("%s: nargs=%d\n", __func__, nargs); in cli_simple_parse_line()
36 return nargs; in cli_simple_parse_line()
39 argv[nargs++] = line; /* begin of argument string */ in cli_simple_parse_line()
46 argv[nargs] = NULL; in cli_simple_parse_line()
47 debug_parser("parse_line: nargs=%d\n", nargs); in cli_simple_parse_line()
48 return nargs; in cli_simple_parse_line()
56 debug_parser("%s: nargs=%d\n", __func__, nargs); in cli_simple_parse_line()
[all …]
/openbmc/qemu/hw/ppc/
H A Dspapr_rtas.c55 uint32_t token, uint32_t nargs, in rtas_display_character() argument
71 uint32_t token, uint32_t nargs, target_ulong args, in rtas_power_off() argument
74 if (nargs != 2 || nret != 1) { in rtas_power_off()
84 uint32_t token, uint32_t nargs, in rtas_system_reboot() argument
88 if (nargs != 0 || nret != 1) { in rtas_system_reboot()
98 uint32_t token, uint32_t nargs, in rtas_query_cpu_stopped_state() argument
105 if (nargs != 1 || nret != 2) { in rtas_query_cpu_stopped_state()
129 uint32_t token, uint32_t nargs, in rtas_start_cpu() argument
139 if (nargs != 3 || nret != 1) { in rtas_start_cpu()
205 uint32_t token, uint32_t nargs, in rtas_stop_self() argument
[all …]
H A Dspapr_rtas_ddw.c95 uint32_t token, uint32_t nargs, in rtas_ibm_query_pe_dma_window() argument
103 if ((nargs != 3) || ((nret != 5) && (nret != 6))) { in rtas_ibm_query_pe_dma_window()
145 uint32_t token, uint32_t nargs, in rtas_ibm_create_pe_dma_window() argument
155 if ((nargs != 5) || (nret != 4)) { in rtas_ibm_create_pe_dma_window()
222 uint32_t token, uint32_t nargs, in rtas_ibm_remove_pe_dma_window() argument
231 if ((nargs != 1) || (nret != 1)) { in rtas_ibm_remove_pe_dma_window()
272 uint32_t token, uint32_t nargs, in rtas_ibm_reset_pe_dma_window() argument
280 if ((nargs != 3) || (nret != 1)) { in rtas_ibm_reset_pe_dma_window()
H A Dvof.c62 static bool cmpservice(const char *s, unsigned nargs, unsigned nret, in cmpservice() argument
68 if ((nargscheck && (nargs != nargscheck)) || in cmpservice()
70 trace_vof_error_param(s, nargscheck, nretcheck, nargs, nret); in cmpservice()
856 uint32_t *args, unsigned nargs, in vof_client_handle() argument
863 cmpservice(service, nargs, nrets, (s), (a), (r)) in vof_client_handle()
923 trace_vof_error_unknown_service(service, nargs, nrets); in vof_client_handle()
935 uint32_t nargs; member
947 unsigned nargs, nret, i; in vof_client_call() local
952 nargs = be32_to_cpu(args_be.nargs); in vof_client_call()
953 if (nargs >= ARRAY_SIZE(args_be.args)) { in vof_client_call()
[all …]
H A Dspapr_rtc.c70 uint32_t token, uint32_t nargs, in rtas_get_time_of_day() argument
77 if ((nargs != 0) || (nret != 8)) { in rtas_get_time_of_day()
95 uint32_t token, uint32_t nargs, in rtas_set_time_of_day() argument
105 if ((nargs != 7) || (nret != 1)) { in rtas_set_time_of_day()
H A Dspapr_pci.c132 uint32_t token, uint32_t nargs, in rtas_ibm_read_pci_config() argument
139 if ((nargs != 4) || (nret != 2)) { in rtas_ibm_read_pci_config()
152 uint32_t token, uint32_t nargs, in rtas_read_pci_config() argument
158 if ((nargs != 2) || (nret != 2)) { in rtas_read_pci_config()
198 uint32_t token, uint32_t nargs, in rtas_ibm_write_pci_config() argument
205 if ((nargs != 5) || (nret != 1)) { in rtas_ibm_write_pci_config()
219 uint32_t token, uint32_t nargs, in rtas_write_pci_config() argument
225 if ((nargs != 3) || (nret != 1)) { in rtas_write_pci_config()
268 uint32_t token, uint32_t nargs, in rtas_ibm_change_msi() argument
438 uint32_t nargs, in rtas_ibm_query_interrupt_source_number() argument
[all …]
/openbmc/qemu/tests/qtest/libqos/
H A Drtas.c11 uint32_t nargs, uint32_t *args) in qrtas_copy_args() argument
15 for (i = 0; i < nargs; i++) { in qrtas_copy_args()
32 uint32_t nargs, uint32_t *args, in qrtas_call() argument
38 target_args = guest_alloc(alloc, nargs * sizeof(uint32_t)); in qrtas_call()
41 qrtas_copy_args(qts, target_args, nargs, args); in qrtas_call()
42 res = qtest_rtas_call(qts, name, nargs, target_args, nret, target_ret); in qrtas_call()
/openbmc/u-boot/tools/
H A Daisimage.c59 uint32_t nargs; member
151 ptr += cmd_table[id].nargs + IS_FNC_EXEC(id) + 1; in aisimage_print_header()
160 static uint32_t *ais_insert_cmd_header(uint32_t cmd, uint32_t nargs, in ais_insert_cmd_header() argument
168 *ptr++ = ((nargs & 0xFFFF) << 16) + ais_func_table[cmd].index; in ais_insert_cmd_header()
171 for (i = 0; i < nargs; i++) in ais_insert_cmd_header()
264 uint32_t nargs, cmd_parms[10]; in aisimage_generate() local
304 nargs = 0; in aisimage_generate()
328 cmd_parms[nargs++] = value; in aisimage_generate()
329 if (nargs > cmd_table[cmd].nargs) { in aisimage_generate()
344 aishdr = ais_insert_cmd_header(cmd, nargs, cmd_parms, in aisimage_generate()
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-a/files/tc/
H A Dgenerate_metadata.py49 parser.add_argument('--img_type_uuids', type=str, nargs='+', required=True,
51 parser.add_argument('--location_uuids', type=str, nargs='+', required=True,
54 parser.add_argument('--img_uuids', type=str, nargs='+', required=True,
/openbmc/openbmc/poky/bitbake/bin/
H A Dbitbake-diffsigs121 … action="store", dest="taskargs", nargs=2, metavar=('recipename', 'taskname'))
125 action="store", nargs='?', metavar="sigdatafile")
137 … action="store", dest="taskargs", nargs=2, metavar=('recipename', 'taskname'))
141 action="store", dest="sigargs", nargs=2, metavar=('fromsig', 'tosig'))
145 action="store", nargs='?')
149 action="store", nargs='?')
H A Dbitbake-dumpsig121 … action="store", dest="taskargs", nargs=2, metavar=('recipename', 'taskname'))
125 action="store", nargs='?', metavar="sigdatafile")
137 … action="store", dest="taskargs", nargs=2, metavar=('recipename', 'taskname'))
141 action="store", dest="sigargs", nargs=2, metavar=('fromsig', 'tosig'))
145 action="store", nargs='?')
149 action="store", nargs='?')
/openbmc/qemu/hw/intc/
H A Dxics_spapr.c153 uint32_t nargs, target_ulong args, in rtas_set_xive() argument
161 if ((nargs != 3) || (nret != 1)) { in rtas_set_xive()
188 uint32_t nargs, target_ulong args, in rtas_get_xive() argument
196 if ((nargs != 1) || (nret != 3)) { in rtas_get_xive()
220 uint32_t nargs, target_ulong args, in rtas_int_off() argument
228 if ((nargs != 1) || (nret != 1)) { in rtas_int_off()
253 uint32_t nargs, target_ulong args, in rtas_int_on() argument
261 if ((nargs != 1) || (nret != 1)) { in rtas_int_on()
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Drunqemu.py61 …parser_runqemu.add_argument('imagename', help='Name of built image to boot within QEMU', nargs='?')
63 nargs=argparse.REMAINDER)
H A Dexport.py107 …group.add_argument('--include', '-i', nargs='+', default=[], help='Include recipes into the tar ar…
108 …group.add_argument('--exclude', '-e', nargs='+', default=[], help='Exclude recipes into the tar ar…
/openbmc/openbmc/poky/scripts/lib/
H A Dargparse_oe.py117 action.save_nargs = action.nargs
118 action.nargs = 0
126 action.nargs = action.save_nargs
136 action.nargs = action.save_nargs
/openbmc/qemu/scripts/oss-fuzz/
H A Doutput_reproducer.py120 nargs='?', default="<name of author>")
125 nargs='?', default="test_fuzz")
128 nargs='?', type=argparse.FileType('r'),
/openbmc/qemu/hw/nvram/
H A Dspapr_nvram.c59 uint32_t token, uint32_t nargs, in OBJECT_DECLARE_SIMPLE_TYPE()
67 if ((nargs != 3) || (nret != 2)) { in OBJECT_DECLARE_SIMPLE_TYPE()
100 uint32_t token, uint32_t nargs, in rtas_nvram_store() argument
109 if ((nargs != 3) || (nret != 2)) { in rtas_nvram_store()
/openbmc/qemu/scripts/simplebench/
H A Dbench-backup.py185 p.add_argument('--env', nargs='+', help='''\
189 p.add_argument('--dir', nargs='+', help='''\
199 p.add_argument('--test', nargs='+', help='''\
/openbmc/openbmc/poky/scripts/
H A Dyocto-check-layer54 parser.add_argument('layers', metavar='LAYER_DIR', nargs='+',
58 parser.add_argument('--dependency', nargs="+",
62 parser.add_argument('--machines', nargs="+",
64 parser.add_argument('--additional-layers', nargs="+",
H A Doe-git-archive48 parser.add_argument('--push', '-p', nargs='?', default=False, const=True,
73 parser.add_argument('--notes', nargs=2, action='append', default=[],
H A Dtest-remote-image77 …parser.add_argument('--image-types', required=True, action="store", nargs='*', dest="image_types",…
79 …parser.add_argument('--required-packages', required=False, action="store", nargs='*', dest="requir…
80 …parser.add_argument('--targetprofile', required=False, action="store", nargs=1, dest="targetprofil…
81 …parser.add_argument('--repoprofile', required=False, action="store", nargs=1, dest="repoprofile", …
/openbmc/openbmc-test-automation/tools/
H A Dgithub_issues_to_csv104 "username", nargs="?", help="GitHub user name, formatted as 'username'"
109 nargs="+",
/openbmc/qemu/tcg/
H A Dtcg-internal.h110 TCGOpcode, TCGType, unsigned nargs);
112 TCGOpcode, TCGType, unsigned nargs);
/openbmc/openbmc/poky/scripts/lib/wic/
H A Dksparser.py149 part.add_argument('mountpoint', nargs='?')
153 part.add_argument('--exclude-path', nargs='+')
154 part.add_argument('--include-path', nargs='+', action='append')

12345