summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_exchrange.c
diff options
context:
space:
mode:
authorNikita Yushchenko <nikita.yoush@cogentembedded.com>2024-12-16 10:19:56 +0300
committerJakub Kicinski <kuba@kernel.org>2024-12-19 06:32:05 +0300
commit2aa722b6d81c3118d33dcb8eea9aac49f56af790 (patch)
treee4aa50014308ef64e5c95fa061e0a93b34da07d1 /fs/xfs/xfs_exchrange.c
parent1ced1b8cacf396d6ff979f594ba40ace42087797 (diff)
downloadlinux-2aa722b6d81c3118d33dcb8eea9aac49f56af790.tar.xz
net: renesas: rswitch: use generic MPSM operation for mdio C45
Introduce rswitch_etha_mpsm_op() that accepts values for MPSM register fields and executes the transaction. This avoids some code duptication, and can be used both for C45 and C22. Convert C45 read and write operations to use that. Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com> Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Link: https://patch.msgid.link/20241216071957.2587354-5-nikita.yoush@cogentembedded.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_exchrange.c')
0 files changed, 0 insertions, 0 deletions