diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-06-08 14:43:54 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-09-19 13:22:14 +0100 |
commit | f1d717845dc84420883e9853a588a5bd60ba93b2 (patch) | |
tree | ae14f781e8d9474d73698c423dfe41c0e6a3ca76 /drivers/net/phy | |
parent | 2b5d092a5727f4d0931b3c3823e5013f74024180 (diff) |
net: phy: add phy_interface_t bitmap support
Add support for a bitmap for phy interface modes, which includes:
- a macro to declare the interface bitmap
- an inline helper to zero the interface bitmap
- an inline helper to detect an empty interface bitmap
- an inline helper to do a bitwise AND operation on two interface
bitmaps
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions