1RIO_DEV_GET(9)             RapidIO driver interface             RIO_DEV_GET(9)
2
3
4

NAME

6       rio_dev_get - Increments the reference count of the RIO device
7       structure
8

SYNOPSIS

10       struct rio_dev * rio_dev_get(struct rio_dev * rdev);
11

ARGUMENTS

13       rdev
14           RIO device being referenced
15

DESCRIPTION

17       Each live reference to a device should be refcounted.
18
19       Drivers for RIO devices should normally record such references in their
20       probe methods, when they bind to a device, and release them by calling
21       rio_dev_put, in their disconnect methods.
22

AUTHOR

24       Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
25           Author.
26
28Kernel Hackers Manual 2.6.         June 2019                    RIO_DEV_GET(9)
Impressum