Home
last modified time | relevance | path

Searched refs:clk_id (Results 1 – 22 of 22) sorted by relevance

/openbsd/sys/dev/pci/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c501 uint8_t clk_id, in smu_v11_0_atom_get_smu_clockinfo() argument
509 input.clk_id = clk_id; in smu_v11_0_atom_get_smu_clockinfo()
797 int clk_id; in smu_v11_0_get_max_sustainable_clock() local
806 if (clk_id < 0) in smu_v11_0_get_max_sustainable_clock()
1735 if (clk_id < 0) { in smu_v11_0_get_dpm_ultimate_freq()
1771 if (clk_id < 0) in smu_v11_0_set_soft_freq_limited_range()
1772 return clk_id; in smu_v11_0_set_soft_freq_limited_range()
1811 if (clk_id < 0) in smu_v11_0_set_hard_freq_limited_range()
1812 return clk_id; in smu_v11_0_set_hard_freq_limited_range()
1968 if (clk_id < 0) in smu_v11_0_get_dpm_freq_by_index()
[all …]
H A Darcturus_ppt.c700 int clk_id = 0; in arcturus_get_current_clk_freq_by_table() local
705 clk_id = smu_cmn_to_asic_specific_index(smu, in arcturus_get_current_clk_freq_by_table()
708 if (clk_id < 0) in arcturus_get_current_clk_freq_by_table()
711 switch (clk_id) { in arcturus_get_current_clk_freq_by_table()
H A Dnavi10_ppt.c1189 int clk_id = 0; in navi10_get_current_clk_freq_by_table() local
1191 clk_id = smu_cmn_to_asic_specific_index(smu, in navi10_get_current_clk_freq_by_table()
1194 if (clk_id < 0) in navi10_get_current_clk_freq_by_table()
1195 return clk_id; in navi10_get_current_clk_freq_by_table()
1197 switch (clk_id) { in navi10_get_current_clk_freq_by_table()
H A Dsienna_cichlid_ppt.c1182 int clk_id = 0; in sienna_cichlid_get_current_clk_freq_by_table() local
1184 clk_id = smu_cmn_to_asic_specific_index(smu, in sienna_cichlid_get_current_clk_freq_by_table()
1187 if (clk_id < 0) in sienna_cichlid_get_current_clk_freq_by_table()
1188 return clk_id; in sienna_cichlid_get_current_clk_freq_by_table()
1190 switch (clk_id) { in sienna_cichlid_get_current_clk_freq_by_table()
/openbsd/sys/dev/pci/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0.c851 int clk_id; in smu_v13_0_get_max_sustainable_clock() local
860 if (clk_id < 0) in smu_v13_0_get_max_sustainable_clock()
1585 if (clk_id < 0) { in smu_v13_0_get_dpm_ultimate_freq()
1630 if (clk_id < 0) in smu_v13_0_set_soft_freq_limited_range()
1631 return clk_id; in smu_v13_0_set_soft_freq_limited_range()
1670 if (clk_id < 0) in smu_v13_0_set_hard_freq_limited_range()
1671 return clk_id; in smu_v13_0_set_hard_freq_limited_range()
1907 if (clk_id < 0) in smu_v13_0_get_dpm_freq_by_index()
1908 return clk_id; in smu_v13_0_get_dpm_freq_by_index()
1955 if (clk_id < 0) in smu_v13_0_get_fine_grained_status()
[all …]
H A Daldebaran_ppt.c682 int clk_id = 0; in aldebaran_get_current_clk_freq_by_table() local
687 clk_id = smu_cmn_to_asic_specific_index(smu, in aldebaran_get_current_clk_freq_by_table()
690 if (clk_id < 0) in aldebaran_get_current_clk_freq_by_table()
693 switch (clk_id) { in aldebaran_get_current_clk_freq_by_table()
H A Dsmu_v13_0_6_ppt.c393 int ret = 0, clk_id = 0; in smu_v13_0_6_get_dpm_ultimate_freq() local
437 clk_id = smu_cmn_to_asic_specific_index( in smu_v13_0_6_get_dpm_ultimate_freq()
439 if (clk_id < 0) { in smu_v13_0_6_get_dpm_ultimate_freq()
443 param = (clk_id & 0xffff) << 16; in smu_v13_0_6_get_dpm_ultimate_freq()
H A Dsmu_v13_0_7_ppt.c998 int clk_id = 0; in smu_v13_0_7_get_current_clk_freq_by_table() local
1000 clk_id = smu_cmn_to_asic_specific_index(smu, in smu_v13_0_7_get_current_clk_freq_by_table()
1003 if (clk_id < 0) in smu_v13_0_7_get_current_clk_freq_by_table()
1006 switch (clk_id) { in smu_v13_0_7_get_current_clk_freq_by_table()
H A Dsmu_v13_0_0_ppt.c1017 int clk_id = 0; in smu_v13_0_0_get_current_clk_freq_by_table() local
1019 clk_id = smu_cmn_to_asic_specific_index(smu, in smu_v13_0_0_get_current_clk_freq_by_table()
1022 if (clk_id < 0) in smu_v13_0_0_get_current_clk_freq_by_table()
1025 switch (clk_id) { in smu_v13_0_0_get_current_clk_freq_by_table()
/openbsd/sys/dev/pci/drm/amd/pm/swsmu/smu12/
H A Dsmu_v12_0.c289 uint8_t clk_id, in smu_v12_0_atom_get_smu_clockinfo() argument
297 input.clk_id = clk_id; in smu_v12_0_atom_get_smu_clockinfo()
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_solaris.cpp215 uptr internal_clock_gettime(__sanitizer_clockid_t clk_id, void *tp) { in internal_clock_gettime() argument
217 return clock_gettime(clk_id, (timespec *)tp); in internal_clock_gettime()
H A Dsanitizer_netbsd.cpp251 uptr internal_clock_gettime(__sanitizer_clockid_t clk_id, void *tp) { in internal_clock_gettime() argument
253 return _REAL(__clock_gettime50, clk_id, tp); in internal_clock_gettime()
H A Dsanitizer_linux.h66 uptr internal_clock_gettime(__sanitizer_clockid_t clk_id, void *tp);
H A Dsanitizer_linux_libcdep.cpp922 int real_clock_gettime(u32 clk_id, void *tp);
H A Dsanitizer_linux.cpp586 uptr internal_clock_gettime(__sanitizer_clockid_t clk_id, void *tp) { in internal_clock_gettime() argument
587 return internal_syscall(SYSCALL(clock_gettime), clk_id, tp); in internal_clock_gettime()
H A Dsanitizer_common_interceptors.inc2228 INTERCEPTOR(int, clock_getres, u32 clk_id, void *tp) {
2230 COMMON_INTERCEPTOR_ENTER(ctx, clock_getres, clk_id, tp);
2234 int res = REAL(clock_getres)(clk_id, tp);
2240 INTERCEPTOR(int, clock_gettime, u32 clk_id, void *tp) {
2242 COMMON_INTERCEPTOR_ENTER(ctx, clock_gettime, clk_id, tp);
2246 int res = REAL(clock_gettime)(clk_id, tp);
2255 int real_clock_gettime(u32 clk_id, void *tp) {
2257 return internal_clock_gettime(clk_id, tp);
2258 return REAL(clock_gettime)(clk_id, tp);
2265 COMMON_INTERCEPTOR_ENTER(ctx, clock_settime, clk_id, tp);
[all …]
/openbsd/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/
H A Dppatomfwctrl.c492 uint8_t clk_id, uint8_t syspll_id, in pp_atomfwctrl_get_clk_information_by_clkid() argument
500 parameters.clk_id = clk_id; in pp_atomfwctrl_get_clk_information_by_clkid()
H A Dppatomfwctrl.h239 uint8_t clk_id, uint8_t syspll_id,
H A Dvega20_hwmgr.c537 PPCLK_e clk_id, uint32_t *num_of_levels) in vega20_get_number_of_dpm_level() argument
543 (clk_id << 16 | 0xFF), in vega20_get_number_of_dpm_level()
553 PPCLK_e clk_id, uint32_t index, uint32_t *clk) in vega20_get_dpm_frequency_by_index() argument
559 (clk_id << 16 | index), in vega20_get_dpm_frequency_by_index()
569 struct vega20_single_dpm_table *dpm_table, PPCLK_e clk_id) in vega20_setup_single_dpm_table() argument
574 ret = vega20_get_number_of_dpm_level(hwmgr, clk_id, &num_of_levels); in vega20_setup_single_dpm_table()
582 ret = vega20_get_dpm_frequency_by_index(hwmgr, clk_id, i, &clk); in vega20_setup_single_dpm_table()
2170 PPCLK_e clk_id, uint32_t *clk_freq) in vega20_get_current_clk_freq() argument
2177 PPSMC_MSG_GetDpmClockFreq, (clk_id << 16), in vega20_get_current_clk_freq()
H A Dvega12_hwmgr.c579 PPCLK_e clk_id, uint32_t *num_of_levels) in vega12_get_number_of_dpm_level() argument
585 (clk_id << 16 | 0xFF), in vega12_get_number_of_dpm_level()
611 struct vega12_single_dpm_table *dpm_table, PPCLK_e clk_id) in vega12_setup_single_dpm_table() argument
616 ret = vega12_get_number_of_dpm_level(hwmgr, clk_id, &num_of_levels); in vega12_setup_single_dpm_table()
624 ret = vega12_get_dpm_frequency_by_index(hwmgr, clk_id, i, &clk); in vega12_setup_single_dpm_table()
/openbsd/gnu/llvm/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cpp702 SANITIZER_INTERFACE_ATTRIBUTE int __dfsw_clock_gettime(clockid_t clk_id, in __dfsw_clock_gettime() argument
707 int ret = clock_gettime(clk_id, tp); in __dfsw_clock_gettime()
715 clockid_t clk_id, struct timespec *tp, dfsan_label clk_id_label, in __dfso_clock_gettime() argument
718 return __dfsw_clock_gettime(clk_id, tp, clk_id_label, tp_label, ret_label); in __dfso_clock_gettime()
/openbsd/sys/dev/pci/drm/amd/include/
H A Datomfirmware.h3803 …uint8_t clk_id; // atom_smu9_syspll0_clock_id (only valid when command == GET_SMU_CLO… member