aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorSergio Paracuellos <[email protected]>2018-11-04 11:49:36 +0100
committerGreg Kroah-Hartman <[email protected]>2018-11-11 11:36:14 -0800
commit6b767904b90e323626f72a6c3365d63de81c4207 (patch)
tree314490cf72eb15f8c62c56aa5c45c56c19fd6b51 /tools/perf/scripts/python/bin/stackcollapse-report
parent7bf10a7261c42aea8c6620038fc640683dab4603 (diff)
staging: mt7621-pci: rewrite pcie phy related functions
Function 'bypass_pipe_rst' and 'set_phy_for_ssc' can be written in a cleaner way. Instead of use comments to see which bits are the ones which are being enabled add new macros with that information using BIT and GENMASK kernel macros. Avoid the use of set_pcie_phy which is kind of dark and use new macros also resetting and adding bits using bitwise operators directly in the code. Now these function are offset-based on the port to use them cleaner in driver probe functio and improving readability. Signed-off-by: Sergio Paracuellos <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions