Home
last modified time | relevance | path

Searched refs:snprintf (Results 1001 - 1025 of 7281) sorted by relevance

1...<<41424344454647484950>>...292

/kernel/linux/linux-5.10/drivers/mfd/
H A Dintel-lpss.c296 snprintf(name, sizeof(name), "%s-enable", devname); in intel_lpss_register_clock_divider()
302 snprintf(name, sizeof(name), "%s-div", devname); in intel_lpss_register_clock_divider()
310 snprintf(name, sizeof(name), "%s-update", devname); in intel_lpss_register_clock_divider()
336 snprintf(devname, sizeof(devname), "%s.%d", cell->name, lpss->devid); in intel_lpss_register_clock()
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dpanasonic-laptop.c359 return snprintf(buf, PAGE_SIZE, "%u\n", pcc->sinf[SINF_NUM_BATTERIES]); in show_numbatt()
371 return snprintf(buf, PAGE_SIZE, "%u\n", pcc->sinf[SINF_LCD_TYPE]); in show_lcdtype()
383 return snprintf(buf, PAGE_SIZE, "%u\n", pcc->sinf[SINF_MUTE]); in show_mute()
395 return snprintf(buf, PAGE_SIZE, "%u\n", pcc->sinf[SINF_STICKY_KEY]); in show_sticky()
/kernel/linux/linux-6.6/drivers/mfd/
H A Daat2870-core.c224 count += snprintf(buf + count, PAGE_SIZE - count, "0x%02x: ", addr); in aat2870_dump_reg()
230 count += snprintf(buf + count, PAGE_SIZE - count, in aat2870_dump_reg()
233 count += snprintf(buf + count, PAGE_SIZE - count, in aat2870_dump_reg()
239 count += snprintf(buf + count, PAGE_SIZE - count, "\n"); in aat2870_dump_reg()
H A Dintel-lpss.c296 snprintf(name, sizeof(name), "%s-enable", devname); in intel_lpss_register_clock_divider()
302 snprintf(name, sizeof(name), "%s-div", devname); in intel_lpss_register_clock_divider()
311 snprintf(name, sizeof(name), "%s-update", devname); in intel_lpss_register_clock_divider()
337 snprintf(devname, sizeof(devname), "%s.%d", cell->name, lpss->devid); in intel_lpss_register_clock()
/kernel/linux/linux-6.6/drivers/mtd/ubi/
H A Ddebug.c276 snprintf(buf, sizeof(buf), "%u\n", d->emulate_power_cut); in dfs_file_read()
281 snprintf(buf, sizeof(buf), "%u\n", d->power_cut_min); in dfs_file_read()
286 snprintf(buf, sizeof(buf), "%u\n", d->power_cut_max); in dfs_file_read()
513 n = snprintf(d->dfs_dir_name, UBI_DFS_DIR_LEN + 1, UBI_DFS_DIR_NAME, in ubi_debugfs_init_dev()
/kernel/linux/linux-6.6/drivers/acpi/
H A Ddevice_sysfs.c160 len = snprintf(modalias, size, "acpi:"); in create_pnp_modalias()
170 count = snprintf(&modalias[len], size, "%s:", id->id); in create_pnp_modalias()
212 len = snprintf(modalias, size, "of:N%sT", (char *)buf.pointer); in create_of_modalias()
229 count = snprintf(&modalias[len], size, "C%s", in create_of_modalias()
/kernel/linux/linux-6.6/drivers/w1/slaves/
H A Dw1_ds2438.c326 ret = snprintf(buf, count, "%i\n", voltage); in iad_read()
426 ret = snprintf(buf, count, "%i\n", temp); in temperature_read()
447 ret = snprintf(buf, count, "%u\n", voltage); in vad_read()
468 ret = snprintf(buf, count, "%u\n", voltage); in vdd_read()
/kernel/linux/linux-6.6/drivers/usb/phy/
H A Dphy-twl6030-usb.c182 ret = snprintf(buf, PAGE_SIZE, "vbus\n"); in vbus_show()
185 ret = snprintf(buf, PAGE_SIZE, "id\n"); in vbus_show()
188 ret = snprintf(buf, PAGE_SIZE, "none\n"); in vbus_show()
191 ret = snprintf(buf, PAGE_SIZE, "UNKNOWN\n"); in vbus_show()
/kernel/linux/linux-6.6/drivers/bluetooth/
H A Dbtmtk.c70 snprintf(buf, sizeof(buf), "Controller Name: 0x%X\n", in btmtk_coredump_hdr()
74 snprintf(buf, sizeof(buf), "Firmware Version: 0x%X\n", in btmtk_coredump_hdr()
78 snprintf(buf, sizeof(buf), "Driver: %s\n", in btmtk_coredump_hdr()
82 snprintf(buf, sizeof(buf), "Vendor: MediaTek\n"); in btmtk_coredump_hdr()
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c257 snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", in dpaa_get_strings()
262 snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", in dpaa_get_strings()
268 snprintf(string_cpu, ETH_GSTRING_LEN, in dpaa_get_strings()
273 snprintf(string_cpu, ETH_GSTRING_LEN, "bpool [TOTAL]"); in dpaa_get_strings()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddebugfs.c142 ret = snprintf(tbuf, sizeof(tbuf), "%llu\n", field); in average_read()
181 ret = snprintf(tbuf, sizeof(tbuf), "%d\n", field); in slots_read()
479 ret = snprintf(tbuf, sizeof(tbuf), "%s\n", (const char *)(unsigned long)field); in dbg_read()
481 ret = snprintf(tbuf, sizeof(tbuf), "0x%llx\n", field); in dbg_read()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dmap.c55 snprintf(newfilename, new_length, in replace_android_lib()
60 snprintf(newfilename, new_length, in replace_android_lib()
96 snprintf(newfilename, new_length, in replace_android_lib()
143 snprintf(newfilename, sizeof(newfilename), in map__new()
/kernel/linux/linux-6.6/sound/aoa/soundbus/i2sbus/
H A Dcore.c170 if (snprintf(node_name, sizeof(node_name), "%pOFn", np) != 5) in i2sbus_add_dev()
191 snprintf(dev->sound.modalias, 32, in i2sbus_add_dev()
202 snprintf(dev->sound.modalias, 32, in i2sbus_add_dev()
237 snprintf(dev->rnames[i], sizeof(dev->rnames[i]), in i2sbus_add_dev()
/kernel/linux/linux-6.6/net/netfilter/
H A Dnf_conntrack_helper.c145 snprintf(mod_name, sizeof(mod_name), "%s", h->nat_mod_name); in nf_nat_helper_try_module_get()
452 snprintf(helper->nat_mod_name, sizeof(helper->nat_mod_name), in nf_ct_helper_init()
456 snprintf(helper->name, sizeof(helper->name), "%s", name); in nf_ct_helper_init()
458 snprintf(helper->name, sizeof(helper->name), "%s-%u", name, id); in nf_ct_helper_init()
/third_party/elfutils/libdwfl/
H A Dlinux-pid-attach.c56 snprintf (buffer, sizeof (buffer), "/proc/%ld/status", (long) pid); in linux_proc_pid_is_stopped()
394 snprintf (buffer, sizeof (buffer), "/proc/%ld/status", (long) pid); in dwfl_linux_proc_attach()
433 int i = snprintf (name, sizeof (name), "/proc/%ld/task", (long) pid); in dwfl_linux_proc_attach()
447 i = snprintf (name, sizeof (name), "/proc/%ld/exe", (long) pid); in dwfl_linux_proc_attach()
/third_party/f2fs-tools/lib/
H A Dlibf2fs_zoned.c47 snprintf(str, sizeof(str), "/sys/dev/block/%d:%d", in get_sysfs_path()
54 ret = snprintf(sysfs_path, sizeof(sysfs_path), in get_sysfs_path()
60 ret = snprintf(str, sizeof(str), "%s/partition", sysfs_path); in get_sysfs_path()
83 ret = snprintf(buf, buflen, "%s/%s", sysfs_path, attr); in get_sysfs_path()
/third_party/ffmpeg/libavformat/
H A Dhashenc.c148 snprintf(buf, sizeof(buf) - 200, "%d,%c,%s=", i, get_media_type_char(st->codecpar->codec_type), in hash_write_trailer()
151 snprintf(buf, sizeof(buf) - 200, "%s=", av_hash_get_name(c->hashes[i])); in hash_write_trailer()
288 snprintf(buf, sizeof(buf) - (AV_HASH_MAX_SIZE * 2 + 1), "%d, %10"PRId64", %10"PRId64", %8"PRId64", %8d, ", in framehash_write_packet()
306 snprintf(buf, sizeof(buf) - (AV_HASH_MAX_SIZE * 2 + 1), in framehash_write_packet()
/third_party/ffmpeg/libavfilter/
H A Dvf_photosensitivity.c278 snprintf(value, sizeof(value), "%f", (float)new_badness / s->badness_threshold); in filter_frame()
281 snprintf(value, sizeof(value), "%f", (float)fixed_badness / s->badness_threshold); in filter_frame()
284 snprintf(value, sizeof(value), "%f", (float)this_badness / s->badness_threshold); in filter_frame()
287 snprintf(value, sizeof(value), "%f", factor); in filter_frame()
/third_party/glslang/glslang/MachineIndependent/
H A DSymbolTable.cpp123 snprintf(text, sizeof(text), "%u-", sampler.getStructReturnIndex()); in buildMangledName()
169 snprintf(buf, maxSize, "s%lld", arraySizes->getDimNode(i)->getAsSymbolNode()->getId()); in buildMangledName()
171 snprintf(buf, maxSize, "s%p", arraySizes->getDimNode(i)); in buildMangledName()
173 snprintf(buf, maxSize, "%d", arraySizes->getDimSize(i)); in buildMangledName()
/third_party/alsa-utils/axfer/
H A Dxfer-options.c438 snprintf(xfer->paths[index], len, single_format, template, in generate_path_with_suffix()
441 snprintf(xfer->paths[index], len, multiple_format, template, in generate_path_with_suffix()
466 snprintf(xfer->paths[index], len, single_format, template); in generate_path_without_suffix()
468 snprintf(xfer->paths[index], len, multiple_format, template, in generate_path_without_suffix()
/third_party/libsnd/src/
H A Dtest_file_io.c76 snprintf (psf->file.path, sizeof (psf->file.path), "%s", filename) ; in file_open_test()
129 snprintf (psf->file.path, sizeof (psf->file.path), "%s", filename) ; in file_read_write_test()
285 snprintf (psf->file.path, sizeof (psf->file.path), "%s", filename) ; in file_truncate_test()
342 snprintf (psf->file.path, sizeof (psf->file.path), "%s", filename) ; in file_seek_with_offset_test()
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
H A Dlibbitmask.c142 cnt += snprintf(buf + cnt, MAX(buflen - cnt, 0), "%s%0*x", in bitmask_displayhex()
161 len += snprintf(buf + len, MAX(buflen - len, 0), ","); in emit()
163 len += snprintf(buf + len, MAX(buflen - len, 0), "%d", rbot); in emit()
166 snprintf(buf + len, MAX(buflen - len, 0), "%d-%d", rbot, in emit()
/third_party/ltp/lib/
H A Dsafe_net.c38 snprintf(portstr, sizeof(portstr), ":%d", in tst_sock_addr()
54 snprintf(portstr, sizeof(portstr), "]:%d", in tst_sock_addr()
69 snprintf(res, len, "%s", unp->sun_path); in tst_sock_addr()
75 snprintf(res, len, in tst_sock_addr()
/third_party/node/deps/cares/src/lib/
H A Dares_getnameinfo.c332 snprintf(tmpbuf, sizeof(tmpbuf), "%u", (unsigned int)ntohs(port)); in lookup_service()
366 snprintf(&tmpbuf[1], sizeof(tmpbuf) - 1, "%lu", in append_scopeid()
370 snprintf(&tmpbuf[1], sizeof(tmpbuf) - 1, "%lu", in append_scopeid()
375 snprintf(&tmpbuf[1], sizeof(tmpbuf) - 1, "%lu", in append_scopeid()
/third_party/mesa3d/src/loader/
H A Dloader.c92 (void)snprintf(log_string, MAX_BUFFER_LEN, fmt, args); in ohos_logger()
477 snprintf(path, sizeof(path), "/sys/dev/char/%d:%d/device/%s", maj, min, field); in loader_get_linux_pci_field()
666 snprintf(path, sizeof(path), "%.*s/tls/%s%s.so", len, in loader_open_driver_lib()
670 snprintf(path, sizeof(path), "%.*s/%s%s.so", len, in loader_open_driver_lib()

Completed in 23 milliseconds

1...<<41424344454647484950>>...292