Home
last modified time | relevance | path

Searched refs:tmp_str (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/memory/
Datmel-ebi.c176 const char *tmp_str; in atmel_ebi_xslate_smc_config() local
207 tmp_str = NULL; in atmel_ebi_xslate_smc_config()
208 of_property_read_string(np, "atmel,smc-byte-access-type", &tmp_str); in atmel_ebi_xslate_smc_config()
209 if (tmp_str && !strcmp(tmp_str, "write")) { in atmel_ebi_xslate_smc_config()
214 tmp_str = NULL; in atmel_ebi_xslate_smc_config()
215 of_property_read_string(np, "atmel,smc-read-mode", &tmp_str); in atmel_ebi_xslate_smc_config()
216 if (tmp_str && !strcmp(tmp_str, "nrd")) { in atmel_ebi_xslate_smc_config()
221 tmp_str = NULL; in atmel_ebi_xslate_smc_config()
222 of_property_read_string(np, "atmel,smc-write-mode", &tmp_str); in atmel_ebi_xslate_smc_config()
223 if (tmp_str && !strcmp(tmp_str, "nwe")) { in atmel_ebi_xslate_smc_config()
[all …]
/Linux-v4.19/drivers/thermal/
Ddb8500_thermal.c320 const char *tmp_str; in db8500_thermal_parse_dt() local
344 if (of_property_read_string(np, prop_name, &tmp_str)) in db8500_thermal_parse_dt()
347 if (!strcmp(tmp_str, "active")) in db8500_thermal_parse_dt()
349 else if (!strcmp(tmp_str, "passive")) in db8500_thermal_parse_dt()
351 else if (!strcmp(tmp_str, "hot")) in db8500_thermal_parse_dt()
353 else if (!strcmp(tmp_str, "critical")) in db8500_thermal_parse_dt()
367 if (of_property_read_string(np, prop_name, &tmp_str)) in db8500_thermal_parse_dt()
370 if (strlen(tmp_str) >= THERMAL_NAME_LENGTH) in db8500_thermal_parse_dt()
373 strcpy(ptrips->trip_points[i].cdev_name[j], tmp_str); in db8500_thermal_parse_dt()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pm.c506 char *tmp_str; in amdgpu_set_pp_od_clk_voltage() local
527 tmp_str = buf_cpy; in amdgpu_set_pp_od_clk_voltage()
529 while (isspace(*++tmp_str)); in amdgpu_set_pp_od_clk_voltage()
531 while (tmp_str[0]) { in amdgpu_set_pp_od_clk_voltage()
532 sub_str = strsep(&tmp_str, delimiter); in amdgpu_set_pp_od_clk_voltage()
538 while (isspace(*tmp_str)) in amdgpu_set_pp_od_clk_voltage()
539 tmp_str++; in amdgpu_set_pp_od_clk_voltage()
865 char *tmp_str; in amdgpu_set_pp_power_profile_mode() local
883 tmp_str = buf_cpy; in amdgpu_set_pp_power_profile_mode()
884 while (tmp_str[0]) { in amdgpu_set_pp_power_profile_mode()
[all …]
/Linux-v4.19/drivers/infiniband/hw/ocrdma/
Docrdma_stats.c638 char tmp_str[32]; in ocrdma_dbgfs_ops_write() local
644 if (*ppos != 0 || count == 0 || count > sizeof(tmp_str)) in ocrdma_dbgfs_ops_write()
647 if (copy_from_user(tmp_str, buffer, count)) in ocrdma_dbgfs_ops_write()
650 tmp_str[count-1] = '\0'; in ocrdma_dbgfs_ops_write()
651 if (kstrtol(tmp_str, 10, &reset)) in ocrdma_dbgfs_ops_write()
/Linux-v4.19/scripts/kconfig/
Dnconf.c570 char tmp_str[256]; in item_add_str() local
578 snprintf(tmp_str, sizeof(tmp_str), "%s%s", in item_add_str()
581 tmp_str, in item_add_str()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfw_tracer.c517 struct tracer_string_format *str_frmt, *tmp_str; in mlx5_fw_tracer_clean_ready_list() local
519 list_for_each_entry_safe(str_frmt, tmp_str, &tracer->ready_strings_list, in mlx5_fw_tracer_clean_ready_list()
593 struct tracer_string_format *str_frmt, *tmp_str; in mlx5_tracer_handle_timestamp_trace() local
597 list_for_each_entry_safe(str_frmt, tmp_str, &tracer->ready_strings_list, list) { in mlx5_tracer_handle_timestamp_trace()
/Linux-v4.19/fs/ext4/
Dnamei.c974 struct fscrypt_str fname_crypto_str = FSTR_INIT(NULL, 0), tmp_str; in htree_dirblock_to_tree() local
1018 tmp_str.name = de->name; in htree_dirblock_to_tree()
1019 tmp_str.len = de->name_len; in htree_dirblock_to_tree()
1022 &tmp_str); in htree_dirblock_to_tree()
1075 struct fscrypt_str tmp_str; in ext4_htree_fill_tree() local
1111 tmp_str.name = de->name; in ext4_htree_fill_tree()
1112 tmp_str.len = de->name_len; in ext4_htree_fill_tree()
1114 de, &tmp_str); in ext4_htree_fill_tree()
1122 tmp_str.name = de->name; in ext4_htree_fill_tree()
1123 tmp_str.len = de->name_len; in ext4_htree_fill_tree()
[all …]
Dinline.c1342 struct fscrypt_str tmp_str; in htree_inlinedir_to_tree() local
1414 tmp_str.name = de->name; in htree_inlinedir_to_tree()
1415 tmp_str.len = de->name_len; in htree_inlinedir_to_tree()
1417 hinfo->minor_hash, de, &tmp_str); in htree_inlinedir_to_tree()