Home
last modified time | relevance | path

Searched refs:str (Results 1 – 25 of 643) sorted by relevance

12345678910>>...26

/drivers/gpu/drm/arm/display/komeda/
A Dkomeda_event.c13 char *str; member
27 free_sz = str->sz - str->len - 1; in komeda_sprintf()
33 num = vsnprintf(str->str + str->len, free_sz, fmt, args); in komeda_sprintf()
38 str->len += num; in komeda_sprintf()
41 str->len = str->sz - 1; in komeda_sprintf()
51 komeda_sprintf(str, msg); in evt_sprintf()
102 if (str->len > 0 && (str->str[str->len - 1] == '|')) { in evt_str()
103 str->str[str->len - 1] = 0; in evt_str()
104 str->len--; in evt_str()
140 str.str = msg; in komeda_print_events()
[all …]
/drivers/media/platform/amphion/
A Dvpu_dbg.c81 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
88 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
102 num = scnprintf(str, sizeof(str), " %d(%d)", in vpu_dbg_instance()
112 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
126 num = scnprintf(str, sizeof(str), " %d(%d)", in vpu_dbg_instance()
156 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
180 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
193 num = scnprintf(str, sizeof(str), "\n"); in vpu_dbg_instance()
215 num = scnprintf(str, sizeof(str), "flow :\n"); in vpu_dbg_instance()
296 num = scnprintf(str, sizeof(str), in vpu_dbg_core()
[all …]
/drivers/usb/cdns3/
A Dcdns3-debug.h46 ret += sprintf(str + ret, "Reset"); in cdns3_decode_usb_irq()
48 return str; in cdns3_decode_usb_irq()
62 ret += sprintf(str + ret, "IOC "); in cdns3_decode_ep_irq()
64 ret += sprintf(str + ret, "ISP "); in cdns3_decode_ep_irq()
86 return str; 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()
141 return str; in cdns3_dbg_ring()
146 ret += sprintf(str + ret, in cdns3_dbg_ring()
[all …]
A Dcdnsp-debug.h190 ret = scnprintf(str, size, in cdnsp_decode_trb()
203 ret = scnprintf(str, size, in cdnsp_decode_trb()
220 ret = scnprintf(str, size, in cdnsp_decode_trb()
242 ret = scnprintf(str, size, in cdnsp_decode_trb()
258 ret = scnprintf(str, size, in cdnsp_decode_trb()
274 ret = scnprintf(str, size, in cdnsp_decode_trb()
388 return str; in cdnsp_decode_trb()
394 static char str[1024]; in cdnsp_decode_slot_context() local
425 return str; in cdnsp_decode_slot_context()
496 return str; in cdnsp_decode_portsc()
[all …]
/drivers/firmware/
A Discsi_ibft.c215 str += sprintf(str, "%pI6", ip); in sprintf_ipaddr()
217 str += sprintf(str, "\n"); in sprintf_ipaddr()
310 str += sprintf_ipaddr(str, nic->ip_addr); 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()
326 str += sprintf_ipaddr(str, nic->gateway); in ibft_attr_show_nic()
335 str += sprintf_ipaddr(str, nic->dhcp); 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/common/
A Ddebug.c15 __u16 wLength, char *str, size_t size) in usb_decode_get_status() argument
22 snprintf(str, size, in usb_decode_get_status()
74 __u16 wIndex, char *str, size_t size) in usb_decode_set_clear_feature() argument
107 __u16 wLength, char *str, size_t size) in usb_decode_get_set_descriptor() argument
195 char *str, size_t size) in usb_decode_synch_frame() argument
218 snprintf(str, size, in usb_decode_ctrl_generic()
241 wIndex, str, size); in usb_decode_ctrl_standard()
244 usb_decode_set_address(wValue, str, size); in usb_decode_ctrl_standard()
249 wIndex, wLength, str, size); in usb_decode_ctrl_standard()
267 usb_decode_set_sel(wLength, str, size); in usb_decode_ctrl_standard()
[all …]
/drivers/usb/gadget/udc/cdns2/
A Dcdns2-debug.h48 return str; in cdns2_decode_usb_irq()
80 return str; in cdns2_decode_dma_irq()
100 char *str, size_t size) in cdns2_raw_ring() argument
112 ret += scnprintf(str + ret, size - ret, in cdns2_raw_ring()
118 ret += scnprintf(str + ret, size - ret, in cdns2_raw_ring()
122 ret += scnprintf(str + ret, size - ret, in cdns2_raw_ring()
129 return str; in cdns2_raw_ring()
146 return str; in cdns2_raw_ring()
169 ret = scnprintf(str, size, in cdns2_decode_trb()
179 ret = scnprintf(str, size, in cdns2_decode_trb()
[all …]
/drivers/memory/
A Dti-emif-sram-pm.S51 str r1, [r2, #EMIF_SDCFG_VAL_OFFSET]
54 str r1, [r2, #EMIF_REF_CTRL_VAL_OFFSET]
120 str r1, [r4, r5]
143 str r1, [r0, #EMIF_DDR_PHY_CTRL_1]
147 str r1, [r0, #EMIF_SDRAM_TIMING_1]
151 str r1, [r0, #EMIF_SDRAM_TIMING_2]
155 str r1, [r0, #EMIF_SDRAM_TIMING_3]
169 str r1, [r0, #EMIF_COS_CONFIG]
181 str r1, [r0, #EMIF_OCP_CONFIG]
200 str r1, [r0, #EMIF_DLL_CALIB_CTRL]
[all …]
/drivers/mmc/core/
A Ddebugfs.c60 const char *str; in mmc_ios_show() local
83 str = "invalid"; in mmc_ios_show()
99 str = "invalid"; in mmc_ios_show()
106 str = "off"; in mmc_ios_show()
109 str = "up"; in mmc_ios_show()
112 str = "on"; in mmc_ios_show()
115 str = "invalid"; in mmc_ios_show()
124 str = "legacy"; in mmc_ios_show()
165 str = "3.30 V"; in mmc_ios_show()
168 str = "1.80 V"; in mmc_ios_show()
[all …]
/drivers/usb/dwc3/
A Ddebug.h207 snprintf(str, size, "Disconnect: [%s]", in dwc3_gadget_event_string()
211 snprintf(str, size, "Reset [%s]", in dwc3_gadget_event_string()
223 snprintf(str, size, "WakeUp [%s]", in dwc3_gadget_event_string()
227 snprintf(str, size, "Suspend [%s]", in dwc3_gadget_event_string()
243 snprintf(str, size, "Overflow [%s]", in dwc3_gadget_event_string()
247 snprintf(str, size, "UNKNOWN"); in dwc3_gadget_event_string()
250 return str; in dwc3_gadget_event_string()
282 scnprintf(str + len, size - len, in dwc3_ep_event_string()
302 scnprintf(str + len, size - len, in dwc3_ep_event_string()
306 scnprintf(str + len, size - len, in dwc3_ep_event_string()
[all …]
/drivers/acpi/
A Dosi.c77 if (str == NULL || *str == '\0') { in acpi_osi_setup()
83 if (*str == '!') { in acpi_osi_setup()
84 str++; in acpi_osi_setup()
85 if (*str == '\0') { in acpi_osi_setup()
194 char *str; in acpi_osi_setup_late() local
209 str = osi->string; in acpi_osi_setup_late()
210 if (*str == '\0') in acpi_osi_setup_late()
226 if (str && !strcmp("Linux", str)) in osi_setup()
228 else if (str && !strcmp("!Linux", str)) in osi_setup()
230 else if (str && !strcmp("Darwin", str)) in osi_setup()
[all …]
A Dacpi_configfs.c106 return sysfs_emit(str, "%.*s\n", ACPI_NAMESEG_SIZE, h->signature); in acpi_table_signature_show()
109 static ssize_t acpi_table_length_show(struct config_item *cfg, char *str) in acpi_table_length_show() argument
116 return sysfs_emit(str, "%d\n", h->length); in acpi_table_length_show()
126 return sysfs_emit(str, "%d\n", h->revision); in acpi_table_revision_show()
129 static ssize_t acpi_table_oem_id_show(struct config_item *cfg, char *str) in acpi_table_oem_id_show() argument
136 return sysfs_emit(str, "%.*s\n", ACPI_OEM_ID_SIZE, h->oem_id); in acpi_table_oem_id_show()
156 return sysfs_emit(str, "%d\n", h->oem_revision); in acpi_table_oem_revision_show()
160 char *str) in acpi_table_asl_compiler_id_show() argument
167 return sysfs_emit(str, "%.*s\n", ACPI_NAMESEG_SIZE, h->asl_compiler_id); in acpi_table_asl_compiler_id_show()
171 char *str) in acpi_table_asl_compiler_revision_show() argument
[all …]
/drivers/net/ethernet/synopsys/
A Ddwc-xlgmac-common.c547 str = "RESERVED"; in xlgmac_print_all_hw_features()
550 str = "INTERNAL"; in xlgmac_print_all_hw_features()
553 str = "EXTERNAL"; in xlgmac_print_all_hw_features()
556 str = "BOTH"; in xlgmac_print_all_hw_features()
576 str = "1 KBytes"; in xlgmac_print_all_hw_features()
579 str = "2 KBytes"; in xlgmac_print_all_hw_features()
582 str = "4 KBytes"; in xlgmac_print_all_hw_features()
585 str = "8 KBytes"; in xlgmac_print_all_hw_features()
603 str = "RESERVED"; in xlgmac_print_all_hw_features()
618 str = "1 KBytes"; in xlgmac_print_all_hw_features()
[all …]
/drivers/of/
A Dmodule.c24 if ((len > 0 && !str) || len < 0) in of_modalias()
35 str += csize; in of_modalias()
42 for (c = str; c; ) { in of_modalias()
48 str += csize; in of_modalias()
56 char *str; in of_request_module() local
70 str = kmalloc(size, GFP_KERNEL); in of_request_module()
71 if (!str) in of_request_module()
74 of_modalias(np, str, size); in of_request_module()
75 str[size - 1] = '\0'; in of_request_module()
76 ret = request_module(str); in of_request_module()
[all …]
/drivers/iommu/
A Dirq_remapping.c50 static __init int setup_nointremap(char *str) in setup_nointremap() argument
57 static __init int setup_irqremap(char *str) in setup_irqremap() argument
59 if (!str) in setup_irqremap()
62 while (*str) { in setup_irqremap()
63 if (!strncmp(str, "on", 2)) { in setup_irqremap()
66 } else if (!strncmp(str, "off", 3)) { in setup_irqremap()
69 } else if (!strncmp(str, "nosid", 5)) in setup_irqremap()
73 else if (!strncmp(str, "nopost", 6)) in setup_irqremap()
77 str += strcspn(str, ","); in setup_irqremap()
78 while (*str == ',') in setup_irqremap()
[all …]
/drivers/md/
A Ddm-init.c93 *str = skip_spaces(*str); in str_field_delimit()
94 s = strchr(*str, separator); in str_field_delimit()
98 *str = strim(*str); in str_field_delimit()
120 field[0] = str; in dm_parse_table_entry()
164 char *table_entry = str; in dm_parse_table()
199 field[0] = str; in dm_parse_device_entry()
243 char *device = str; in dm_parse_devices()
245 DMDEBUG("parsing \"%s\"", str); in dm_parse_devices()
275 char *str; in dm_init_init() local
286 if (!str) in dm_init_init()
[all …]
A Dmd-autodetect.c60 static int __init md_setup(char *str) in md_setup() argument
67 if (*str == 'd') { in md_setup()
69 str++; in md_setup()
75 str1 = str; in md_setup()
93 get_option(&str, &fault) != 2) { in md_setup()
107 str = str1; in md_setup()
115 minor, pername, str); in md_setup()
233 len = strlen(str) + 1; in raid_setup()
237 char *comma = strchr(str+pos, ','); in raid_setup()
240 wlen = (comma-str)-pos; in raid_setup()
[all …]
/drivers/usb/host/
A Dxhci.h2270 return str; in xhci_decode_trb()
2279 str[0] = '\0'; in xhci_decode_ctrl_ctx()
2300 return str; in xhci_decode_ctrl_ctx()
2350 return str; in xhci_decode_slot_context()
2396 return str; in xhci_decode_portsc()
2436 return str; in xhci_decode_portsc()
2446 return str; in xhci_decode_usbsts()
2467 return str; in xhci_decode_usbsts()
2481 return str; in xhci_decode_doorbell()
2495 return str; in xhci_decode_doorbell()
[all …]
/drivers/platform/x86/dell/dell-wmi-sysman/
A Dstring-attributes.c13 get_instance_id(str);
54 attribute_s_property_show(display_name_language_code, str);
58 attribute_s_property_show(display_name, str);
62 attribute_s_property_show(default_value, str);
66 attribute_property_store(current_value, str);
70 attribute_s_property_show(dell_modifier, str);
74 attribute_n_property_show(min_length, str);
78 attribute_n_property_show(max_length, str);
145 if (check_property_type(str, MODIFIER, ACPI_TYPE_STRING)) in populate_str_data()
149 if (check_property_type(str, MIN_LEN, ACPI_TYPE_INTEGER)) in populate_str_data()
[all …]
/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_ethtool.c353 .str = "if_in_discards",
357 .str = "if_out_discards",
361 .str = "if_out_errors",
451 .str = "ecn_marked",
514 .str = "rx_octets_prio",
518 .str = "rx_frames_prio",
522 .str = "tx_octets_prio",
526 .str = "tx_frames_prio",
530 .str = "rx_pause_prio",
538 .str = "tx_pause_prio",
[all …]
/drivers/net/ethernet/freescale/dpaa/
A Ddpaa_eth_sysfs.c37 char *str; in dpaa_eth_show_fqids() local
42 str = "Rx default"; in dpaa_eth_show_fqids()
45 str = "Rx error"; in dpaa_eth_show_fqids()
48 str = "Rx PCD"; in dpaa_eth_show_fqids()
54 str = "Tx confirmation (mq)"; in dpaa_eth_show_fqids()
57 str = "Tx error"; in dpaa_eth_show_fqids()
60 str = "Tx"; in dpaa_eth_show_fqids()
63 str = "Unknown"; in dpaa_eth_show_fqids()
67 str != prevstr)) { in dpaa_eth_show_fqids()
78 str == prevstr) { in dpaa_eth_show_fqids()
[all …]
/drivers/char/tpm/
A Dtpm-sysfs.c38 char *str = buf; in pubek_show() local
57 str += in pubek_show()
72 str += sprintf(str, "%16ph\n", &out->modulus[i]); in pubek_show()
104 str = buf; in pcrs_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()
222 str += sprintf(str, "Manufacturer: 0x%x\n", in caps_show()
243 str += sprintf(str, in caps_show()
390 str += sprintf(str, "%02X", digest.digest[i]); in pcr_value_show()
[all …]
/drivers/media/platform/st/sti/delta/
A Ddelta-debug.c12 char *delta_streaminfo_str(struct delta_streaminfo *s, char *str, in delta_streaminfo_str() argument
18 snprintf(str, len, in delta_streaminfo_str()
31 return str; in delta_streaminfo_str()
34 char *delta_frameinfo_str(struct delta_frameinfo *f, char *str, in delta_frameinfo_str() argument
40 snprintf(str, len, in delta_frameinfo_str()
52 return str; in delta_frameinfo_str()
59 unsigned char str[100] = ""; in delta_trace_summary() local
66 delta_streaminfo_str(s, str, sizeof(str)), in delta_trace_summary()
/drivers/crypto/marvell/octeontx/
A Dotx_cptvf_mbox.c18 char *str = "Unknown"; in get_mbox_opcode_str() local
22 str = "UP"; in get_mbox_opcode_str()
26 str = "DOWN"; in get_mbox_opcode_str()
30 str = "READY"; in get_mbox_opcode_str()
34 str = "QLEN"; in get_mbox_opcode_str()
38 str = "QBIND_GRP"; in get_mbox_opcode_str()
42 str = "VQ_PRIORITY"; in get_mbox_opcode_str()
46 str = "PF_TYPE"; in get_mbox_opcode_str()
50 str = "ACK"; in get_mbox_opcode_str()
54 str = "NACK"; in get_mbox_opcode_str()
[all …]
/drivers/char/ipmi/
A Dipmi_si_hardcode.c96 char *str; in ipmi_hardcode_init() local
102 str = si_type_str; in ipmi_hardcode_init()
103 if (*str != '\0') { in ipmi_hardcode_init()
104 for (i = 0; (i < SI_MAX_PARMS) && (*str != '\0'); i++) { in ipmi_hardcode_init()
105 si_type[i] = str; in ipmi_hardcode_init()
106 str = strchr(str, ','); in ipmi_hardcode_init()
107 if (str) { in ipmi_hardcode_init()
108 *str = '\0'; in ipmi_hardcode_init()
109 str++; in ipmi_hardcode_init()

Completed in 838 milliseconds

12345678910>>...26