160cdadacSBen Skeggs /*******************************************************************************
260cdadacSBen Skeggs     Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
360cdadacSBen Skeggs 
460cdadacSBen Skeggs     Permission is hereby granted, free of charge, to any person obtaining a
560cdadacSBen Skeggs     copy of this software and associated documentation files (the "Software"),
660cdadacSBen Skeggs     to deal in the Software without restriction, including without limitation
760cdadacSBen Skeggs     the rights to use, copy, modify, merge, publish, distribute, sublicense,
860cdadacSBen Skeggs     and/or sell copies of the Software, and to permit persons to whom the
960cdadacSBen Skeggs     Software is furnished to do so, subject to the following conditions:
1060cdadacSBen Skeggs 
1160cdadacSBen Skeggs     The above copyright notice and this permission notice shall be included in
1260cdadacSBen Skeggs     all copies or substantial portions of the Software.
1360cdadacSBen Skeggs 
1460cdadacSBen Skeggs     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1560cdadacSBen Skeggs     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1660cdadacSBen Skeggs     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
1760cdadacSBen Skeggs     THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1860cdadacSBen Skeggs     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1960cdadacSBen Skeggs     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2060cdadacSBen Skeggs     DEALINGS IN THE SOFTWARE.
2160cdadacSBen Skeggs 
2260cdadacSBen Skeggs *******************************************************************************/
2360cdadacSBen Skeggs #ifndef _cl826f_h_
2460cdadacSBen Skeggs #define _cl826f_h_
2560cdadacSBen Skeggs 
2660cdadacSBen Skeggs #define NV826F_SEMAPHOREA                                          (0x00000010)
2760cdadacSBen Skeggs #define NV826F_SEMAPHOREA_OFFSET_UPPER                                     7:0
2860cdadacSBen Skeggs #define NV826F_SEMAPHOREB                                          (0x00000014)
2960cdadacSBen Skeggs #define NV826F_SEMAPHOREB_OFFSET_LOWER                                   31:00
3060cdadacSBen Skeggs #define NV826F_SEMAPHOREC                                          (0x00000018)
3160cdadacSBen Skeggs #define NV826F_SEMAPHOREC_PAYLOAD                                         31:0
3260cdadacSBen Skeggs #define NV826F_SEMAPHORED                                          (0x0000001C)
3360cdadacSBen Skeggs #define NV826F_SEMAPHORED_OPERATION                                        2:0
3460cdadacSBen Skeggs #define NV826F_SEMAPHORED_OPERATION_ACQUIRE                         0x00000001
3560cdadacSBen Skeggs #define NV826F_SEMAPHORED_OPERATION_RELEASE                         0x00000002
3660cdadacSBen Skeggs #define NV826F_SEMAPHORED_OPERATION_ACQ_GEQ                         0x00000004
3760cdadacSBen Skeggs #define NV826F_NON_STALLED_INTERRUPT                               (0x00000020)
3860cdadacSBen Skeggs #define NV826F_SET_CONTEXT_DMA_SEMAPHORE                           (0x00000060)
3960cdadacSBen Skeggs #endif /* _cl826f_h_ */
40