mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-04-22 23:39:13 +00:00
535.43.02
This commit is contained in:
@@ -7,7 +7,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 1993-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-FileCopyrightText: Copyright (c) 1993-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
@@ -83,7 +83,6 @@ struct Device {
|
||||
struct Device *__nvoc_pbase_Device;
|
||||
NV_STATUS (*__deviceControl__)(struct Device *, struct CALL_CONTEXT *, struct RS_RES_CONTROL_PARAMS_INTERNAL *);
|
||||
NV_STATUS (*__deviceInternalControlForward__)(struct Device *, NvU32, void *, NvU32);
|
||||
NV_STATUS (*__deviceCtrlCmdBifReset__)(struct Device *, NV0080_CTRL_BIF_RESET_PARAMS *);
|
||||
NV_STATUS (*__deviceCtrlCmdBifGetDmaBaseSysmemAddr__)(struct Device *, NV0080_CTRL_BIF_GET_DMA_BASE_SYSMEM_ADDR_PARAMS *);
|
||||
NV_STATUS (*__deviceCtrlCmdBifAspmFeatureSupported__)(struct Device *, NV0080_CTRL_BIF_SET_ASPM_FEATURE_PARAMS *);
|
||||
NV_STATUS (*__deviceCtrlCmdBifAspmCyaUpdate__)(struct Device *, NV0080_CTRL_BIF_ASPM_CYA_UPDATE_PARAMS *);
|
||||
@@ -216,7 +215,6 @@ NV_STATUS __nvoc_objCreate_Device(Device**, Dynamic*, NvU32, struct CALL_CONTEXT
|
||||
|
||||
#define deviceControl(pResource, pCallContext, pParams) deviceControl_DISPATCH(pResource, pCallContext, pParams)
|
||||
#define deviceInternalControlForward(pDevice, command, pParams, size) deviceInternalControlForward_DISPATCH(pDevice, command, pParams, size)
|
||||
#define deviceCtrlCmdBifReset(pDevice, pBifResetParams) deviceCtrlCmdBifReset_DISPATCH(pDevice, pBifResetParams)
|
||||
#define deviceCtrlCmdBifGetDmaBaseSysmemAddr(pDevice, pBifDmaBaseSysmemParams) deviceCtrlCmdBifGetDmaBaseSysmemAddr_DISPATCH(pDevice, pBifDmaBaseSysmemParams)
|
||||
#define deviceCtrlCmdBifAspmFeatureSupported(pDevice, pBifAspmParams) deviceCtrlCmdBifAspmFeatureSupported_DISPATCH(pDevice, pBifAspmParams)
|
||||
#define deviceCtrlCmdBifAspmCyaUpdate(pDevice, pBifAspmCyaParams) deviceCtrlCmdBifAspmCyaUpdate_DISPATCH(pDevice, pBifAspmCyaParams)
|
||||
@@ -311,12 +309,6 @@ static inline NV_STATUS deviceInternalControlForward_DISPATCH(struct Device *pDe
|
||||
return pDevice->__deviceInternalControlForward__(pDevice, command, pParams, size);
|
||||
}
|
||||
|
||||
NV_STATUS deviceCtrlCmdBifReset_IMPL(struct Device *pDevice, NV0080_CTRL_BIF_RESET_PARAMS *pBifResetParams);
|
||||
|
||||
static inline NV_STATUS deviceCtrlCmdBifReset_DISPATCH(struct Device *pDevice, NV0080_CTRL_BIF_RESET_PARAMS *pBifResetParams) {
|
||||
return pDevice->__deviceCtrlCmdBifReset__(pDevice, pBifResetParams);
|
||||
}
|
||||
|
||||
NV_STATUS deviceCtrlCmdBifGetDmaBaseSysmemAddr_IMPL(struct Device *pDevice, NV0080_CTRL_BIF_GET_DMA_BASE_SYSMEM_ADDR_PARAMS *pBifDmaBaseSysmemParams);
|
||||
|
||||
static inline NV_STATUS deviceCtrlCmdBifGetDmaBaseSysmemAddr_DISPATCH(struct Device *pDevice, NV0080_CTRL_BIF_GET_DMA_BASE_SYSMEM_ADDR_PARAMS *pBifDmaBaseSysmemParams) {
|
||||
@@ -839,11 +831,6 @@ static inline NV_STATUS deviceSetDefaultVASpace(struct Device *pDevice, NvHandle
|
||||
// Deprecated Definitions
|
||||
// ****************************************************************************
|
||||
|
||||
/**
|
||||
* WARNING: This function is deprecated! Please use deviceGetByHandle.
|
||||
*/
|
||||
struct Device *CliGetDeviceInfo(NvHandle, NvHandle);
|
||||
|
||||
/**
|
||||
* WARNING: This function is deprecated and use is *strongly* discouraged
|
||||
* (especially for new code!)
|
||||
|
||||
Reference in New Issue
Block a user