1 /* 2 * SPDX-FileCopyrightText: Copyright (c) 2005-2015 NVIDIA CORPORATION & AFFILIATES. All rights reserved. 3 * SPDX-License-Identifier: MIT 4 * 5 * Permission is hereby granted, free of charge, to any person obtaining a 6 * copy of this software and associated documentation files (the "Software"), 7 * to deal in the Software without restriction, including without limitation 8 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 9 * and/or sell copies of the Software, and to permit persons to whom the 10 * Software is furnished to do so, subject to the following conditions: 11 * 12 * The above copyright notice and this permission notice shall be included in 13 * all copies or substantial portions of the Software. 14 * 15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 * DEALINGS IN THE SOFTWARE. 22 */ 23 24 #pragma once 25 26 // 27 // This file was generated with FINN, an NVIDIA coding tool. 28 // Source file: ctrl/ctrl0000/ctrl0000base.finn 29 // 30 31 #include "ctrl/ctrlxxxx.h" 32 /* NV01_ROOT (client) control commands and parameters */ 33 34 #define NV0000_CTRL_CMD(cat,idx) NVXXXX_CTRL_CMD(0x0000,NV0000_CTRL_##cat,idx) 35 36 /* Client command categories (6bits) */ 37 #define NV0000_CTRL_RESERVED (0x00) 38 #define NV0000_CTRL_SYSTEM (0x01) 39 #define NV0000_CTRL_GPU (0x02) 40 #define NV0000_CTRL_GSYNC (0x03) 41 #define NV0000_CTRL_DIAG (0x04) 42 #define NV0000_CTRL_EVENT (0x05) 43 #define NV0000_CTRL_NVD (0x06) 44 #define NV0000_CTRL_SWINSTR (0x07) 45 #define NV0000_CTRL_PROC (0x09) 46 #define NV0000_CTRL_SYNC_GPU_BOOST (0x0A) 47 #define NV0000_CTRL_GPUACCT (0x0B) 48 #define NV0000_CTRL_VGPU (0x0C) 49 #define NV0000_CTRL_CLIENT (0x0D) 50 51 // per-OS categories start at highest category and work backwards 52 #define NV0000_CTRL_OS_WINDOWS (0x3F) 53 #define NV0000_CTRL_OS_MACOS (0x3E) 54 #define NV0000_CTRL_OS_UNIX (0x3D) 55 56 57 /* 58 * NV0000_CTRL_CMD_NULL 59 * 60 * This command does nothing. 61 * This command does not take any parameters. 62 * 63 * Possible status values returned are: 64 * NV_OK 65 */ 66 #define NV0000_CTRL_CMD_NULL (0x0) /* finn: Evaluated from "(FINN_NV01_ROOT_RESERVED_INTERFACE_ID << 8) | 0x0" */ 67 68 /* _ctrl0000_base_h_ */ 69