Lines Matching refs:input_index
2622 int32_t input_index, input_clk, input_vol, i; in vega20_odn_edit_dpm_table() local
2647 input_index = input[i]; in vega20_odn_edit_dpm_table()
2650 if (input_index != 0 && input_index != 1) { in vega20_odn_edit_dpm_table()
2651 pr_info("Invalid index %d\n", input_index); in vega20_odn_edit_dpm_table()
2665 if (input_index == 0 && od_table->GfxclkFmin != input_clk) { in vega20_odn_edit_dpm_table()
2668 } else if (input_index == 1 && od_table->GfxclkFmax != input_clk) { in vega20_odn_edit_dpm_table()
2696 input_index = input[i]; in vega20_odn_edit_dpm_table()
2699 if (input_index != 1) { in vega20_odn_edit_dpm_table()
2700 pr_info("Invalid index %d\n", input_index); in vega20_odn_edit_dpm_table()
2714 if (input_index == 1 && od_table->UclkFmax != input_clk) { in vega20_odn_edit_dpm_table()
2740 input_index = input[i]; in vega20_odn_edit_dpm_table()
2744 if (input_index > 2) { in vega20_odn_edit_dpm_table()
2746 input_index + 1); in vega20_odn_edit_dpm_table()
2751 od8_id = OD8_SETTING_GFXCLK_FREQ1 + 2 * input_index; in vega20_odn_edit_dpm_table()
2761 od8_id = OD8_SETTING_GFXCLK_VOLTAGE1 + 2 * input_index; in vega20_odn_edit_dpm_table()
2771 switch (input_index) { in vega20_odn_edit_dpm_table()