Home
last modified time | relevance | path

Searched refs:str2 (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/sound/soc/sof/
Dipc3.c24 u8 *str2 = NULL; in ipc3_log_header() local
41 str2 = "COMP_NEW"; break; in ipc3_log_header()
43 str2 = "COMP_FREE"; break; in ipc3_log_header()
45 str2 = "COMP_CONNECT"; break; in ipc3_log_header()
47 str2 = "PIPE_NEW"; break; in ipc3_log_header()
49 str2 = "PIPE_FREE"; break; in ipc3_log_header()
51 str2 = "PIPE_CONNECT"; break; in ipc3_log_header()
53 str2 = "PIPE_COMPLETE"; break; in ipc3_log_header()
55 str2 = "BUFFER_NEW"; break; in ipc3_log_header()
57 str2 = "BUFFER_FREE"; break; in ipc3_log_header()
[all …]
Dipc4.c178 const u8 *str2 = NULL; in sof_ipc4_log_header() local
207 str2 = ipc4_dbg_notification_type[notif]; in sof_ipc4_log_header()
208 if (!str2) in sof_ipc4_log_header()
209 str2 = "Unknown Global notification"; in sof_ipc4_log_header()
213 if (str2) { in sof_ipc4_log_header()
216 text, msg->primary, msg->extension, str, str2, in sof_ipc4_log_header()
220 msg->extension, str, str2); in sof_ipc4_log_header()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_global_data.c49 static char str2[32]; variable
89 test_reloc(string, 2, str2); in load_static_data()
92 __builtin_memcpy(&str2[2], "hello", sizeof("hello")); in load_static_data()
93 test_reloc(string, 4, str2); in load_static_data()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dprobe_read_user_str.c6 static const char str2[] = "mestringalittlebigger"; variable
64 if (test_one_str(skel, str2, sizeof(str2))) in test_probe_read_user_str()
Dvarlen.c19 const char str2[] = "World!"; in test_varlen() local
22 const int size2 = sizeof(str2); in test_varlen()
38 memcpy(bss->buf_in2, str2, size2); in test_varlen()
/linux-6.6.21/tools/lib/bpf/
Dstrset.c34 const char *str2 = s->strs_data + key2; in strset_equal_fn() local
36 return strcmp(str1, str2) == 0; in strset_equal_fn()
/linux-6.6.21/arch/powerpc/platforms/cell/
Dcbe_thermal.c300 u64 str2; in init_default_values() local
325 str2 = 0x10; in init_default_values()
353 out_be64(&pmd_regs->tm_str2, str2); in init_default_values()
/linux-6.6.21/arch/x86/boot/
Dstring.c48 int strcmp(const char *str1, const char *str2) in strcmp() argument
51 const unsigned char *s2 = (const unsigned char *)str2; in strcmp()
Dstring.h21 extern int strcmp(const char *str1, const char *str2);
Dboot.h305 int strcmp(const char *str1, const char *str2);
/linux-6.6.21/drivers/target/iscsi/
Discsi_target_configfs.c161 char *str, *str2, *ip_str, *port_str; in lio_target_call_addnptotpg() local
175 str2 = strstr(str, "]"); in lio_target_call_addnptotpg()
176 if (!str2) { in lio_target_call_addnptotpg()
183 *str2 = '\0'; /* Terminate the unbracketed IPv6 address */ in lio_target_call_addnptotpg()
184 str2++; /* Skip over the \0 */ in lio_target_call_addnptotpg()
186 port_str = strstr(str2, ":"); in lio_target_call_addnptotpg()
/linux-6.6.21/drivers/staging/rtl8723bs/include/
Dhal_com.h148 bool eqNByte(u8 *str1, u8 *str2, u32 num);
/linux-6.6.21/tools/perf/util/
Dannotate.c3364 static unsigned int parse_percent_type(char *str1, char *str2) in parse_percent_type() argument
3369 if (!strcmp("local", str2)) in parse_percent_type()
3371 else if (!strcmp("global", str2)) in parse_percent_type()
3376 if (!strcmp("local", str2)) in parse_percent_type()
3378 else if (!strcmp("global", str2)) in parse_percent_type()
3390 char *str1, *str2; in annotate_parse_percent_type() local
3397 str2 = strchr(str1, '-'); in annotate_parse_percent_type()
3398 if (!str2) in annotate_parse_percent_type()
3401 *str2++ = 0; in annotate_parse_percent_type()
3403 type = parse_percent_type(str1, str2); in annotate_parse_percent_type()
[all …]
/linux-6.6.21/drivers/ata/
Dahci_imx.c333 u32 str1, str2, str3, str4; in __sata_ahci_read_temperature() local
367 str2 = (rtune_ctl_reg) & 0x3; in __sata_ahci_read_temperature()
397 rtune_ctl_reg = (rtune_ctl_reg & 0xFFC) | (str2); in __sata_ahci_read_temperature()
/linux-6.6.21/scripts/kconfig/
Dexpr.c1033 const char *str1, *str2; in expr_calc_value() local
1071 str2 = sym_get_string_value(e->right.sym); in expr_calc_value()
1075 k2 = expr_parse_string(str2, e->right.sym->type, &rval); in expr_calc_value()
1079 res = strcmp(str1, str2); in expr_calc_value()
/linux-6.6.21/tools/testing/selftests/net/openvswitch/
Dovs-dpctl.py67 def strcspn(str1, str2): argument
70 if str2.find(char) != -1:
76 def strspn(str1, str2): argument
79 if str2.find(char) == -1:
/linux-6.6.21/drivers/staging/rtl8723bs/hal/
Dhal_com.c850 bool eqNByte(u8 *str1, u8 *str2, u32 num) in eqNByte() argument
856 if (str1[num] != str2[num]) in eqNByte()
/linux-6.6.21/drivers/target/
Dtarget_core_configfs.c3521 char *se_plugin_str, *str, *str2; in target_core_call_addhbatotarget() local
3545 str2 = strstr(str+1, "_"); in target_core_call_addhbatotarget()
3546 if (str2) { in target_core_call_addhbatotarget()
3547 *str2 = '\0'; /* Terminate for *se_plugin_str */ in target_core_call_addhbatotarget()
3548 str2++; /* Skip to start of plugin dependent ID */ in target_core_call_addhbatotarget()
3549 str = str2; in target_core_call_addhbatotarget()
/linux-6.6.21/tools/testing/selftests/bpf/
Dveristat.c1216 const char *str1 = NULL, *str2 = NULL; in cmp_join_stat() local
1221 fetch_join_stat_value(s2, id, var, &str2, &v2); in cmp_join_stat()
1224 cmp = strcmp(str1, str2); in cmp_join_stat()
/linux-6.6.21/drivers/gpu/drm/sti/
Dsti_hdmi.c600 #define DBGFS_PRINT_STR(str1, str2) seq_printf(s, "%-24s %s\n", str1, str2) argument
/linux-6.6.21/drivers/media/platform/st/sti/delta/
Ddelta-v4l2.c1315 unsigned char str2[100] = ""; in delta_vb2_au_start_streaming() local
1379 delta_frameinfo_str(frameinfo, str2, sizeof(str2))); in delta_vb2_au_start_streaming()
/linux-6.6.21/scripts/
Dcheckpatch.pl682 my ($str1, $str2) = @_;
684 $str2 = lc($str2);
686 $str2 =~ s/-//g;
688 my $len2 = length($str2);
697 } elsif (substr($str1, $i-1, 1) eq substr($str2, $j-1, 1)) {