Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/phy/
Dphylink.c500 unsigned long matched_caps = 0; in phylink_get_capabilities() local
584 matched_caps = 0; in phylink_get_capabilities()
608 matched_caps = GENMASK(__fls(caps), __fls(MAC_10HD)); in phylink_get_capabilities()
609 matched_caps &= ~(MAC_1000HD | MAC_100HD | MAC_10HD); in phylink_get_capabilities()
619 matched_caps = GENMASK(__fls(caps), __fls(MAC_10HD)); in phylink_get_capabilities()
620 matched_caps &= mac_capabilities; in phylink_get_capabilities()
625 return (caps & mac_capabilities) | matched_caps; in phylink_get_capabilities()