Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c728 char *sub_str; in amdgpu_set_pp_od_clk_voltage() local
766 while ((sub_str = strsep(&tmp_str, delimiter)) != NULL) { in amdgpu_set_pp_od_clk_voltage()
767 if (strlen(sub_str) == 0) in amdgpu_set_pp_od_clk_voltage()
769 ret = kstrtol(sub_str, 0, &parameter[parameter_size]); in amdgpu_set_pp_od_clk_voltage()
1019 char *sub_str = NULL; in amdgpu_read_mask() local
1031 while ((sub_str = strsep(&tmp, delimiter)) != NULL) { in amdgpu_read_mask()
1032 if (strlen(sub_str)) { in amdgpu_read_mask()
1033 ret = kstrtoul(sub_str, 0, &level); in amdgpu_read_mask()
1415 char *sub_str, buf_cpy[128]; in amdgpu_set_pp_power_profile_mode() local
1440 while ((sub_str = strsep(&tmp_str, delimiter)) != NULL) { in amdgpu_set_pp_power_profile_mode()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c80 char *sub_str = NULL; in parse_write_buffer_into_params() local
130 sub_str = strsep(&wr_buf_ptr, delimiter); in parse_write_buffer_into_params()
132 r = kstrtol(sub_str, 16, &(param[param_index])); in parse_write_buffer_into_params()