diff options
author | Sakari Ailus <[email protected]> | 2023-11-07 17:42:40 +0200 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2023-12-04 11:21:46 +0100 |
commit | cd93cc245dfe334c38da98c14b34f9597e1b4ea6 (patch) | |
tree | f268d74b5516dd944172b4558721d0db193eab70 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 94ed00981b5167e22f66fd5bfedcc7cc7fd72551 (diff) |
media: v4l: cci: Add macros to obtain register width and address
Add CCI_REG_WIDTH() macro to obtain register width in bits and similarly,
CCI_REG_WIDTH_BYTES() to obtain it in bytes.
Also add CCI_REG_ADDR() macro to obtain the address of a register.
Use both macros in v4l2-cci.c, too.
Signed-off-by: Sakari Ailus <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions