Lines Matching refs:pstate_table

755 	struct smu_umd_pstate_table *pstate_table = &smu->pstate_table;
757 pstate_table->gfxclk_pstate.min = gfx_table->min;
758 pstate_table->gfxclk_pstate.peak = gfx_table->max;
759 pstate_table->gfxclk_pstate.curr.min = gfx_table->min;
760 pstate_table->gfxclk_pstate.curr.max = gfx_table->max;
762 pstate_table->uclk_pstate.min = mem_table->min;
763 pstate_table->uclk_pstate.peak = mem_table->max;
764 pstate_table->uclk_pstate.curr.min = mem_table->min;
765 pstate_table->uclk_pstate.curr.max = mem_table->max;
767 pstate_table->socclk_pstate.min = soc_table->min;
768 pstate_table->socclk_pstate.peak = soc_table->max;
769 pstate_table->socclk_pstate.curr.min = soc_table->min;
770 pstate_table->socclk_pstate.curr.max = soc_table->max;
775 pstate_table->gfxclk_pstate.standard =
777 pstate_table->uclk_pstate.standard =
779 pstate_table->socclk_pstate.standard =
782 pstate_table->gfxclk_pstate.standard =
783 pstate_table->gfxclk_pstate.min;
784 pstate_table->uclk_pstate.standard =
785 pstate_table->uclk_pstate.min;
786 pstate_table->socclk_pstate.standard =
787 pstate_table->socclk_pstate.min;
996 struct smu_umd_pstate_table *pstate_table = &smu->pstate_table;
1024 min_clk = pstate_table->gfxclk_pstate.curr.min;
1025 max_clk = pstate_table->gfxclk_pstate.curr.max;
1584 struct smu_umd_pstate_table *pstate_table = &smu->pstate_table;
1591 pstate_table->gfxclk_pstate.curr.max = gfx_table->max;
1599 if ((gfx_table->min != pstate_table->gfxclk_pstate.curr.min) ||
1600 (gfx_table->max != pstate_table->gfxclk_pstate.curr.max)) {
1606 pstate_table->gfxclk_pstate.curr.min = gfx_table->min;
1607 pstate_table->gfxclk_pstate.curr.max = gfx_table->max;
1610 if (uclk_table->max != pstate_table->uclk_pstate.curr.max) {
1616 pstate_table->uclk_pstate.curr.max = uclk_table->max;
1618 pstate_table->uclk_pstate.custom.max = 0;
1636 struct smu_umd_pstate_table *pstate_table = &smu->pstate_table;
1658 if ((min == pstate_table->gfxclk_pstate.curr.min) &&
1659 (max == pstate_table->gfxclk_pstate.curr.max))
1665 pstate_table->gfxclk_pstate.curr.min = min;
1666 pstate_table->gfxclk_pstate.curr.max = max;
1671 if (max == pstate_table->uclk_pstate.curr.max)
1677 pstate_table->uclk_pstate.curr.max = max;
1707 pstate_table->gfxclk_pstate.curr.min = min_clk;
1708 pstate_table->gfxclk_pstate.curr.max = max;
1722 struct smu_umd_pstate_table *pstate_table = &smu->pstate_table;
1747 pstate_table->gfxclk_pstate.custom.min =
1748 pstate_table->gfxclk_pstate.curr.min;
1752 pstate_table->gfxclk_pstate.custom.min = input[1];
1760 pstate_table->gfxclk_pstate.custom.max =
1761 pstate_table->gfxclk_pstate.curr.max;
1765 pstate_table->gfxclk_pstate.custom.max = input[1];
1795 pstate_table->uclk_pstate.custom.max =
1796 pstate_table->uclk_pstate.curr.max;
1800 pstate_table->uclk_pstate.custom.max = input[1];
1826 pstate_table->uclk_pstate.custom.max = 0;
1835 if (!pstate_table->gfxclk_pstate.custom.min)
1836 pstate_table->gfxclk_pstate.custom.min =
1837 pstate_table->gfxclk_pstate.curr.min;
1839 if (!pstate_table->gfxclk_pstate.custom.max)
1840 pstate_table->gfxclk_pstate.custom.max =
1841 pstate_table->gfxclk_pstate.curr.max;
1843 min_clk = pstate_table->gfxclk_pstate.custom.min;
1844 max_clk = pstate_table->gfxclk_pstate.custom.max;
1852 if (!pstate_table->uclk_pstate.custom.max)
1855 min_clk = pstate_table->uclk_pstate.curr.min;
1856 max_clk = pstate_table->uclk_pstate.custom.max;