Home
last modified time | relevance | path

Searched refs:sub_str (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/tools/hv/
Dhv_kvp_daemon.c1103 char sub_str[13]; in process_ip_string() local
1111 sub_str[0] = 0; in process_ip_string()
1129 snprintf(sub_str, sizeof(sub_str), "%d", ++i); in process_ip_string()
1133 snprintf(sub_str, sizeof(sub_str), "%d", i++); in process_ip_string()
1155 snprintf(sub_str, sizeof(sub_str), "%d", ++i); in process_ip_string()
1159 snprintf(sub_str, sizeof(sub_str), "_%d", j++); in process_ip_string()
1165 error = kvp_write_file(f, str, sub_str, addr); in process_ip_string()
/linux-6.1.9/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c752 char *sub_str; in amdgpu_set_pp_od_clk_voltage() local
790 while ((sub_str = strsep(&tmp_str, delimiter)) != NULL) { in amdgpu_set_pp_od_clk_voltage()
791 if (strlen(sub_str) == 0) in amdgpu_set_pp_od_clk_voltage()
793 ret = kstrtol(sub_str, 0, &parameter[parameter_size]); in amdgpu_set_pp_od_clk_voltage()
1045 char *sub_str = NULL; in amdgpu_read_mask() local
1057 while ((sub_str = strsep(&tmp, delimiter)) != NULL) { in amdgpu_read_mask()
1058 if (strlen(sub_str)) { in amdgpu_read_mask()
1059 ret = kstrtoul(sub_str, 0, &level); in amdgpu_read_mask()
1411 char *sub_str, buf_cpy[128]; in amdgpu_set_pp_power_profile_mode() local
1436 while ((sub_str = strsep(&tmp_str, delimiter)) != NULL) { in amdgpu_set_pp_power_profile_mode()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c76 char *sub_str = NULL; in parse_write_buffer_into_params() local
126 sub_str = strsep(&wr_buf_ptr, delimiter); in parse_write_buffer_into_params()
128 r = kstrtol(sub_str, 16, &(param[param_index])); in parse_write_buffer_into_params()