/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_event.c | 13 char *str; member 21 static int komeda_sprintf(struct komeda_str *str, const char *fmt, ...) in komeda_sprintf() argument 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() 48 static void evt_sprintf(struct komeda_str *str, u64 evt, const char *msg) in evt_sprintf() argument 51 komeda_sprintf(str, msg); in evt_sprintf() 54 static void evt_str(struct komeda_str *str, u64 events) in evt_str() argument 57 komeda_sprintf(str, "None"); in evt_str() [all …]
|
/drivers/usb/cdns3/ |
D | cdns3-debug.h | 15 static inline char *cdns3_decode_usb_irq(char *str, in cdns3_decode_usb_irq() argument 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() [all …]
|
D | cdnsp-debug.h | 179 static inline const char *cdnsp_decode_trb(char *str, size_t size, u32 field0, in cdnsp_decode_trb() argument 192 ret = snprintf(str, size, in cdnsp_decode_trb() 205 ret = snprintf(str, size, in cdnsp_decode_trb() 217 ret = snprintf(str, size, "%s: flags %c", in cdnsp_decode_trb() 222 ret = snprintf(str, size, in cdnsp_decode_trb() 244 ret = snprintf(str, size, in cdnsp_decode_trb() 260 ret = snprintf(str, size, in cdnsp_decode_trb() 276 ret = snprintf(str, size, in cdnsp_decode_trb() 296 ret = snprintf(str, size, "%s: flags %c", in cdnsp_decode_trb() 301 ret = snprintf(str, size, "%s: slot %ld flags %c", in cdnsp_decode_trb() [all …]
|
/drivers/media/platform/amphion/ |
D | vpu_dbg.c | 63 char str[128]; in vpu_dbg_instance() local 70 num = scnprintf(str, sizeof(str), "[%s]\n", vpu_core_type_desc(inst->type)); in vpu_dbg_instance() 71 if (seq_write(s, str, num)) in vpu_dbg_instance() 74 num = scnprintf(str, sizeof(str), "tgig = %d,pid = %d\n", inst->tgid, inst->pid); in vpu_dbg_instance() 75 if (seq_write(s, str, num)) in vpu_dbg_instance() 77 num = scnprintf(str, sizeof(str), "state = %s\n", vpu_codec_state_name(inst->state)); in vpu_dbg_instance() 78 if (seq_write(s, str, num)) in vpu_dbg_instance() 80 num = scnprintf(str, sizeof(str), in vpu_dbg_instance() 83 if (seq_write(s, str, num)) in vpu_dbg_instance() 87 num = scnprintf(str, sizeof(str), in vpu_dbg_instance() [all …]
|
/drivers/firmware/ |
D | iscsi_ibft.c | 202 char *str = buf; in sprintf_ipaddr() local 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() 218 return str - buf; in sprintf_ipaddr() 221 static ssize_t sprintf_string(char *str, int len, char *buf) in sprintf_string() argument 223 return sprintf(str, "%.*s\n", len, buf); in sprintf_string() 255 char *str = buf; in ibft_attr_show_initiator() local 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() [all …]
|
/drivers/usb/common/ |
D | debug.c | 15 __u16 wLength, char *str, size_t size) in usb_decode_get_status() argument 19 snprintf(str, size, "Get Device Status(Length = %d)", wLength); in usb_decode_get_status() 22 snprintf(str, size, in usb_decode_get_status() 27 snprintf(str, size, "Get Endpoint Status(ep%d%s)", in usb_decode_get_status() 74 __u16 wIndex, char *str, size_t size) in usb_decode_set_clear_feature() argument 78 snprintf(str, size, "%s Device Feature(%s%s)", in usb_decode_set_clear_feature() 85 snprintf(str, size, "%s Interface Feature(%s)", in usb_decode_set_clear_feature() 91 snprintf(str, size, "%s Endpoint Feature(%s ep%d%s)", in usb_decode_set_clear_feature() 100 static void usb_decode_set_address(__u16 wValue, char *str, size_t size) in usb_decode_set_address() argument 102 snprintf(str, size, "Set Address(Addr = %02x)", wValue); in usb_decode_set_address() [all …]
|
/drivers/mmc/core/ |
D | debugfs.c | 57 const char *str; in mmc_ios_show() local 74 str = "open drain"; in mmc_ios_show() 77 str = "push-pull"; in mmc_ios_show() 80 str = "invalid"; in mmc_ios_show() 83 seq_printf(s, "bus mode:\t%u (%s)\n", ios->bus_mode, str); in mmc_ios_show() 87 str = "don't care"; in mmc_ios_show() 90 str = "active high"; in mmc_ios_show() 93 str = "active low"; in mmc_ios_show() 96 str = "invalid"; in mmc_ios_show() 99 seq_printf(s, "chip select:\t%u (%s)\n", ios->chip_select, str); in mmc_ios_show() [all …]
|
/drivers/memory/ |
D | ti-emif-sram-pm.S | 50 str r1, [r2, #EMIF_SDCFG_VAL_OFFSET] 53 str r1, [r2, #EMIF_REF_CTRL_VAL_OFFSET] 56 str r1, [r2, #EMIF_TIMING1_VAL_OFFSET] 59 str r1, [r2, #EMIF_TIMING2_VAL_OFFSET] 62 str r1, [r2, #EMIF_TIMING3_VAL_OFFSET] 65 str r1, [r2, #EMIF_PMCR_VAL_OFFSET] 68 str r1, [r2, #EMIF_PMCR_SHDW_VAL_OFFSET] 71 str r1, [r2, #EMIF_ZQCFG_VAL_OFFSET] 74 str r1, [r2, #EMIF_DDR_PHY_CTLR_1_OFFSET] 77 str r1, [r2, #EMIF_COS_CONFIG_OFFSET] [all …]
|
/drivers/usb/dwc3/ |
D | debug.h | 198 static inline const char *dwc3_gadget_event_string(char *str, size_t size, in dwc3_gadget_event_string() argument 205 snprintf(str, size, "Disconnect: [%s]", in dwc3_gadget_event_string() 209 snprintf(str, size, "Reset [%s]", in dwc3_gadget_event_string() 213 snprintf(str, size, "Connection Done [%s]", in dwc3_gadget_event_string() 217 snprintf(str, size, "Link Change [%s]", in dwc3_gadget_event_string() 221 snprintf(str, size, "WakeUp [%s]", in dwc3_gadget_event_string() 225 snprintf(str, size, "Suspend [%s]", in dwc3_gadget_event_string() 229 snprintf(str, size, "Start-Of-Frame [%s]", in dwc3_gadget_event_string() 233 snprintf(str, size, "Erratic Error [%s]", in dwc3_gadget_event_string() 237 snprintf(str, size, "Command Complete [%s]", in dwc3_gadget_event_string() [all …]
|
/drivers/acpi/ |
D | osi.c | 69 void __init acpi_osi_setup(char *str) in acpi_osi_setup() argument 78 if (str == NULL || *str == '\0') { in acpi_osi_setup() 84 if (*str == '!') { in acpi_osi_setup() 85 str++; in acpi_osi_setup() 86 if (*str == '\0') { in acpi_osi_setup() 92 } else if (*str == '*') { in acpi_osi_setup() 99 } else if (*str == '!') { in acpi_osi_setup() 108 if (!strcmp(osi->string, str)) { in acpi_osi_setup() 113 strncpy(osi->string, str, OSI_STRING_LENGTH_MAX); in acpi_osi_setup() 195 char *str; in acpi_osi_setup_late() local [all …]
|
D | acpi_configfs.c | 99 static ssize_t acpi_table_signature_show(struct config_item *cfg, char *str) in acpi_table_signature_show() argument 106 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() 119 static ssize_t acpi_table_revision_show(struct config_item *cfg, char *str) in acpi_table_revision_show() argument 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() 139 static ssize_t acpi_table_oem_table_id_show(struct config_item *cfg, char *str) in acpi_table_oem_table_id_show() argument 146 return sysfs_emit(str, "%.*s\n", ACPI_OEM_TABLE_ID_SIZE, h->oem_table_id); in acpi_table_oem_table_id_show() [all …]
|
/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-common.c | 516 char __maybe_unused *str = NULL; in xlgmac_print_all_hw_features() local 549 str = "RESERVED"; in xlgmac_print_all_hw_features() 552 str = "INTERNAL"; in xlgmac_print_all_hw_features() 555 str = "EXTERNAL"; in xlgmac_print_all_hw_features() 558 str = "BOTH"; in xlgmac_print_all_hw_features() 561 XLGMAC_PR("Timestamp System Time Source : %s\n", str); in xlgmac_print_all_hw_features() 569 str = "128 bytes"; in xlgmac_print_all_hw_features() 572 str = "256 bytes"; in xlgmac_print_all_hw_features() 575 str = "512 bytes"; in xlgmac_print_all_hw_features() 578 str = "1 KBytes"; in xlgmac_print_all_hw_features() [all …]
|
/drivers/md/ |
D | dm-init.c | 89 static char __init *str_field_delimit(char **str, char separator) in str_field_delimit() argument 94 *str = skip_spaces(*str); in str_field_delimit() 95 s = strchr(*str, separator); in str_field_delimit() 99 *str = strim(*str); in str_field_delimit() 112 static char __init *dm_parse_table_entry(struct dm_device *dev, char *str) in dm_parse_table_entry() argument 121 field[0] = str; in dm_parse_table_entry() 163 static int __init dm_parse_table(struct dm_device *dev, char *str) in dm_parse_table() argument 165 char *table_entry = str; in dm_parse_table() 168 DMDEBUG("parsing table \"%s\"", str); in dm_parse_table() 193 static char __init *dm_parse_device_entry(struct dm_device *dev, char *str) in dm_parse_device_entry() argument [all …]
|
D | md-autodetect.c | 60 static int __init md_setup(char *str) in md_setup() argument 67 if (*str == 'd') { in md_setup() 69 str++; in md_setup() 71 if (get_option(&str, &minor) != 2) { /* MD Number */ in md_setup() 75 str1 = str; in md_setup() 89 switch (get_option(&str, &level)) { /* RAID level */ in md_setup() 92 if (get_option(&str, &factor) != 2 || /* Chunk Size */ 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() [all …]
|
/drivers/iommu/ |
D | irq_remapping.c | 48 static __init int setup_nointremap(char *str) in setup_nointremap() argument 55 static __init int setup_irqremap(char *str) in setup_irqremap() argument 57 if (!str) in setup_irqremap() 60 while (*str) { in setup_irqremap() 61 if (!strncmp(str, "on", 2)) { in setup_irqremap() 64 } else if (!strncmp(str, "off", 3)) { in setup_irqremap() 67 } else if (!strncmp(str, "nosid", 5)) in setup_irqremap() 69 else if (!strncmp(str, "no_x2apic_optout", 16)) in setup_irqremap() 71 else if (!strncmp(str, "nopost", 6)) in setup_irqremap() 74 str += strcspn(str, ","); in setup_irqremap() [all …]
|
/drivers/platform/x86/dell/dell-wmi-sysman/ |
D | string-attributes.c | 13 get_instance_id(str); 53 attribute_s_property_show(display_name_language_code, str); 57 attribute_s_property_show(display_name, str); 61 attribute_s_property_show(default_value, str); 65 attribute_property_store(current_value, str); 69 attribute_s_property_show(dell_modifier, str); 73 attribute_n_property_show(min_length, str); 77 attribute_n_property_show(max_length, str); 128 if (check_property_type(str, ATTR_NAME, ACPI_TYPE_STRING)) in populate_str_data() 132 if (check_property_type(str, DISPL_NAME_LANG_CODE, ACPI_TYPE_STRING)) in populate_str_data() [all …]
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ethtool.c | 265 char str[ETH_GSTRING_LEN]; member 272 .str = "a_frames_transmitted_ok", 276 .str = "a_frames_received_ok", 280 .str = "a_frame_check_sequence_errors", 284 .str = "a_alignment_errors", 288 .str = "a_octets_transmitted_ok", 292 .str = "a_octets_received_ok", 296 .str = "a_multicast_frames_xmitted_ok", 300 .str = "a_broadcast_frames_xmitted_ok", 304 .str = "a_multicast_frames_received_ok", [all …]
|
/drivers/char/tpm/ |
D | tpm-sysfs.c | 38 char *str = buf; in pubek_show() local 57 str += in pubek_show() 58 sprintf(str, in pubek_show() 72 str += sprintf(str, "%16ph\n", &out->modulus[i]); in pubek_show() 78 return str - buf; in pubek_show() 88 char *str = buf; in pcrs_show() local 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() [all …]
|
/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_eth_sysfs.c | 37 char *str; in dpaa_eth_show_fqids() local 43 str = "Rx default"; in dpaa_eth_show_fqids() 46 str = "Rx error"; in dpaa_eth_show_fqids() 49 str = "Rx PCD"; in dpaa_eth_show_fqids() 52 str = "Tx default confirmation"; in dpaa_eth_show_fqids() 55 str = "Tx confirmation (mq)"; in dpaa_eth_show_fqids() 58 str = "Tx error"; in dpaa_eth_show_fqids() 61 str = "Tx"; in dpaa_eth_show_fqids() 64 str = "Unknown"; in dpaa_eth_show_fqids() 68 str != prevstr)) { in dpaa_eth_show_fqids() [all …]
|
/drivers/of/ |
D | device.c | 251 static ssize_t of_device_get_modalias(struct device *dev, char *str, ssize_t len) in of_device_get_modalias() argument 264 csize = snprintf(str, len, "of:N%pOFn%c%s", dev->of_node, 'T', in of_device_get_modalias() 268 if (str) in of_device_get_modalias() 269 str += csize; in of_device_get_modalias() 277 csize = snprintf(str, len, "C%s", compat); in of_device_get_modalias() 278 for (c = str; c; ) { in of_device_get_modalias() 284 str += csize; in of_device_get_modalias() 292 char *str; in of_device_request_module() local 303 str = kmalloc(size, GFP_KERNEL); in of_device_request_module() 304 if (!str) in of_device_request_module() [all …]
|
/drivers/usb/host/ |
D | xhci.h | 2352 static inline const char *xhci_decode_trb(char *str, size_t size, in xhci_decode_trb() argument 2359 snprintf(str, size, in xhci_decode_trb() 2376 snprintf(str, size, in xhci_decode_trb() 2389 snprintf(str, size, in xhci_decode_trb() 2407 snprintf(str, size, in xhci_decode_trb() 2421 snprintf(str, size, in xhci_decode_trb() 2435 snprintf(str, size, in xhci_decode_trb() 2452 snprintf(str, size, in xhci_decode_trb() 2459 snprintf(str, size, in xhci_decode_trb() 2466 snprintf(str, size, in xhci_decode_trb() [all …]
|
/drivers/media/platform/st/sti/delta/ |
D | delta-debug.c | 12 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()
|
D | delta-mjpeg-dec.c | 28 unsigned char str[3000]; member 34 char *str, unsigned int len) in ipc_open_param_str() argument 36 char *b = str; in ipc_open_param_str() 48 return str; in ipc_open_param_str() 52 char *str, unsigned int len) in ipc_decode_param_str() argument 54 char *b = str; in ipc_decode_param_str() 79 return str; in ipc_decode_param_str() 221 ipc_open_param_str(params, ctx->str, sizeof(ctx->str))); in delta_mjpeg_ipc_open() 232 ipc_open_param_str(params, ctx->str, sizeof(ctx->str))); in delta_mjpeg_ipc_open() 285 ipc_decode_param_str(params, ctx->str, sizeof(ctx->str))); in delta_mjpeg_ipc_decode() [all …]
|
/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_mbox.c | 18 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/ |
D | ipmi_si_hardcode.c | 96 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()
|