diff options
author | Herve Codina <herve.codina@bootlin.com> | 2024-07-01 13:30:34 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-07-04 12:24:58 +0100 |
commit | 37797c605da33445adc112561695f70bfaa11133 (patch) | |
tree | bb1671cadb1e5df34e1c2aff4e0295e5ca3ea97b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b81cfa66435bdab896b4c24e11d24ec33bdb0601 (diff) |
soc: fsl: cpm1: qmc: Introduce functions to get a channel from a phandle list
qmc_chan_get_byphandle() and the resource managed version retrieve a
channel from a simple phandle.
Extend the API and introduce qmc_chan_get_byphandles_index() and the
resource managed version in order to retrieve a channel from a phandle
list using the provided index to identify the phandle in the list.
Also update qmc_chan_get_byphandle() and the resource managed version to
use qmc_chan_get_byphandles_index() and so avoid code duplication.
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Link: https://patch.msgid.link/20240701113038.55144-8-herve.codina@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions