/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce80/ |
H A D | dce80_resource.c | 848 if (pool->base.clock_sources[i] != NULL) { in dce80_resource_destruct() 849 dce80_clock_source_destroy(&pool->base.clock_sources[i]); in dce80_resource_destruct() 988 pool->base.clock_sources[0] = in dce80_construct() 990 pool->base.clock_sources[1] = in dce80_construct() 992 pool->base.clock_sources[2] = in dce80_construct() 1000 pool->base.clock_sources[0] = in dce80_construct() 1002 pool->base.clock_sources[1] = in dce80_construct() 1014 if (pool->base.clock_sources[i] == NULL) { in dce80_construct() 1188 pool->base.clock_sources[0] = in dce81_construct() 1190 pool->base.clock_sources[1] = in dce81_construct() [all …]
|
/openbmc/linux/sound/firewire/dice/ |
H A D | dice-proc.c | 62 static const char *const clock_sources[] = { in dice_proc_read() local 136 str_from_array(clock_sources, ARRAY_SIZE(clock_sources), in dice_proc_read() 162 snd_iprintf(buffer, " %s", clock_sources[i]); in dice_proc_read() 229 str_from_array(clock_sources, in dice_proc_read() 230 ARRAY_SIZE(clock_sources), in dice_proc_read()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce60/ |
H A D | dce60_resource.c | 841 if (pool->base.clock_sources[i] != NULL) { in dce60_resource_destruct() 842 dce60_clock_source_destroy(&pool->base.clock_sources[i]); in dce60_resource_destruct() 978 pool->base.clock_sources[0] = in dce60_construct() 980 pool->base.clock_sources[1] = in dce60_construct() 988 pool->base.clock_sources[0] = in dce60_construct() 1000 if (pool->base.clock_sources[i] == NULL) { in dce60_construct() 1172 pool->base.clock_sources[0] = in dce61_construct() 1174 pool->base.clock_sources[1] = in dce61_construct() 1176 pool->base.clock_sources[2] = in dce61_construct() 1184 pool->base.clock_sources[0] = in dce61_construct() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce112/ |
H A D | dce112_resource.c | 821 if (pool->base.clock_sources[i] != NULL) { in dce112_resource_destruct() 822 dce112_clock_source_destroy(&pool->base.clock_sources[i]); in dce112_resource_destruct() 853 return pool->clock_sources[DCE112_CLK_SRC_PLL0]; in find_matching_pll() 855 return pool->clock_sources[DCE112_CLK_SRC_PLL1]; in find_matching_pll() 857 return pool->clock_sources[DCE112_CLK_SRC_PLL2]; in find_matching_pll() 859 return pool->clock_sources[DCE112_CLK_SRC_PLL3]; in find_matching_pll() 861 return pool->clock_sources[DCE112_CLK_SRC_PLL4]; in find_matching_pll() 863 return pool->clock_sources[DCE112_CLK_SRC_PLL5]; in find_matching_pll() 1254 pool->base.clock_sources[DCE112_CLK_SRC_PLL0] = in dce112_resource_construct() 1259 pool->base.clock_sources[DCE112_CLK_SRC_PLL1] = in dce112_resource_construct() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce100/ |
H A D | dce100_resource.c | 800 if (pool->base.clock_sources[i] != NULL) in dce100_resource_destruct() 801 dce100_clock_source_destroy(&pool->base.clock_sources[i]); in dce100_resource_destruct() 1003 pool->base.clock_sources[0] = in dce100_resource_construct() 1005 pool->base.clock_sources[1] = in dce100_resource_construct() 1007 pool->base.clock_sources[2] = in dce100_resource_construct() 1015 pool->base.clock_sources[0] = in dce100_resource_construct() 1017 pool->base.clock_sources[1] = in dce100_resource_construct() 1029 if (pool->base.clock_sources[i] == NULL) { in dce100_resource_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce120/ |
H A D | dce120_resource.c | 649 if (pool->base.clock_sources[i] != NULL) in dce120_resource_destruct() 651 &pool->base.clock_sources[i]); in dce120_resource_destruct() 1089 pool->base.clock_sources[DCE120_CLK_SRC_PLL0] = in dce120_resource_construct() 1093 pool->base.clock_sources[DCE120_CLK_SRC_PLL1] = in dce120_resource_construct() 1097 pool->base.clock_sources[DCE120_CLK_SRC_PLL2] = in dce120_resource_construct() 1101 pool->base.clock_sources[DCE120_CLK_SRC_PLL3] = in dce120_resource_construct() 1105 pool->base.clock_sources[DCE120_CLK_SRC_PLL4] = in dce120_resource_construct() 1109 pool->base.clock_sources[DCE120_CLK_SRC_PLL5] = in dce120_resource_construct() 1121 if (pool->base.clock_sources[i] == NULL) { in dce120_resource_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn21/ |
H A D | dcn21_resource.c | 762 if (pool->base.clock_sources[i] != NULL) { in dcn21_resource_destruct() 763 dcn20_clock_source_destroy(&pool->base.clock_sources[i]); in dcn21_resource_destruct() 764 pool->base.clock_sources[i] = NULL; in dcn21_resource_destruct() 1494 pool->base.clock_sources[DCN20_CLK_SRC_PLL0] = in dcn21_resource_construct() 1498 pool->base.clock_sources[DCN20_CLK_SRC_PLL1] = in dcn21_resource_construct() 1502 pool->base.clock_sources[DCN20_CLK_SRC_PLL2] = in dcn21_resource_construct() 1506 pool->base.clock_sources[DCN20_CLK_SRC_PLL3] = in dcn21_resource_construct() 1510 pool->base.clock_sources[DCN20_CLK_SRC_PLL4] = in dcn21_resource_construct() 1524 if (pool->base.clock_sources[i] == NULL) { in dcn21_resource_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn302/ |
H A D | dcn302_resource.c | 1076 if (pool->clock_sources[i] != NULL) in dcn302_resource_destruct() 1077 dcn20_clock_source_destroy(&pool->clock_sources[i]); in dcn302_resource_destruct() 1300 pool->clock_sources[DCN302_CLK_SRC_PLL0] = in dcn302_resource_construct() 1304 pool->clock_sources[DCN302_CLK_SRC_PLL1] = in dcn302_resource_construct() 1308 pool->clock_sources[DCN302_CLK_SRC_PLL2] = in dcn302_resource_construct() 1312 pool->clock_sources[DCN302_CLK_SRC_PLL3] = in dcn302_resource_construct() 1316 pool->clock_sources[DCN302_CLK_SRC_PLL4] = in dcn302_resource_construct() 1330 if (pool->clock_sources[i] == NULL) { in dcn302_resource_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_resource.c | 966 if (pool->base.clock_sources[i] != NULL) { in dcn10_resource_destruct() 967 dcn10_clock_source_destroy(&pool->base.clock_sources[i]); in dcn10_resource_destruct() 968 pool->base.clock_sources[i] = NULL; in dcn10_resource_destruct() 1402 pool->base.clock_sources[DCN10_CLK_SRC_PLL0] = in dcn10_resource_construct() 1406 pool->base.clock_sources[DCN10_CLK_SRC_PLL1] = in dcn10_resource_construct() 1410 pool->base.clock_sources[DCN10_CLK_SRC_PLL2] = in dcn10_resource_construct() 1416 pool->base.clock_sources[DCN10_CLK_SRC_PLL3] = in dcn10_resource_construct() 1434 if (pool->base.clock_sources[i] == NULL) { in dcn10_resource_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn31/ |
H A D | dcn31_resource.c | 1456 if (pool->base.clock_sources[i] != NULL) { in dcn31_resource_destruct() 1457 dcn20_clock_source_destroy(&pool->base.clock_sources[i]); in dcn31_resource_destruct() 1458 pool->base.clock_sources[i] = NULL; in dcn31_resource_destruct() 1978 pool->base.clock_sources[DCN31_CLK_SRC_PLL0] = in dcn31_resource_construct() 1982 pool->base.clock_sources[DCN31_CLK_SRC_PLL1] = in dcn31_resource_construct() 1988 pool->base.clock_sources[DCN31_CLK_SRC_PLL2] = in dcn31_resource_construct() 1992 pool->base.clock_sources[DCN31_CLK_SRC_PLL3] = in dcn31_resource_construct() 1997 pool->base.clock_sources[DCN31_CLK_SRC_PLL2] = in dcn31_resource_construct() 2001 pool->base.clock_sources[DCN31_CLK_SRC_PLL3] = in dcn31_resource_construct() 2007 pool->base.clock_sources[DCN31_CLK_SRC_PLL4] = in dcn31_resource_construct() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn301/ |
H A D | dcn301_resource.c | 1124 if (pool->base.clock_sources[i] != NULL) { in dcn301_destruct() 1125 dcn20_clock_source_destroy(&pool->base.clock_sources[i]); in dcn301_destruct() 1126 pool->base.clock_sources[i] = NULL; in dcn301_destruct() 1502 pool->base.clock_sources[DCN301_CLK_SRC_PLL0] = in dcn301_resource_construct() 1506 pool->base.clock_sources[DCN301_CLK_SRC_PLL1] = in dcn301_resource_construct() 1510 pool->base.clock_sources[DCN301_CLK_SRC_PLL2] = in dcn301_resource_construct() 1514 pool->base.clock_sources[DCN301_CLK_SRC_PLL3] = in dcn301_resource_construct() 1528 if (pool->base.clock_sources[i] == NULL) { in dcn301_resource_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn201/ |
H A D | dcn201_resource.c | 962 if (pool->base.clock_sources[i] != NULL) { in dcn201_resource_destruct() 963 dcn201_clock_source_destroy(&pool->base.clock_sources[i]); in dcn201_resource_destruct() 964 pool->base.clock_sources[i] = NULL; in dcn201_resource_destruct() 1156 pool->base.clock_sources[DCN20_CLK_SRC_PLL0] = in dcn201_resource_construct() 1160 pool->base.clock_sources[DCN20_CLK_SRC_PLL1] = in dcn201_resource_construct() 1174 if (pool->base.clock_sources[i] == NULL) { in dcn201_resource_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn316/ |
H A D | dcn316_resource.c | 1454 if (pool->base.clock_sources[i] != NULL) { in dcn316_resource_destruct() 1455 dcn20_clock_source_destroy(&pool->base.clock_sources[i]); in dcn316_resource_destruct() 1456 pool->base.clock_sources[i] = NULL; in dcn316_resource_destruct() 1827 pool->base.clock_sources[DCN31_CLK_SRC_PLL0] = in dcn316_resource_construct() 1831 pool->base.clock_sources[DCN31_CLK_SRC_PLL1] = in dcn316_resource_construct() 1835 pool->base.clock_sources[DCN31_CLK_SRC_PLL2] = in dcn316_resource_construct() 1839 pool->base.clock_sources[DCN31_CLK_SRC_PLL3] = in dcn316_resource_construct() 1843 pool->base.clock_sources[DCN31_CLK_SRC_PLL4] = in dcn316_resource_construct() 1857 if (pool->base.clock_sources[i] == NULL) { in dcn316_resource_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn315/ |
H A D | dcn315_resource.c | 1456 if (pool->base.clock_sources[i] != NULL) { in dcn315_resource_destruct() 1457 dcn20_clock_source_destroy(&pool->base.clock_sources[i]); in dcn315_resource_destruct() 1458 pool->base.clock_sources[i] = NULL; in dcn315_resource_destruct() 1940 pool->base.clock_sources[DCN31_CLK_SRC_PLL0] = in dcn315_resource_construct() 1944 pool->base.clock_sources[DCN31_CLK_SRC_PLL1] = in dcn315_resource_construct() 1948 pool->base.clock_sources[DCN31_CLK_SRC_PLL2] = in dcn315_resource_construct() 1952 pool->base.clock_sources[DCN31_CLK_SRC_PLL3] = in dcn315_resource_construct() 1956 pool->base.clock_sources[DCN31_CLK_SRC_PLL4] = in dcn315_resource_construct() 1970 if (pool->base.clock_sources[i] == NULL) { in dcn315_resource_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn321/ |
H A D | dcn321_resource.c | 1441 if (pool->base.clock_sources[i] != NULL) { in dcn321_resource_destruct() 1442 dcn20_clock_source_destroy(&pool->base.clock_sources[i]); in dcn321_resource_destruct() 1443 pool->base.clock_sources[i] = NULL; in dcn321_resource_destruct() 1793 pool->base.clock_sources[DCN321_CLK_SRC_PLL0] = in dcn321_resource_construct() 1797 pool->base.clock_sources[DCN321_CLK_SRC_PLL1] = in dcn321_resource_construct() 1801 pool->base.clock_sources[DCN321_CLK_SRC_PLL2] = in dcn321_resource_construct() 1805 pool->base.clock_sources[DCN321_CLK_SRC_PLL3] = in dcn321_resource_construct() 1809 pool->base.clock_sources[DCN321_CLK_SRC_PLL4] = in dcn321_resource_construct() 1823 if (pool->base.clock_sources[i] == NULL) { in dcn321_resource_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn314/ |
H A D | dcn314_resource.c | 1528 if (pool->base.clock_sources[i] != NULL) { in dcn314_resource_destruct() 1529 dcn20_clock_source_destroy(&pool->base.clock_sources[i]); in dcn314_resource_destruct() 1530 pool->base.clock_sources[i] = NULL; in dcn314_resource_destruct() 1959 pool->base.clock_sources[DCN31_CLK_SRC_PLL0] = in dcn314_resource_construct() 1963 pool->base.clock_sources[DCN31_CLK_SRC_PLL1] = in dcn314_resource_construct() 1967 pool->base.clock_sources[DCN31_CLK_SRC_PLL2] = in dcn314_resource_construct() 1971 pool->base.clock_sources[DCN31_CLK_SRC_PLL3] = in dcn314_resource_construct() 1975 pool->base.clock_sources[DCN31_CLK_SRC_PLL4] = in dcn314_resource_construct() 1989 if (pool->base.clock_sources[i] == NULL) { in dcn314_resource_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_resource.c | 1154 if (pool->base.clock_sources[i] != NULL) { in dcn30_resource_destruct() 1155 dcn20_clock_source_destroy(&pool->base.clock_sources[i]); in dcn30_resource_destruct() 1156 pool->base.clock_sources[i] = NULL; in dcn30_resource_destruct() 2370 pool->base.clock_sources[DCN30_CLK_SRC_PLL0] = in dcn30_resource_construct() 2374 pool->base.clock_sources[DCN30_CLK_SRC_PLL1] = in dcn30_resource_construct() 2378 pool->base.clock_sources[DCN30_CLK_SRC_PLL2] = in dcn30_resource_construct() 2382 pool->base.clock_sources[DCN30_CLK_SRC_PLL3] = in dcn30_resource_construct() 2386 pool->base.clock_sources[DCN30_CLK_SRC_PLL4] = in dcn30_resource_construct() 2390 pool->base.clock_sources[DCN30_CLK_SRC_PLL5] = in dcn30_resource_construct() 2404 if (pool->base.clock_sources[i] == NULL) { in dcn30_resource_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_resource.c | 1168 if (pool->base.clock_sources[i] != NULL) { in dcn20_resource_destruct() 1169 dcn20_clock_source_destroy(&pool->base.clock_sources[i]); in dcn20_resource_destruct() 1170 pool->base.clock_sources[i] = NULL; in dcn20_resource_destruct() 2483 pool->base.clock_sources[DCN20_CLK_SRC_PLL0] = in dcn20_resource_construct() 2487 pool->base.clock_sources[DCN20_CLK_SRC_PLL1] = in dcn20_resource_construct() 2491 pool->base.clock_sources[DCN20_CLK_SRC_PLL2] = in dcn20_resource_construct() 2495 pool->base.clock_sources[DCN20_CLK_SRC_PLL3] = in dcn20_resource_construct() 2499 pool->base.clock_sources[DCN20_CLK_SRC_PLL4] = in dcn20_resource_construct() 2503 pool->base.clock_sources[DCN20_CLK_SRC_PLL5] = in dcn20_resource_construct() 2515 if (pool->base.clock_sources[i] == NULL) { in dcn20_resource_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_resource.c | 856 if (pool->base.clock_sources[i] != NULL) { in dce110_resource_destruct() 857 dce110_clock_source_destroy(&pool->base.clock_sources[i]); in dce110_resource_destruct() 1389 pool->base.clock_sources[0] = in dce110_resource_construct() 1392 pool->base.clock_sources[1] = in dce110_resource_construct() 1408 if (pool->base.clock_sources[i] == NULL) { in dce110_resource_construct()
|
H A D | dce110_hw_sequencer.c | 1647 if (dc->res_pool->clock_sources[i]->funcs->cs_power_down( in power_down_clock_sources() 1648 dc->res_pool->clock_sources[i]) == false) in power_down_clock_sources()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn303/ |
H A D | dcn303_resource.c | 1002 if (pool->clock_sources[i] != NULL) in dcn303_resource_destruct() 1003 dcn20_clock_source_destroy(&pool->clock_sources[i]); in dcn303_resource_destruct() 1224 pool->clock_sources[DCN303_CLK_SRC_PLL0] = in dcn303_resource_construct() 1228 pool->clock_sources[DCN303_CLK_SRC_PLL1] = in dcn303_resource_construct() 1242 if (pool->clock_sources[i] == NULL) { in dcn303_resource_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_resource.c | 1456 if (pool->base.clock_sources[i] != NULL) { in dcn32_resource_destruct() 1457 dcn20_clock_source_destroy(&pool->base.clock_sources[i]); in dcn32_resource_destruct() 1458 pool->base.clock_sources[i] = NULL; in dcn32_resource_destruct() 2255 pool->base.clock_sources[DCN32_CLK_SRC_PLL0] = in dcn32_resource_construct() 2259 pool->base.clock_sources[DCN32_CLK_SRC_PLL1] = in dcn32_resource_construct() 2263 pool->base.clock_sources[DCN32_CLK_SRC_PLL2] = in dcn32_resource_construct() 2267 pool->base.clock_sources[DCN32_CLK_SRC_PLL3] = in dcn32_resource_construct() 2271 pool->base.clock_sources[DCN32_CLK_SRC_PLL4] = in dcn32_resource_construct() 2285 if (pool->base.clock_sources[i] == NULL) { in dcn32_resource_construct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | core_types.h | 270 struct clock_source *clock_sources[MAX_CLOCK_SOURCES]; member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_resource.c | 464 if (pool->clock_sources[i] == clock_source) in find_matching_clock_source() 3653 return pool->clock_sources[i]; in dc_resource_find_first_free_pll()
|