Home
last modified time | relevance | path

Searched refs:snprintf (Results 1 – 25 of 2850) sorted by relevance

12345678910>>...114

/linux-6.12.1/tools/power/x86/intel-speed-select/
Disst-display.c15 snprintf(str, str_len, "none"); in printcpulist()
25 index = snprintf(&str[curr_index], in printcpulist()
31 index = snprintf(&str[curr_index], str_len - curr_index, "%d", in printcpulist()
68 index = snprintf(&str[curr_index], str_len - curr_index, "%08x", in printcpumask()
98 j += snprintf(&delimiters[j], sizeof(delimiters) - j, in format_and_print_txt()
133 j += snprintf(&delimiters[j], sizeof(delimiters) - j, in format_and_print()
150 k += snprintf(&delimiters[k], in format_and_print()
177 snprintf(header, sizeof(header), in print_package_info()
181 snprintf(header, sizeof(header), in print_package_info()
185 snprintf(header, sizeof(header), "package-%d:die-%d:cpu-%d", in print_package_info()
[all …]
/linux-6.12.1/drivers/hid/
Dhid-picolcd_debugfs.c406 snprintf(buff, BUFF_SZ, "\nout report %d (size %d) = ", in picolcd_debug_out_report()
417 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
420 snprintf(buff, BUFF_SZ, "\tGPO state: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report()
425 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
428 snprintf(buff, BUFF_SZ, "\tBrightness: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report()
433 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
436 snprintf(buff, BUFF_SZ, "\tContrast: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report()
441 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
444 snprintf(buff, BUFF_SZ, "\tDuration: 0x%02x%02x (%dms)\n", in picolcd_debug_out_report()
450 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
[all …]
/linux-6.12.1/drivers/target/iscsi/
Discsi_target_stat.c53 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_inst_show()
60 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_min_ver_show()
66 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_max_ver_show()
72 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_portals_show()
79 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_INST_NUM_NODES); in iscsi_stat_instance_nodes_show()
85 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_sessions_show()
102 return snprintf(page, PAGE_SIZE, "%u\n", sess_err_count); in iscsi_stat_instance_fail_sess_show()
111 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_fail_type_show()
121 return snprintf(page, PAGE_SIZE, "%s\n", in iscsi_stat_instance_fail_rem_name_show()
129 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DISCONTINUITY_TIME); in iscsi_stat_instance_disc_time_show()
[all …]
/linux-6.12.1/drivers/target/
Dtarget_core_stat.c52 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_inst_show()
57 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->dev_index); in target_stat_indx_show()
62 return snprintf(page, PAGE_SIZE, "Target\n"); in target_stat_role_show()
67 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->export_count); in target_stat_ports_show()
102 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_tgt_inst_show()
107 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_tgt_dev(item)->dev_index); in target_stat_tgt_indx_show()
113 return snprintf(page, PAGE_SIZE, "%u\n", LU_COUNT); in target_stat_tgt_num_lus_show()
120 return snprintf(page, PAGE_SIZE, "activated"); in target_stat_tgt_status_show()
122 return snprintf(page, PAGE_SIZE, "deactivated"); in target_stat_tgt_status_show()
135 return snprintf(page, PAGE_SIZE, "%u\n", non_accessible_lus); in target_stat_tgt_non_access_lus_show()
[all …]
/linux-6.12.1/drivers/usb/common/
Ddebug.c19 snprintf(str, size, "Get Device Status(Length = %d)", wLength); in usb_decode_get_status()
22 snprintf(str, size, in usb_decode_get_status()
27 snprintf(str, size, "Get Endpoint Status(ep%d%s)", in usb_decode_get_status()
78 snprintf(str, size, "%s Device Feature(%s%s)", in usb_decode_set_clear_feature()
85 snprintf(str, size, "%s Interface Feature(%s)", in usb_decode_set_clear_feature()
91 snprintf(str, size, "%s Endpoint Feature(%s ep%d%s)", in usb_decode_set_clear_feature()
102 snprintf(str, size, "Set Address(Addr = %02x)", wValue); in usb_decode_set_address()
165 snprintf(str, size, "%s %s Descriptor(Index = %d, Length = %d)", in usb_decode_get_set_descriptor()
172 snprintf(str, size, "Get Configuration(Length = %d)", wLength); in usb_decode_get_configuration()
177 snprintf(str, size, "Set Configuration(Config = %d)", wValue); in usb_decode_set_configuration()
[all …]
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dadf_gen2_config.c30 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_BANK_NUM, i); in adf_gen2_crypto_dev_config()
36 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_BANK_NUM, i); in adf_gen2_crypto_dev_config()
42 snprintf(key, sizeof(key), ADF_CY "%d" ADF_ETRMGR_CORE_AFFINITY, in adf_gen2_crypto_dev_config()
49 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i); in adf_gen2_crypto_dev_config()
57 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i); in adf_gen2_crypto_dev_config()
64 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i); in adf_gen2_crypto_dev_config()
71 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i); in adf_gen2_crypto_dev_config()
78 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i); in adf_gen2_crypto_dev_config()
85 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i); in adf_gen2_crypto_dev_config()
92 snprintf(key, sizeof(key), ADF_ETRMGR_COALESCE_TIMER_FORMAT, i); in adf_gen2_crypto_dev_config()
[all …]
Dadf_gen4_config.c32 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_BANK_NUM, i); in adf_crypto_dev_config()
39 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_BANK_NUM, i); in adf_crypto_dev_config()
45 snprintf(key, sizeof(key), ADF_CY "%d" ADF_ETRMGR_CORE_AFFINITY, in adf_crypto_dev_config()
52 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i); in adf_crypto_dev_config()
60 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i); in adf_crypto_dev_config()
67 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i); in adf_crypto_dev_config()
74 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i); in adf_crypto_dev_config()
81 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i); in adf_crypto_dev_config()
88 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i); in adf_crypto_dev_config()
95 snprintf(key, sizeof(key), ADF_ETRMGR_COALESCE_TIMER_FORMAT, i); in adf_crypto_dev_config()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_dbg.c135 ret = snprintf(buff->buff + buff->index, write_size + 1, "%s", str); in mlx5dr_dbg_dump_data_print()
148 ret = snprintf(buff->buff, remain_size + 1, "%s", str + write_size); in mlx5dr_dbg_dump_data_print()
219 ret = snprintf(buff, MLX5DR_DEBUG_DUMP_BUFF_LENGTH, in dr_dump_rule_action_mem()
232 ret = snprintf(buff, MLX5DR_DEBUG_DUMP_BUFF_LENGTH, in dr_dump_rule_action_mem()
238 ret = snprintf(buff, MLX5DR_DEBUG_DUMP_BUFF_LENGTH, in dr_dump_rule_action_mem()
252 ret = snprintf(buff, MLX5DR_DEBUG_DUMP_BUFF_LENGTH, in dr_dump_rule_action_mem()
264 ret = snprintf(buff, MLX5DR_DEBUG_DUMP_BUFF_LENGTH, in dr_dump_rule_action_mem()
285 ret = snprintf(buff, MLX5DR_DEBUG_DUMP_BUFF_LENGTH, in dr_dump_rule_action_mem()
302 ret = snprintf(buff, MLX5DR_DEBUG_DUMP_BUFF_LENGTH, in dr_dump_rule_action_mem()
314 ret = snprintf(buff, MLX5DR_DEBUG_DUMP_BUFF_LENGTH, "\n"); in dr_dump_rule_action_mem()
[all …]
/linux-6.12.1/drivers/s390/char/
Dtape_3590.c971 snprintf(exception, BUFSIZE, "Data degraded"); in tape_3590_print_mim_msg_f0()
974 snprintf(exception, BUFSIZE, "Data degraded in partition %i", in tape_3590_print_mim_msg_f0()
978 snprintf(exception, BUFSIZE, "Medium degraded"); in tape_3590_print_mim_msg_f0()
981 snprintf(exception, BUFSIZE, "Medium degraded in partition %i", in tape_3590_print_mim_msg_f0()
985 snprintf(exception, BUFSIZE, "Block 0 Error"); in tape_3590_print_mim_msg_f0()
988 snprintf(exception, BUFSIZE, "Medium Exception 0x%02x", in tape_3590_print_mim_msg_f0()
992 snprintf(exception, BUFSIZE, "0x%02x", in tape_3590_print_mim_msg_f0()
999 snprintf(service, BUFSIZE, "Reference Media maintenance " in tape_3590_print_mim_msg_f0()
1003 snprintf(service, BUFSIZE, "0x%02x", in tape_3590_print_mim_msg_f0()
1035 snprintf(exception, BUFSIZE, "Effect of failure is unknown"); in tape_3590_print_io_sim_msg_f1()
[all …]
/linux-6.12.1/drivers/usb/dwc3/
Ddebug.h207 snprintf(str, size, "Disconnect: [%s]", in dwc3_gadget_event_string()
211 snprintf(str, size, "Reset [%s]", in dwc3_gadget_event_string()
215 snprintf(str, size, "Connection Done [%s]", in dwc3_gadget_event_string()
219 snprintf(str, size, "Link Change [%s]", in dwc3_gadget_event_string()
223 snprintf(str, size, "WakeUp [%s]", in dwc3_gadget_event_string()
227 snprintf(str, size, "Suspend [%s]", in dwc3_gadget_event_string()
231 snprintf(str, size, "Start-Of-Frame [%s]", in dwc3_gadget_event_string()
235 snprintf(str, size, "Erratic Error [%s]", in dwc3_gadget_event_string()
239 snprintf(str, size, "Command Complete [%s]", in dwc3_gadget_event_string()
243 snprintf(str, size, "Overflow [%s]", in dwc3_gadget_event_string()
[all …]
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/common/
Dmtk_vcodec_dbgfs.c21 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
25 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
29 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
33 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
41 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
45 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
49 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
60 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_help()
64 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_help()
68 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_help()
[all …]
/linux-6.12.1/tools/power/cpupower/utils/helpers/
Dmisc.c61 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/power/energy_perf_bias", cpu); in cpupower_intel_get_perf_bias()
81 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/power/energy_perf_bias", cpu); in cpupower_intel_set_perf_bias()
82 snprintf(linebuf, sizeof(linebuf), "%d", val); in cpupower_intel_set_perf_bias()
95 snprintf(path, sizeof(path), in cpupower_set_epp()
101 snprintf(linebuf, sizeof(linebuf), "%s", epp); in cpupower_set_epp()
114 snprintf(path, sizeof(path), PATH_TO_CPU "amd_pstate/status"); in cpupower_set_amd_pstate_mode()
119 snprintf(linebuf, sizeof(linebuf), "%s\n", mode); in cpupower_set_amd_pstate_mode()
132 snprintf(path, sizeof(path), PATH_TO_CPU "cpufreq/boost"); in cpupower_set_turbo_boost()
137 snprintf(linebuf, sizeof(linebuf), "%d", turbo_boost); in cpupower_set_turbo_boost()
Dsysfs.c57 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u", cpu); in sysfs_is_cpu_online()
66 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/online", cpu); in sysfs_is_cpu_online()
111 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_file_exists()
131 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_read_file()
166 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_write_file()
312 snprintf(value, SYSFS_PATH_MAX, "%u", disable); in sysfs_idlestate_disable()
361 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); in sysfs_get_idlestate_count()
365 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu); in sysfs_get_idlestate_count()
370 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU in sysfs_get_idlestate_count()
389 snprintf(path, sizeof(path), PATH_TO_CPU "cpuidle/%s", fname); in sysfs_cpuidle_read_file()
/linux-6.12.1/tools/lib/api/fs/
Dtracing_path.c20 snprintf(tracing_path, sizeof(tracing_path), "%s/%s", in __tracing_path_set()
133 snprintf(filename, PATH_MAX, "%s/%s", sys, name ?: "*"); in tracing_path__strerror_open_tp()
146 snprintf(buf, size, in tracing_path__strerror_open_tp()
152 snprintf(buf, size, in tracing_path__strerror_open_tp()
159 snprintf(buf, size, "%s", in tracing_path__strerror_open_tp()
166 snprintf(buf, size, in tracing_path__strerror_open_tp()
173 snprintf(buf, size, "%s", str_error_r(err, sbuf, sizeof(sbuf))); in tracing_path__strerror_open_tp()
/linux-6.12.1/tools/perf/util/intel-pt-decoder/
Dintel-pt-pkt-decoder.c692 return snprintf(buf, buf_len, "%s", name); in intel_pt_pkt_desc()
696 ret = snprintf(buf, blen, "%s ", name); in intel_pt_pkt_desc()
703 ret = snprintf(buf, blen, "T"); in intel_pt_pkt_desc()
705 ret = snprintf(buf, blen, "N"); in intel_pt_pkt_desc()
712 ret = snprintf(buf, blen, " (%d)", packet->count); in intel_pt_pkt_desc()
723 return snprintf(buf, buf_len, "%s no ip", name); in intel_pt_pkt_desc()
731 return snprintf(buf, buf_len, "%s 0x%llx", name, payload); in intel_pt_pkt_desc()
733 return snprintf(buf, buf_len, "%s CTC 0x%x FC 0x%x", name, in intel_pt_pkt_desc()
736 return snprintf(buf, buf_len, "%s IF:%d %lld", in intel_pt_pkt_desc()
739 return snprintf(buf, buf_len, "%s TXAbort:%u InTX:%u", in intel_pt_pkt_desc()
[all …]
/linux-6.12.1/drivers/scsi/qla4xxx/
Dql4_attr.c159 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d (%x)\n", in qla4xxx_fw_version_show()
163 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d.%02d\n", in qla4xxx_fw_version_show()
173 return snprintf(buf, PAGE_SIZE, "%s\n", ha->serial_number); in qla4xxx_serial_num_show()
181 return snprintf(buf, PAGE_SIZE, "%d.%02d\n", ha->fw_info.iscsi_major, in qla4xxx_iscsi_version_show()
190 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d.%02d\n", in qla4xxx_optrom_version_show()
200 return snprintf(buf, PAGE_SIZE, "0x%08X\n", ha->board_id); in qla4xxx_board_id_show()
210 return snprintf(buf, PAGE_SIZE, "0x%08X%8X\n", ha->firmware_state, in qla4xxx_fw_state_show()
223 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->phy_port_cnt); in qla4xxx_phy_port_cnt_show()
235 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->phy_port_num); in qla4xxx_phy_port_num_show()
247 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->iscsi_pci_func_cnt); in qla4xxx_iscsi_func_cnt_show()
[all …]
/linux-6.12.1/drivers/md/bcache/
Dfeatures.c35 out += snprintf(out, buf + size - out, \
38 out += snprintf(out, buf + size - out, \
42 out += snprintf(out, buf + size - out, " "); \
45 out += snprintf(out, buf + size - out, "%s", f->string);\
48 out += snprintf(out, buf + size - out, "]"); \
53 out += snprintf(out, buf + size - out, "\n"); \
/linux-6.12.1/drivers/net/ethernet/sfc/
Defx_devlink.c193 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u.%u", version[0], in efx_devlink_info_nvram_partition()
251 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%s", in efx_devlink_info_running_v2()
259 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u", in efx_devlink_info_running_v2()
275 offset = snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u_%c%u", in efx_devlink_info_running_v2()
282 snprintf(&buf[offset], EFX_MAX_VERSION_INFO_LEN - offset, in efx_devlink_info_running_v2()
293 offset = snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u.%u", in efx_devlink_info_running_v2()
304 snprintf(&buf[offset], EFX_MAX_VERSION_INFO_LEN - offset, in efx_devlink_info_running_v2()
315 offset = snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u.%u", in efx_devlink_info_running_v2()
320 snprintf(&buf[offset], EFX_MAX_VERSION_INFO_LEN - offset, in efx_devlink_info_running_v2()
340 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, in efx_devlink_info_running_v2()
[all …]
/linux-6.12.1/tools/testing/selftests/proc/
Dfd-001-lookup.c60 snprintf(buf, sizeof(buf), "/proc/self/fd/%u", fd); in test_lookup()
67 snprintf(buf, sizeof(buf), "/proc/self/fd/%c%u", c, fd); in test_lookup()
75 snprintf(buf, sizeof(buf), "/proc/self/fd/%u%c", fd, c); in test_lookup()
80 snprintf(buf, sizeof(buf), "/proc/self/fd/%d", i); in test_lookup()
84 snprintf(buf, sizeof(buf), "/proc/self/fd/%d", i); in test_lookup()
88 snprintf(buf, sizeof(buf), "/proc/self/fd/%u", u); in test_lookup()
92 snprintf(buf, sizeof(buf), "/proc/self/fd/%u", u); in test_lookup()
/linux-6.12.1/drivers/bluetooth/
Dbtqca.c558 snprintf(config->fwname, sizeof(config->fwname), in qca_download_firmware()
715 snprintf(fwname, max_size, "qca/hpnv%02x%s.bin", rom_ver, variant); in qca_generate_hsp_nvm_name()
717 snprintf(fwname, max_size, "qca/hpnv%02x%s.%x", rom_ver, variant, bid); in qca_generate_hsp_nvm_name()
724 snprintf(cfg->fwname, sizeof(cfg->fwname), "qca/%snv%02x.bin", stem, rom_ver); in qca_get_nvm_name_generic()
726 snprintf(cfg->fwname, sizeof(cfg->fwname), in qca_get_nvm_name_generic()
729 snprintf(cfg->fwname, sizeof(cfg->fwname), in qca_get_nvm_name_generic()
768 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup()
772 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup()
776 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup()
780 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup()
[all …]
/linux-6.12.1/tools/testing/selftests/alsa/
Dpcm-test.c353 snprintf(msg, sizeof(msg), "Failed to get pcm handle: %s", snd_strerror(err)); in test_pcm_time()
359 snprintf(msg, sizeof(msg), "snd_pcm_hw_params_any: %s", snd_strerror(err)); in test_pcm_time()
364 snprintf(msg, sizeof(msg), "snd_pcm_hw_params_set_rate_resample: %s", snd_strerror(err)); in test_pcm_time()
369 snprintf(msg, sizeof(msg), "snd_pcm_hw_params_set_access %s: %s", in test_pcm_time()
397 snprintf(msg, sizeof(msg), "snd_pcm_hw_params_set_format %s: %s", in test_pcm_time()
403 snprintf(msg, sizeof(msg), "snd_pcm_hw_params_set_channels %ld: %s", channels, snd_strerror(err)); in test_pcm_time()
409 snprintf(msg, sizeof(msg), "snd_pcm_hw_params_set_rate %ld: %s", rate, snd_strerror(err)); in test_pcm_time()
413 snprintf(msg, sizeof(msg), "rate mismatch %ld != %u", rate, rrate); in test_pcm_time()
419snprintf(msg, sizeof(msg), "snd_pcm_hw_params_set_period_size %ld: %s", period_size, snd_strerror(… in test_pcm_time()
425snprintf(msg, sizeof(msg), "snd_pcm_hw_params_set_buffer_size %ld: %s", buffer_size, snd_strerror(… in test_pcm_time()
[all …]
/linux-6.12.1/drivers/hwmon/
Dscpi-hwmon.c188 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe()
190 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe()
195 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe()
197 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe()
202 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe()
204 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe()
209 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe()
211 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe()
216 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe()
218 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe()
/linux-6.12.1/tools/power/cpupower/lib/
Dcpuidle.c37 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in cpuidle_state_file_exists()
60 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in cpuidle_state_read_file()
95 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in cpuidle_state_write_file()
244 snprintf(value, SYSFS_PATH_MAX, "%u", disable); in cpuidle_state_disable()
299 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); in cpuidle_state_count()
303 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu); in cpuidle_state_count()
308 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU in cpuidle_state_count()
327 snprintf(path, sizeof(path), PATH_TO_CPU "cpuidle/%s", fname); in sysfs_cpuidle_read_file()
/linux-6.12.1/drivers/edac/
Docteon_edac-l2c.c71 snprintf(buf1, sizeof(buf1), in _octeon_l2c_poll_oct2()
76 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2()
82 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2()
88 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2()
94 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2()
106 snprintf(buf1, sizeof(buf1), in _octeon_l2c_poll_oct2()
111 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2()
117 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2()
/linux-6.12.1/drivers/gpu/drm/i915/gvt/
Dtrace.h108 snprintf(__entry->buf, MAX_BUF_LEN,
126 snprintf(__entry->buf, MAX_BUF_LEN,
144 snprintf(__entry->buf, MAX_BUF_LEN,
163 snprintf(__entry->buf, MAX_BUF_LEN,
182 snprintf(__entry->buf, MAX_BUF_LEN,
200 snprintf(__entry->buf, MAX_BUF_LEN,
219 snprintf(__entry->buf, MAX_BUF_LEN,
256 snprintf(__entry->cmd_name, GVT_CMD_STR_LEN, "%s", cmd_name);
292 snprintf(__entry->buf, GVT_TEMP_STR_LEN, "%s", reg_name);
317 snprintf(__entry->buf, GVT_TEMP_STR_LEN, "%s", irq_name);
[all …]

12345678910>>...114