diff options
author | Dan Murphy <dmurphy@ti.com> | 2020-06-24 07:16:02 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-25 16:05:21 -0700 |
commit | 92252eec913b2dd5e7b5de11ea3efa2e64d65cf4 (patch) | |
tree | 5f45dec84e66a4e15d56c12c7a19567a3c4c2982 /include/linux/dma-contiguous.h | |
parent | 9150069bf5fc0e86cc8b79495bfbb98d2b642ba0 (diff) | |
download | linux-stable-92252eec913b2dd5e7b5de11ea3efa2e64d65cf4.tar.gz linux-stable-92252eec913b2dd5e7b5de11ea3efa2e64d65cf4.tar.bz2 linux-stable-92252eec913b2dd5e7b5de11ea3efa2e64d65cf4.zip |
net: phy: Add a helper to return the index for of the internal delay
Add a helper function that will return the index in the array for the
passed in internal delay value. The helper requires the array, size and
delay value.
The helper will then return the index for the exact match or return the
index for the index to the closest smaller value.
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/dma-contiguous.h')
0 files changed, 0 insertions, 0 deletions