1PHY_FIND_VALID(9) Network device support PHY_FIND_VALID(9)
2
3
4
6 phy_find_valid - find a PHY setting that matches the requested features
7 mask
8
10 int phy_find_valid(int idx, u32 features);
11
13 idx
14 The first index in settings[] to search
15
16 features
17 A mask of the valid settings
18
20 Returns the index of the first valid setting less than or equal to the
21 one pointed to by idx, as determined by the mask in features. Returns
22 the index of the last setting if nothing else matches.
23
25Kernel Hackers Manual 3.10 June 2019 PHY_FIND_VALID(9)