| /linux/tools/power/x86/intel-speed-select/ |
| H A D | isst-display.c | 15 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), in print_package_info() [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-picolcd_debugfs.c | 406 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/drivers/target/iscsi/ |
| H A D | iscsi_target_stat.c | 53 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/drivers/target/ |
| H A D | target_core_stat.c | 52 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\n"); in target_stat_tgt_status_show() 122 return snprintf(page, PAGE_SIZE, "deactivated\n"); 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/drivers/usb/common/ |
| H A D | debug.c | 19 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/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_gen2_config.c | 30 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 …]
|
| H A D | adf_gen4_config.c | 32 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/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | dr_dbg.c | 135 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/drivers/s390/char/ |
| H A D | tape_3590.c | 972 snprintf(exception, BUFSIZE, "Data degraded"); in tape_3590_print_mim_msg_f0() 975 snprintf(exception, BUFSIZE, "Data degraded in partition %i", in tape_3590_print_mim_msg_f0() 979 snprintf(exception, BUFSIZE, "Medium degraded"); in tape_3590_print_mim_msg_f0() 982 snprintf(exception, BUFSIZE, "Medium degraded in partition %i", in tape_3590_print_mim_msg_f0() 986 snprintf(exception, BUFSIZE, "Block 0 Error"); in tape_3590_print_mim_msg_f0() 989 snprintf(exception, BUFSIZE, "Medium Exception 0x%02x", in tape_3590_print_mim_msg_f0() 993 snprintf(exception, BUFSIZE, "0x%02x", in tape_3590_print_mim_msg_f0() 1000 snprintf(service, BUFSIZE, "Reference Media maintenance " in tape_3590_print_mim_msg_f0() 1004 snprintf(service, BUFSIZE, "0x%02x", in tape_3590_print_mim_msg_f0() 1036 snprintf(exception, BUFSIZE, "Effect of failure is unknown"); in tape_3590_print_io_sim_msg_f1() [all …]
|
| /linux/tools/power/cpupower/utils/helpers/ |
| H A D | misc.c | 60 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/power/energy_perf_bias", cpu); in cpupower_intel_get_perf_bias() 80 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/power/energy_perf_bias", cpu); in cpupower_intel_set_perf_bias() 81 snprintf(linebuf, sizeof(linebuf), "%d", val); in cpupower_intel_set_perf_bias() 94 snprintf(path, sizeof(path), in cpupower_set_epp() 100 snprintf(linebuf, sizeof(linebuf), "%s", epp); in cpupower_set_epp() 113 snprintf(path, sizeof(path), PATH_TO_CPU "amd_pstate/status"); in cpupower_set_amd_pstate_mode() 118 snprintf(linebuf, sizeof(linebuf), "%s\n", mode); in cpupower_set_amd_pstate_mode() 151 snprintf(path, sizeof(path), PATH_TO_CPU "cpufreq/boost"); in cpufreq_has_generic_boost_support() 282 snprintf(path, sizeof(path), PATH_TO_CPU "cpufreq/boost"); in cpupower_set_turbo_boost() 287 snprintf(linebuf, sizeof(linebuf), "%d", turbo_boost); in cpupower_set_turbo_boost()
|
| H A D | sysfs.c | 57 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/drivers/usb/dwc3/ |
| H A D | debug.h | 225 snprintf(str, size, "Disconnect: [%s]", in dwc3_gadget_event_string() 229 snprintf(str, size, "Reset [%s]", in dwc3_gadget_event_string() 233 snprintf(str, size, "Connection Done [%s]", in dwc3_gadget_event_string() 237 snprintf(str, size, "Link Change [%s]", in dwc3_gadget_event_string() 241 snprintf(str, size, "WakeUp [%s]", in dwc3_gadget_event_string() 245 snprintf(str, size, "Suspend [%s]", in dwc3_gadget_event_string() 249 snprintf(str, size, "Start-Of-Frame [%s]", in dwc3_gadget_event_string() 253 snprintf(str, size, "Erratic Error [%s]", in dwc3_gadget_event_string() 257 snprintf(str, size, "Command Complete [%s]", in dwc3_gadget_event_string() 261 snprintf(str, size, "Overflow [%s]", in dwc3_gadget_event_string() [all …]
|
| /linux/drivers/media/platform/mediatek/vcodec/common/ |
| H A D | mtk_vcodec_dbgfs.c | 21 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/tools/lib/api/fs/ |
| H A D | tracing_path.c | 20 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/tools/perf/util/intel-pt-decoder/ |
| H A D | intel-pt-pkt-decoder.c | 692 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/drivers/scsi/qla4xxx/ |
| H A D | ql4_attr.c | 159 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/drivers/md/bcache/ |
| H A D | features.c | 35 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/tools/testing/selftests/proc/ |
| H A D | fd-001-lookup.c | 60 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/tools/perf/util/ |
| H A D | amd-sample-raw.c | 61 snprintf(l3_miss_str, sizeof(l3_miss_str), in pr_ibs_fetch_ctl() 86 snprintf(l3_miss_only, sizeof(l3_miss_only), " L3MissOnly %d", reg.l3_miss_only); in pr_ibs_op_ctl() 89 snprintf(ldlat, sizeof(ldlat), " LdLatThrsh %2d LdLatEn %d", in pr_ibs_op_ctl() 185 snprintf(l2_miss_str, sizeof(l2_miss_str), " L2Miss %d", reg.l2_miss); in pr_ibs_op_data3() 186 snprintf(op_dc_miss_open_mem_reqs_str, sizeof(op_dc_miss_open_mem_reqs_str), in pr_ibs_op_data3() 191 snprintf(op_mem_width_str, sizeof(op_mem_width_str), in pr_ibs_op_data3() 198 snprintf(dc_l1_l2tlb_miss_str, sizeof(dc_l1_l2tlb_miss_str), in pr_ibs_op_data3() 201 snprintf(dc_page_size_str, sizeof(dc_page_size_str), in pr_ibs_op_data3() 205 snprintf(dc_l1_l2tlb_miss_str, sizeof(dc_l1_l2tlb_miss_str), in pr_ibs_op_data3() 208 snprintf(dc_l1tlb_hit_str, sizeof(dc_l1tlb_hit_str), in pr_ibs_op_data3() [all …]
|
| H A D | perf_event_attr_fprintf.c | 173 snprintf(buf, size, "%"PRIu64, value); in print_id_unsigned() 175 snprintf(buf, size, "%"PRIu64" (%s)", value, s); in print_id_unsigned() 181 snprintf(buf, size, "%#"PRIx64, value); in print_id_hex() 183 snprintf(buf, size, "%#"PRIx64" (%s)", value, s); in print_id_hex() 197 snprintf(buf, size, "%#"PRIx64, config); in __p_config_hw_id() 199 snprintf(buf, size, "%#"PRIx64" (%s/config=%#"PRIx64"/)", config, pmu->name, in __p_config_hw_id() 204 snprintf(buf, size, "%#"PRIx64" (%s)", config, name); in __p_config_hw_id() 206 snprintf(buf, size, "%#"PRIx64" (%s/%s/)", config, pmu->name, name); in __p_config_hw_id() 225 snprintf(buf, size, "%#"PRIx64, config); in __p_config_hw_cache_id() 227 snprintf(buf, size, "%#"PRIx64" (%s/config=%#"PRIx64"/)", config, pmu->name, in __p_config_hw_cache_id() [all …]
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | efx_devlink.c | 194 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u.%u", version[0], in efx_devlink_info_nvram_partition() 252 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%s", in efx_devlink_info_running_v2() 260 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u", in efx_devlink_info_running_v2() 276 offset = snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u_%c%u", in efx_devlink_info_running_v2() 283 snprintf(&buf[offset], EFX_MAX_VERSION_INFO_LEN - offset, in efx_devlink_info_running_v2() 294 offset = snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u.%u", in efx_devlink_info_running_v2() 305 snprintf(&buf[offset], EFX_MAX_VERSION_INFO_LEN - offset, in efx_devlink_info_running_v2() 316 offset = snprintf(buf, EFX_MAX_VERSION_INFO_LEN, "%u.%u.%u.%u", in efx_devlink_info_running_v2() 321 snprintf(&buf[offset], EFX_MAX_VERSION_INFO_LEN - offset, in efx_devlink_info_running_v2() 341 snprintf(buf, EFX_MAX_VERSION_INFO_LEN, in efx_devlink_info_running_v2() [all …]
|
| /linux/drivers/bluetooth/ |
| H A D | btqca.c | 296 snprintf(fwname + (suffix - filename), in qca_get_alt_nvm_file() 302 snprintf(filename, max_size, "%s", fwname); in qca_get_alt_nvm_file() 591 snprintf(config->fwname, sizeof(config->fwname), in qca_download_firmware() 771 snprintf(fwname, max_size, "qca/%s%02x%s.bin", stem, rom_ver, variant); in qca_get_nvm_name_by_board() 773 snprintf(fwname, max_size, "qca/%s%02x%s.%s%02x", stem, rom_ver, in qca_get_nvm_name_by_board() 777 snprintf(fwname, max_size, "qca/%s%s.bin", stem, variant); in qca_get_nvm_name_by_board() 779 snprintf(fwname, max_size, "qca/%s%s.%s%02x", stem, variant, prefix, bid); in qca_get_nvm_name_by_board() 816 snprintf(config.fwname, sizeof(config.fwname), "qca/%s", rampatch_name); in qca_uart_setup() 820 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup() 826 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup() [all …]
|
| /linux/tools/testing/selftests/alsa/ |
| H A D | pcm-test.c | 353 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() 419 …snprintf(msg, sizeof(msg), "snd_pcm_hw_params_set_period_size %ld: %s", period_size, snd_strerror(… in test_pcm_time() 425 …snprintf(msg, sizeof(msg), "snd_pcm_hw_params_set_buffer_size %ld: %s", buffer_size, snd_strerror(… in test_pcm_time() [all …]
|
| /linux/drivers/hwmon/ |
| H A D | scpi-hwmon.c | 188 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/drivers/edac/ |
| H A D | octeon_edac-l2c.c | 71 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()
|