diff options
author | 2024-04-22 10:15:18 +0300 | |
---|---|---|
committer | 2024-04-24 11:57:03 +0100 | |
commit | 99acfa82ddb16e65d552fab77c87d3a8baf32d7c (patch) | |
tree | c5df0af2e44e31ef2d7faf1bedfa5d87adca5c3a /net/openvswitch/vport-netdev.c | |
parent | net: dsa: mt7530: get rid of function sanity check (diff) | |
download | wireguard-linux-99acfa82ddb16e65d552fab77c87d3a8baf32d7c.tar.xz wireguard-linux-99acfa82ddb16e65d552fab77c87d3a8baf32d7c.zip |
net: dsa: mt7530: refactor MT7530_PMEEECR_P()
The MT7530_PMEEECR_P() register is on MT7530, MT7531, and the switch on the
MT7988 SoC. Rename the definition for them to MT753X_PMEEECR_P(). Use the
FIELD_PREP and FIELD_GET macros. Rename GET_LPI_THRESH() and
SET_LPI_THRESH() to LPI_THRESH_GET() and LPI_THRESH_SET().
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/vport-netdev.c')
0 files changed, 0 insertions, 0 deletions