aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorDejin Zheng <[email protected]>2020-03-23 23:05:51 +0800
committerDavid S. Miller <[email protected]>2020-03-23 22:00:02 -0700
commit5f5323a14cad19323060a8cbf9d96f2280a462dd (patch)
tree6a777a6822fdb9310a3b8c659d4d176509c4d001 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentaf13b3c338bea6a766b1a0ee4f9c939e8bf38256 (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions