/u-boot/arch/arm/cpu/armv8/ |
A D | fwcall.c | 22 static void hvc_call(struct pt_regs *args) in hvc_call() argument 37 : "+m" (args->regs[0]), "+m" (args->regs[1]), in hvc_call() 38 "+m" (args->regs[2]), "+m" (args->regs[3]) in hvc_call() 39 : "m" (args->regs[4]), "m" (args->regs[5]), in hvc_call() 40 "m" (args->regs[6]) in hvc_call() 55 void smc_call(struct pt_regs *args) in smc_call() argument 70 : "+m" (args->regs[0]), "+m" (args->regs[1]), in smc_call() 71 "+m" (args->regs[2]), "+m" (args->regs[3]) in smc_call() 72 : "m" (args->regs[4]), "m" (args->regs[5]), in smc_call() 73 "m" (args->regs[6]) in smc_call()
|
/u-boot/tools/binman/ |
A D | binman | 67 test_name = args and args[0] or None 92 def RunBinman(args): argument 100 if not args.debug: 105 if not args.toolpath: 108 if args.cmd == 'test': 109 if args.test_coverage: 112 ret_code = RunTests(args.debug, args.verbosity, args.processes, 113 args.test_preserve_dirs, args.tests, 116 elif args.cmd == 'entry-docs': 124 if args.debug: [all …]
|
A D | main.py | 67 test_name = args and args[0] or None 92 def RunBinman(args): argument 100 if not args.debug: 105 if not args.toolpath: 108 if args.cmd == 'test': 109 if args.test_coverage: 112 ret_code = RunTests(args.debug, args.verbosity, args.processes, 113 args.test_preserve_dirs, args.tests, 116 elif args.cmd == 'entry-docs': 124 if args.debug: [all …]
|
A D | control.py | 550 def Binman(args): argument 562 if args.full_help: 580 ListEntries(args.image, args.paths) 583 ExtractEntries(args.image, args.filename, args.outdir, args.paths, 587 ReplaceEntries(args.image, args.filename, args.indir, args.paths, 589 allow_resize=not args.fix_size, write_map=args.map) 597 if args.dt: 600 board = args.board 605 if not args.indir: 616 tools.PrepareOutputDir(args.outdir, args.preserve) [all …]
|
/u-boot/lib/ |
A D | tpm-common.c | 25 va_list args; in pack_byte_string() local 30 va_start(args, format); in pack_byte_string() 35 value = va_arg(args, int); in pack_byte_string() 55 va_end(args); in pack_byte_string() 60 va_end(args); in pack_byte_string() 79 va_end(args); in pack_byte_string() 86 va_list args; in unpack_byte_string() local 92 va_start(args, format); in unpack_byte_string() 116 va_end(args); in unpack_byte_string() 122 va_end(args); in unpack_byte_string() [all …]
|
A D | vsprintf.c | 734 va_list args; in snprintf() local 737 va_start(args, fmt); in snprintf() 739 va_end(args); in snprintf() 746 va_list args; in scnprintf() local 749 va_start(args, fmt); in scnprintf() 751 va_end(args); in scnprintf() 776 va_list args; in sprintf() local 779 va_start(args, fmt); in sprintf() 781 va_end(args); in sprintf() 788 va_list args; in printf() local [all …]
|
/u-boot/arch/arm/mach-socfpga/ |
A D | smc_api.c | 19 if (args) in invoke_smc() 20 memcpy(®s.regs[1], args, arg_len * sizeof(*args)); in invoke_smc() 34 u64 args[6]; in smc_send_mailbox() local 37 args[0] = cmd; in smc_send_mailbox() 38 args[1] = (u64)arg; in smc_send_mailbox() 39 args[2] = len; in smc_send_mailbox() 40 args[3] = urgent; in smc_send_mailbox() 41 args[4] = (u64)resp_buf; in smc_send_mailbox() 43 args[5] = *resp_buf_len; in smc_send_mailbox() 45 args[5] = 0; in smc_send_mailbox() [all …]
|
A D | secure_reg_helper.c | 43 u64 args[1]; in socfpga_secure_reg_read32() local 50 args[0] = (u64)reg_addr; in socfpga_secure_reg_read32() 51 ret = invoke_smc(INTEL_SIP_SMC_REG_READ, args, 1, &ret_arg, 1); in socfpga_secure_reg_read32() 63 u64 args[2]; in socfpga_secure_reg_write32() local 70 args[0] = (u64)reg_addr; in socfpga_secure_reg_write32() 71 args[1] = val; in socfpga_secure_reg_write32() 72 return invoke_smc(INTEL_SIP_SMC_REG_WRITE, args, 2, NULL, 0); in socfpga_secure_reg_write32() 78 u64 args[3]; in socfpga_secure_reg_update32() local 85 args[0] = (u64)reg_addr; in socfpga_secure_reg_update32() 86 args[1] = mask; in socfpga_secure_reg_update32() [all …]
|
/u-boot/tools/gdb/ |
A D | error.c | 18 va_list args; in Warning() local 22 va_start(args, fmt); in Warning() 23 vfprintf(stderr, fmt, args); in Warning() 24 va_end(args); in Warning() 32 va_list args; in Error() local 36 va_start(args, fmt); in Error() 37 vfprintf(stderr, fmt, args); in Error() 38 va_end(args); in Error() 48 va_list args; in Perror() local 54 va_start(args, fmt); in Perror() [all …]
|
/u-boot/test/dm/ |
A D | ofnode.c | 108 struct ofnode_phandle_args args; in dm_test_ofnode_phandle() local 128 &args); in dm_test_ofnode_phandle() 131 &args); in dm_test_ofnode_phandle() 135 ut_asserteq(1, args.args_count); in dm_test_ofnode_phandle() 136 ut_asserteq(1, args.args[0]); in dm_test_ofnode_phandle() 140 ut_asserteq(4, args.args[0]); in dm_test_ofnode_phandle() 144 ut_asserteq(5, args.args[0]); in dm_test_ofnode_phandle() 145 ut_asserteq(1, args.args[4]); in dm_test_ofnode_phandle() 151 ut_asserteq(12, args.args[0]); in dm_test_ofnode_phandle() 166 ut_asserteq(10, args.args[0]); in dm_test_ofnode_phandle() [all …]
|
/u-boot/scripts/ |
A D | kernel-doc | 672 print $args{'function'} . " \\- " . $args{'purpose'} . "\n"; 723 print "enum " . $args{'enum'} . " \\- " . $args{'purpose'} . "\n"; 760 …print ".TH \"$args{'module'}\" 9 \"" . $args{'type'} . " " . $args{'struct'} . "\" \"$man_date\" \… 763 print $args{'type'} . " " . $args{'struct'} . " \\- " . $args{'purpose'} . "\n"; 769 print $args{'type'} . " " . $args{'struct'} . " {\n.br\n"; 935 if ($args{'typedef'} || $args{'functiontype'} eq "") { 953 $start .= $args{'functiontype'} . " " . $args{'function'} . " ("; 1091 my $name = $args{'type'} . " " . $args{'struct'}; 1451 my $args = $3; 1551 shift @args; [all …]
|
/u-boot/drivers/phy/ |
A D | phy-rcar-gen2.c | 114 struct ofnode_phandle_args *args) in rcar_gen2_phy_of_xlate() argument 116 if (args->args_count != 2) { in rcar_gen2_phy_of_xlate() 118 args->args_count); in rcar_gen2_phy_of_xlate() 122 if (args->args[0] != 0 && args->args[0] != 2) { in rcar_gen2_phy_of_xlate() 124 args->args[0]); in rcar_gen2_phy_of_xlate() 128 if (args->args[1] != 0 && args->args[1] != 1) { in rcar_gen2_phy_of_xlate() 130 args->args[1]); in rcar_gen2_phy_of_xlate() 134 if (args->args_count) in rcar_gen2_phy_of_xlate() 135 phy->id = args->args[0] | (args->args[1] << 16); in rcar_gen2_phy_of_xlate()
|
A D | phy-uclass.c | 19 struct ofnode_phandle_args *args) in generic_phy_xlate_offs_flags() argument 23 if (args->args_count > 1) { in generic_phy_xlate_offs_flags() 28 if (args->args_count) in generic_phy_xlate_offs_flags() 29 phy->id = args->args[0]; in generic_phy_xlate_offs_flags() 38 struct ofnode_phandle_args args; in generic_phy_get_by_index_nodev() local 49 index, &args); in generic_phy_get_by_index_nodev() 63 ofnode_get_parent(args.node), in generic_phy_get_by_index_nodev() 70 args.args[i] = args.args[i - 1]; in generic_phy_get_by_index_nodev() 72 args.args_count++; in generic_phy_get_by_index_nodev() 73 args.args[0] = ofnode_read_u32_default(args.node, "reg", -1); in generic_phy_get_by_index_nodev() [all …]
|
/u-boot/tools/patman/ |
A D | main.py | 114 if args.cmd: 126 if not args.debug: 130 if args.cmd == 'test': 139 if args.testname: 155 elif args.cmd == 'send': 158 if args.cc_cmd: 170 elif args.full_help: 185 control.patchwork_status(args.branch, args.count, args.start, args.end, 186 args.dest_branch, args.force, 187 args.show_comments, args.patchwork_url) [all …]
|
A D | patman | 114 if args.cmd: 126 if not args.debug: 130 if args.cmd == 'test': 139 if args.testname: 155 elif args.cmd == 'send': 158 if args.cc_cmd: 170 elif args.full_help: 185 control.patchwork_status(args.branch, args.count, args.start, args.end, 186 args.dest_branch, args.force, 187 args.show_comments, args.patchwork_url) [all …]
|
A D | control.py | 156 def send(args): argument 165 col, args.branch, args.count, args.start, args.end, 166 args.ignore_binary, args.add_signoff) 167 ok = check_patches(series, patch_files, args.check_patch, 168 args.verbose) 172 its_a_go = ok or args.ignore_errors 174 col, series, cover_fname, patch_files, args.process_tags, 175 its_a_go, args.ignore_bad_tags, args.add_maintainers, 176 args.limit, args.dry_run, args.in_reply_to, args.thread, 177 args.smtp_server)
|
/u-boot/drivers/usb/musb-new/ |
A D | musb_debug.h | 13 #define yprintk(facility, format, args...) \ argument 15 __func__, __LINE__ , ## args); } while (0) 16 #define WARNING(fmt, args...) yprintk(KERN_WARNING, fmt, ## args) argument 17 #define INFO(fmt, args...) yprintk(KERN_INFO, fmt, ## args) argument 18 #define ERR(fmt, args...) yprintk(KERN_ERR, fmt, ## args) argument
|
/u-boot/drivers/misc/ |
A D | cros_ec_lpc.c | 89 struct ec_lpc_host_args args; in cros_ec_lpc_command() local 101 args.command_version = cmd_version; in cros_ec_lpc_command() 102 args.data_size = dout_len; in cros_ec_lpc_command() 105 csum = cmd + args.flags + args.command_version + args.data_size; in cros_ec_lpc_command() 109 args.checksum = (uint8_t)csum; in cros_ec_lpc_command() 117 for (i = 0, d = (uint8_t *)&args; i < sizeof(args); i++, d++) in cros_ec_lpc_command() 143 for (i = 0, d = (uint8_t *)&args; i < sizeof(args); i++, d++) in cros_ec_lpc_command() 156 if (args.data_size > din_len) { in cros_ec_lpc_command() 170 csum = cmd + args.flags + args.command_version + args.data_size; in cros_ec_lpc_command() 174 if (args.checksum != (uint8_t)csum) { in cros_ec_lpc_command() [all …]
|
A D | irq-uclass.c | 81 struct ofnode_phandle_args *args) in irq_of_xlate_default() argument 85 if (args->args_count > 1) { in irq_of_xlate_default() 86 log_debug("Invaild args_count: %d\n", args->args_count); in irq_of_xlate_default() 90 if (args->args_count) in irq_of_xlate_default() 91 irq->id = args->args[0]; in irq_of_xlate_default() 99 struct ofnode_phandle_args *args, in irq_get_by_index_tail() argument 122 ret = ops->of_xlate(irq, args); in irq_get_by_index_tail() 124 ret = irq_of_xlate_default(irq, args); in irq_get_by_index_tail() 139 struct ofnode_phandle_args args; in irq_get_by_index() local 143 "#interrupt-cells", 0, index, &args); in irq_get_by_index() [all …]
|
/u-boot/test/ |
A D | ut.c | 31 va_list args; in ut_failf() local 35 va_start(args, fmt); in ut_failf() 36 vprintf(fmt, args); in ut_failf() 37 va_end(args); in ut_failf() 56 va_list args; in ut_check_console_line() local 58 va_start(args, fmt); in ut_check_console_line() 59 vsnprintf(uts->expect_str, sizeof(uts->expect_str), fmt, args); in ut_check_console_line() 60 va_end(args); in ut_check_console_line() 68 va_list args; in ut_check_console_linen() local 70 va_start(args, fmt); in ut_check_console_linen() [all …]
|
/u-boot/drivers/hwspinlock/ |
A D | hwspinlock-uclass.c | 23 struct ofnode_phandle_args *args) in hwspinlock_of_xlate_default() argument 25 if (args->args_count > 1) { in hwspinlock_of_xlate_default() 26 debug("Invaild args_count: %d\n", args->args_count); in hwspinlock_of_xlate_default() 30 if (args->args_count) in hwspinlock_of_xlate_default() 31 hws->id = args->args[0]; in hwspinlock_of_xlate_default() 42 struct ofnode_phandle_args args; in hwspinlock_get_by_index() local 50 index, &args); in hwspinlock_get_by_index() 58 args.node, &dev_hws); in hwspinlock_get_by_index() 71 ret = ops->of_xlate(hws, &args); in hwspinlock_get_by_index() 73 ret = hwspinlock_of_xlate_default(hws, &args); in hwspinlock_get_by_index()
|
/u-boot/drivers/reset/ |
A D | reset-hisilicon.c | 60 struct ofnode_phandle_args *args) in hisi_reset_of_xlate() argument 62 if (args->args_count != 3) { in hisi_reset_of_xlate() 63 debug("Invalid args_count: %d\n", args->args_count); in hisi_reset_of_xlate() 68 rst->data = args->args[0]; in hisi_reset_of_xlate() 69 rst->id = args->args[1]; in hisi_reset_of_xlate() 70 rst->polarity = args->args[2]; in hisi_reset_of_xlate()
|
/u-boot/drivers/mailbox/ |
A D | mailbox-uclass.c | 20 struct ofnode_phandle_args *args) in mbox_of_xlate_default() argument 24 if (args->args_count != 1) { in mbox_of_xlate_default() 25 debug("Invaild args_count: %d\n", args->args_count); in mbox_of_xlate_default() 29 chan->id = args->args[0]; in mbox_of_xlate_default() 36 struct ofnode_phandle_args args; in mbox_get_by_index() local 44 &args); in mbox_get_by_index() 51 ret = uclass_get_device_by_ofnode(UCLASS_MAILBOX, args.node, &dev_mbox); in mbox_get_by_index() 58 ofnode_get_parent(args.node), in mbox_get_by_index() 70 ret = ops->of_xlate(chan, &args); in mbox_get_by_index() 72 ret = mbox_of_xlate_default(chan, &args); in mbox_get_by_index()
|
/u-boot/tools/ |
A D | mkimage.h | 27 #define debug(fmt,args...) printf (fmt ,##args) argument 29 #define debug(fmt,args...) argument 32 #define log_debug(fmt, args...) debug(fmt, ##args) argument
|
/u-boot/drivers/power/domain/ |
A D | power-domain-uclass.c | 20 struct ofnode_phandle_args *args) in power_domain_of_xlate_default() argument 24 if (args->args_count != 1) { in power_domain_of_xlate_default() 25 debug("Invalid args_count: %d\n", args->args_count); in power_domain_of_xlate_default() 29 power_domain->id = args->args[0]; in power_domain_of_xlate_default() 37 struct ofnode_phandle_args args; in power_domain_get_by_index() local 46 &args); in power_domain_get_by_index() 53 ret = uclass_get_device_by_ofnode(UCLASS_POWER_DOMAIN, args.node, in power_domain_get_by_index() 64 ret = ops->of_xlate(power_domain, &args); in power_domain_get_by_index() 66 ret = power_domain_of_xlate_default(power_domain, &args); in power_domain_get_by_index()
|