Rechercher une page de manuel
rio_get_device
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
rio_get_device - Begin or continue searching for a RIO device by vid/didSYNOPSIS
- struct rio_dev * rio_get_device(u16 vid, u16 did, struct rio_dev * from);
ARGUMENTS
vid
- RIO vid to match or RIO_ANY_ID to match all vids
did
- RIO did to match or RIO_ANY_ID to match all dids
from
- Previous RIO device found in search, or NULL for new search
DESCRIPTION
Iterates through the list of known RIO devices. If a RIO device is found with a matching vid and did, the reference count to the device is incrememted and a pointer to its device structure is returned. Otherwise, NULL is returned. A new search is initiated by passing NULL to the from argument. Otherwise, if from is not NULL, searches continue from next device on the global list. The reference count for from is always decremented if it is not NULL.
AUTHOR
Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
- Author.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre