diff options
| author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2023-11-07 17:42:40 +0200 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-12-04 11:21:46 +0100 |
| commit | cd93cc245dfe334c38da98c14b34f9597e1b4ea6 (patch) | |
| tree | f268d74b5516dd944172b4558721d0db193eab70 /tools/perf/scripts/python/bin | |
| parent | media: v4l: cci: Add driver-private bit definitions (diff) | |
| download | linux-cd93cc245dfe334c38da98c14b34f9597e1b4ea6.tar.gz linux-cd93cc245dfe334c38da98c14b34f9597e1b4ea6.zip | |
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 <sakari.ailus@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
