Home
last modified time | relevance | path

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

12345678910>>...61

/Linux-v4.19/drivers/usb/dwc3/
Ddebug.h168 dwc3_gadget_event_string(char *str, const struct dwc3_event_devt *event) in dwc3_gadget_event_string() argument
174 sprintf(str, "Disconnect: [%s]", in dwc3_gadget_event_string()
178 sprintf(str, "Reset [%s]", dwc3_gadget_link_string(state)); in dwc3_gadget_event_string()
181 sprintf(str, "Connection Done [%s]", in dwc3_gadget_event_string()
185 sprintf(str, "Link Change [%s]", in dwc3_gadget_event_string()
189 sprintf(str, "WakeUp [%s]", dwc3_gadget_link_string(state)); in dwc3_gadget_event_string()
192 sprintf(str, "End-Of-Frame [%s]", in dwc3_gadget_event_string()
196 sprintf(str, "Start-Of-Frame [%s]", in dwc3_gadget_event_string()
200 sprintf(str, "Erratic Error [%s]", in dwc3_gadget_event_string()
204 sprintf(str, "Command Complete [%s]", in dwc3_gadget_event_string()
[all …]
/Linux-v4.19/sound/pci/lola/
Dlola_pcm.c65 struct lola_stream *str) in lola_stream_clear_pending_irq() argument
67 unsigned int val = lola_dsd_read(chip, str->dsd, STS); in lola_stream_clear_pending_irq()
70 lola_dsd_write(chip, str->dsd, STS, val); in lola_stream_clear_pending_irq()
73 static void lola_stream_start(struct lola *chip, struct lola_stream *str, in lola_stream_start() argument
76 lola_stream_clear_pending_irq(chip, str); in lola_stream_start()
77 lola_dsd_write(chip, str->dsd, CTL, in lola_stream_start()
85 static void lola_stream_stop(struct lola *chip, struct lola_stream *str, in lola_stream_stop() argument
88 lola_dsd_write(chip, str->dsd, CTL, in lola_stream_stop()
93 lola_stream_clear_pending_irq(chip, str); in lola_stream_stop()
96 static void wait_for_srst_clear(struct lola *chip, struct lola_stream *str) in wait_for_srst_clear() argument
[all …]
/Linux-v4.19/tools/perf/util/
Ddemangle-rust.c101 static bool is_prefixed_hash(const char *str) in is_prefixed_hash() argument
108 if (strncmp(str, hash_prefix, hash_prefix_len)) in is_prefixed_hash()
110 str += hash_prefix_len; in is_prefixed_hash()
113 for (end = str + hash_len; str < end; str++) in is_prefixed_hash()
114 if (*str >= '0' && *str <= '9') in is_prefixed_hash()
115 seen[*str - '0'] = true; in is_prefixed_hash()
116 else if (*str >= 'a' && *str <= 'f') in is_prefixed_hash()
117 seen[*str - 'a' + 10] = true; in is_prefixed_hash()
130 static bool looks_like_rust(const char *str, size_t len) in looks_like_rust() argument
132 const char *end = str + len; in looks_like_rust()
[all …]
Dstring.c15 s64 perf_atoll(const char *str) in perf_atoll() argument
21 if (!isdigit(str[0])) in perf_atoll()
24 length = strtoll(str, &p, 10); in perf_atoll()
83 static int count_argc(const char *str) in count_argc() argument
87 while (*str) { in count_argc()
88 str = skip_sep(str); in count_argc()
89 if (*str) { in count_argc()
91 str = skip_arg(str); in count_argc()
127 char **argv_split(const char *str, int *argcp) in argv_split() argument
129 int argc = count_argc(str); in argv_split()
[all …]
Dtime-utils.c15 int parse_nsec_time(const char *str, u64 *ptime) in parse_nsec_time() argument
20 time_sec = strtoul(str, &end, 10); in parse_nsec_time()
67 char *d, *str; in split_start_end() local
73 str = strdup(ostr); in split_start_end()
74 if (str == NULL) in split_start_end()
77 start_str = str; in split_start_end()
117 static int parse_percent(double *pcnt, char *str) in parse_percent() argument
122 c = strchr(str, '%'); in parse_percent()
128 d = strtod(str, &endptr); in parse_percent()
129 if (endptr != str + strlen(str)) in parse_percent()
[all …]
Dcomm.c12 char *str; member
35 zfree(&cs->str); in comm_str__put()
40 static struct comm_str *comm_str__alloc(const char *str) in comm_str__alloc() argument
48 cs->str = strdup(str); in comm_str__alloc()
49 if (!cs->str) { in comm_str__alloc()
60 struct comm_str *__comm_str__findnew(const char *str, struct rb_root *root) in __comm_str__findnew() argument
76 cmp = strcmp(str, iter->str); in __comm_str__findnew()
86 new = comm_str__alloc(str); in __comm_str__findnew()
96 static struct comm_str *comm_str__findnew(const char *str, struct rb_root *root) in comm_str__findnew() argument
101 cs = __comm_str__findnew(str, root); in comm_str__findnew()
[all …]
/Linux-v4.19/arch/mips/kernel/
Dsegment.c16 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-v4.19/drivers/mmc/core/
Ddebugfs.c59 const char *str; in mmc_ios_show() local
76 str = "open drain"; in mmc_ios_show()
79 str = "push-pull"; in mmc_ios_show()
82 str = "invalid"; in mmc_ios_show()
85 seq_printf(s, "bus mode:\t%u (%s)\n", ios->bus_mode, str); in mmc_ios_show()
89 str = "don't care"; in mmc_ios_show()
92 str = "active high"; in mmc_ios_show()
95 str = "active low"; in mmc_ios_show()
98 str = "invalid"; in mmc_ios_show()
101 seq_printf(s, "chip select:\t%u (%s)\n", ios->chip_select, str); in mmc_ios_show()
[all …]
/Linux-v4.19/drivers/firmware/
Discsi_ibft.c208 char *str = buf; in sprintf_ipaddr() local
216 str += sprintf(buf, "%pI4", ip + 12); in sprintf_ipaddr()
221 str += sprintf(str, "%pI6", ip); in sprintf_ipaddr()
223 str += sprintf(str, "\n"); in sprintf_ipaddr()
224 return str - buf; in sprintf_ipaddr()
227 static ssize_t sprintf_string(char *str, int len, char *buf) in sprintf_string() argument
229 return sprintf(str, "%.*s\n", len, buf); in sprintf_string()
261 char *str = buf; in ibft_attr_show_initiator() local
268 str += sprintf(str, "%d\n", initiator->hdr.index); in ibft_attr_show_initiator()
271 str += sprintf(str, "%d\n", initiator->hdr.flags); in ibft_attr_show_initiator()
[all …]
/Linux-v4.19/lib/
Dcmdline.c26 static int get_range(char **str, int *pint, int n) in get_range() argument
30 (*str)++; in get_range()
31 upper_range = simple_strtol((*str), NULL, 0); in get_range()
53 int get_option(char **str, int *pint) in get_option() argument
55 char *cur = *str; in get_option()
59 *pint = simple_strtol(cur, str, 0); in get_option()
60 if (cur == *str) in get_option()
62 if (**str == ',') { in get_option()
63 (*str)++; in get_option()
66 if (**str == '-') in get_option()
[all …]
/Linux-v4.19/drivers/memory/
Dti-emif-sram-pm.S57 str r1, [r2, #EMIF_SDCFG_VAL_OFFSET]
60 str r1, [r2, #EMIF_REF_CTRL_VAL_OFFSET]
63 str r1, [r2, #EMIF_TIMING1_VAL_OFFSET]
66 str r1, [r2, #EMIF_TIMING2_VAL_OFFSET]
69 str r1, [r2, #EMIF_TIMING3_VAL_OFFSET]
72 str r1, [r2, #EMIF_PMCR_VAL_OFFSET]
75 str r1, [r2, #EMIF_PMCR_SHDW_VAL_OFFSET]
78 str r1, [r2, #EMIF_ZQCFG_VAL_OFFSET]
81 str r1, [r2, #EMIF_DDR_PHY_CTLR_1_OFFSET]
84 str r1, [r2, #EMIF_COS_CONFIG_OFFSET]
[all …]
/Linux-v4.19/arch/x86/boot/
Dprintf.c43 static char *number(char *str, long num, int base, int size, int precision, in number() argument
92 *str++ = ' '; in number()
94 *str++ = sign; in number()
97 *str++ = '0'; in number()
99 *str++ = '0'; in number()
100 *str++ = ('X' | locase); in number()
105 *str++ = c; in number()
107 *str++ = '0'; in number()
109 *str++ = tmp[i]; in number()
111 *str++ = ' '; in number()
[all …]
/Linux-v4.19/arch/alpha/boot/
Dstdio.c47 static char * number(char * str, unsigned long long num, int base, int size, int precision, int typ… in number() argument
91 *str++ = ' '; in number()
93 *str++ = sign; in number()
96 *str++ = '0'; in number()
98 *str++ = '0'; in number()
99 *str++ = digits[33]; in number()
104 *str++ = c; in number()
106 *str++ = '0'; in number()
108 *str++ = tmp[i]; in number()
110 *str++ = ' '; in number()
[all …]
/Linux-v4.19/tools/perf/arch/arm/tests/
Dregs_load.S41 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-v4.19/arch/powerpc/boot/
Dstdio.c83 static char * number(char * str, unsigned long long num, int base, int size, int precision, int typ… in number() argument
127 *str++ = ' '; in number()
129 *str++ = sign; in number()
132 *str++ = '0'; in number()
134 *str++ = '0'; in number()
135 *str++ = digits[33]; in number()
140 *str++ = c; in number()
142 *str++ = '0'; in number()
144 *str++ = tmp[i]; in number()
146 *str++ = ' '; in number()
[all …]
/Linux-v4.19/arch/x86/kernel/acpi/
Dsleep.c122 static int __init acpi_sleep_setup(char *str) in acpi_sleep_setup() argument
124 while ((str != NULL) && (*str != '\0')) { in acpi_sleep_setup()
125 if (strncmp(str, "s3_bios", 7) == 0) in acpi_sleep_setup()
127 if (strncmp(str, "s3_mode", 7) == 0) in acpi_sleep_setup()
129 if (strncmp(str, "s3_beep", 7) == 0) in acpi_sleep_setup()
132 if (strncmp(str, "s4_nohwsig", 10) == 0) in acpi_sleep_setup()
135 if (strncmp(str, "nonvs", 5) == 0) in acpi_sleep_setup()
137 if (strncmp(str, "nonvs_s3", 8) == 0) in acpi_sleep_setup()
139 if (strncmp(str, "old_ordering", 12) == 0) in acpi_sleep_setup()
141 if (strncmp(str, "nobl", 4) == 0) in acpi_sleep_setup()
[all …]
/Linux-v4.19/drivers/firmware/efi/libstub/
Defi-stub-helper.c54 void efi_printk(efi_system_table_t *sys_table_arg, char *str) in efi_printk() argument
58 for (s8 = str; *s8; s8++) { in efi_printk()
454 char *str; in efi_parse_options() local
456 str = strstr(cmdline, "nokaslr"); in efi_parse_options()
457 if (str == cmdline || (str && str > cmdline && *(str - 1) == ' ')) in efi_parse_options()
460 str = strstr(cmdline, "quiet"); in efi_parse_options()
461 if (str == cmdline || (str && str > cmdline && *(str - 1) == ' ')) in efi_parse_options()
468 str = strstr(cmdline, "efi="); in efi_parse_options()
469 if (!str) in efi_parse_options()
473 str += strlen("efi="); in efi_parse_options()
[all …]
/Linux-v4.19/drivers/acpi/
Dosi.c99 void __init acpi_osi_setup(char *str) in acpi_osi_setup() argument
108 if (str == NULL || *str == '\0') { in acpi_osi_setup()
114 if (*str == '!') { in acpi_osi_setup()
115 str++; in acpi_osi_setup()
116 if (*str == '\0') { in acpi_osi_setup()
122 } else if (*str == '*') { in acpi_osi_setup()
129 } else if (*str == '!') { in acpi_osi_setup()
138 if (!strcmp(osi->string, str)) { in acpi_osi_setup()
143 strncpy(osi->string, str, OSI_STRING_LENGTH_MAX); in acpi_osi_setup()
225 char *str; in acpi_osi_setup_late() local
[all …]
/Linux-v4.19/arch/arm/mach-at91/
Dpm_suspend.S69 str tmp1, [pmc, #AT91_PMC_SCDR]
100 str tmp1, .pmc_base
102 str tmp1, .sramc_base
104 str tmp1, .sramc1_base
106 str tmp1, .memtype
108 str tmp1, .pm_mode
111 str tmp1, .shdwc
115 str tmp1, .sfr
155 str tmp1, [r0, #0x10]
161 str tmp1, [r0, #0]
[all …]
/Linux-v4.19/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-common.c516 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-v4.19/arch/ia64/kernel/
Dsal.c47 const char *str; in ia64_sal_strerror() local
49 case 0: str = "Call completed without error"; break; in ia64_sal_strerror()
50 case 1: str = "Effect a warm boot of the system to complete " in ia64_sal_strerror()
52 case -1: str = "Not implemented"; break; in ia64_sal_strerror()
53 case -2: str = "Invalid argument"; break; in ia64_sal_strerror()
54 case -3: str = "Call completed with error"; break; in ia64_sal_strerror()
55 case -4: str = "Virtual address not registered"; break; in ia64_sal_strerror()
56 case -5: str = "No information available"; break; in ia64_sal_strerror()
57 case -6: str = "Insufficient space to add the entry"; break; in ia64_sal_strerror()
58 case -7: str = "Invalid entry_addr value"; break; in ia64_sal_strerror()
[all …]
/Linux-v4.19/include/linux/ceph/
Dstring_table.h17 char str[]; member
21 extern struct ceph_string *ceph_find_or_create_string(const char *str,
25 static inline struct ceph_string *ceph_get_string(struct ceph_string *str) in ceph_get_string() argument
27 kref_get(&str->kref); in ceph_get_string()
28 return str; in ceph_get_string()
31 static inline void ceph_put_string(struct ceph_string *str) in ceph_put_string() argument
33 if (!str) in ceph_put_string()
35 kref_put(&str->kref, ceph_release_string); in ceph_put_string()
39 const char* str, size_t len) in ceph_compare_string() argument
46 return strncmp(cs->str, str, len); in ceph_compare_string()
/Linux-v4.19/drivers/iommu/
Dirq_remapping.c48 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 …]
/Linux-v4.19/net/decnet/
Dsysctl_net_decnet.c69 static void strip_it(char *str) in strip_it() argument
72 switch (*str) { in strip_it()
77 *str = 0; in strip_it()
82 str++; in strip_it()
90 static int parse_addr(__le16 *addr, char *str) in parse_addr() argument
94 while(*str && !ISNUM(*str)) str++; in parse_addr()
96 if (*str == 0) in parse_addr()
99 area = (*str++ - '0'); in parse_addr()
100 if (ISNUM(*str)) { in parse_addr()
102 area += (*str++ - '0'); in parse_addr()
[all …]
/Linux-v4.19/arch/arm/mach-imx/
Dsuspend-imx6.S85 str r6, [r11, #L2X0_CACHE_SYNC]
108 str r9, [r11, r8]
123 str r6, [r11, r7]
132 str r6, [r11, r7]
141 str r7, [r11, #MX6Q_MMDC_MAPSR]
150 str r7, [r11, #MX6Q_MMDC_MAPSR]
185 str r9, [r11, #MX6Q_SRC_GPR1]
186 str r1, [r11, #MX6Q_SRC_GPR2]
198 str r7, [r11, #MX6Q_MMDC_MAPSR]
203 str r7, [r11, #MX6Q_MMDC_MAPSR]
[all …]

12345678910>>...61