diff options
author | Dejin Zheng <zhengdejin5@gmail.com> | 2020-03-23 18:05:51 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-24 08:00:02 +0300 |
commit | 5f5323a14cad19323060a8cbf9d96f2280a462dd (patch) | |
tree | 6a777a6822fdb9310a3b8c659d4d176509c4d001 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | af13b3c338bea6a766b1a0ee4f9c939e8bf38256 (diff) | |
download | linux-5f5323a14cad19323060a8cbf9d96f2280a462dd.tar.xz |
iopoll: introduce read_poll_timeout macro
this macro is an extension of readx_poll_timeout macro. the accessor
function op just supports only one parameter in the readx_poll_timeout
macro, but this macro can supports multiple variable parameters for
it. so functions like phy_read(struct phy_device *phydev, u32 regnum)
and phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum) can
also use this poll timeout core. and also expand it can sleep some time
before read operation.
Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions