diff options
author | Alex Elder <elder@linaro.org> | 2021-01-15 13:50:44 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-18 20:51:05 +0100 |
commit | bf52e27bb35377d3582370732fa1e99cb446c670 (patch) | |
tree | 3bf38ea6a2222dc187468edff1a7b713f0ce6a7b /drivers/net/ipa/ipa_data-sdm845.c | |
parent | Merge branch 'net-fix-the-features-flag-in-sctp_gso_segment' (diff) | |
download | linux-bf52e27bb35377d3582370732fa1e99cb446c670.tar.xz linux-bf52e27bb35377d3582370732fa1e99cb446c670.zip |
net: ipa: rename interconnect settings
Use "bandwidth" rather than "rate" in describing the average and
peak values to use for IPA interconnects. They should have been
named that way to begin with.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ipa/ipa_data-sdm845.c')
-rw-r--r-- | drivers/net/ipa/ipa_data-sdm845.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/ipa/ipa_data-sdm845.c b/drivers/net/ipa/ipa_data-sdm845.c index f8fee8d3ca42..c62b86171b92 100644 --- a/drivers/net/ipa/ipa_data-sdm845.c +++ b/drivers/net/ipa/ipa_data-sdm845.c @@ -331,20 +331,20 @@ static struct ipa_mem_data ipa_mem_data = { static struct ipa_clock_data ipa_clock_data = { .core_clock_rate = 75 * 1000 * 1000, /* Hz */ - /* Interconnect rates are in 1000 byte/second units */ + /* Interconnect bandwidths are in 1000 byte/second units */ .interconnect = { [IPA_INTERCONNECT_MEMORY] = { - .peak_rate = 600000, /* 600 MBps */ - .average_rate = 80000, /* 80 MBps */ + .peak_bandwidth = 600000, /* 600 MBps */ + .average_bandwidth = 80000, /* 80 MBps */ }, - /* Average rate is unused for the next two interconnects */ + /* Average bandwidth unused for the next two interconnects */ [IPA_INTERCONNECT_IMEM] = { - .peak_rate = 350000, /* 350 MBps */ - .average_rate = 0, /* unused */ + .peak_bandwidth = 350000, /* 350 MBps */ + .average_bandwidth = 0, /* unused */ }, [IPA_INTERCONNECT_CONFIG] = { - .peak_rate = 40000, /* 40 MBps */ - .average_rate = 0, /* unused */ + .peak_bandwidth = 40000, /* 40 MBps */ + .average_bandwidth = 0, /* unused */ }, }, }; |