diff options
author | Dejin Zheng <zhengdejin5@gmail.com> | 2020-03-23 23:05:51 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-23 22:00:02 -0700 |
commit | 5f5323a14cad19323060a8cbf9d96f2280a462dd (patch) | |
tree | 6a777a6822fdb9310a3b8c659d4d176509c4d001 /include/soc | |
parent | Remove DST_HOST (diff) | |
download | wireguard-linux-5f5323a14cad19323060a8cbf9d96f2280a462dd.tar.xz wireguard-linux-5f5323a14cad19323060a8cbf9d96f2280a462dd.zip |
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 'include/soc')
0 files changed, 0 insertions, 0 deletions