Home
last modified time | relevance | path

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

12345678910>>...51

/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()
123 ret += sprintf(str + ret, in cdns3_dbg_ring()
129 ret += sprintf(str + ret, in cdns3_dbg_ring()
134 ret += sprintf(str + ret, in cdns3_dbg_ring()
[all …]
/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 …]
A Dxhci.h2282 ret = sprintf(str, "Drop:"); in xhci_decode_ctrl_ctx()
2287 ret += sprintf(str + ret, ", "); in xhci_decode_ctrl_ctx()
2412 ret += sprintf(str + ret, "CSC "); in xhci_decode_portsc()
2414 ret += sprintf(str + ret, "PEC "); in xhci_decode_portsc()
2416 ret += sprintf(str + ret, "WRC "); in xhci_decode_portsc()
2418 ret += sprintf(str + ret, "OCC "); in xhci_decode_portsc()
2420 ret += sprintf(str + ret, "PRC "); in xhci_decode_portsc()
2422 ret += sprintf(str + ret, "PLC "); in xhci_decode_portsc()
2424 ret += sprintf(str + ret, "CEC "); in xhci_decode_portsc()
2426 ret += sprintf(str + ret, "CAS "); in xhci_decode_portsc()
[all …]
/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 …]
/drivers/media/pci/solo6x10/
A Dsolo6x10-core.c208 return sprintf(buf, "%d\n", solo_dev->p2m_timeouts); in p2m_timeouts_show()
218 return sprintf(buf, "%dMegs\n", solo_dev->sdram_size >> 20); in sdram_size_show()
228 return sprintf(buf, "tw2815[%d] tw2864[%d] tw2865[%d]\n", in tw28xx_show()
306 out += sprintf(out, "Channel %d: %d/%d (0x%08x)\n", in intervals_show()
322 out += sprintf(out, "DISP: 0x%08x @ 0x%08x\n", in sdram_offsets_show()
326 out += sprintf(out, "EOSD: 0x%08x @ 0x%08x (0x%08x * %d)\n", in sdram_offsets_show()
333 out += sprintf(out, "MOTI: 0x%08x @ 0x%08x\n", in sdram_offsets_show()
337 out += sprintf(out, "G723: 0x%08x @ 0x%08x\n", in sdram_offsets_show()
341 out += sprintf(out, "CAPT: 0x%08x @ 0x%08x (0x%08x * %d)\n", in sdram_offsets_show()
353 out += sprintf(out, "MPEG: 0x%08x @ 0x%08x\n", in sdram_offsets_show()
[all …]
/drivers/net/wireless/marvell/mwifiex/
A Ddebugfs.c89 p += sprintf(p, "driver_version = %s", fmt); in mwifiex_info_read()
98 p += sprintf(p, "media_state=\"%s\"\n", in mwifiex_info_read()
103 p += sprintf(p, "multicast_count=\"%d\"\n", in mwifiex_info_read()
110 p += sprintf(p, "region_code=\"0x%x\"\n", in mwifiex_info_read()
128 p += sprintf(p, "tx queue"); in mwifiex_info_read()
134 p += sprintf(p, "\n"); in mwifiex_info_read()
184 p += sprintf(p, "\n" in mwifiex_getlog_read()
263 p += sprintf(p, "\n" in mwifiex_histogram_read()
267 p += sprintf(p, in mwifiex_histogram_read()
272 p += sprintf(p, in mwifiex_histogram_read()
[all …]
/drivers/acpi/
A Dsysfs.c113 sprintf(buffer + result, in param_get_debug_layer()
888 sprintf(buffer, "gpe%02X", i); in acpi_irq_stats_init()
890 sprintf(buffer, "ff_pmtimer"); in acpi_irq_stats_init()
894 sprintf(buffer, "ff_pwr_btn"); in acpi_irq_stats_init()
896 sprintf(buffer, "ff_slp_btn"); in acpi_irq_stats_init()
898 sprintf(buffer, "ff_rt_clk"); in acpi_irq_stats_init()
900 sprintf(buffer, "gpe_all"); in acpi_irq_stats_init()
902 sprintf(buffer, "sci"); in acpi_irq_stats_init()
904 sprintf(buffer, "sci_not"); in acpi_irq_stats_init()
906 sprintf(buffer, "error"); in acpi_irq_stats_init()
[all …]
/drivers/accel/habanalabs/common/
A Dsysfs.c27 return sprintf(buf, "%lu\n", (value / 1000 / 1000)); in clk_max_freq_mhz_show()
68 return sprintf(buf, "%lu\n", (value / 1000 / 1000)); in clk_cur_freq_mhz_show()
100 return sprintf(buf, "%#04x %#04x:%#04x:%#04x\n", in vrm_ver_show()
121 return sprintf(buf, "%s\n", hdev->asic_prop.uboot_ver); in uboot_ver_show()
145 return sprintf(buf, "0x%08x%08x\n", in cpld_ver_show()
195 return sprintf(buf, "%s\n", hdev->asic_prop.preboot_ver); in preboot_btl_ver_show()
283 return sprintf(buf, "%s\n", str); in device_type_show()
291 return sprintf(buf, "%04x:%02x:%02x.%x\n", in pci_addr_show()
309 return sprintf(buf, "%s\n", str); in status_show()
341 return sprintf(buf, "%lu\n", val); in max_power_show()
[all …]
/drivers/media/pci/mgb4/
A Dmgb4_sysfs_in.c224 return sprintf(buf, "%u\n", res); in hsync_status_show()
243 return sprintf(buf, "%u\n", res); in vsync_status_show()
451 return sprintf(buf, "0\n"); in fpdl3_input_width_show()
453 return sprintf(buf, "1\n"); in fpdl3_input_width_show()
455 return sprintf(buf, "2\n"); in fpdl3_input_width_show()
520 return sprintf(buf, "0\n"); in gmsl_mode_show()
522 return sprintf(buf, "1\n"); in gmsl_mode_show()
524 return sprintf(buf, "2\n"); in gmsl_mode_show()
526 return sprintf(buf, "3\n"); in gmsl_mode_show()
647 return sprintf(buf, "0\n"); in gmsl_fec_show()
[all …]
A Dmgb4_sysfs_pci.c19 return sprintf(buf, "%u\n", mgbdev->module_version & 0x0F); in module_version_show()
27 return sprintf(buf, "%u\n", mgbdev->module_version >> 4); in module_type_show()
36 return sprintf(buf, "%u\n", config & 0xFFFF); in fw_version_show()
45 return sprintf(buf, "%u\n", config >> 24); in fw_type_show()
54 return sprintf(buf, "%03d-%03d-%03d-%03d\n", sn >> 24, (sn >> 16) & 0xFF, in serial_number_show()
/drivers/firmware/xilinx/
A Dzynqmp-debug.c133 sprintf(debugfs_buf, "PM-API Version = %d.%d\n", in process_api_request()
185 sprintf(debugfs_buf, "Reset status: %u\n", in process_api_request()
191 sprintf(debugfs_buf, "Idcode: %#x, Version:%#x\n", in process_api_request()
202 sprintf(debugfs_buf, in process_api_request()
222 sprintf(debugfs_buf, "IOCTL return value: %u\n", in process_api_request()
237 sprintf(debugfs_buf, "Clock state: %u\n", in process_api_request()
246 sprintf(debugfs_buf, "Divider Value: %d\n", in process_api_request()
255 sprintf(debugfs_buf, in process_api_request()
270 sprintf(debugfs_buf, "Clock name = %s\n", in process_api_request()
278 sprintf(debugfs_buf, in process_api_request()
[all …]
/drivers/xen/
A Dsys-hypervisor.c42 return sprintf(buffer, "xen\n"); in type_show()
71 return sprintf(buffer, "%s\n", type); in guest_type_show()
111 ret = sprintf(buffer, "%s\n", extra); in extra_show()
155 ret = sprintf(buffer, "%s\n", val); in uuid_show_fallback()
167 ret = sprintf(buffer, "%pU\n", uuid); in uuid_show()
262 ret = sprintf(buffer, "%s\n", caps); in capabilities_show()
280 ret = sprintf(buffer, "%s\n", cset); in changeset_show()
315 ret = sprintf(buffer, "%x\n", ret); in pagesize_show()
330 ret = sprintf(buffer, "%08x", info.submap); in xen_feature_show()
366 ret = sprintf(buffer, "<denied>"); in buildid_show()
[all …]
/drivers/misc/genwqe/
A Dcard_sysfs.c45 return sprintf(buf, "%s\n", cs[cd->card_state]); in status_show()
56 return sprintf(buf, "%s\n", app_name); in appid_show()
69 return sprintf(buf, "%016llx.%016llx\n", slu_id, app_id); in version_show()
80 return sprintf(buf, "%s\n", (card_type >= ARRAY_SIZE(genwqe_types)) ? in type_show()
92 return sprintf(buf, "%016llx\n", tempsens); in tempsens_show()
104 return sprintf(buf, "%016llx\n", t); in freerunning_timer_show()
116 return sprintf(buf, "%016llx\n", t); in queue_working_time_show()
128 return sprintf(buf, "%lld\n", base_clock); in base_clock_show()
155 return sprintf(buf, "%d\n", curr_bitstream); in curr_bitstream_show()
181 return sprintf(buf, "%d\n", next_bitstream); in next_bitstream_show()
/drivers/firmware/
A Discsi_ibft.c210 str += sprintf(buf, "%pI4", ip + 12); in sprintf_ipaddr()
215 str += sprintf(str, "%pI6", ip); in sprintf_ipaddr()
217 str += sprintf(str, "\n"); in sprintf_ipaddr()
223 return sprintf(str, "%.*s\n", len, buf); in sprintf_string()
304 str += sprintf(str, "%d\n", nic->hdr.index); in ibft_attr_show_nic()
317 str += sprintf(str, "%pI4", &val); in ibft_attr_show_nic()
323 str += sprintf(str, "%d\n", nic->origin); in ibft_attr_show_nic()
338 str += sprintf(str, "%d\n", nic->vlan); in ibft_attr_show_nic()
341 str += sprintf(str, "%pM\n", nic->mac); in ibft_attr_show_nic()
376 str += sprintf(str, "%d\n", tgt->port); in ibft_attr_show_target()
[all …]
/drivers/usb/usbip/
A Dvhci_sysfs.c41 *out += sprintf(*out, "hs %04u %03u ", in port_show_vhci()
44 *out += sprintf(*out, "ss %04u %03u ", in port_show_vhci()
48 *out += sprintf(*out, "%03u %08x ", in port_show_vhci()
50 *out += sprintf(*out, "%06u %s", in port_show_vhci()
56 *out += sprintf(*out, "000000 0-0"); in port_show_vhci()
59 *out += sprintf(*out, "\n"); in port_show_vhci()
113 out += sprintf(out, "hs %04u %03u ", in status_show_not_ready()
117 out += sprintf(out, "\n"); in status_show_not_ready()
121 out += sprintf(out, "ss %04u %03u ", in status_show_not_ready()
125 out += sprintf(out, "\n"); in status_show_not_ready()
[all …]
/drivers/net/ethernet/cavium/liquidio/
A Dlio_ethtool.c697 sprintf((char *)bytes, in lio_get_eeprom()
2554 len += sprintf(s + len, in cn23xx_read_csr_reg()
2581 len += sprintf( in cn23xx_read_csr_reg()
2588 len += sprintf(s + len, in cn23xx_read_csr_reg()
2620 len += sprintf(s + len, in cn23xx_read_csr_reg()
2670 len += sprintf( in cn23xx_read_csr_reg()
2678 len += sprintf( in cn23xx_read_csr_reg()
2717 len += sprintf( in cn23xx_read_csr_reg()
2726 len += sprintf( in cn23xx_read_csr_reg()
2735 len += sprintf( in cn23xx_read_csr_reg()
[all …]
/drivers/char/tpm/
A Dtpm-sysfs.c58 sprintf(str, in pubek_show()
72 str += sprintf(str, "%16ph\n", &out->modulus[i]); in pubek_show()
107 str += sprintf(str, "PCR-%02d: ", i); in pcrs_show()
109 str += sprintf(str, "%02X ", digest[j]); in pcrs_show()
110 str += sprintf(str, "\n"); in pcrs_show()
176 rc = sprintf(buf, "%d\n", cap.owned); in owned_show()
222 str += sprintf(str, "Manufacturer: 0x%x\n", in caps_show()
243 str += sprintf(str, in caps_show()
278 return sprintf(buf, "%d %d %d [%s]\n", in durations_show()
292 return sprintf(buf, "%d %d %d %d [%s]\n", in timeouts_show()
[all …]
/drivers/usb/core/
A Ddevices.c209 start += sprintf(start, format_iface, in usb_dump_interface_descriptor()
242 start += sprintf(start, format_iad, in usb_dump_iad_descriptor()
269 start += sprintf(start, format_config, in usb_dump_config_descriptor()
290 return start + sprintf(start, "(null Cfg. desc.)\n"); in usb_dump_config()
321 start += sprintf(start, format_device1, in usb_dump_device_descriptor()
331 start += sprintf(start, format_device2, in usb_dump_device_descriptor()
347 start += sprintf(start, format_string_manufacturer, in usb_dump_device_strings()
357 start += sprintf(start, format_string_serialnumber, in usb_dump_device_strings()
436 data_end = pages_start + sprintf(pages_start, format_topo, in usb_device_dump()
461 data_end += sprintf(data_end, format_bandwidth, in usb_device_dump()
[all …]
/drivers/pps/
A Dsysfs.c26 return sprintf(buf, "%lld.%09d#%d\n", in assert_show()
40 return sprintf(buf, "%lld.%09d#%d\n", in clear_show()
51 return sprintf(buf, "%4x\n", pps->info.mode); in mode_show()
60 return sprintf(buf, "%d\n", !!pps->info.echo); in echo_show()
69 return sprintf(buf, "%s\n", pps->info.name); in name_show()
78 return sprintf(buf, "%s\n", pps->info.path); in path_show()
/drivers/staging/iio/addac/
A Dadt7316.c473 return sprintf(buf, "%d\n", in adt7316_show_disable_averaging()
512 return sprintf(buf, "%d\n", in adt7316_show_enable_smbus_timeout()
676 return sprintf(buf, "%d\n", in adt7316_show_AIN_internal_Vref()
719 return sprintf(buf, "%d\n", in adt7316_show_enable_prop_DACA()
758 return sprintf(buf, "%d\n", in adt7316_show_enable_prop_DACB()
845 return sprintf(buf, in adt7316_show_DAC_update_mode()
848 return sprintf(buf, in adt7316_show_DAC_update_mode()
851 return sprintf(buf, in adt7316_show_DAC_update_mode()
958 return sprintf(buf, "%d\n", in adt7316_show_DA_AB_Vref_bypass()
997 return sprintf(buf, "%d\n", in adt7316_show_DA_CD_Vref_bypass()
[all …]
/drivers/hwtracing/coresight/
A Dcoresight-etm3x-sysfs.c20 return sprintf(buf, "%#lx\n", val); in nr_addr_cmp_show()
30 return sprintf(buf, "%#lx\n", val); in nr_cntr_show()
41 return sprintf(buf, "%#lx\n", val); in nr_ctxid_cmp_show()
61 return sprintf(buf, "%#lx\n", val); in etmsr_show()
104 return sprintf(buf, "%#lx\n", val); in mode_show()
189 return sprintf(buf, "%#lx\n", val); in trigger_event_show()
219 return sprintf(buf, "%#lx\n", val); in enable_event_show()
249 return sprintf(buf, "%#lx\n", val); in fifofull_level_show()
279 return sprintf(buf, "%#lx\n", val); in addr_idx_show()
329 return sprintf(buf, "%#lx\n", val); in addr_single_show()
[all …]
/drivers/soundwire/
A Dsysfs_slave.c75 return sprintf(buf, format_string, slave->prop.field); \
147 return sprintf(buf, format_string, slave->prop.dp0_prop->field);\
165 size += sprintf(buf + size, "%d ", in words_show()
167 size += sprintf(buf + size, "\n"); in words_show()
233 return sprintf(buf, "%s\n", slave_status[slave->status]); in status_show()
243 return sprintf(buf, "%s", "N/A"); in device_number_show()
245 return sprintf(buf, "%d", slave->dev_num); in device_number_show()
/drivers/nvdimm/
A Dcore.c248 len += sprintf(buf + len, "[%ld] ", supported[i]); in nd_size_select_show()
250 len += sprintf(buf + len, "%ld ", supported[i]); in nd_size_select_show()
251 len += sprintf(buf + len, "\n"); in nd_size_select_show()
289 len += sprintf(buf + len, "\n"); in commands_show()
345 return sprintf(buf, "1\n"); in wait_probe_show()
374 return sprintf(buf, "quiesce\n"); in capability_show()
376 return sprintf(buf, "live\n"); in capability_show()
403 return sprintf(buf, "idle\n"); in activate_show()
405 return sprintf(buf, "busy\n"); in activate_show()
407 return sprintf(buf, "armed\n"); in activate_show()
[all …]
/drivers/net/ethernet/freescale/dpaa/
A Ddpaa_eth_sysfs.c20 return sprintf(buf, "%llx", in dpaa_eth_show_addr()
23 return sprintf(buf, "none"); in dpaa_eth_show_addr()
69 bytes += sprintf(buf + bytes, in dpaa_eth_show_fqids()
72 bytes += sprintf(buf + bytes, in dpaa_eth_show_fqids()
91 bytes += sprintf(buf + bytes, "%s: %d\n", prevstr, in dpaa_eth_show_fqids()
94 bytes += sprintf(buf + bytes, "%s: %d - %d\n", prevstr, in dpaa_eth_show_fqids()
/drivers/parisc/
A Dpdc_stable.c241 out += sprintf(out, "%d/", devpath->path.bc[i]); in pdcspath_hwpath_read()
359 out += sprintf(out, "%u ", devpath->layers[i]); in pdcspath_layer_read()
361 out += sprintf(out, "\n"); in pdcspath_layer_read()
526 out += sprintf(out, "%ld\n", pdcs_size); in pdcs_size_read()
652 out += sprintf(out, "0x%.8x\n", result[0]); in pdcs_osdep1_read()
653 out += sprintf(out, "0x%.8x\n", result[1]); in pdcs_osdep1_read()
654 out += sprintf(out, "0x%.8x\n", result[2]); in pdcs_osdep1_read()
655 out += sprintf(out, "0x%.8x\n", result[3]); in pdcs_osdep1_read()
710 out += sprintf(out, "All"); in pdcs_fastsize_read()
711 out += sprintf(out, "\n"); in pdcs_fastsize_read()
[all …]

Completed in 67 milliseconds

12345678910>>...51