#include <linux/kernel.h>
#include <linux/rio.h>
#include <linux/rio_drv.h>
#include <linux/stat.h>
#include <linux/capability.h>
#include "rio.h"
Go to the source code of this file.
#define rio_config_attr |
( |
|
field, |
|
|
|
format_string |
|
) |
| |
Value:static ssize_t \
\
return
sprintf(
buf, format_string, rdev->field); \
} \
Definition at line 22 of file rio-sysfs.c.
rio_config_attr |
( |
did |
, |
|
|
"0x%04x\n" |
|
|
) |
| |
rio_config_attr |
( |
vid |
, |
|
|
"0x%04x\n" |
|
|
) |
| |
rio_config_attr |
( |
device_rev |
, |
|
|
"0x%08x\n" |
|
|
) |
| |
rio_config_attr |
( |
asm_did |
, |
|
|
"0x%04x\n" |
|
|
) |
| |
rio_config_attr |
( |
asm_vid |
, |
|
|
"0x%04x\n" |
|
|
) |
| |
rio_config_attr |
( |
asm_rev |
, |
|
|
"0x%04x\n" |
|
|
) |
| |
rio_config_attr |
( |
destid |
, |
|
|
"0x%04x\n" |
|
|
) |
| |
rio_config_attr |
( |
hopcount |
, |
|
|
"0x%02x\n" |
|
|
) |
| |
rio_create_sysfs_dev_files - create RIO specific sysfs files : device whose entries should be created
Create files when is added to sysfs.
Definition at line 250 of file rio-sysfs.c.
rio_remove_sysfs_dev_files - cleanup RIO specific sysfs files : device whose entries we should free
Cleanup when is removed from sysfs.
Definition at line 277 of file rio-sysfs.c.