linux/drivers/gpu/drm/i915/gt/sysfs_engines.c

// SPDX-License-Identifier: MIT
/*
 * Copyright © 2019 Intel Corporation
 */

#include <linux/kobject.h>
#include <linux/sysfs.h>

#include "i915_drv.h"
#include "intel_engine.h"
#include "intel_engine_heartbeat.h"
#include "sysfs_engines.h"

struct kobj_engine {};

static struct intel_engine_cs *kobj_to_engine(struct kobject *kobj)
{}

static ssize_t
name_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
{}

static const struct kobj_attribute name_attr =;

static ssize_t
class_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
{}

static const struct kobj_attribute class_attr =;

static ssize_t
inst_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
{}

static const struct kobj_attribute inst_attr =;

static ssize_t
mmio_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
{}

static const struct kobj_attribute mmio_attr =;

static const char * const vcs_caps[] =;

static const char * const vecs_caps[] =;

static ssize_t repr_trim(char *buf, ssize_t len)
{}

static ssize_t
__caps_show(struct intel_engine_cs *engine,
	    unsigned long caps, char *buf, bool show_unknown)
{}

static ssize_t
caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
{}

static const struct kobj_attribute caps_attr =;

static ssize_t
all_caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
{}

static const struct kobj_attribute all_caps_attr =;

static ssize_t
max_spin_store(struct kobject *kobj, struct kobj_attribute *attr,
	       const char *buf, size_t count)
{}

static ssize_t
max_spin_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
{}

static const struct kobj_attribute max_spin_attr =;

static ssize_t
max_spin_default(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
{}

static const struct kobj_attribute max_spin_def =;

static ssize_t
timeslice_store(struct kobject *kobj, struct kobj_attribute *attr,
		const char *buf, size_t count)
{}

static ssize_t
timeslice_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
{}

static const struct kobj_attribute timeslice_duration_attr =;

static ssize_t
timeslice_default(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
{}

static const struct kobj_attribute timeslice_duration_def =;

static ssize_t
stop_store(struct kobject *kobj, struct kobj_attribute *attr,
	   const char *buf, size_t count)
{}

static ssize_t
stop_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
{}

static const struct kobj_attribute stop_timeout_attr =;

static ssize_t
stop_default(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
{}

static const struct kobj_attribute stop_timeout_def =;

static ssize_t
preempt_timeout_store(struct kobject *kobj, struct kobj_attribute *attr,
		      const char *buf, size_t count)
{}

static ssize_t
preempt_timeout_show(struct kobject *kobj, struct kobj_attribute *attr,
		     char *buf)
{}

static const struct kobj_attribute preempt_timeout_attr =;

static ssize_t
preempt_timeout_default(struct kobject *kobj, struct kobj_attribute *attr,
			char *buf)
{}

static const struct kobj_attribute preempt_timeout_def =;

static ssize_t
heartbeat_store(struct kobject *kobj, struct kobj_attribute *attr,
		const char *buf, size_t count)
{}

static ssize_t
heartbeat_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
{}

static const struct kobj_attribute heartbeat_interval_attr =;

static ssize_t
heartbeat_default(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
{}

static const struct kobj_attribute heartbeat_interval_def =;

static void kobj_engine_release(struct kobject *kobj)
{}

static const struct kobj_type kobj_engine_type =;

static struct kobject *
kobj_engine(struct kobject *dir, struct intel_engine_cs *engine)
{}

static void add_defaults(struct kobj_engine *parent)
{}

void intel_engines_add_sysfs(struct drm_i915_private *i915)
{}