aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/scsi
diff options
context:
space:
mode:
authorDejin Zheng <zhengdejin5@gmail.com>2020-03-23 23:05:51 +0800
committerDavid S. Miller <davem@davemloft.net>2020-03-23 22:00:02 -0700
commit5f5323a14cad19323060a8cbf9d96f2280a462dd (patch)
tree6a777a6822fdb9310a3b8c659d4d176509c4d001 /include/scsi
parentRemove DST_HOST (diff)
downloadwireguard-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/scsi')
0 files changed, 0 insertions, 0 deletions