Home
last modified time | relevance | path

Searched refs:sprintf (Results 1 – 25 of 243) sorted by relevance

12345678910

/rk3399_rockchip-uboot/drivers/usb/cdns3/
H A Ddebug.h22 ret = sprintf(str, "IRQ %08x = ", usb_ists); in cdns3_decode_usb_irq()
25 ret += sprintf(str + ret, "Connection %s\n", in cdns3_decode_usb_irq()
29 ret += sprintf(str + ret, "Disconnection "); in cdns3_decode_usb_irq()
31 ret += sprintf(str + ret, "suspended "); in cdns3_decode_usb_irq()
33 ret += sprintf(str + ret, "L1 enter "); in cdns3_decode_usb_irq()
35 ret += sprintf(str + ret, "L1 exit "); in cdns3_decode_usb_irq()
37 ret += sprintf(str + ret, "L2 enter "); in cdns3_decode_usb_irq()
39 ret += sprintf(str + ret, "L2 exit "); in cdns3_decode_usb_irq()
41 ret += sprintf(str + ret, "U3 exit "); in cdns3_decode_usb_irq()
43 ret += sprintf(str + ret, "Warm Reset "); in cdns3_decode_usb_irq()
[all …]
/rk3399_rockchip-uboot/arch/arm/mach-imx/mx7ulp/
H A Dsoc.c195 sprintf(ret, "%s", "POR"); in get_reset_cause()
198 sprintf(ret, "%s", "WUP"); in get_reset_cause()
205 sprintf(ret, "%s", "WARM-WDG"); in get_reset_cause()
208 sprintf(ret, "%s", "WARM-SW"); in get_reset_cause()
211 sprintf(ret, "%s", "WARM-JTAG"); in get_reset_cause()
214 sprintf(ret, "%s", "WARM-UNKN"); in get_reset_cause()
219 sprintf(ret, "%s-%X", "UNKN", cause1); in get_reset_cause()
/rk3399_rockchip-uboot/arch/mips/lib/
H A Dbootm.c124 sprintf(buf, "mem=%luM", mem); in linux_cmdline_append()
132 sprintf(buf, "rd_start=0x%08lX", rd_start); in linux_cmdline_append()
134 sprintf(buf, "rd_size=0x%lX", rd_size); in linux_cmdline_append()
177 sprintf(env_buf, "%lu", (ulong)gd->ram_size); in linux_env_legacy()
181 sprintf(env_buf, "%lu", (ulong)(gd->ram_size >> 20)); in linux_env_legacy()
193 sprintf(env_buf, "0x%08lX", rd_start); in linux_env_legacy()
196 sprintf(env_buf, "0x%lX", rd_size); in linux_env_legacy()
199 sprintf(env_buf, "0x%08X", (uint) (gd->bd->bi_flashstart)); in linux_env_legacy()
202 sprintf(env_buf, "0x%X", (uint) (gd->bd->bi_flashsize)); in linux_env_legacy()
214 sprintf(env_buf, "%un8r", gd->baudrate); in linux_env_legacy()
/rk3399_rockchip-uboot/board/freescale/t208xqds/
H A Deth_t208xqds.c227 sprintf(buf, "%s%s%s", buf, "lane-c,", in board_ft_fman_fixup_port()
239 sprintf(buf, "%s%s%s", buf, "lane-d,", in board_ft_fman_fixup_port()
251 sprintf(buf, "%s%s%s", buf, "lane-a,", in board_ft_fman_fixup_port()
264 sprintf(buf, "%s%s%s", buf, "lane-b,", in board_ft_fman_fixup_port()
271 sprintf(alias, "phy_sgmii_s2_%x", phy); in board_ft_fman_fixup_port()
275 sprintf(alias, "phy_sgmii_s3_%x", phy); in board_ft_fman_fixup_port()
286 sprintf(buf, "%s%s%s", buf, "lane-g,", in board_ft_fman_fixup_port()
298 sprintf(buf, "%s%s%s", buf, "lane-h,", in board_ft_fman_fixup_port()
305 sprintf(alias, "phy_sgmii_s1_%x", phy); in board_ft_fman_fixup_port()
309 sprintf(alias, "phy_sgmii_s2_%x", phy); in board_ft_fman_fixup_port()
[all …]
/rk3399_rockchip-uboot/board/keymile/common/
H A Divm.c50 sprintf(tempbuf, "%s=%s", name, value); in ivm_set_value()
73 sprintf((char *)valbuf, "%x", val); in ivm_get_value()
140 size += sprintf((char *)string + size, "%c", in ivm_findinventorystring()
216 sprintf((char *)valbuf, "%pM", mac); in process_mac()
226 sprintf((char *)valbuf, "%pM", buf + 1); in ivm_analyze_block2()
235 sprintf((char *)valbuf, "%lx", count); in ivm_analyze_block2()
254 sprintf((char *)valbuf, "%x", ((val / 100) % 10)); in ivm_analyze_eeprom()
256 sprintf((char *)valbuf, "%x", (val % 100)); in ivm_analyze_eeprom()
H A Dcommon.c53 sprintf((char *)buf, "0x%x", pnvramaddr); in set_km_env()
62 sprintf((char *)buf, "0x%x", pram); in set_km_env()
66 sprintf((char *)buf, "0x%x", varaddr); in set_km_env()
70 sprintf((char *)buf, "0x%x", kernelmem); in set_km_env()
313 sprintf(buf, "%lx", bid); in do_checkboardidhwk()
315 sprintf(buf, "%lx", hwkey); in do_checkboardidhwk()
/rk3399_rockchip-uboot/cmd/
H A Delf.c288 ptr += sprintf(build_buf + ptr, in do_bootvx()
291 ptr += sprintf(build_buf + ptr, in do_bootvx()
300 ptr += sprintf(build_buf + ptr, "e=%s", tmp); in do_bootvx()
304 ptr += sprintf(build_buf + ptr, in do_bootvx()
307 ptr += sprintf(build_buf + ptr, " "); in do_bootvx()
313 ptr += sprintf(build_buf + ptr, "h=%s ", tmp); in do_bootvx()
317 ptr += sprintf(build_buf + ptr, "g=%s ", tmp); in do_bootvx()
321 ptr += sprintf(build_buf + ptr, "tn=%s ", tmp); in do_bootvx()
/rk3399_rockchip-uboot/net/
H A Deth_common.c40 sprintf(buf, "%pM", enetaddr); in eth_env_set_enetaddr()
49 sprintf(enetvar, index ? "%s%daddr" : "%saddr", base_name, index); in eth_env_get_enetaddr_by_index()
57 sprintf(enetvar, index ? "%s%daddr" : "%saddr", base_name, index); in eth_env_set_enetaddr_by_index()
78 sprintf(enetvar, index ? "eth%dmacskip" : "ethmacskip", index); in eth_mac_skip()
/rk3399_rockchip-uboot/lib/
H A Dstrmhz.c15 l = sprintf (buf, "%ld", n); in strmhz()
20 sprintf (buf + l, ".%03ld", m); in strmhz()
H A Dfdtdec_test.c90 sprintf(name, "i2c%c", *s); in make_fdt()
91 sprintf(value, "/i2c%d@0", s[1] - 'a'); in make_fdt()
98 sprintf(value, "i2c%d@0", (*s & 0xdf) - 'A'); in make_fdt()
/rk3399_rockchip-uboot/board/freescale/p2041rdb/
H A Deth.c87 sprintf(phy, "phy_rgmii_%u", port == FM1_DTSEC5 ? 0 : 1); in board_ft_fman_fixup_port()
99 sprintf(phy, "phy_sgmii_%x", in board_ft_fman_fixup_port()
104 sprintf(phy, "phy_sgmii_%x", in board_ft_fman_fixup_port()
116 sprintf(phy, "phy_xgmii_%u", lane_to_slot[lane]); in board_ft_fman_fixup_port()
/rk3399_rockchip-uboot/common/
H A Dbedbug.c151 sprintf (ctx.data, "%08lx: ", (unsigned long) ctx.virtual); in disppc()
173 sprintf (&ctx.data[ctx.datalen], "<%s+", cursym); in disppc()
175 sprintf (&ctx.data[ctx.datalen], ctx.radix_fmt, symoffset); in disppc()
187 sprintf (&ctx.data[ctx.datalen], in disppc()
200 sprintf (&ctx.data[ctx.datalen], " .long 0x%08lx", in disppc()
210 sprintf (&ctx.data[ctx.datalen], "%-7s ", ctx.op->name); in disppc()
275 sprintf (&ctx->data[ctx->datalen], "0x%lx", operand); in print_operands()
282 sprintf (&ctx->data[ctx->datalen], " <%s", symname); in print_operands()
286 sprintf (&ctx->data[ctx->datalen], ctx->radix_fmt, in print_operands()
299 sprintf (&ctx->data[ctx->datalen], "r%d", (short) operand); in print_operands()
[all …]
/rk3399_rockchip-uboot/board/toradex/common/
H A Dtdx-common.c77 sprintf(tdx_serial_str, "%08u", tdx_serial); in show_board_info()
78 sprintf(tdx_board_rev_str, "V%1d.%1d%c", in show_board_info()
135 sprintf(prod_id, "%04u", tdx_hw_tag.prodid); in ft_common_board_setup()
H A Dtdx-cfg-block.c272 sprintf(message, "Is the module the 312 MHz version? [y/N] "); in get_cfgblock_interactive()
274 sprintf(message, "Is the module an IT version? [y/N] "); in get_cfgblock_interactive()
359 sprintf(message, "Enter the module version (e.g. V1.1B): V"); in get_cfgblock_interactive()
372 sprintf(message, "Enter module serial number: "); in get_cfgblock_interactive()
443 sprintf(message, in do_cfgblock_create()
/rk3399_rockchip-uboot/board/engicam/common/
H A Dboard.c27 sprintf(mmcblk, "/dev/mmcblk%dp2 rootwait rw", dev_no); in mmc_late_init()
30 sprintf(cmd, "mmc dev %d", dev_no); in mmc_late_init()
/rk3399_rockchip-uboot/drivers/net/fsl-mc/dpio/
H A Dqbman_private.h99 pos += sprintf(buf + pos, "%08lx: ", start); in DECLARE_CODEC32()
102 pos += sprintf(buf + pos, ".."); in DECLARE_CODEC32()
104 pos += sprintf(buf + pos, "%02x", *(c++)); in DECLARE_CODEC32()
/rk3399_rockchip-uboot/board/highbank/
H A Dhighbank.c82 sprintf(envbuffer, "bootcmd%d", boot_choice); in misc_init_r()
84 sprintf(envbuffer, "run bootcmd%d", boot_choice); in misc_init_r()
/rk3399_rockchip-uboot/board/freescale/common/
H A Dsgmii_riser.c68 sprintf(sgmii_phy, "sgmii-phy@%d", etsec_num); in fsl_sgmii_riser_fdt_fixup()
77 sprintf(enet, "ethernet%d", etsec_num++); in fsl_sgmii_riser_fdt_fixup()
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/
H A Dportals.c138 len += sprintf(&buf[len], "@%llx", addr); in fdt_portal()
243 compat_len = sprintf(compat, "fsl,qman-portal-%u.%u.%u", in fdt_fixup_qportals()
245 compat_len += sprintf(compat + compat_len, "fsl,qman-portal") + 1; in fdt_fixup_qportals()
339 compat_len = sprintf(compat, "fsl,bman-portal-%u.%u.%u", in fdt_fixup_bportals()
341 compat_len += sprintf(compat + compat_len, "fsl,bman-portal") + 1; in fdt_fixup_bportals()
/rk3399_rockchip-uboot/lib/efi_loader/
H A Defi_device_path_to_text.c44 sprintf((char *)buffer, in efi_convert_device_node_to_text()
80 sprintf((char *)buffer, in efi_convert_device_node_to_text()
/rk3399_rockchip-uboot/drivers/misc/
H A Dfsl_portals.c188 compat_len = sprintf(compat, "fsl,qman-portal-%u.%u.%u", in fdt_fixup_qportals()
190 compat_len += sprintf(compat + compat_len, "fsl,qman-portal") + 1; in fdt_fixup_qportals()
288 compat_len = sprintf(compat, "fsl,bman-portal-%u.%u.%u", in fdt_fixup_bportals()
290 compat_len += sprintf(compat + compat_len, "fsl,bman-portal") + 1; in fdt_fixup_bportals()
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/
H A Dnand.c62 sprintf(dev_name[devnum], "nand%d", devnum); in nand_register()
125 sprintf(c_mtd_name, "nand%d", nand_devices_found); in create_mtd_concat()
/rk3399_rockchip-uboot/drivers/mtd/ubi/
H A Dbuild.c129 return sprintf(buf, "%d\n", UBI_VERSION); in ubi_version_show()
393 ret = sprintf(buf, "%d\n", ubi->leb_size); in dev_attribute_show()
395 ret = sprintf(buf, "%d\n", ubi->avail_pebs); in dev_attribute_show()
397 ret = sprintf(buf, "%d\n", ubi->good_peb_count); in dev_attribute_show()
399 ret = sprintf(buf, "%d\n", ubi->vol_count - UBI_INT_VOL_COUNT); in dev_attribute_show()
401 ret = sprintf(buf, "%d\n", ubi->max_ec); in dev_attribute_show()
403 ret = sprintf(buf, "%d\n", ubi->beb_rsvd_pebs); in dev_attribute_show()
405 ret = sprintf(buf, "%d\n", ubi->bad_peb_count); in dev_attribute_show()
407 ret = sprintf(buf, "%d\n", ubi->vtbl_slots); in dev_attribute_show()
409 ret = sprintf(buf, "%d\n", ubi->min_io_size); in dev_attribute_show()
[all …]
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/ls102xa/
H A Dfdt.c38 sprintf(enet, "ethernet%d", i); in ft_fixup_enet_phy_connect_type()
39 sprintf(phy, "enet%d_rgmii_phy", i); in ft_fixup_enet_phy_connect_type()
/rk3399_rockchip-uboot/arch/xtensa/cpu/
H A Dcpu.c38 sprintf(buf, "CPU: Xtensa %s (id: %08x:%08x) at %s MHz\n", in print_cpuinfo()

12345678910