Home
last modified time | relevance | path

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

12345678910>>...99

/Linux-v4.19/drivers/media/common/siano/
Dsmsdvb-debugfs.c48 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
50 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
52 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
54 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
56 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
58 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
60 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
62 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
64 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
66 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats()
[all …]
/Linux-v4.19/drivers/hid/
Dhid-picolcd_debugfs.c416 snprintf(buff, BUFF_SZ, "\nout report %d (size %d) = ", in picolcd_debug_out_report()
427 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
430 snprintf(buff, BUFF_SZ, "\tGPO state: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report()
435 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
438 snprintf(buff, BUFF_SZ, "\tBrightness: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report()
443 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
446 snprintf(buff, BUFF_SZ, "\tContrast: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report()
451 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
454 snprintf(buff, BUFF_SZ, "\tDuration: 0x%02x%02x (%dms)\n", in picolcd_debug_out_report()
460 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report()
[all …]
/Linux-v4.19/drivers/net/wireless/ath/ath5k/
Ddebug.c204 len += snprintf(buf + len, sizeof(buf) - len, in read_file_beacon()
209 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\n", in read_file_beacon()
212 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\n\n", in read_file_beacon()
216 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon()
220 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon()
224 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon()
228 len += snprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon()
232 len += snprintf(buf + len, sizeof(buf) - len, in read_file_beacon()
323 len += snprintf(buf + len, sizeof(buf) - len, in read_file_debug()
327 len += snprintf(buf + len, sizeof(buf) - len, in read_file_debug()
[all …]
/Linux-v4.19/tools/perf/util/
Darm-spe-pkt-decoder.c285 return snprintf(buf, buf_len, "%s", name); in arm_spe_pkt_desc()
290 ret = snprintf(buf, buf_len, "EV"); in arm_spe_pkt_desc()
294 ret = snprintf(buf, buf_len, " EXCEPTION-GEN"); in arm_spe_pkt_desc()
299 ret = snprintf(buf, buf_len, " RETIRED"); in arm_spe_pkt_desc()
304 ret = snprintf(buf, buf_len, " L1D-ACCESS"); in arm_spe_pkt_desc()
309 ret = snprintf(buf, buf_len, " L1D-REFILL"); in arm_spe_pkt_desc()
314 ret = snprintf(buf, buf_len, " TLB-ACCESS"); in arm_spe_pkt_desc()
319 ret = snprintf(buf, buf_len, " TLB-REFILL"); in arm_spe_pkt_desc()
324 ret = snprintf(buf, buf_len, " NOT-TAKEN"); in arm_spe_pkt_desc()
329 ret = snprintf(buf, buf_len, " MISPRED"); in arm_spe_pkt_desc()
[all …]
/Linux-v4.19/drivers/target/iscsi/
Discsi_target_stat.c62 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_inst_show()
69 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_min_ver_show()
75 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_max_ver_show()
81 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_portals_show()
88 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_INST_NUM_NODES); in iscsi_stat_instance_nodes_show()
94 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_sessions_show()
111 return snprintf(page, PAGE_SIZE, "%u\n", sess_err_count); in iscsi_stat_instance_fail_sess_show()
120 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_fail_type_show()
130 return snprintf(page, PAGE_SIZE, "%s\n", in iscsi_stat_instance_fail_rem_name_show()
138 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DISCONTINUITY_TIME); in iscsi_stat_instance_disc_time_show()
[all …]
/Linux-v4.19/fs/ocfs2/dlm/
Ddlmdebug.c262 out += snprintf(buf + out, len - out, "%.*s%08x", in stringify_lockname()
266 out += snprintf(buf + out, len - out, "%.*s", in stringify_lockname()
278 out += snprintf(buf + out, len - out, "%d ", i); in stringify_nodemap()
296 out += snprintf(buf + out, len - out, in dump_mle()
303 out += snprintf(buf + out, len - out, "Maybe="); in dump_mle()
306 out += snprintf(buf + out, len - out, "\n"); in dump_mle()
308 out += snprintf(buf + out, len - out, "Vote="); in dump_mle()
311 out += snprintf(buf + out, len - out, "\n"); in dump_mle()
313 out += snprintf(buf + out, len - out, "Response="); in dump_mle()
316 out += snprintf(buf + out, len - out, "\n"); in dump_mle()
[all …]
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_debugfs.c170 snprintf(buffer, in lpfc_debugfs_disc_trc_data()
173 len += snprintf(buf+len, size-len, buffer, in lpfc_debugfs_disc_trc_data()
181 snprintf(buffer, in lpfc_debugfs_disc_trc_data()
184 len += snprintf(buf+len, size-len, buffer, in lpfc_debugfs_disc_trc_data()
236 snprintf(buffer, in lpfc_debugfs_slow_ring_trc_data()
239 len += snprintf(buf+len, size-len, buffer, in lpfc_debugfs_slow_ring_trc_data()
247 snprintf(buffer, in lpfc_debugfs_slow_ring_trc_data()
250 len += snprintf(buf+len, size-len, buffer, in lpfc_debugfs_slow_ring_trc_data()
310 len += snprintf(buf+len, size-len, "HBQ %d Info\n", i); in lpfc_debugfs_hbqinfo_data()
318 len += snprintf(buf+len, size-len, in lpfc_debugfs_hbqinfo_data()
[all …]
/Linux-v4.19/drivers/target/
Dtarget_core_stat.c68 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_inst_show()
73 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->dev_index); in target_stat_indx_show()
78 return snprintf(page, PAGE_SIZE, "Target\n"); in target_stat_role_show()
83 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->export_count); in target_stat_ports_show()
118 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_tgt_inst_show()
123 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_tgt_dev(item)->dev_index); in target_stat_tgt_indx_show()
129 return snprintf(page, PAGE_SIZE, "%u\n", LU_COUNT); in target_stat_tgt_num_lus_show()
136 return snprintf(page, PAGE_SIZE, "activated"); in target_stat_tgt_status_show()
138 return snprintf(page, PAGE_SIZE, "deactivated"); in target_stat_tgt_status_show()
151 return snprintf(page, PAGE_SIZE, "%u\n", non_accessible_lus); in target_stat_tgt_non_access_lus_show()
[all …]
/Linux-v4.19/tools/lib/api/fs/
Dtracing_path.c22 snprintf(tracing_mnt, sizeof(tracing_mnt), "%s", mountpoint); in __tracing_path_set()
23 snprintf(tracing_path, sizeof(tracing_path), "%s/%s", in __tracing_path_set()
25 snprintf(tracing_events_path, sizeof(tracing_events_path), "%s/%s%s", in __tracing_path_set()
122 snprintf(filename, PATH_MAX, "%s/%s", sys, name ?: "*"); in tracing_path__strerror_open_tp()
135 snprintf(buf, size, in tracing_path__strerror_open_tp()
141 snprintf(buf, size, in tracing_path__strerror_open_tp()
148 snprintf(buf, size, "%s", in tracing_path__strerror_open_tp()
155 snprintf(buf, size, in tracing_path__strerror_open_tp()
162 snprintf(buf, size, "%s", str_error_r(err, sbuf, sizeof(sbuf))); in tracing_path__strerror_open_tp()
/Linux-v4.19/fs/nilfs2/
Dsysfs.c113 return snprintf(buf, PAGE_SIZE, "%llu\n", in nilfs_snapshot_inodes_count_show()
121 return snprintf(buf, PAGE_SIZE, "%llu\n", in nilfs_snapshot_blocks_count_show()
134 return snprintf(buf, PAGE_SIZE, snapshot_readme_str); in nilfs_snapshot_README_show()
235 return snprintf(buf, PAGE_SIZE, mounted_snapshots_readme_str); in nilfs_mounted_snapshots_README_show()
273 return snprintf(buf, PAGE_SIZE, "%llu\n", ncheckpoints); in nilfs_checkpoints_checkpoints_number_show()
296 return snprintf(buf, PAGE_SIZE, "%llu\n", nsnapshots); in nilfs_checkpoints_snapshots_number_show()
310 return snprintf(buf, PAGE_SIZE, "%llu\n", last_cno); in nilfs_checkpoints_last_seg_checkpoint_show()
324 return snprintf(buf, PAGE_SIZE, "%llu\n", cno); in nilfs_checkpoints_next_checkpoint_show()
340 return snprintf(buf, PAGE_SIZE, checkpoints_readme_str); in nilfs_checkpoints_README_show()
371 return snprintf(buf, PAGE_SIZE, "%lu\n", nilfs->ns_nsegments); in nilfs_segments_segments_number_show()
[all …]
/Linux-v4.19/drivers/crypto/qat/qat_common/
Dqat_crypto.c175 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_BANK_NUM, i); in qat_crypto_dev_config()
180 snprintf(key, sizeof(key), ADF_CY "%d" ADF_ETRMGR_CORE_AFFINITY, in qat_crypto_dev_config()
186 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i); in qat_crypto_dev_config()
193 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i); in qat_crypto_dev_config()
199 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i); in qat_crypto_dev_config()
205 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i); in qat_crypto_dev_config()
211 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i); in qat_crypto_dev_config()
217 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i); in qat_crypto_dev_config()
223 snprintf(key, sizeof(key), ADF_ETRMGR_COALESCE_TIMER_FORMAT, i); in qat_crypto_dev_config()
270 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_BANK_NUM, i); in qat_crypto_create_instances()
[all …]
/Linux-v4.19/drivers/scsi/fnic/
Dfnic_trace.c141 len += snprintf(fnic_dbgfs_prt->buffer + len, in fnic_get_trace_data()
183 len += snprintf(fnic_dbgfs_prt->buffer + len, in fnic_get_trace_data()
223 len = snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
228 len += snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
246 len += snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
250 len += snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
283 len += snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
287 len += snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
292 len += snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
321 len += snprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
[all …]
/Linux-v4.19/sound/soc/fsl/
Dimx-audmux.c89 ret = snprintf(buf, PAGE_SIZE, "PDCR: %08x\nPTCR: %08x\n", in audmux_read_file()
93 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file()
97 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file()
101 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file()
105 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file()
108 ret += snprintf(buf + ret, PAGE_SIZE - ret, "\n"); in audmux_read_file()
111 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file()
115 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file()
119 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file()
123 ret += snprintf(buf + ret, PAGE_SIZE - ret, in audmux_read_file()
[all …]
/Linux-v4.19/drivers/crypto/bcm/
Dutil.c421 out_offset += snprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read()
424 out_offset += snprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read()
427 out_offset += snprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read()
430 out_offset += snprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read()
433 out_offset += snprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read()
440 out_offset += snprintf(buf + out_offset, in spu_debugfs_read()
447 out_offset += snprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read()
453 out_offset += snprintf(buf + out_offset, in spu_debugfs_read()
459 out_offset += snprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read()
462 out_offset += snprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read()
[all …]
/Linux-v4.19/drivers/scsi/qla4xxx/
Dql4_attr.c160 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d (%x)\n", in qla4xxx_fw_version_show()
164 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d.%02d\n", in qla4xxx_fw_version_show()
174 return snprintf(buf, PAGE_SIZE, "%s\n", ha->serial_number); in qla4xxx_serial_num_show()
182 return snprintf(buf, PAGE_SIZE, "%d.%02d\n", ha->fw_info.iscsi_major, in qla4xxx_iscsi_version_show()
191 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d.%02d\n", in qla4xxx_optrom_version_show()
201 return snprintf(buf, PAGE_SIZE, "0x%08X\n", ha->board_id); in qla4xxx_board_id_show()
211 return snprintf(buf, PAGE_SIZE, "0x%08X%8X\n", ha->firmware_state, in qla4xxx_fw_state_show()
224 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->phy_port_cnt); in qla4xxx_phy_port_cnt_show()
236 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->phy_port_num); in qla4xxx_phy_port_num_show()
248 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->iscsi_pci_func_cnt); in qla4xxx_iscsi_func_cnt_show()
[all …]
/Linux-v4.19/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 partion %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-v4.19/sound/soc/intel/skylake/
Dskl-debug.c46 ret += snprintf(buf + size, MOD_BUF - size, in skl_print_pins()
62 return snprintf(buf + size, MOD_BUF - size, in skl_print_fmt()
84 ret = snprintf(buf, MOD_BUF, "Module:\n\tUUID %pUL\n\tModule id %d\n" in module_read()
89 ret += snprintf(buf + ret, MOD_BUF - ret, in module_read()
93 ret += snprintf(buf + ret, MOD_BUF - ret, in module_read()
103 ret += snprintf(buf + ret, MOD_BUF - ret, in module_read()
107 ret += snprintf(buf + ret, MOD_BUF - ret, in module_read()
112 ret += snprintf(buf + ret, MOD_BUF - ret, in module_read()
118 ret += snprintf(buf + ret, MOD_BUF - ret, in module_read()
123 ret += snprintf(buf + ret, MOD_BUF - ret, in module_read()
[all …]
/Linux-v4.19/tools/perf/util/intel-pt-decoder/
Dintel-pt-pkt-decoder.c555 return snprintf(buf, buf_len, "%s", name); in intel_pt_pkt_desc()
559 ret = snprintf(buf, blen, "%s ", name); in intel_pt_pkt_desc()
566 ret = snprintf(buf, blen, "T"); in intel_pt_pkt_desc()
568 ret = snprintf(buf, blen, "N"); in intel_pt_pkt_desc()
575 ret = snprintf(buf, blen, " (%d)", packet->count); in intel_pt_pkt_desc()
586 return snprintf(buf, buf_len, "%s no ip", name); in intel_pt_pkt_desc()
594 return snprintf(buf, buf_len, "%s 0x%llx", name, payload); in intel_pt_pkt_desc()
596 return snprintf(buf, buf_len, "%s CTC 0x%x FC 0x%x", name, in intel_pt_pkt_desc()
599 return snprintf(buf, buf_len, "%s %lld", name, payload); in intel_pt_pkt_desc()
601 return snprintf(buf, buf_len, "%s TXAbort:%u InTX:%u", in intel_pt_pkt_desc()
[all …]
/Linux-v4.19/drivers/scsi/bfa/
Dbfad_attr.c720 return snprintf(buf, PAGE_SIZE, "%s\n", serial_num); in bfad_im_serial_num_show()
734 return snprintf(buf, PAGE_SIZE, "%s\n", model); in bfad_im_model_show()
752 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
755 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
758 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
761 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
764 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
767 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
770 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
773 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
[all …]
/Linux-v4.19/drivers/lightnvm/
Dpblk-sysfs.c39 sz += snprintf(page + sz, PAGE_SIZE - sz, in pblk_sysfs_luns_show()
67 return snprintf(page, PAGE_SIZE, in pblk_sysfs_rate_limiter()
87 return snprintf(page, PAGE_SIZE, "gc_enabled=%d, gc_active=%d\n", in pblk_sysfs_gc_state_show()
95 sz = snprintf(page, PAGE_SIZE, in pblk_sysfs_stats()
122 sz = snprintf(page, PAGE_SIZE, in pblk_sysfs_ppaf()
132 sz += snprintf(page + sz, PAGE_SIZE - sz, in pblk_sysfs_ppaf()
144 sz = snprintf(page, PAGE_SIZE, in pblk_sysfs_ppaf()
152 sz += snprintf(page + sz, PAGE_SIZE - sz, in pblk_sysfs_ppaf()
274 sz = snprintf(page, PAGE_SIZE - sz, in pblk_sysfs_lines()
278 sz += snprintf(page + sz, PAGE_SIZE - sz, in pblk_sysfs_lines()
[all …]
/Linux-v4.19/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-v4.19/drivers/staging/rtl8188eu/core/
Drtw_debug.c18 len += snprintf(page + len, count - len, "%s\n", DRIVERVERSION); in proc_get_drv_version()
89 …len += snprintf(page + len, count - len, "usb_read8(0x%x)=0x%x\n", proc_get_read_addr, usb_read8(p… in proc_get_read_reg()
92 …len += snprintf(page + len, count - len, "usb_read16(0x%x)=0x%x\n", proc_get_read_addr, usb_read16… in proc_get_read_reg()
95 …len += snprintf(page + len, count - len, "usb_read32(0x%x)=0x%x\n", proc_get_read_addr, usb_read32… in proc_get_read_reg()
98 len += snprintf(page + len, count - len, "error read length=%d\n", proc_get_read_len); in proc_get_read_reg()
141 len += snprintf(page + len, count - len, "bSurpriseRemoved=%d, bDriverStopped=%d\n", in proc_get_adapter_state()
195 len += snprintf(page + len, count - len, "The rx cnt of channel %3d = %d\n", in proc_get_best_channel()
199 len += snprintf(page + len, count - len, "best_channel_5G = %d\n", best_channel_5G); in proc_get_best_channel()
200 len += snprintf(page + len, count - len, "best_channel_24G = %d\n", best_channel_24G); in proc_get_best_channel()
/Linux-v4.19/drivers/spi/
Dspi-dw.c57 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs()
59 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs()
61 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs()
63 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs()
65 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs()
67 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs()
69 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs()
71 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs()
73 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs()
75 len += snprintf(buf + len, SPI_REGS_BUFSIZE - len, in dw_spi_show_regs()
[all …]
/Linux-v4.19/drivers/staging/greybus/tools/
Dloopback_test.c251 snprintf(path, sizeof(path), "%s%s", sys_pfx, node); in open_sysfs()
314 len = snprintf(buf, sizeof(buf), "%d", val); in write_sysfs_val()
432 len = snprintf(buf, buf_len, "%u-%u-%u %u:%u:%u", in format_output()
437 len += snprintf(&buf[len], buf_len - len, in format_output()
446 len += snprintf(&buf[len], buf_len - len, in format_output()
453 len += snprintf(&buf[len], buf_len - len, in format_output()
459 len += snprintf(&buf[len], buf_len - len, in format_output()
465 len += snprintf(&buf[len], buf_len - len, in format_output()
472 len += snprintf(&buf[len], buf_len - len, in format_output()
480 len += snprintf(&buf[len], buf_len - len, ",%s,%s,%u,%u,%u", in format_output()
[all …]
/Linux-v4.19/tools/power/cpupower/utils/helpers/
Dsysfs.c58 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u", cpu); in sysfs_is_cpu_online()
67 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/online", cpu); in sysfs_is_cpu_online()
112 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_file_exists()
132 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_read_file()
167 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_write_file()
313 snprintf(value, SYSFS_PATH_MAX, "%u", disable); in sysfs_idlestate_disable()
362 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); in sysfs_get_idlestate_count()
366 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu); in sysfs_get_idlestate_count()
371 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU in sysfs_get_idlestate_count()
390 snprintf(path, sizeof(path), PATH_TO_CPU "cpuidle/%s", fname); in sysfs_cpuidle_read_file()

12345678910>>...99