1RIO_LOCK_DEVICE(9)                 Internals                RIO_LOCK_DEVICE(9)
2
3
4

NAME

6       rio_lock_device - Acquires host device lock for specified device
7

SYNOPSIS

9       int rio_lock_device(struct rio_mport * port, u16 destid, u8 hopcount,
10                           int wait_ms);
11

ARGUMENTS

13       port
14           Master port to send transaction
15
16       destid
17           Destination ID for device/switch
18
19       hopcount
20           Hopcount to reach switch
21
22       wait_ms
23           Max wait time in msec (0 = no timeout)
24

DESCRIPTION

26       Attepts to acquire host device lock for specified device Returns 0 if
27       device lock acquired or EINVAL if timeout expires.
28

AUTHOR

30       Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
31           Author.
32
34Kernel Hackers Manual 3.10         June 2019                RIO_LOCK_DEVICE(9)
Impressum