AMBA_FIND_DEVICE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

amba_find_device - locate an AMBA device given a bus id  

SYNOPSIS

"SYNOPSIS"

struct amba_device * amba_find_device (const char * busid, struct device * parent, unsigned int id, unsigned int mask);  

ARGUMENTS

busid
bus id for device (or NULL)
parent
parent device (or NULL)
id
peripheral ID (or 0)
mask
peripheral ID mask (or 0)
 

DESCRIPTION

Return the AMBA device corresponding to the supplied parameters. If no device matches, returns NULL.  

NOTE

When a valid device is found, its refcount is incremented, and must be decremented before the returned reference.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
NOTE

This document was created by man2html, using the manual pages.
Time: 00:01:55 GMT, October 09, 2005