Home
last modified time | relevance | path

Searched refs:MAX_NUM_SETTINGS (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/drivers/net/phy/
Dphy.c161 #define MAX_NUM_SETTINGS ARRAY_SIZE(settings) macro
182 return idx < MAX_NUM_SETTINGS ? idx : MAX_NUM_SETTINGS - 1; in phy_find_setting()
197 while (idx < MAX_NUM_SETTINGS && !(settings[idx].setting & features)) in phy_find_valid()
200 return idx < MAX_NUM_SETTINGS ? idx : MAX_NUM_SETTINGS - 1; in phy_find_valid()