| /linux/drivers/usb/cdns3/ |
| H A D | cdns3-debug.h | 21 ret = sprintf(str, "IRQ %08x = ", usb_ists); in cdns3_decode_usb_irq() 24 ret += sprintf(str + ret, "Connection %s\n", in cdns3_decode_usb_irq() 28 ret += sprintf(str + ret, "Disconnection "); in cdns3_decode_usb_irq() 30 ret += sprintf(str + ret, "suspended "); in cdns3_decode_usb_irq() 32 ret += sprintf(str + ret, "L1 enter "); in cdns3_decode_usb_irq() 34 ret += sprintf(str + ret, "L1 exit "); in cdns3_decode_usb_irq() 36 ret += sprintf(str + ret, "L2 enter "); in cdns3_decode_usb_irq() 38 ret += sprintf(str + ret, "L2 exit "); in cdns3_decode_usb_irq() 40 ret += sprintf(str + ret, "U3 exit "); in cdns3_decode_usb_irq() 42 ret += sprintf(str + ret, "Warm Reset "); in cdns3_decode_usb_irq() [all …]
|
| /linux/net/mac80211/ |
| H A D | rc80211_minstrel_ht_debugfs.c | 78 p += sprintf(p, "HT%c0 ", htmode); in minstrel_ht_stats_dump() 79 p += sprintf(p, "%cGI ", gimode); in minstrel_ht_stats_dump() 80 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump() 82 p += sprintf(p, "VHT%c0 ", htmode); in minstrel_ht_stats_dump() 83 p += sprintf(p, "%cGI ", gimode); in minstrel_ht_stats_dump() 84 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump() 86 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() 90 p += sprintf(p, "%cP ", j < 4 ? 'L' : 'S'); in minstrel_ht_stats_dump() [all …]
|
| /linux/drivers/usb/host/ |
| H A D | uhci-debug.c | 51 out += sprintf(out, "%*s[%p] link (%08x) ", space, "", td, in uhci_show_td() 53 out += sprintf(out, "e%d %s%s%s%s%s%s%s%s%s%sLength=%x ", in uhci_show_td() 85 out += sprintf(out, "MaxLen=%x DT%d EndPt=%x Dev=%x, PID=%x(%s) ", in uhci_show_td() 92 out += sprintf(out, "(buf=%08x)\n", hc32_to_cpu(uhci, td->buffer)); in uhci_show_td() 96 out += sprintf(out, " ...\n"); in uhci_show_td() 109 out += sprintf(out, "urb_priv [%p] ", urbp); in uhci_show_urbp() 110 out += sprintf(out, "urb [%p] ", urbp->urb); in uhci_show_urbp() 111 out += sprintf(out, "qh [%p] ", urbp->qh); in uhci_show_urbp() 112 out += sprintf(out, "Dev=%d ", usb_pipedevice(urbp->urb->pipe)); in uhci_show_urbp() 113 out += sprintf(out, "EP=%x(%s) ", usb_pipeendpoint(urbp->urb->pipe), in uhci_show_urbp() [all …]
|
| /linux/drivers/pci/hotplug/ |
| H A D | cpqphp_sysfs.c | 34 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() 59 out += sprintf(out, "start = %8.8x, length = %8.8x\n", res->base, res->length); in show_ctrl() 80 out += sprintf(out, "assigned resources: memory\n"); in show_dev() 84 out += sprintf(out, "start = %8.8x, length = %8.8x\n", res->base, res->length); in show_dev() [all …]
|
| /linux/fs/smb/client/ |
| H A D | cifs_spnego.c | 121 dp += sprintf(dp, "ver=0x%x;host=%s;", CIFS_SPNEGO_UPCALL_VERSION, in cifs_get_spnego_key() 126 dp += sprintf(dp, "ip4=%pI4", &sa->sin_addr); in cifs_get_spnego_key() 128 dp += sprintf(dp, "ip6=%pI6", &sa6->sin6_addr); in cifs_get_spnego_key() 134 dp += sprintf(dp, ";sec=krb5"); in cifs_get_spnego_key() 136 dp += sprintf(dp, ";sec=mskrb5"); in cifs_get_spnego_key() 138 dp += sprintf(dp, ";sec=iakerb"); in cifs_get_spnego_key() 141 dp += sprintf(dp, ";sec=krb5"); in cifs_get_spnego_key() 144 dp += sprintf(dp, ";uid=0x%x", in cifs_get_spnego_key() 147 dp += sprintf(dp, ";creduid=0x%x", in cifs_get_spnego_key() 151 dp += sprintf(dp, ";user=%s", sesInfo->user_name); in cifs_get_spnego_key() [all …]
|
| /linux/drivers/media/pci/solo6x10/ |
| H A D | solo6x10-core.c | 208 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() 244 out += sprintf(out, "Channel 0 => Input %d\n", val & 0x1f); in input_map_show() 245 out += sprintf(out, "Channel 1 => Input %d\n", (val >> 5) & 0x1f); in input_map_show() 246 out += sprintf(out, "Channel 2 => Input %d\n", (val >> 10) & 0x1f); in input_map_show() 247 out += sprintf(out, "Channel 3 => Input %d\n", (val >> 15) & 0x1f); in input_map_show() 248 out += sprintf(out, "Channel 4 => Input %d\n", (val >> 20) & 0x1f); in input_map_show() 249 out += sprintf(out, "Channel 5 => Input %d\n", (val >> 25) & 0x1f); in input_map_show() 252 out += sprintf(out, "Channel 6 => Input %d\n", val & 0x1f); in input_map_show() [all …]
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | debugfs.c | 88 p += sprintf(p, "driver_name = " "\"mwifiex\"\n"); in mwifiex_info_read() 89 p += sprintf(p, "driver_version = %s", fmt); in mwifiex_info_read() 90 p += sprintf(p, "\nverext = %s", priv->version_str); in mwifiex_info_read() 91 p += sprintf(p, "\ninterface_name=\"%s\"\n", netdev->name); in mwifiex_info_read() 94 p += sprintf(p, "bss_mode=\"%d\"\n", info.bss_mode); in mwifiex_info_read() 96 p += sprintf(p, "bss_mode=\"%s\"\n", bss_modes[info.bss_mode]); in mwifiex_info_read() 98 p += sprintf(p, "media_state=\"%s\"\n", in mwifiex_info_read() 100 p += sprintf(p, "mac_address=\"%pM\"\n", netdev->dev_addr); in mwifiex_info_read() 103 p += sprintf(p, "multicast_count=\"%d\"\n", in mwifiex_info_read() 105 p += sprintf(p, "essid=\"%.*s\"\n", info.ssid.ssid_len, in mwifiex_info_read() [all …]
|
| /linux/drivers/accel/habanalabs/common/ |
| H A D | sysfs.c | 27 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() 106 return sprintf(buf, "%#04x:%#04x:%#04x\n", in vrm_ver_show() 111 return sprintf(buf, "%#04x\n", le32_to_cpu(cpucp_info->infineon_version)); in vrm_ver_show() 128 return sprintf(buf, "%s\n", hdev->asic_prop.uboot_ver); in uboot_ver_show() 136 return sprintf(buf, "%s", hdev->asic_prop.cpucp_info.kernel_version); in armcp_kernel_ver_show() 144 return sprintf(buf, "%s\n", hdev->asic_prop.cpucp_info.cpucp_version); in armcp_ver_show() 152 return sprintf(buf, "0x%08x%08x\n", in cpld_ver_show() 162 return sprintf(buf, "%s", hdev->asic_prop.cpucp_info.kernel_version); in cpucp_kernel_ver_show() [all …]
|
| /linux/drivers/acpi/ |
| H A D | sysfs.c | 97 result = sprintf(buffer, "%-25s\tHex SET\n", "Description"); in param_get_debug_layer() 100 result += sprintf(buffer + result, "%-25s\t0x%08lX [%c]\n", in param_get_debug_layer() 107 sprintf(buffer + result, "%-25s\t0x%08X [%c]\n", "ACPI_ALL_DRIVERS", in param_get_debug_layer() 113 sprintf(buffer + result, in param_get_debug_layer() 125 result = sprintf(buffer, "%-25s\tHex SET\n", "Description"); in param_get_debug_level() 128 result += sprintf(buffer + result, "%-25s\t0x%08lX [%c]\n", in param_get_debug_level() 135 sprintf(buffer + result, "--\ndebug_level = 0x%08X (* = enabled)\n", in param_get_debug_level() 258 return sprintf(buffer, "disable\n"); in param_get_trace_state() 260 return sprintf(buffer, "enable\n"); in param_get_trace_state() 262 return sprintf(buffer, "method-once\n"); in param_get_trace_state() [all …]
|
| /linux/net/bridge/ |
| H A D | br_sysfs_br.c | 70 return sprintf(buf, "%lu\n", jiffies_to_clock_t(br->forward_delay)); in forward_delay_show() 90 return sprintf(buf, "%lu\n", in hello_time_show() 111 return sprintf(buf, "%lu\n", in max_age_show() 132 return sprintf(buf, "%lu\n", jiffies_to_clock_t(br->ageing_time)); in ageing_time_show() 153 return sprintf(buf, "%d\n", br->stp_enabled); in stp_state_show() 176 return sprintf(buf, "%#x\n", br->group_fwd_mask); in group_fwd_mask_show() 203 return sprintf(buf, "%d\n", in priority_show() 238 return sprintf(buf, "%d\n", to_bridge(d)->root_port); in root_port_show() 245 return sprintf(buf, "%d\n", to_bridge(d)->root_path_cost); in root_path_cost_show() 252 return sprintf(buf, "%d\n", to_bridge(d)->topology_change); in topology_change_show() [all …]
|
| H A D | br_sysfs_if.c | 50 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() 139 return sprintf(buf, "%d\n", p->topology_change_ack); in show_change_ack() 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() [all …]
|
| /linux/arch/alpha/kernel/ |
| H A D | bugs.c | 24 return sprintf(buf, "Vulnerable\n"); in cpu_show_meltdown() 26 return sprintf(buf, "Not affected\n"); in cpu_show_meltdown() 33 return sprintf(buf, "Vulnerable\n"); in cpu_show_spectre_v1() 35 return sprintf(buf, "Not affected\n"); in cpu_show_spectre_v1() 42 return sprintf(buf, "Vulnerable\n"); in cpu_show_spectre_v2() 44 return sprintf(buf, "Not affected\n"); in cpu_show_spectre_v2()
|
| /linux/tools/power/x86/turbostat/ |
| H A D | turbostat.c | 2404 sprintf(pathname, "/dev/msr%d", cpu); in get_msr_fd() 2406 sprintf(pathname, "/dev/cpu/%d/msr", cpu); in get_msr_fd() 2713 outp += sprintf(outp, "%susec", (printed++ ? delim : "")); in print_header() 2715 outp += sprintf(outp, "%sTime_Of_Day_Seconds", (printed++ ? delim : "")); in print_header() 2717 outp += sprintf(outp, "%sPackage", (printed++ ? delim : "")); in print_header() 2719 outp += sprintf(outp, "%sDie", (printed++ ? delim : "")); in print_header() 2721 outp += sprintf(outp, "%sL3", (printed++ ? delim : "")); in print_header() 2723 outp += sprintf(outp, "%sNode", (printed++ ? delim : "")); in print_header() 2725 outp += sprintf(outp, "%sCore", (printed++ ? delim : "")); in print_header() 2727 outp += sprintf(outp, "%sCPU", (printed++ ? delim : "")); in print_header() [all …]
|
| /linux/drivers/media/pci/mgb4/ |
| H A D | mgb4_sysfs_in.c | 25 return sprintf(buf, "%d\n", vindev->config->id); in input_id_show() 58 return sprintf(buf, "%s\n", config & (1U << 9) ? "1" : "0"); in oldi_lane_width_show() 125 return sprintf(buf, "%s\n", config & (1U << 8) ? "0" : "1"); in color_mapping_show() 171 return sprintf(buf, "%s\n", status & (1U << 2) ? "1" : "0"); in link_status_show() 182 return sprintf(buf, "%s\n", ((status & (1 << 14)) && in stream_status_show() 194 return sprintf(buf, "%u\n", config >> 16); in video_width_show() 205 return sprintf(buf, "%u\n", config & 0xFFFF); in video_height_show() 224 return sprintf(buf, "%u\n", res); in hsync_status_show() 243 return sprintf(buf, "%u\n", res); in vsync_status_show() 255 return sprintf(buf, "%u\n", sync >> 16); in hsync_gap_length_show() [all …]
|
| /linux/drivers/firmware/xilinx/ |
| H A D | zynqmp-debug.c | 133 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() 225 sprintf(debugfs_buf, "Default QoS: %u\nCurrent QoS: %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() [all …]
|
| /linux/arch/sparc/kernel/ |
| H A D | prom_64.c | 79 sprintf(tmp_buf, "%s@%x,%x", in sun4v_path_component() 94 sprintf(tmp_buf, "%s@%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() 176 sprintf(tmp_buf, "%s@%x,%x", in pci_path_component() 181 sprintf(tmp_buf, "%s@%x", in pci_path_component() 204 sprintf(tmp_buf, "%s@%x,%x", in upa_path_component() [all …]
|
| /linux/arch/mips/kernel/ |
| H A D | segment.c | 25 str += sprintf(str, "%-5s", am_str[am]); in build_segment_config() 33 str += sprintf(str, " %03lx", in build_segment_config() 36 str += sprintf(str, " UND"); in build_segment_config() 39 str += sprintf(str, " %01ld", in build_segment_config() 42 str += sprintf(str, " U"); in build_segment_config() 45 str += sprintf(str, " %01ld\n", in build_segment_config()
|
| /linux/drivers/xen/ |
| H A D | sys-hypervisor.c | 42 return sprintf(buffer, "xen\n"); in type_show() 71 return sprintf(buffer, "%s\n", type); in guest_type_show() 86 return sprintf(buffer, "%d\n", version >> 16); in major_show() 96 return sprintf(buffer, "%d\n", version & 0xff); in minor_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() 189 ret = sprintf(buffer, "%s\n", info->compiler); in compiler_show() 207 ret = sprintf(buffer, "%s\n", info->compile_by); in compiled_by_show() 225 ret = sprintf(buffer, "%s\n", info->compile_date); in compile_date_show() [all …]
|
| /linux/drivers/misc/genwqe/ |
| H A D | card_sysfs.c | 45 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()
|
| /linux/arch/arm/kernel/ |
| H A D | spectre.c | 20 return sprintf(buf, "Mitigation: __user pointer sanitization\n"); in cpu_show_spectre_v1() 39 return sprintf(buf, "%s\n", "Not affected"); in cpu_show_spectre_v2() 42 return sprintf(buf, "%s\n", "Vulnerable"); in cpu_show_spectre_v2() 45 return sprintf(buf, "Vulnerable: Unprivileged eBPF enabled\n"); in cpu_show_spectre_v2() 70 return sprintf(buf, "Mitigation: %s\n", method); in cpu_show_spectre_v2()
|
| /linux/sound/ppc/ |
| H A D | powermac.c | 60 sprintf(card->longname, "%s (Dev %d) Sub-frame %d", in snd_pmac_probe() 69 sprintf(card->longname, "%s (Dev %d) Sub-frame %d", in snd_pmac_probe() 78 sprintf(card->driver, "PMac %s", name_ext); in snd_pmac_probe() 79 sprintf(card->shortname, "PowerMac %s", name_ext); in snd_pmac_probe() 80 sprintf(card->longname, "%s (Dev %d) Sub-frame %d", in snd_pmac_probe() 92 sprintf(card->driver, "PMac %s", name_ext); in snd_pmac_probe() 93 sprintf(card->shortname, "PowerMac %s", name_ext); in snd_pmac_probe() 100 sprintf(card->longname, "%s%s Rev %d", in snd_pmac_probe()
|
| /linux/drivers/pps/ |
| H A D | sysfs.c | 26 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()
|
| /linux/drivers/firmware/ |
| H A D | iscsi_ibft.c | 210 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() 262 str += sprintf(str, "%d\n", initiator->hdr.index); in ibft_attr_show_initiator() 265 str += sprintf(str, "%d\n", initiator->hdr.flags); in ibft_attr_show_initiator() 304 str += sprintf(str, "%d\n", nic->hdr.index); in ibft_attr_show_nic() 307 str += sprintf(str, "%d\n", nic->hdr.flags); in ibft_attr_show_nic() 317 str += sprintf(str, "%pI4", &val); in ibft_attr_show_nic() 320 str += sprintf(str, "%d\n", nic->subnet_mask_prefix); in ibft_attr_show_nic() [all …]
|
| /linux/drivers/usb/usbip/ |
| H A D | vhci_sysfs.c | 41 *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() 55 *out += sprintf(*out, "000 00000000 "); 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() 116 out += sprintf(out, "000 00000000 0000000000000000 0-0"); in status_show_not_ready() 117 out += sprintf(out, "\n"); in status_show_not_ready() [all …]
|
| /linux/drivers/char/tpm/ |
| H A D | tpm-sysfs.c | 58 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() 132 rc = sprintf(buf, "%d\n", !cap.perm_flags.disable); in enabled_show() 154 rc = sprintf(buf, "%d\n", !cap.perm_flags.deactivated); in active_show() 176 rc = sprintf(buf, "%d\n", cap.owned); in owned_show() 198 rc = sprintf(buf, "%d\n", cap.stclear_flags.deactivated); in temp_deactivated_show() 222 str += sprintf(str, "Manufacturer: 0x%x\n", in caps_show() [all …]
|