#include <linux/init.h>
#include <linux/module.h>
#include <linux/dmaengine.h>
#include <linux/pci.h>
#include "dma.h"
#include "registers.h"
#include "hw.h"
#include "../dmaengine.h"
static ssize_t cap_show(struct dma_chan *c, char *page)
{ … }
struct ioat_sysfs_entry ioat_cap_attr = …;
static ssize_t version_show(struct dma_chan *c, char *page)
{ … }
struct ioat_sysfs_entry ioat_version_attr = …;
static ssize_t
ioat_attr_show(struct kobject *kobj, struct attribute *attr, char *page)
{ … }
static ssize_t
ioat_attr_store(struct kobject *kobj, struct attribute *attr,
const char *page, size_t count)
{ … }
const struct sysfs_ops ioat_sysfs_ops = …;
void ioat_kobject_add(struct ioatdma_device *ioat_dma, struct kobj_type *type)
{ … }
void ioat_kobject_del(struct ioatdma_device *ioat_dma)
{ … }
static ssize_t ring_size_show(struct dma_chan *c, char *page)
{ … }
static struct ioat_sysfs_entry ring_size_attr = …;
static ssize_t ring_active_show(struct dma_chan *c, char *page)
{ … }
static struct ioat_sysfs_entry ring_active_attr = …;
static ssize_t intr_coalesce_show(struct dma_chan *c, char *page)
{ … }
static ssize_t intr_coalesce_store(struct dma_chan *c, const char *page,
size_t count)
{ … }
static struct ioat_sysfs_entry intr_coalesce_attr = …;
static struct attribute *ioat_attrs[] = …;
ATTRIBUTE_GROUPS(…);
struct kobj_type ioat_ktype = …;