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

NAME

6       rio_get_asm - Begin or continue searching for a RIO device by
7       vid/did/asm_vid/asm_did
8

SYNOPSIS

10       struct rio_dev * rio_get_asm(u16 vid, u16 did, u16 asm_vid,
11                                    u16 asm_did, struct rio_dev * from);
12

ARGUMENTS

14       vid
15           RIO vid to match or RIO_ANY_ID to match all vids
16
17       did
18           RIO did to match or RIO_ANY_ID to match all dids
19
20       asm_vid
21           RIO asm_vid to match or RIO_ANY_ID to match all asm_vids
22
23       asm_did
24           RIO asm_did to match or RIO_ANY_ID to match all asm_dids
25
26       from
27           Previous RIO device found in search, or NULL for new search
28

DESCRIPTION

30       Iterates through the list of known RIO devices. If a RIO device is
31       found with a matching vid, did, asm_vid, asm_did, the reference count
32       to the device is incrememted and a pointer to its device structure is
33       returned. Otherwise, NULL is returned. A new search is initiated by
34       passing NULL to the from argument. Otherwise, if from is not NULL,
35       searches continue from next device on the global list. The reference
36       count for from is always decremented if it is not NULL.
37

AUTHOR

39       Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
40           Author.
41
43Kernel Hackers Manual 2.6.       November 2011                  RIO_GET_ASM(9)
Impressum