]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - drivers/gpu/drm/nouveau/nvkm/subdev/bus/priv.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVKM_BUS_PRIV_H__
3 #define __NVKM_BUS_PRIV_H__
4 #define nvkm_bus(p) container_of((p), struct nvkm_bus, subdev)
5 #include <subdev/bus.h>
8 void (*init
)(struct nvkm_bus
*);
9 void (*intr
)(struct nvkm_bus
*);
10 int (*hwsq_exec
)(struct nvkm_bus
*, u32
*, u32
);
14 int nvkm_bus_new_(const struct nvkm_bus_func
*, struct nvkm_device
*, int,
17 void nv50_bus_init(struct nvkm_bus
*);
18 void nv50_bus_intr(struct nvkm_bus
*);