diff options
author | Romain Gantois <romain.gantois@bootlin.com> | 2025-03-06 17:23:26 +0100 |
---|---|---|
committer | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2025-04-18 23:33:53 +0200 |
commit | 24960bd0a19d933ae07c081e6efce0a4b77fa4b7 (patch) | |
tree | a31b5af8f4428013cdd00abed6d56fa1c8d95acf /scripts/gdb/linux/utils.py | |
parent | 818bd489f137e9257d701c0d4bf11efdfd02ca5f (diff) |
i2c: move ATR alias pool to a separate struct
Each I2C address translator (ATR) has a pool of client aliases which can be
used as translation targets. Some ATRs have a single alias pool shared by
all downstream channels, while others have a separate alias pool for each
channel. Currently, this alias pool is represented by the "aliases",
"num_aliases", and "use_mask" fields of struct i2c_atr.
In preparation for adding per-channel alias pool support, move the
"aliases", "num_aliases", "use_mask" and associated lock to a new struct
called "struct alias_pool".
Tested-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Romain Gantois <romain.gantois@bootlin.com>
Acked-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions