Home
last modified time | relevance | path

Searched refs:max_clocks (Results 1 – 9 of 9) sorted by relevance

/linux/tools/testing/selftests/timers/
H A Dnsleep-lat.c135 int max_clocks = CLOCK_TAI + 1; in main() local
138 ksft_set_plan(max_clocks - CLOCK_REALTIME - SKIPPED_CLOCK_COUNT); in main()
140 for (clockid = CLOCK_REALTIME; clockid < max_clocks; clockid++) { in main()
H A Dnanosleep.c173 int max_clocks = CLOCK_TAI + 1; in main() local
176 ksft_set_plan(max_clocks); in main()
178 for (clockid = CLOCK_REALTIME; clockid < max_clocks; clockid++) { in main()
H A Dset-timer-lat.c245 int max_clocks = CLOCK_TAI + 1; in main() local
254 for (clock_id = 0; clock_id < max_clocks; clock_id++) { in main()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.c1850 struct pp_smu_nv_clock_table *max_clocks, in dcn20_update_bounding_box() argument
1888 …bb->clock_limits[i].socclk_mhz = (bb->clock_limits[i].fabricclk_mhz > max_clocks->socClockInKhz / … in dcn20_update_bounding_box()
1889 max_clocks->socClockInKhz / 1000 : bb->clock_limits[i].fabricclk_mhz; in dcn20_update_bounding_box()
1891 …bb->clock_limits[i].dcfclk_mhz = (bb->clock_limits[i].fabricclk_mhz > max_clocks->dcfClockInKhz / … in dcn20_update_bounding_box()
1892 max_clocks->dcfClockInKhz / 1000 : bb->clock_limits[i].fabricclk_mhz; in dcn20_update_bounding_box()
1894 bb->clock_limits[i].dispclk_mhz = max_clocks->displayClockInKhz / 1000; in dcn20_update_bounding_box()
1895 bb->clock_limits[i].dppclk_mhz = max_clocks->displayClockInKhz / 1000; in dcn20_update_bounding_box()
1896 bb->clock_limits[i].dscclk_mhz = max_clocks->displayClockInKhz / (1000 * 3); in dcn20_update_bounding_box()
1898 bb->clock_limits[i].phyclk_mhz = max_clocks->phyClockInKhz / 1000; in dcn20_update_bounding_box()
1903 bb->clock_limits[num_calculated_states - 1].socclk_mhz = max_clocks->socClockInKhz / 1000; in dcn20_update_bounding_box()
[all …]
H A Ddcn20_fpu.h56 struct pp_smu_nv_clock_table max_clocks);
59 struct pp_smu_nv_clock_table *max_clocks,
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c1450 struct pp_smu_nv_clock_table *max_clocks) in smu_v11_0_get_max_sustainable_clocks_by_dc() argument
1455 if (!max_clocks || !table_context->max_sustainable_clocks) in smu_v11_0_get_max_sustainable_clocks_by_dc()
1460 max_clocks->dcfClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()
1462 max_clocks->displayClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()
1464 max_clocks->phyClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()
1466 max_clocks->pixelClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()
1468 max_clocks->uClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()
1470 max_clocks->socClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()
1472 max_clocks->dscClockInKhz = 0; in smu_v11_0_get_max_sustainable_clocks_by_dc()
1473 max_clocks->dppClockInKhz = 0; in smu_v11_0_get_max_sustainable_clocks_by_dc()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddm_pp_smu.h225 struct pp_smu_nv_clock_table *max_clocks);
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/
H A Ddcn20_resource.c2398 struct pp_smu_nv_clock_table max_clocks = {0}; in init_soc_bounding_box() local
2414 (&pool->base.pp_smu->nv_funcs.pp_smu, &max_clocks); in init_soc_bounding_box()
2417 if (max_clocks.dcfClockInKhz >= max_clocks.socClockInKhz) in init_soc_bounding_box()
2418 max_clocks.dcfClockInKhz = max_clocks.socClockInKhz - 1000; in init_soc_bounding_box()
2424 dcn20_update_bounding_box(dc, loaded_bb, &max_clocks, uclk_states, num_states); in init_soc_bounding_box()
2428 dcn20_cap_soc_clocks(loaded_bb, max_clocks); in init_soc_bounding_box()
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Damdgpu_smu.h1369 …t_max_sustainable_clocks_by_dc)(struct smu_context *smu, struct pp_smu_nv_clock_table *max_clocks);