1DEVRES_FIND(9)                   Driver Basics                  DEVRES_FIND(9)
2
3
4

NAME

6       devres_find - Find device resource
7

SYNOPSIS

9       void * devres_find(struct device * dev, dr_release_t release,
10                          dr_match_t match, void * match_data);
11

ARGUMENTS

13       dev
14           Device to lookup resource from
15
16       release
17           Look for resources associated with this release function
18
19       match
20           Match function (optional)
21
22       match_data
23           Data for the match function
24

DESCRIPTION

26       Find the latest devres of dev which is associated with release and for
27       which match returns 1. If match is NULL, it's considered to match all.
28

RETURNS

30       Pointer to found devres, NULL if not found.
31
33Kernel Hackers Manual 3.10         June 2019                    DEVRES_FIND(9)
Impressum