linux/include/media
Sakari Ailus cd93cc245d 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>
2023-12-04 11:21:46 +01:00
..
davinci
drv-intf
i2c
tpg
cec-notifier.h
cec-pin.h
cec.h media: cec: core: count low-drive, error and arb-lost conditions 2023-11-23 12:59:24 +01:00
demux.h
dmxdev.h
dvb-usb-ids.h
dvb_ca_en50221.h
dvb_demux.h
dvb_frontend.h
dvb_net.h
dvb_ringbuffer.h
dvb_vb2.h
dvbdev.h
frame_vector.h
imx.h
ipu-bridge.h media: ipu-bridge: increase sensor_name size 2023-09-27 10:47:22 +02:00
jpeg.h
media-dev-allocator.h
media-device.h
media-devnode.h
media-entity.h
media-request.h
mipi-csi2.h media: Add MIPI CSI-2 generic long packet type definition 2023-10-07 10:55:48 +02:00
rc-core.h
rc-map.h
rcar-fcp.h
tuner-types.h
tuner.h
tveeprom.h
v4l2-async.h
v4l2-cci.h media: v4l: cci: Add macros to obtain register width and address 2023-12-04 11:21:46 +01:00
v4l2-common.h
v4l2-ctrls.h
v4l2-dev.h media: v4l2-dev.h: increase struct video_device name size 2023-09-27 10:47:22 +02:00
v4l2-device.h media: v4l2-device.h: drop V4L2_DEVICE_NAME_SIZE 2023-09-27 10:47:23 +02:00
v4l2-dv-timings.h
v4l2-event.h media: v4l2-event: Annotate struct v4l2_subscribed_event with __counted_by 2023-10-07 10:55:45 +02:00
v4l2-fh.h
v4l2-flash-led-class.h
v4l2-fwnode.h
v4l2-h264.h
v4l2-image-sizes.h
v4l2-ioctl.h
v4l2-jpeg.h
v4l2-mc.h
v4l2-mediabus.h
v4l2-mem2mem.h media: v4l2-mem2mem.h: fix typo in comment 2023-11-23 13:03:01 +01:00
v4l2-rect.h
v4l2-subdev.h media: v4l2-subdev: Rename .init_cfg() operation to .init_state() 2023-12-04 10:37:47 +01:00
v4l2-vp9.h
videobuf2-core.h media: media videobuf2: Be more flexible on the number of queue stored buffers 2023-11-23 12:37:39 +01:00
videobuf2-dma-contig.h
videobuf2-dma-sg.h
videobuf2-dvb.h
videobuf2-memops.h
videobuf2-v4l2.h
videobuf2-vmalloc.h
vsp1.h