linux/drivers/gpu/drm/nouveau/nvkm/subdev/bus/priv.h
<<
>>
Prefs
   1#ifndef __NVKM_BUS_PRIV_H__
   2#define __NVKM_BUS_PRIV_H__
   3#define nvkm_bus(p) container_of((p), struct nvkm_bus, subdev)
   4#include <subdev/bus.h>
   5
   6struct nvkm_bus_func {
   7        void (*init)(struct nvkm_bus *);
   8        void (*intr)(struct nvkm_bus *);
   9        int (*hwsq_exec)(struct nvkm_bus *, u32 *, u32);
  10        u32 hwsq_size;
  11};
  12
  13int nvkm_bus_new_(const struct nvkm_bus_func *, struct nvkm_device *, int,
  14                  struct nvkm_bus **);
  15
  16void nv50_bus_init(struct nvkm_bus *);
  17void nv50_bus_intr(struct nvkm_bus *);
  18#endif
  19