Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

/*	$NetBSD: nouveau_sysfs.h,v 1.2 2018/08/27 04:58:24 riastradh Exp $	*/

#ifndef __NOUVEAU_SYSFS_H__
#define __NOUVEAU_SYSFS_H__

#include "nouveau_drm.h"

struct nouveau_sysfs {
	struct nvif_object ctrl;
};

static inline struct nouveau_sysfs *
nouveau_sysfs(struct drm_device *dev)
{
	return nouveau_drm(dev)->sysfs;
}

int  nouveau_sysfs_init(struct drm_device *);
void nouveau_sysfs_fini(struct drm_device *);

extern int nouveau_pstate;

#endif