Home
last modified time | relevance | path

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

/linux-6.12.1/tools/hv/
Dhv_kvp_daemon.c1114 char sub_str[13]; in process_ip_string() local
1122 sub_str[0] = 0; in process_ip_string()
1140 snprintf(sub_str, sizeof(sub_str), "%d", ++i); in process_ip_string()
1144 snprintf(sub_str, sizeof(sub_str), "%d", i++); in process_ip_string()
1166 snprintf(sub_str, sizeof(sub_str), "%d", ++i); in process_ip_string()
1170 snprintf(sub_str, sizeof(sub_str), "_%d", j++); in process_ip_string()
1176 error = kvp_write_file(f, str, sub_str, addr); in process_ip_string()
/linux-6.12.1/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c757 char *sub_str; in amdgpu_set_pp_od_clk_voltage() local
796 while ((sub_str = strsep(&tmp_str, delimiter)) != NULL) { in amdgpu_set_pp_od_clk_voltage()
797 if (strlen(sub_str) == 0) in amdgpu_set_pp_od_clk_voltage()
799 ret = kstrtol(sub_str, 0, &parameter[parameter_size]); in amdgpu_set_pp_od_clk_voltage()
1061 char *sub_str = NULL; in amdgpu_read_mask() local
1073 while ((sub_str = strsep(&tmp, delimiter)) != NULL) { in amdgpu_read_mask()
1074 if (strlen(sub_str)) { in amdgpu_read_mask()
1075 ret = kstrtoul(sub_str, 0, &level); in amdgpu_read_mask()
1457 char *sub_str, buf_cpy[128]; in amdgpu_set_pp_power_profile_mode() local
1482 while ((sub_str = strsep(&tmp_str, delimiter)) != NULL) { in amdgpu_set_pp_power_profile_mode()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c82 char *sub_str = NULL; in parse_write_buffer_into_params() local
132 sub_str = strsep(&wr_buf_ptr, delimiter); in parse_write_buffer_into_params()
134 r = kstrtol(sub_str, 16, &(param[param_index])); in parse_write_buffer_into_params()