Home
last modified time | relevance | path

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

12345678910>>...73

/linux/drivers/usb/cdns3/
A Dcdns3-debug.h34 ret += sprintf(str + ret, "L1 exit "); in cdns3_decode_usb_irq()
46 ret += sprintf(str + ret, "Reset"); in cdns3_decode_usb_irq()
60 ret += sprintf(str + ret, "SETUP "); in cdns3_decode_ep_irq()
62 ret += sprintf(str + ret, "IOC "); in cdns3_decode_ep_irq()
64 ret += sprintf(str + ret, "ISP "); in cdns3_decode_ep_irq()
74 ret += sprintf(str + ret, "NRDY "); in cdns3_decode_ep_irq()
84 ret += sprintf(str + ret, "IOT "); in cdns3_decode_ep_irq()
124 ret += sprintf(str + ret, in cdns3_dbg_ring()
130 ret += sprintf(str + ret, in cdns3_dbg_ring()
135 ret += sprintf(str + ret, in cdns3_dbg_ring()
[all …]
/linux/net/mac80211/
A Drc80211_minstrel_ht_debugfs.c86 p += sprintf(p, "OFDM "); in minstrel_ht_stats_dump()
87 p += sprintf(p, "1 "); in minstrel_ht_stats_dump()
89 p += sprintf(p, "CCK "); in minstrel_ht_stats_dump()
91 p += sprintf(p, "1 "); in minstrel_ht_stats_dump()
159 p += sprintf(p, "\n"); in minstrel_ht_stats_open()
160 p += sprintf(p, in minstrel_ht_stats_open()
162 p += sprintf(p, in minstrel_ht_stats_open()
232 p += sprintf(p, "OFDM,,1,"); in minstrel_ht_stats_csv_dump()
234 p += sprintf(p, "CCK,"); in minstrel_ht_stats_csv_dump()
236 p += sprintf(p, "1,"); in minstrel_ht_stats_csv_dump()
[all …]
/linux/drivers/usb/host/
A Duhci-debug.c96 out += sprintf(out, " ...\n"); in uhci_show_td()
133 out += sprintf(out, "\n"); in uhci_show_urbp()
155 out += sprintf(out, in uhci_show_urbp()
160 out += sprintf(out, " ...\n"); in uhci_show_urbp()
186 out += sprintf(out, in uhci_show_qh()
363 out += sprintf(out, in uhci_show_status()
438 out += sprintf(out, in uhci_sprint_schedule()
459 out += sprintf(out, in uhci_sprint_schedule()
464 out += sprintf(out, in uhci_sprint_schedule()
495 out += sprintf(out, in uhci_sprint_schedule()
[all …]
/linux/drivers/edac/
A Dghes_edac.c298 p += sprintf(p, "Unknown"); in ghes_edac_report_mem_error()
301 p += sprintf(p, "No error"); in ghes_edac_report_mem_error()
307 p += sprintf(p, "Multi-bit ECC"); in ghes_edac_report_mem_error()
316 p += sprintf(p, "Master abort"); in ghes_edac_report_mem_error()
319 p += sprintf(p, "Target abort"); in ghes_edac_report_mem_error()
322 p += sprintf(p, "Parity Error"); in ghes_edac_report_mem_error()
331 p += sprintf(p, "Mirror Broken"); in ghes_edac_report_mem_error()
376 p += sprintf(p, "bank_group:%d ", in ghes_edac_report_mem_error()
385 p += sprintf(p, "row:%d ", row); in ghes_edac_report_mem_error()
409 p += sprintf(p, "chipID: %d ", in ghes_edac_report_mem_error()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_debugfs.c466 sprintf(result[j++], "%d", i); in hns3_get_coal_info()
470 sprintf(result[j++], "%s", in hns3_get_coal_info()
485 sprintf(result[j++], "NA"); in hns3_get_coal_info()
818 sprintf(result[j++], "%u", in hns3_dbg_queue_map()
820 sprintf(result[j++], "%d", in hns3_dbg_queue_map()
869 sprintf(result[j++], "NA"); in hns3_dump_rx_bd_info()
870 sprintf(result[j++], "NA"); in hns3_dump_rx_bd_info()
937 sprintf(result[j++], "%#x", in hns3_dump_tx_bd_info()
941 sprintf(result[j++], "%10u", in hns3_dump_tx_bd_info()
1084 sprintf(result[j++], "%u", in hns3_dump_page_pool_info()
[all …]
/linux/drivers/net/bonding/
A Dbond_sysfs_slave.c31 return sprintf(buf, "active\n"); in state_show()
33 return sprintf(buf, "backup\n"); in state_show()
35 return sprintf(buf, "UNKNOWN\n"); in state_show()
54 return sprintf(buf, "%*phC\n", in perm_hwaddr_show()
62 return sprintf(buf, "%d\n", slave->queue_id); in queue_id_show()
73 return sprintf(buf, "%d\n", in ad_aggregator_id_show()
77 return sprintf(buf, "N/A\n"); in ad_aggregator_id_show()
88 return sprintf(buf, "%u\n", in ad_actor_oper_port_state_show()
92 return sprintf(buf, "N/A\n"); in ad_actor_oper_port_state_show()
103 return sprintf(buf, "%u\n", in ad_partner_oper_port_state_show()
[all …]
A Dbond_sysfs.c50 res += sprintf(buf + res, "++more++ "); in bonding_show_bonds()
181 res += sprintf(buf + res, "++more++ "); in bonding_show_slaves()
251 return sprintf(buf, "%s %d\n", in bonding_show_arp_all_targets()
295 res += sprintf(buf + res, "%pI4 ", in bonding_show_arp_targets()
336 return sprintf(buf, "%d\n", in bonding_show_peer_notif_delay()
453 return sprintf(buf, "%s %d\n", in bonding_show_primary_reselect()
515 count = sprintf(buf, "%d\n", in bonding_show_ad_aggregator()
536 count = sprintf(buf, "%d\n", in bonding_show_ad_num_ports()
557 count = sprintf(buf, "%d\n", in bonding_show_ad_actor_key()
578 count = sprintf(buf, "%d\n", in bonding_show_ad_partner_key()
[all …]
/linux/drivers/pci/hotplug/
A Dcpqphp_sysfs.c34 out += sprintf(buf, "Free resources: memory\n"); in show_ctrl()
38 out += sprintf(out, "start = %8.8x, length = %8.8x\n", res->base, res->length); in show_ctrl()
41 out += sprintf(out, "Free resources: prefetchable memory\n"); in show_ctrl()
45 out += sprintf(out, "start = %8.8x, length = %8.8x\n", res->base, res->length); in show_ctrl()
48 out += sprintf(out, "Free resources: IO\n"); in show_ctrl()
52 out += sprintf(out, "start = %8.8x, length = %8.8x\n", res->base, res->length); in show_ctrl()
55 out += sprintf(out, "Free resources: bus numbers\n"); in show_ctrl()
80 out += sprintf(out, "assigned resources: memory\n"); in show_dev()
87 out += sprintf(out, "assigned resources: prefetchable memory\n"); in show_dev()
94 out += sprintf(out, "assigned resources: IO\n"); in show_dev()
[all …]
/linux/drivers/media/pci/solo6x10/
A Dsolo6x10-core.c211 return sprintf(buf, "%d\n", solo_dev->p2m_timeouts); in p2m_timeouts_show()
221 return sprintf(buf, "%dMegs\n", solo_dev->sdram_size >> 20); in sdram_size_show()
231 return sprintf(buf, "tw2815[%d] tw2864[%d] tw2865[%d]\n", in tw28xx_show()
309 out += sprintf(out, "Channel %d: %d/%d (0x%08x)\n", in intervals_show()
325 out += sprintf(out, "DISP: 0x%08x @ 0x%08x\n", in sdram_offsets_show()
329 out += sprintf(out, "EOSD: 0x%08x @ 0x%08x (0x%08x * %d)\n", in sdram_offsets_show()
336 out += sprintf(out, "MOTI: 0x%08x @ 0x%08x\n", in sdram_offsets_show()
340 out += sprintf(out, "G723: 0x%08x @ 0x%08x\n", in sdram_offsets_show()
344 out += sprintf(out, "CAPT: 0x%08x @ 0x%08x (0x%08x * %d)\n", in sdram_offsets_show()
356 out += sprintf(out, "MPEG: 0x%08x @ 0x%08x\n", in sdram_offsets_show()
[all …]
/linux/drivers/acpi/
A Dsysfs.c112 sprintf(buffer + result, in param_get_debug_layer()
859 sprintf(buffer, "gpe%02X", i); in acpi_irq_stats_init()
861 sprintf(buffer, "ff_pmtimer"); in acpi_irq_stats_init()
865 sprintf(buffer, "ff_pwr_btn"); in acpi_irq_stats_init()
867 sprintf(buffer, "ff_slp_btn"); in acpi_irq_stats_init()
869 sprintf(buffer, "ff_rt_clk"); in acpi_irq_stats_init()
871 sprintf(buffer, "gpe_all"); in acpi_irq_stats_init()
873 sprintf(buffer, "sci"); in acpi_irq_stats_init()
875 sprintf(buffer, "sci_not"); in acpi_irq_stats_init()
877 sprintf(buffer, "error"); in acpi_irq_stats_init()
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
A Ddebugfs.c101 p += sprintf(p, "driver_version = %s", fmt); in mwifiex_info_read()
110 p += sprintf(p, "media_state=\"%s\"\n", in mwifiex_info_read()
122 p += sprintf(p, "region_code=\"0x%x\"\n", in mwifiex_info_read()
140 p += sprintf(p, "tx queue"); in mwifiex_info_read()
146 p += sprintf(p, "\n"); in mwifiex_info_read()
196 p += sprintf(p, "\n" in mwifiex_getlog_read()
272 p += sprintf(p, "\n" in mwifiex_histogram_read()
276 p += sprintf(p, in mwifiex_histogram_read()
281 p += sprintf(p, in mwifiex_histogram_read()
284 p += sprintf(p, "\n"); in mwifiex_histogram_read()
[all …]
/linux/tools/power/x86/turbostat/
A Dturbostat.c498 sprintf(pathname, "/dev/cpu/%d/msr", cpu); in get_msr_fd()
978 outp += sprintf(outp, "\n"); in print_header()
993 outp += sprintf(outp, "c1: %016llX\n", t->c1); in dump_counters()
1010 outp += sprintf(outp, "c3: %016llX\n", c->c3); in dump_counters()
1011 outp += sprintf(outp, "c6: %016llX\n", c->c6); in dump_counters()
1012 outp += sprintf(outp, "c7: %016llX\n", c->c7); in dump_counters()
1055 outp += sprintf(outp, "\n"); in dump_counters()
1131 outp += sprintf(outp, "%s%d", in format_counters()
1360 outp += sprintf(outp, "\n"); in format_counters()
3556 sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); in check_dev_msr()
[all …]
/linux/drivers/s390/net/
A Dctcm_sysfs.c31 return sprintf(buf, "%d\n", priv->buffer_size); in ctcm_buffer_show()
88 p += sprintf(p, " Device FSM state: %s\n", in ctcm_print_statistics()
90 p += sprintf(p, " RX channel FSM state: %s\n", in ctcm_print_statistics()
92 p += sprintf(p, " TX channel FSM state: %s\n", in ctcm_print_statistics()
94 p += sprintf(p, " Max. TX buffer used: %ld\n", in ctcm_print_statistics()
96 p += sprintf(p, " Max. chained SKBs: %ld\n", in ctcm_print_statistics()
100 p += sprintf(p, " TX multi write ops: %ld\n", in ctcm_print_statistics()
104 p += sprintf(p, " Max. TX IO-time: %u\n", in ctcm_print_statistics()
122 return sprintf(buf, "0\n"); in stats_show()
144 return sprintf(buf, "%d\n", priv->protocol); in ctcm_proto_show()
[all …]
A Dqeth_core_sys.c26 return sprintf(buf, "DOWN\n"); in qeth_dev_state_show()
29 return sprintf(buf, "UP (LAN %s)\n", in qeth_dev_state_show()
32 return sprintf(buf, "SOFTSETUP\n"); in qeth_dev_state_show()
34 return sprintf(buf, "UNKNOWN\n"); in qeth_dev_state_show()
168 return sprintf(buf, "always queue %i\n", in qeth_dev_prioqing_show()
171 return sprintf(buf, "disabled\n"); in qeth_dev_prioqing_show()
301 return sprintf(buf, "1\n"); in qeth_dev_performance_stats_show()
473 return sprintf(buf, "n/a\n"); in qeth_dev_switch_attrs_show()
480 rc = sprintf(buf, "unknown"); in qeth_dev_switch_attrs_show()
486 rc += sprintf(buf + rc, in qeth_dev_switch_attrs_show()
[all …]
/linux/scripts/mod/
A Dfile2alias.c200 sprintf(alias + strlen(alias), in do_usb_entry()
205 sprintf(alias + strlen(alias), in do_usb_entry()
208 sprintf(alias + strlen(alias), in do_usb_entry()
407 sprintf(alias, "hid:"); in do_hid_entry()
584 sprintf(&alias[cnt], "%02x", in do_acpi_entry()
587 sprintf(&alias[cnt], "??"); in do_acpi_entry()
590 sprintf(&alias[cnt], ":*"); in do_acpi_entry()
770 sprintf(alias, "input:"); in do_input_entry()
1011 sprintf(alias, "dmi*"); in do_dmi_entry()
1133 p += sprintf(p, "%X", i); in append_nibble_mask()
[all …]
/linux/net/bridge/
A Dbr_sysfs_br.c91 return sprintf(buf, "%lu\n", in hello_time_show()
112 return sprintf(buf, "%lu\n", in max_age_show()
204 return sprintf(buf, "%d\n", in priority_show()
425 return sprintf(buf, "%d\n", in multicast_query_use_ifaddr_show()
583 return sprintf(buf, "%lu\n", in multicast_last_member_interval_show()
606 return sprintf(buf, "%lu\n", in multicast_membership_interval_show()
630 return sprintf(buf, "%lu\n", in multicast_querier_interval_show()
654 return sprintf(buf, "%lu\n", in multicast_query_interval_show()
677 return sprintf( in multicast_query_response_interval_show()
701 return sprintf( in multicast_startup_query_interval_show()
[all …]
A Dbr_sysfs_if.c50 return sprintf(buf, "%d\n", !!(p->flags & _mask)); \
86 return sprintf(buf, "%d\n", p->path_cost); in show_path_cost()
94 return sprintf(buf, "%d\n", p->priority); in show_priority()
114 return sprintf(buf, "%d\n", p->designated_port); in show_designated_port()
120 return sprintf(buf, "%d\n", p->designated_cost); in show_designated_cost()
126 return sprintf(buf, "0x%x\n", p->port_id); in show_port_id()
132 return sprintf(buf, "0x%x\n", p->port_no); in show_port_no()
145 return sprintf(buf, "%d\n", p->config_pending); in show_config_pending()
151 return sprintf(buf, "%d\n", p->state); in show_port_state()
185 return sprintf(buf, "%#x\n", p->group_fwd_mask); in show_group_fwd_mask()
[all …]
/linux/tools/testing/selftests/resctrl/
A Dresctrlfs.c110 sprintf(phys_pkg_path, "%s%d/cache/index3/id", in get_resource_id()
113 sprintf(phys_pkg_path, "%s%d/topology/physical_package_id", in get_resource_id()
330 sprintf(resctrl_val, "%s", benchmark_cmd[5]); in run_benchmark()
443 sprintf(controlgroup, "%s/%s", RESCTRL_PATH, ctrlgrp); in write_bm_pid_to_resctrl()
445 sprintf(controlgroup, "%s", RESCTRL_PATH); in write_bm_pid_to_resctrl()
451 sprintf(tasks, "%s/tasks", controlgroup); in write_bm_pid_to_resctrl()
460 sprintf(monitorgroup_p, "%s/mon_groups", controlgroup); in write_bm_pid_to_resctrl()
466 sprintf(tasks, "%s/mon_groups/%s/tasks", in write_bm_pid_to_resctrl()
512 sprintf(reason, "Failed to get resource id"); in write_schemata()
521 sprintf(controlgroup, "%s/schemata", RESCTRL_PATH); in write_schemata()
[all …]
/linux/fs/cifs/
A Dcifs_spnego.c119 sprintf(dp, "ver=0x%x;host=%s;", CIFS_SPNEGO_UPCALL_VERSION, in cifs_get_spnego_key()
125 sprintf(dp, "ip4=%pI4", &sa->sin_addr); in cifs_get_spnego_key()
127 sprintf(dp, "ip6=%pI6", &sa6->sin6_addr); in cifs_get_spnego_key()
135 sprintf(dp, ";sec=krb5"); in cifs_get_spnego_key()
137 sprintf(dp, ";sec=mskrb5"); in cifs_get_spnego_key()
140 sprintf(dp, ";sec=krb5"); in cifs_get_spnego_key()
144 sprintf(dp, ";uid=0x%x", in cifs_get_spnego_key()
148 sprintf(dp, ";creduid=0x%x", in cifs_get_spnego_key()
153 sprintf(dp, ";user=%s", sesInfo->user_name); in cifs_get_spnego_key()
157 sprintf(dp, ";pid=0x%x", current->pid); in cifs_get_spnego_key()
/linux/arch/alpha/kernel/
A Dbugs.c23 return sprintf(buf, "Vulnerable\n"); in cpu_show_meltdown()
25 return sprintf(buf, "Not affected\n"); in cpu_show_meltdown()
32 return sprintf(buf, "Vulnerable\n"); in cpu_show_spectre_v1()
34 return sprintf(buf, "Not affected\n"); in cpu_show_spectre_v1()
41 return sprintf(buf, "Vulnerable\n"); in cpu_show_spectre_v2()
43 return sprintf(buf, "Not affected\n"); in cpu_show_spectre_v2()
/linux/drivers/net/fjes/
A Dfjes_ethtool.c103 sprintf(p, "ep%u_com_regist_buf_exec", i); in fjes_get_strings()
105 sprintf(p, "ep%u_com_unregist_buf_exec", i); in fjes_get_strings()
107 sprintf(p, "ep%u_send_intr_rx", i); in fjes_get_strings()
109 sprintf(p, "ep%u_send_intr_unshare", i); in fjes_get_strings()
111 sprintf(p, "ep%u_send_intr_zoneupdate", i); in fjes_get_strings()
113 sprintf(p, "ep%u_recv_intr_rx", i); in fjes_get_strings()
115 sprintf(p, "ep%u_recv_intr_unshare", i); in fjes_get_strings()
117 sprintf(p, "ep%u_recv_intr_stop", i); in fjes_get_strings()
119 sprintf(p, "ep%u_recv_intr_zoneupdate", i); in fjes_get_strings()
121 sprintf(p, "ep%u_tx_buffer_full", i); in fjes_get_strings()
[all …]
/linux/arch/sparc/kernel/
A Dprom_64.c79 sprintf(tmp_buf, "%s@%x,%x", in sun4v_path_component()
98 sprintf(tmp_buf, "%s@%s%x", in sun4v_path_component()
103 sprintf(tmp_buf, "%s@%x", in sun4v_path_component()
120 sprintf(tmp_buf, "%s@%x,%x", in sun4u_path_component()
136 sprintf(tmp_buf, "%s@%x,%x", in sun4u_path_component()
155 sprintf(tmp_buf, "%s@%x,%x", in sbus_path_component()
181 sprintf(tmp_buf, "%s@%x", in pci_path_component()
204 sprintf(tmp_buf, "%s@%x,%x", in upa_path_component()
239 sprintf(tmp_buf, "%s@%x,%x", in ebus_path_component()
261 sprintf(tmp_buf, "%s@%x,%x", in i2c_path_component()
[all …]
/linux/drivers/usb/core/
A Ddevices.c209 start += sprintf(start, format_iface, in usb_dump_interface_descriptor()
244 start += sprintf(start, format_iad, in usb_dump_iad_descriptor()
271 start += sprintf(start, format_config, in usb_dump_config_descriptor()
325 start += sprintf(start, format_device1, in usb_dump_device_descriptor()
335 start += sprintf(start, format_device2, in usb_dump_device_descriptor()
404 start += sprintf(start, "Interface:"); in usb_dump_hub_descriptor()
406 start += sprintf(start, " %02x", *ptr); in usb_dump_hub_descriptor()
418 start += sprintf(start, "Interface:"); in usb_dump_string()
421 start += sprintf(start, "%s: %.100s ", id, in usb_dump_string()
509 data_end += sprintf(data_end, format_bandwidth, in usb_device_dump()
[all …]
A Dsysfs.c38 rc = sprintf(buf, format_string, \
117 return sprintf(buf, "%pOF\n", of_node); in devspec_show()
178 return sprintf(buf, "%s\n", speed); in speed_show()
308 return sprintf(buf, "%s\n", "yes"); in ltm_capable_show()
309 return sprintf(buf, "%s\n", "no"); in ltm_capable_show()
375 return sprintf(buf, "%u\n", in connected_duration_show()
445 return sprintf(buf, "%s\n", p); in level_show()
493 return sprintf(buf, "%s\n", p); in usb2_hardware_lpm_show()
592 return sprintf(buf, "%s\n", p); in usb3_hardware_lpm_u1_show()
614 return sprintf(buf, "%s\n", p); in usb3_hardware_lpm_u2_show()
[all …]
/linux/drivers/xen/
A Dsys-hypervisor.c40 return sprintf(buffer, "xen\n"); in type_show()
69 return sprintf(buffer, "%s\n", type); in guest_type_show()
109 ret = sprintf(buffer, "%s\n", extra); in extra_show()
153 ret = sprintf(buffer, "%s\n", val); in uuid_show_fallback()
165 ret = sprintf(buffer, "%pU\n", uuid); in uuid_show()
260 ret = sprintf(buffer, "%s\n", caps); in capabilities_show()
278 ret = sprintf(buffer, "%s\n", cset); in changeset_show()
313 ret = sprintf(buffer, "%x\n", ret); in pagesize_show()
328 ret = sprintf(buffer, "%08x", info.submap); in xen_feature_show()
364 ret = sprintf(buffer, "<denied>"); in buildid_show()
[all …]

Completed in 60 milliseconds

12345678910>>...73