Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c772 char *sub_str; in amdgpu_set_pp_od_clk_voltage() local
804 sub_str = strsep(&tmp_str, delimiter); in amdgpu_set_pp_od_clk_voltage()
805 ret = kstrtol(sub_str, 0, &parameter[parameter_size]); in amdgpu_set_pp_od_clk_voltage()
1074 char *sub_str = NULL; in amdgpu_read_mask() local
1087 sub_str = strsep(&tmp, delimiter); in amdgpu_read_mask()
1088 if (strlen(sub_str)) { in amdgpu_read_mask()
1089 ret = kstrtol(sub_str, 0, &level); in amdgpu_read_mask()
1693 char *sub_str, buf_cpy[128]; in amdgpu_set_pp_power_profile_mode() local
1717 sub_str = strsep(&tmp_str, delimiter); in amdgpu_set_pp_power_profile_mode()
1718 ret = kstrtol(sub_str, 0, &parameter[parameter_size]); in amdgpu_set_pp_power_profile_mode()
/Linux-v5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c73 char *sub_str = NULL; in parse_write_buffer_into_params() local
125 sub_str = strsep(&wr_buf_ptr, delimiter); in parse_write_buffer_into_params()
127 r = kstrtol(sub_str, 16, &(param[param_index])); in parse_write_buffer_into_params()