diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-10-26 11:06:01 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-26 15:10:36 +0100 |
commit | 8e20f591f204f8db7f1182918f8e2285d3f589e0 (patch) | |
tree | d382fae16a6876a4470837d5139eb529d48e8e6c /tools/perf/scripts/python | |
parent | 656bcd5db804b1c66971c62934266226c0164040 (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
- inline helpers to do a bitwise AND and OR operations on two interface
bitmaps
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions