summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorPotin Lai <potin.lai@quantatw.com>2022-04-07 04:17:36 +0300
committerJoel Stanley <joel@jms.id.au>2022-04-07 06:51:31 +0300
commiteec72f9479378ae9af73a564eaf31745f79f2e1f (patch)
treed5f427aa081da16e0b0c280eeb5f5477fe3dea18 /tools/perf/scripts/python/flamegraph.py
parentc3e119db18af2d99263d3869d97465951b1ee5cd (diff)
downloadlinux-eec72f9479378ae9af73a564eaf31745f79f2e1f.tar.xz
net: mdio: aspeed: move reg accessing part into separate functions
Add aspeed_mdio_op() and aseed_mdio_get_data() for register accessing. aspeed_mdio_op() handles operations, write command to control register, then check and wait operations is finished (bit 31 is cleared). aseed_mdio_get_data() fetchs the result value of operation from data register. OpenBMC-Staging-Count: 1 Signed-off-by: Potin Lai <potin.lai@quantatw.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/20220407011738.7189-2-potin.lai@quantatw.com Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions