aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Horizon/Sdk/MmNv/IRequest.cs
blob: 1c2ce6552113a154d3828fd1faebfb3539b0250f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using Ryujinx.Horizon.Common;
using Ryujinx.Horizon.Sdk.Sf;

namespace Ryujinx.Horizon.Sdk.MmNv
{
    interface IRequest : IServiceObject
    {
        Result InitializeOld(Module module, uint fgmPriority, uint autoClearEvent);
        Result FinalizeOld(Module module);
        Result SetAndWaitOld(Module module, uint clockRateMin, int clockRateMax);
        Result GetOld(out uint clockRateActual, Module module);
        Result Initialize(out uint requestId, Module module, uint fgmPriority, uint autoClearEvent);
        Result Finalize(uint requestId);
        Result SetAndWait(uint requestId, uint clockRateMin, int clockRateMax);
        Result Get(out uint clockRateActual, uint requestId);
    }
}