Home
last modified time | relevance | path

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

12345678910>>...73

/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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()
569 if (str->substream && str->running) in lola_pcm_update()
627 str->nid = nid; in lola_init_stream()
[all …]
/linux-6.3-rc2/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()
390 return str; in cdnsp_decode_trb()
396 static char str[1024]; in cdnsp_decode_slot_context() local
427 return str; in cdnsp_decode_slot_context()
498 return str; in cdnsp_decode_portsc()
[all …]
/linux-6.3-rc2/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 segments_show() local
58 build_segment_config(str, segcfg); in segments_show()
62 build_segment_config(str, segcfg); in segments_show()
66 build_segment_config(str, segcfg); in segments_show()
[all …]
/linux-6.3-rc2/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.c29 if (!isdigit(str[0])) in perf_atoll()
116 if (isspace(*str)) { in __match_glob()
117 str++; in __match_glob()
126 str++; in __match_glob()
131 str++; in __match_glob()
140 } else if (*str != *pat) in __match_glob()
142 str++; in __match_glob()
151 while (*str) in __match_glob()
155 return !*str && !*pat; in __match_glob()
257 if (ptr == str || in strpbrk_esc()
[all …]
A Dexpr.l19 num = strtod(str, NULL); in __value()
41 char *ret = str; in normalize()
42 char *dst = str; in normalize()
44 while (*str) { in normalize()
45 if (*str == '\\') { in normalize()
46 *dst++ = *++str; in normalize()
47 if (!*str) in normalize()
64 *dst++ = *str; in normalize()
65 str++; in normalize()
78 if (!yylval->str) in str()
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dbtf_dump.c293 str[0] = '\0'; in btf_dump_data()
351 char *str) in test_btf_dump_int_data() argument
409 char *str) in test_btf_dump_float_data() argument
454 char *str) in test_btf_dump_char_data() argument
531 char *str) in test_btf_dump_enum_data() argument
648 str[0] = '\0'; in test_btf_dump_struct_data()
749 str[0] = '\0'; in test_btf_dump_struct_data()
777 str[0] = '\0'; in test_btf_dump_struct_data()
802 char *str) in test_btf_dump_var_data() argument
830 str[0] = '\0'; in test_btf_datasec()
[all …]
/linux-6.3-rc2/drivers/media/platform/amphion/
A Dvpu_dbg.c73 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
80 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
94 num = scnprintf(str, sizeof(str), " %d(%d)", in vpu_dbg_instance()
104 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
118 num = scnprintf(str, sizeof(str), " %d(%d)", in vpu_dbg_instance()
141 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
156 num = scnprintf(str, sizeof(str), in vpu_dbg_instance()
181 num = scnprintf(str, sizeof(str), "flow :\n"); in vpu_dbg_instance()
237 num = scnprintf(str, sizeof(str), "power %s\n", in vpu_dbg_core()
262 num = scnprintf(str, sizeof(str), in vpu_dbg_core()
[all …]
/linux-6.3-rc2/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 …]
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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 …]
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/fs/unicode/
A Dutf8-selftest.c38 unsigned char str[10]; member
44 .str = "aBba",
58 .str = {0xc3, 0xa4, 0x00},
64 .str = {0xC7, 0x89, 0x00},
69 .str = {0xCE, 0x87, 0x00},
92 unsigned char str[30]; member
109 .str = {0xc3, 0x9f, 0x00},
115 .str = {0xC3, 0x85, 0x00},
125 .str = {0xea, 0xad, 0xb0, 0x00},
130 .str = {0xe1, 0x8f, 0xb8, 0x00},
[all …]
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/arch/arm/mach-at91/
A Dpm_suspend.S488 str tmp1, [pmc, tmp3]
530 str tmp1, [pmc, tmp3]
610 str tmp1, [pmc, tmp2]
639 str tmp1, [pmc, tmp2]
656 str tmp1, [pmc, tmp2]
1018 str tmp1, [r0, #0]
1045 str tmp1, .memtype
1047 str tmp1, .pm_mode
1054 str tmp1, .pmc_base
1076 str tmp1, .shdwc
[all …]
/linux-6.3-rc2/arch/x86/kernel/acpi/
A Dsleep.c135 while ((str != NULL) && (*str != '\0')) { in acpi_sleep_setup()
136 if (strncmp(str, "s3_bios", 7) == 0) in acpi_sleep_setup()
138 if (strncmp(str, "s3_mode", 7) == 0) in acpi_sleep_setup()
140 if (strncmp(str, "s3_beep", 7) == 0) in acpi_sleep_setup()
143 if (strncmp(str, "s4_hwsig", 8) == 0) in acpi_sleep_setup()
148 if (strncmp(str, "nonvs", 5) == 0) in acpi_sleep_setup()
150 if (strncmp(str, "nonvs_s3", 8) == 0) in acpi_sleep_setup()
154 if (strncmp(str, "nobl", 4) == 0) in acpi_sleep_setup()
156 str = strchr(str, ','); in acpi_sleep_setup()
157 if (str != NULL) in acpi_sleep_setup()
[all …]

Completed in 50 milliseconds

12345678910>>...73