Home
last modified time | relevance | path

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

12345678910>>...69

/linux/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 …]
/linux/sound/pci/lola/
A Dlola_pcm.c131 if (str->prepared && str->paused) { in lola_sync_wait_for_fifo()
162 if (str->paused && str->prepared) in lola_sync_pause()
172 if (str->paused) in lola_stream_reset()
224 str->opened = 1; in lola_pcm_open()
330 str->frags++; in setup_bdle()
353 str->frags = 0; in lola_setup_periods()
440 lola_dsd_write(chip, str->dsd, LVI, str->frags - 1); in lola_setup_controller()
468 str[i].master = str; in lola_pcm_prepare()
568 if (str->substream && str->running) in lola_pcm_update()
626 str->nid = nid; in lola_init_stream()
[all …]
/linux/tools/testing/selftests/bpf/progs/
A Dnetif_receive_skb.c104 char *str; in BPF_PROG() local
108 if (!str) in BPF_PROG()
134 TEST_BTF_C(str, int, 0, 1234); in BPF_PROG()
137 TEST_BTF(str, int, 0, "(int)0", 0); in BPF_PROG()
141 TEST_BTF_C(str, int, 0, -4567); in BPF_PROG()
145 TEST_BTF_C(str, char, 0, 100); in BPF_PROG()
154 TEST_BTF_C(str, uint64_t, 0, 100); in BPF_PROG()
157 TEST_BTF(str, u64, 0, "(u64)0", 0); in BPF_PROG()
189 TEST_BTF_C(str, struct btf_enum, 0, in BPF_PROG()
232 TEST_BTF(str, struct __sk_buff, 0, in BPF_PROG()
[all …]
/linux/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()
124 ret += sprintf(str + ret, in cdns3_dbg_ring()
130 ret += sprintf(str + ret, in cdns3_dbg_ring()
135 ret += sprintf(str + ret, in cdns3_dbg_ring()
145 return str; in cdns3_dbg_ring()
150 ret += sprintf(str + ret, in cdns3_dbg_ring()
[all …]
A Dcdnsp-debug.h192 ret += snprintf(str, size, in cdnsp_decode_trb()
205 ret += snprintf(str, size, 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()
387 return str; in cdnsp_decode_trb()
393 static char str[1024]; in cdnsp_decode_slot_context() local
424 return str; in cdnsp_decode_slot_context()
495 return str; in cdnsp_decode_portsc()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
A Dbtf_dump.c270 str[0] = '\0'; in btf_dump_data()
328 char *str) in test_btf_dump_int_data() argument
386 char *str) in test_btf_dump_float_data() argument
431 char *str) in test_btf_dump_char_data() argument
508 char *str) in test_btf_dump_enum_data() argument
625 str[0] = '\0'; in test_btf_dump_struct_data()
726 str[0] = '\0'; in test_btf_dump_struct_data()
754 str[0] = '\0'; in test_btf_dump_struct_data()
779 char *str) in test_btf_dump_var_data() argument
807 str[0] = '\0'; in test_btf_datasec()
[all …]
/linux/drivers/mmc/core/
A Ddebugfs.c57 const char *str; in mmc_ios_show() local
80 str = "invalid"; in mmc_ios_show()
96 str = "invalid"; in mmc_ios_show()
103 str = "off"; in mmc_ios_show()
106 str = "up"; in mmc_ios_show()
109 str = "on"; in mmc_ios_show()
112 str = "invalid"; in mmc_ios_show()
121 str = "legacy"; in mmc_ios_show()
162 str = "3.30 V"; in mmc_ios_show()
165 str = "1.80 V"; in mmc_ios_show()
[all …]
/linux/tools/perf/util/
A Ddemangle-rust.c109 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()
133 while (str < end) in looks_like_rust()
134 switch (*str) { in looks_like_rust()
137 str += 3; in looks_like_rust()
145 str += 4; in looks_like_rust()
151 str += 5; in looks_like_rust()
[all …]
A Dstring.c30 if (!isdigit(str[0])) in perf_atoll()
117 if (isspace(*str)) { in __match_glob()
118 str++; in __match_glob()
127 str++; in __match_glob()
132 str++; in __match_glob()
141 } else if (*str != *pat) in __match_glob()
143 str++; in __match_glob()
152 while (*str) in __match_glob()
156 return !*str && !*pat; in __match_glob()
258 if (ptr == str || in strpbrk_esc()
[all …]
/linux/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()
314 str += sprintf(str, "%pI4", &val); in ibft_attr_show_nic()
320 str += sprintf(str, "%d\n", nic->origin); in ibft_attr_show_nic()
323 str += sprintf_ipaddr(str, nic->gateway); in ibft_attr_show_nic()
332 str += sprintf_ipaddr(str, nic->dhcp); in ibft_attr_show_nic()
335 str += sprintf(str, "%d\n", nic->vlan); in ibft_attr_show_nic()
338 str += sprintf(str, "%pM\n", nic->mac); in ibft_attr_show_nic()
373 str += sprintf(str, "%d\n", tgt->port); in ibft_attr_show_target()
[all …]
/linux/drivers/usb/common/
A Ddebug.c14 __u16 wLength, char *str, size_t size) in usb_decode_get_status() argument
21 snprintf(str, size, 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()
106 __u16 wLength, char *str, size_t size) in usb_decode_get_set_descriptor() argument
194 char *str, size_t size) in usb_decode_synch_frame() argument
242 wIndex, str, size); in usb_decode_ctrl()
245 usb_decode_set_address(wValue, str, size); in usb_decode_ctrl()
250 wIndex, wLength, str, size); in usb_decode_ctrl()
268 usb_decode_set_sel(wLength, str, size); in usb_decode_ctrl()
[all …]
/linux/arch/mips/kernel/
A Dsegment.c25 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()
62 build_segment_config(str, segcfg); in show_segments()
66 build_segment_config(str, segcfg); in show_segments()
[all …]
/linux/drivers/memory/
A Dti-emif-sram-pm.S58 str r1, [r2, #EMIF_SDCFG_VAL_OFFSET]
61 str r1, [r2, #EMIF_REF_CTRL_VAL_OFFSET]
127 str r1, [r4, r5]
150 str r1, [r0, #EMIF_DDR_PHY_CTRL_1]
154 str r1, [r0, #EMIF_SDRAM_TIMING_1]
158 str r1, [r0, #EMIF_SDRAM_TIMING_2]
162 str r1, [r0, #EMIF_SDRAM_TIMING_3]
176 str r1, [r0, #EMIF_COS_CONFIG]
188 str r1, [r0, #EMIF_OCP_CONFIG]
207 str r1, [r0, #EMIF_DLL_CALIB_CTRL]
[all …]
/linux/lib/
A Dcmdline.c27 (*str)++; in get_range()
58 char *cur = *str; in get_option()
69 if (cur == *str) in get_option()
71 if (**str == ',') { in get_option()
72 (*str)++; in get_option()
75 if (**str == '-') in get_option()
205 while (*str) { in parse_option_str()
208 if (!*str || *str == ',') in parse_option_str()
212 while (*str && *str != ',') in parse_option_str()
213 str++; in parse_option_str()
[all …]
/linux/arch/x86/boot/
A Dprintf.c90 *str++ = ' '; in number()
92 *str++ = sign; in number()
95 *str++ = '0'; in number()
97 *str++ = '0'; in number()
103 *str++ = c; in number()
105 *str++ = '0'; in number()
109 *str++ = ' '; in number()
110 return str; in number()
118 char *str; in vsprintf() local
223 str = number(str, in vsprintf()
[all …]
/linux/arch/alpha/boot/
A Dstdio.c87 *str++ = ' '; in number()
89 *str++ = sign; in number()
92 *str++ = '0'; in number()
94 *str++ = '0'; in number()
100 *str++ = c; in number()
102 *str++ = '0'; in number()
106 *str++ = ' '; in number()
107 return str; in number()
115 char * str; in vsprintf() local
220 str = number(str, in vsprintf()
[all …]
/linux/fs/unicode/
A Dutf8-selftest.c40 unsigned char str[10]; member
46 .str = "aBba",
60 .str = {0xc3, 0xa4, 0x00},
66 .str = {0xC7, 0x89, 0x00},
71 .str = {0xCE, 0x87, 0x00},
94 unsigned char str[30]; member
111 .str = {0xc3, 0x9f, 0x00},
117 .str = {0xC3, 0x85, 0x00},
127 .str = {0xea, 0xad, 0xb0, 0x00},
132 .str = {0xe1, 0x8f, 0xb8, 0x00},
[all …]
/linux/drivers/usb/dwc3/
A Ddebug.h205 snprintf(str, size, "Disconnect: [%s]", in dwc3_gadget_event_string()
209 snprintf(str, size, "Reset [%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()
241 snprintf(str, size, "Overflow [%s]", in dwc3_gadget_event_string()
245 snprintf(str, size, "UNKNOWN"); in dwc3_gadget_event_string()
248 return str; in dwc3_gadget_event_string()
280 scnprintf(str + len, size - len, in dwc3_ep_event_string()
300 scnprintf(str + len, size - len, in dwc3_ep_event_string()
304 scnprintf(str + len, size - len, in dwc3_ep_event_string()
[all …]
/linux/arch/powerpc/boot/
A Dstdio.c123 *str++ = ' '; in number()
125 *str++ = sign; in number()
128 *str++ = '0'; in number()
130 *str++ = '0'; in number()
136 *str++ = c; in number()
138 *str++ = '0'; in number()
142 *str++ = ' '; in number()
143 return str; in number()
151 char * str; in vsprintf() local
256 str = number(str, in vsprintf()
[all …]
/linux/tools/lib/
A Dargv_split.c23 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()
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()
81 const char *p = str; in argv_split()
84 str = skip_arg(str); in argv_split()
[all …]
/linux/arch/arm/mach-at91/
A Dpm_suspend.S469 str tmp1, [pmc, tmp3]
511 str tmp1, [pmc, tmp3]
591 str tmp1, [pmc, tmp2]
620 str tmp1, [pmc, tmp2]
637 str tmp1, [pmc, tmp2]
999 str tmp1, [r0, #0]
1026 str tmp1, .memtype
1028 str tmp1, .pm_mode
1035 str tmp1, .pmc_base
1057 str tmp1, .shdwc
[all …]
/linux/tools/perf/arch/arm/tests/
A 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/kernel/sched/
A Disolation.c144 return housekeeping_setup(str, flags); in housekeeping_nohz_full_setup()
155 while (isalpha(*str)) { in housekeeping_isolcpus_setup()
156 if (!strncmp(str, "nohz,", 5)) { in housekeeping_isolcpus_setup()
157 str += 5; in housekeeping_isolcpus_setup()
162 if (!strncmp(str, "domain,", 7)) { in housekeeping_isolcpus_setup()
163 str += 7; in housekeeping_isolcpus_setup()
169 str += 12; in housekeeping_isolcpus_setup()
178 for (par = str, len = 0; *str && *str != ','; str++, len++) { in housekeeping_isolcpus_setup()
179 if (!isalpha(*str) && *str != '_') in housekeeping_isolcpus_setup()
189 str++; in housekeeping_isolcpus_setup()
[all …]
/linux/kernel/trace/
A Dtrace_events_inject.c45 if (!str[i]) in parse_field()
51 while (isalnum(str[i]) || str[i] == '_') in parse_field()
74 if (isdigit(str[i]) || str[i] == '-') { in parse_field()
88 num = str + s; in parse_field()
89 c = str[i]; in parse_field()
98 str[i] = c; in parse_field()
104 } else if (str[i] == '\'' || str[i] == '"') { in parse_field()
112 if (str[i] == '\\' && str[i + 1]) { in parse_field()
119 if (!str[i]) in parse_field()
129 str[i] = 0; in parse_field()
[all …]
/linux/drivers/acpi/
A Dosi.c102 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()
219 char *str; in acpi_osi_setup_late() local
234 str = osi->string; in acpi_osi_setup_late()
235 if (*str == '\0') in acpi_osi_setup_late()
251 if (str && !strcmp("Linux", str)) in osi_setup()
253 else if (str && !strcmp("!Linux", str)) in osi_setup()
255 else if (str && !strcmp("Darwin", str)) in osi_setup()
[all …]

Completed in 55 milliseconds

12345678910>>...69