1 /* SPDX-License-Identifier: MIT 2 * 3 * Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved. 4 */ 5 #include "priv.h" 6 7 #include <nvhw/drf.h> 8 #include <nvhw/ref/gb202/dev_ce.h> 9 10 u32 11 gb202_ce_grce_mask(struct nvkm_device *device) 12 { 13 u32 data = nvkm_rd32(device, NV_CE_GRCE_MASK); 14 15 return NVVAL_GET(data, NV_CE, GRCE_MASK, VALUE); 16 } 17