Lines Matching refs:args

2686 	DYNAMIC_CLOCK_GATING_PS_ALLOCATION args;
2689 args.ucEnable = enable;
2691 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args);
2696 GET_ENGINE_CLOCK_PS_ALLOCATION args;
2699 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args);
2700 return le32_to_cpu(args.ulReturnEngineClock);
2705 GET_MEMORY_CLOCK_PS_ALLOCATION args;
2708 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args);
2709 return le32_to_cpu(args.ulReturnMemoryClock);
2715 SET_ENGINE_CLOCK_PS_ALLOCATION args;
2718 args.ulTargetEngineClock = cpu_to_le32(eng_clock); /* 10 khz */
2720 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args);
2726 SET_MEMORY_CLOCK_PS_ALLOCATION args;
2732 args.ulTargetMemoryClock = cpu_to_le32(mem_clock); /* 10 khz */
2734 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args);
2746 union set_voltage args;
2759 args.v1.ucVoltageType = voltage_type;
2760 args.v1.ucVoltageMode = SET_ASIC_VOLTAGE_MODE_ALL_SOURCE;
2761 args.v1.ucVoltageIndex = volt_index;
2764 args.v2.ucVoltageType = voltage_type;
2765 args.v2.ucVoltageMode = SET_ASIC_VOLTAGE_MODE_SET_VOLTAGE;
2766 args.v2.usVoltageLevel = cpu_to_le16(voltage_level);
2769 args.v3.ucVoltageType = voltage_type;
2770 args.v3.ucVoltageMode = ATOM_SET_VOLTAGE;
2771 args.v3.usVoltageLevel = cpu_to_le16(voltage_level);
2778 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args);
2784 union set_voltage args;
2795 args.v2.ucVoltageType = SET_VOLTAGE_GET_MAX_VOLTAGE;
2796 args.v2.ucVoltageMode = 0;
2797 args.v2.usVoltageLevel = 0;
2799 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args);
2801 *voltage = le16_to_cpu(args.v2.usVoltageLevel);
2804 args.v3.ucVoltageType = voltage_type;
2805 args.v3.ucVoltageMode = ATOM_GET_VOLTAGE_LEVEL;
2806 args.v3.usVoltageLevel = cpu_to_le16(voltage_id);
2808 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args);
2810 *voltage = le16_to_cpu(args.v3.usVoltageLevel);