root/drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


DEFINITIONS

This source file includes following definitions.
  1. nvkm_agp_ctor
  2. nvkm_agp_dtor
  3. nvkm_agp_preinit
  4. nvkm_agp_init
  5. nvkm_agp_fini

   1 /* SPDX-License-Identifier: MIT */
   2 #include "priv.h"
   3 #if defined(CONFIG_AGP) || (defined(CONFIG_AGP_MODULE) && defined(MODULE))
   4 #ifndef __NVKM_PCI_AGP_H__
   5 #define __NVKM_PCI_AGP_H__
   6 
   7 void nvkm_agp_ctor(struct nvkm_pci *);
   8 void nvkm_agp_dtor(struct nvkm_pci *);
   9 void nvkm_agp_preinit(struct nvkm_pci *);
  10 int nvkm_agp_init(struct nvkm_pci *);
  11 void nvkm_agp_fini(struct nvkm_pci *);
  12 #endif
  13 #else
  14 static inline void nvkm_agp_ctor(struct nvkm_pci *pci) {}
  15 static inline void nvkm_agp_dtor(struct nvkm_pci *pci) {}
  16 static inline void nvkm_agp_preinit(struct nvkm_pci *pci) {}
  17 static inline int nvkm_agp_init(struct nvkm_pci *pci) { return -ENOSYS; }
  18 static inline void nvkm_agp_fini(struct nvkm_pci *pci) {}
  19 #endif

/* [<][>][^][v][top][bottom][index][help] */