/Linux-v5.4/drivers/usb/cdns3/ |
D | 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 …]
|
/Linux-v5.4/sound/pci/lola/ |
D | lola_pcm.c | 52 struct lola_stream *str) in lola_stream_clear_pending_irq() argument 54 unsigned int val = lola_dsd_read(chip, str->dsd, STS); in lola_stream_clear_pending_irq() 57 lola_dsd_write(chip, str->dsd, STS, val); in lola_stream_clear_pending_irq() 60 static void lola_stream_start(struct lola *chip, struct lola_stream *str, in lola_stream_start() argument 63 lola_stream_clear_pending_irq(chip, str); in lola_stream_start() 64 lola_dsd_write(chip, str->dsd, CTL, in lola_stream_start() 72 static void lola_stream_stop(struct lola *chip, struct lola_stream *str, in lola_stream_stop() argument 75 lola_dsd_write(chip, str->dsd, CTL, in lola_stream_stop() 80 lola_stream_clear_pending_irq(chip, str); in lola_stream_stop() 83 static void wait_for_srst_clear(struct lola *chip, struct lola_stream *str) in wait_for_srst_clear() argument [all …]
|
/Linux-v5.4/tools/perf/util/ |
D | demangle-rust.c | 100 static bool is_prefixed_hash(const char *str) in is_prefixed_hash() argument 107 if (strncmp(str, hash_prefix, hash_prefix_len)) in is_prefixed_hash() 109 str += hash_prefix_len; in is_prefixed_hash() 112 for (end = str + hash_len; str < end; str++) in is_prefixed_hash() 113 if (*str >= '0' && *str <= '9') in is_prefixed_hash() 114 seen[*str - '0'] = true; in is_prefixed_hash() 115 else if (*str >= 'a' && *str <= 'f') in is_prefixed_hash() 116 seen[*str - 'a' + 10] = true; in is_prefixed_hash() 129 static bool looks_like_rust(const char *str, size_t len) in looks_like_rust() argument 131 const char *end = str + len; in looks_like_rust() [all …]
|
D | string.c | 24 s64 perf_atoll(const char *str) in perf_atoll() argument 30 if (!isdigit(str[0])) in perf_atoll() 33 length = strtoll(str, &p, 10); in perf_atoll() 111 static bool __match_glob(const char *str, const char *pat, bool ignore_space, in __match_glob() argument 114 while (*str && *pat && *pat != '*') { in __match_glob() 117 if (isspace(*str)) { in __match_glob() 118 str++; in __match_glob() 127 str++; in __match_glob() 131 if (__match_charclass(pat + 1, *str, &pat)) { in __match_glob() 132 str++; in __match_glob() [all …]
|
D | time-utils.c | 18 int parse_nsec_time(const char *str, u64 *ptime) in parse_nsec_time() argument 23 time_sec = strtoul(str, &end, 10); in parse_nsec_time() 70 char *d, *str; in split_start_end() local 76 str = strdup(ostr); in split_start_end() 77 if (str == NULL) in split_start_end() 80 start_str = str; in split_start_end() 124 char *str, *arg, *p; in perf_time__parse_strs() local 136 str = strdup(ostr); in perf_time__parse_strs() 137 if (!str) in perf_time__parse_strs() 141 for (i = 0, p = str; i < num - 1; i++) { in perf_time__parse_strs() [all …]
|
D | comm.c | 13 char *str; member 36 zfree(&cs->str); in comm_str__put() 41 static struct comm_str *comm_str__alloc(const char *str) in comm_str__alloc() argument 49 cs->str = strdup(str); in comm_str__alloc() 50 if (!cs->str) { in comm_str__alloc() 61 struct comm_str *__comm_str__findnew(const char *str, struct rb_root *root) in __comm_str__findnew() argument 77 cmp = strcmp(str, iter->str); in __comm_str__findnew() 87 new = comm_str__alloc(str); in __comm_str__findnew() 97 static struct comm_str *comm_str__findnew(const char *str, struct rb_root *root) in comm_str__findnew() argument 102 cs = __comm_str__findnew(str, root); in comm_str__findnew() [all …]
|
/Linux-v5.4/drivers/mmc/core/ |
D | debugfs.c | 56 const char *str; in mmc_ios_show() local 73 str = "open drain"; in mmc_ios_show() 76 str = "push-pull"; in mmc_ios_show() 79 str = "invalid"; in mmc_ios_show() 82 seq_printf(s, "bus mode:\t%u (%s)\n", ios->bus_mode, str); in mmc_ios_show() 86 str = "don't care"; in mmc_ios_show() 89 str = "active high"; in mmc_ios_show() 92 str = "active low"; in mmc_ios_show() 95 str = "invalid"; in mmc_ios_show() 98 seq_printf(s, "chip select:\t%u (%s)\n", ios->chip_select, str); in mmc_ios_show() [all …]
|
/Linux-v5.4/arch/mips/kernel/ |
D | segment.c | 16 static void build_segment_config(char *str, unsigned int cfg) in build_segment_config() argument 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() 52 char str[42]; in show_segments() local 58 build_segment_config(str, segcfg); in show_segments() 59 seq_printf(m, " 0 e0000000 512M %s", str); in show_segments() [all …]
|
/Linux-v5.4/drivers/usb/common/ |
D | debug.c | 14 __u16 wLength, char *str, size_t size) in usb_decode_get_status() argument 18 snprintf(str, size, "Get Device Status(Length = %d)", wLength); in usb_decode_get_status() 21 snprintf(str, size, in usb_decode_get_status() 26 snprintf(str, size, "Get Endpoint Status(ep%d%s)", in usb_decode_get_status() 73 __u16 wIndex, char *str, size_t size) in usb_decode_set_clear_feature() argument 77 snprintf(str, size, "%s Device Feature(%s%s)", in usb_decode_set_clear_feature() 84 snprintf(str, size, "%s Interface Feature(%s)", in usb_decode_set_clear_feature() 90 snprintf(str, size, "%s Endpoint Feature(%s ep%d%s)", in usb_decode_set_clear_feature() 99 static void usb_decode_set_address(__u16 wValue, char *str, size_t size) in usb_decode_set_address() argument 101 snprintf(str, size, "Set Address(Addr = %02x)", wValue); in usb_decode_set_address() [all …]
|
/Linux-v5.4/drivers/firmware/ |
D | iscsi_ibft.c | 203 char *str = buf; in sprintf_ipaddr() local 211 str += sprintf(buf, "%pI4", ip + 12); in sprintf_ipaddr() 216 str += sprintf(str, "%pI6", ip); in sprintf_ipaddr() 218 str += sprintf(str, "\n"); in sprintf_ipaddr() 219 return str - buf; in sprintf_ipaddr() 222 static ssize_t sprintf_string(char *str, int len, char *buf) in sprintf_string() argument 224 return sprintf(str, "%.*s\n", len, buf); in sprintf_string() 256 char *str = buf; in ibft_attr_show_initiator() local 263 str += sprintf(str, "%d\n", initiator->hdr.index); in ibft_attr_show_initiator() 266 str += sprintf(str, "%d\n", initiator->hdr.flags); in ibft_attr_show_initiator() [all …]
|
/Linux-v5.4/lib/ |
D | cmdline.c | 23 static int get_range(char **str, int *pint, int n) in get_range() argument 27 (*str)++; in get_range() 28 upper_range = simple_strtol((*str), NULL, 0); in get_range() 50 int get_option(char **str, int *pint) in get_option() argument 52 char *cur = *str; in get_option() 56 *pint = simple_strtol(cur, str, 0); in get_option() 57 if (cur == *str) in get_option() 59 if (**str == ',') { in get_option() 60 (*str)++; in get_option() 63 if (**str == '-') in get_option() [all …]
|
/Linux-v5.4/drivers/usb/dwc3/ |
D | debug.h | 196 static inline const char *dwc3_gadget_event_string(char *str, size_t size, in dwc3_gadget_event_string() argument 203 snprintf(str, size, "Disconnect: [%s]", in dwc3_gadget_event_string() 207 snprintf(str, size, "Reset [%s]", in dwc3_gadget_event_string() 211 snprintf(str, size, "Connection Done [%s]", in dwc3_gadget_event_string() 215 snprintf(str, size, "Link Change [%s]", in dwc3_gadget_event_string() 219 snprintf(str, size, "WakeUp [%s]", in dwc3_gadget_event_string() 223 snprintf(str, size, "End-Of-Frame [%s]", in dwc3_gadget_event_string() 227 snprintf(str, size, "Start-Of-Frame [%s]", in dwc3_gadget_event_string() 231 snprintf(str, size, "Erratic Error [%s]", in dwc3_gadget_event_string() 235 snprintf(str, size, "Command Complete [%s]", in dwc3_gadget_event_string() [all …]
|
/Linux-v5.4/drivers/memory/ |
D | ti-emif-sram-pm.S | 58 str r1, [r2, #EMIF_SDCFG_VAL_OFFSET] 61 str r1, [r2, #EMIF_REF_CTRL_VAL_OFFSET] 64 str r1, [r2, #EMIF_TIMING1_VAL_OFFSET] 67 str r1, [r2, #EMIF_TIMING2_VAL_OFFSET] 70 str r1, [r2, #EMIF_TIMING3_VAL_OFFSET] 73 str r1, [r2, #EMIF_PMCR_VAL_OFFSET] 76 str r1, [r2, #EMIF_PMCR_SHDW_VAL_OFFSET] 79 str r1, [r2, #EMIF_ZQCFG_VAL_OFFSET] 82 str r1, [r2, #EMIF_DDR_PHY_CTLR_1_OFFSET] 85 str r1, [r2, #EMIF_COS_CONFIG_OFFSET] [all …]
|
/Linux-v5.4/arch/x86/boot/ |
D | printf.c | 41 static char *number(char *str, long num, int base, int size, int precision, in number() argument 90 *str++ = ' '; in number() 92 *str++ = sign; in number() 95 *str++ = '0'; in number() 97 *str++ = '0'; in number() 98 *str++ = ('X' | locase); in number() 103 *str++ = c; in number() 105 *str++ = '0'; in number() 107 *str++ = tmp[i]; in number() 109 *str++ = ' '; in number() [all …]
|
/Linux-v5.4/tools/lib/ |
D | argv_split.c | 19 static int count_argc(const char *str) in count_argc() argument 23 while (*str) { in count_argc() 24 str = skip_spaces(str); in count_argc() 25 if (*str) { in count_argc() 27 str = skip_arg(str); in count_argc() 63 char **argv_split(const char *str, int *argcp) in argv_split() argument 65 int argc = count_argc(str); in argv_split() 77 while (*str) { in argv_split() 78 str = skip_spaces(str); in argv_split() 80 if (*str) { in argv_split() [all …]
|
/Linux-v5.4/arch/alpha/boot/ |
D | stdio.c | 43 static char * number(char * str, unsigned long long num, int base, int size, int precision, int typ… in number() argument 87 *str++ = ' '; in number() 89 *str++ = sign; in number() 92 *str++ = '0'; in number() 94 *str++ = '0'; in number() 95 *str++ = digits[33]; in number() 100 *str++ = c; in number() 102 *str++ = '0'; in number() 104 *str++ = tmp[i]; in number() 106 *str++ = ' '; in number() [all …]
|
/Linux-v5.4/fs/unicode/ |
D | utf8-selftest.c | 40 unsigned char str[10]; member 46 .str = "aBba", 54 .str = {0xc2, 0xbc, 0x00}, 60 .str = {0xc3, 0xa4, 0x00}, 66 .str = {0xC7, 0x89, 0x00}, 71 .str = {0xCE, 0x87, 0x00}, 78 .str = {0x41, 0xcc, 0x81, 0xcc, 0xa8, 0x0}, 85 .str = {0xc3, 0xa4, 0xCC, 0xA8, 0x00}, 94 unsigned char str[30]; member 100 .str = {0x41, 0x42, 0x62, 0x61, 0x00}, [all …]
|
/Linux-v5.4/tools/perf/arch/arm/tests/ |
D | regs_load.S | 41 str r0, [r0, #R0] 42 str r1, [r0, #R1] 43 str r2, [r0, #R2] 44 str r3, [r0, #R3] 45 str r4, [r0, #R4] 46 str r5, [r0, #R5] 47 str r6, [r0, #R6] 48 str r7, [r0, #R7] 49 str r8, [r0, #R8] 50 str r9, [r0, #R9] [all …]
|
/Linux-v5.4/arch/powerpc/boot/ |
D | stdio.c | 79 static char * number(char * str, unsigned long long num, int base, int size, int precision, int typ… in number() argument 123 *str++ = ' '; in number() 125 *str++ = sign; in number() 128 *str++ = '0'; in number() 130 *str++ = '0'; in number() 131 *str++ = digits[33]; in number() 136 *str++ = c; in number() 138 *str++ = '0'; in number() 140 *str++ = tmp[i]; in number() 142 *str++ = ' '; in number() [all …]
|
/Linux-v5.4/arch/x86/kernel/acpi/ |
D | sleep.c | 121 static int __init acpi_sleep_setup(char *str) in acpi_sleep_setup() argument 123 while ((str != NULL) && (*str != '\0')) { in acpi_sleep_setup() 124 if (strncmp(str, "s3_bios", 7) == 0) in acpi_sleep_setup() 126 if (strncmp(str, "s3_mode", 7) == 0) in acpi_sleep_setup() 128 if (strncmp(str, "s3_beep", 7) == 0) in acpi_sleep_setup() 131 if (strncmp(str, "s4_nohwsig", 10) == 0) in acpi_sleep_setup() 134 if (strncmp(str, "nonvs", 5) == 0) in acpi_sleep_setup() 136 if (strncmp(str, "nonvs_s3", 8) == 0) in acpi_sleep_setup() 138 if (strncmp(str, "old_ordering", 12) == 0) in acpi_sleep_setup() 140 if (strncmp(str, "nobl", 4) == 0) in acpi_sleep_setup() [all …]
|
/Linux-v5.4/drivers/acpi/ |
D | osi.c | 93 void __init acpi_osi_setup(char *str) in acpi_osi_setup() argument 102 if (str == NULL || *str == '\0') { in acpi_osi_setup() 108 if (*str == '!') { in acpi_osi_setup() 109 str++; in acpi_osi_setup() 110 if (*str == '\0') { in acpi_osi_setup() 116 } else if (*str == '*') { in acpi_osi_setup() 123 } else if (*str == '!') { in acpi_osi_setup() 132 if (!strcmp(osi->string, str)) { in acpi_osi_setup() 137 strncpy(osi->string, str, OSI_STRING_LENGTH_MAX); in acpi_osi_setup() 219 char *str; in acpi_osi_setup_late() local [all …]
|
/Linux-v5.4/drivers/firmware/efi/libstub/ |
D | efi-stub-helper.c | 56 void efi_printk(efi_system_table_t *sys_table_arg, char *str) in efi_printk() argument 60 for (s8 = str; *s8; s8++) { in efi_printk() 451 char *str; in efi_parse_options() local 453 str = strstr(cmdline, "nokaslr"); in efi_parse_options() 454 if (str == cmdline || (str && str > cmdline && *(str - 1) == ' ')) in efi_parse_options() 457 str = strstr(cmdline, "quiet"); in efi_parse_options() 458 if (str == cmdline || (str && str > cmdline && *(str - 1) == ' ')) in efi_parse_options() 465 str = strstr(cmdline, "efi="); in efi_parse_options() 466 if (!str) in efi_parse_options() 470 str += strlen("efi="); in efi_parse_options() [all …]
|
/Linux-v5.4/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-common.c | 516 char *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 …]
|
/Linux-v5.4/arch/ia64/kernel/ |
D | sal.c | 48 const char *str; in ia64_sal_strerror() local 50 case 0: str = "Call completed without error"; break; in ia64_sal_strerror() 51 case 1: str = "Effect a warm boot of the system to complete " in ia64_sal_strerror() 53 case -1: str = "Not implemented"; break; in ia64_sal_strerror() 54 case -2: str = "Invalid argument"; break; in ia64_sal_strerror() 55 case -3: str = "Call completed with error"; break; in ia64_sal_strerror() 56 case -4: str = "Virtual address not registered"; break; in ia64_sal_strerror() 57 case -5: str = "No information available"; break; in ia64_sal_strerror() 58 case -6: str = "Insufficient space to add the entry"; break; in ia64_sal_strerror() 59 case -7: str = "Invalid entry_addr value"; break; in ia64_sal_strerror() [all …]
|
/Linux-v5.4/arch/arm/mach-at91/ |
D | pm_suspend.S | 56 str tmp1, [pmc, #AT91_PMC_SCDR] 87 str tmp1, .pmc_base 89 str tmp1, .sramc_base 91 str tmp1, .sramc1_base 93 str tmp1, .memtype 95 str tmp1, .pm_mode 98 str tmp1, .shdwc 102 str tmp1, .sfr 143 str tmp1, [pmc, #AT91_PMC_MCKR] 150 str tmp1, [r0, #0x10] [all …]
|