mirror-linux/include/media
Ricardo Ribalda 1657624a69 media: core: export v4l2_translate_cmd
video_translate_cmd() can be useful for drivers to convert between the
VIDIOC_*32 and VIDIOC_ defines. Let's export it.

Now that the function is exported, use this opportunity to rename the
function with the v4l2_ prefix, that is less ambiguous than video_

The VIDIOC_*32 defines are not accessible by the drivers, they live in
v4l2-compat-ioctl32.c.

Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Link: https://lore.kernel.org/r/20250701-uvc-grannular-invert-v4-6-8003b9b89f68@chromium.org
Signed-off-by: Hans de Goede <hansg@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2025-07-11 19:27:28 +02:00
..
davinci media: v4l: async: Rename v4l2_async_subdev as v4l2_async_connection 2023-07-28 10:44:25 +02:00
drv-intf media: saa7146: convert to vb2 2023-04-15 08:53:31 +01:00
i2c media: replace obsolete hans.verkuil@cisco.com alias 2024-11-08 13:38:09 +01:00
tpg
cec-notifier.h
cec-pin.h
cec.h media: cec: include linux/debugfs.h and linux/seq_file.h where needed 2025-01-07 12:21:38 +01:00
demux.h
dmxdev.h
dvb-usb-ids.h
dvb_ca_en50221.h
dvb_demux.h
dvb_frontend.h Revert "media: dvb-core: Fix use-after-free on race condition at dvb_frontend" 2023-06-14 23:16:29 +01:00
dvb_net.h media: dvb-core: Fix use-after-free due on race condition at dvb_net 2023-05-14 06:30:45 +01:00
dvb_ringbuffer.h
dvb_vb2.h
dvbdev.h media: dvbdev.h: do some kernel-doc cleanups 2023-05-14 16:05:27 +01:00
frame_vector.h
imx.h
ipu-bridge.h media: ipu-bridge: add mod_devicetable.h header inclusion 2024-06-04 08:31:22 +02:00
ipu6-pci-table.h media: ipu6: Add PCI device table header 2024-04-29 14:56:37 +02:00
jpeg.h media: Add common header file with JPEG marker definitions 2023-05-25 16:21:21 +02:00
media-dev-allocator.h
media-device.h media: mc: Add nop implementations of media_device_{init,cleanup} 2024-04-10 15:15:30 +02:00
media-devnode.h
media-entity.h media: mc: Rename pad as origin in __media_pipeline_start() 2024-11-07 09:05:58 +01:00
media-request.h media: replace obsolete hans.verkuil@cisco.com alias 2024-11-08 13:38:09 +01:00
mipi-csi2.h media: Add MIPI CSI-2 generic long packet type definition 2023-10-07 10:55:48 +02:00
rc-core.h media: rc: reduce useless padding in struct rc_dev etc 2025-03-04 15:56:11 +01:00
rc-map.h media: rc: add keymap for Siemens Gigaset RC20 remote 2025-02-13 12:12:31 +01:00
rcar-fcp.h media: rcar-fcp: Add rcar_fcp_soft_reset() 2025-06-18 09:20:45 +02:00
tuner-types.h media: tuners: Constify struct tunertype, tuner_range and tuner_params 2025-02-21 10:33:15 +01:00
tuner.h media: tuner-simple: Add support for Tena TNF931D-DFDR1 2024-06-29 12:20:05 +02:00
tveeprom.h media: drop unnecessary networking includes 2023-03-19 22:50:06 +01:00
v4l2-async.h media: v4l: async: Set owner for async sub-devices 2024-04-26 11:31:19 +01:00
v4l2-cci.h media: v4l2-cci: Add support for little-endian encoded registers 2023-12-13 13:21:19 +01:00
v4l2-common.h media: common: Add v4l2_find_nearest_size_conditional() 2025-05-06 13:06:30 +02:00
v4l2-ctrls.h media: v4l2-ctrls: Return the handler's error in v4l2_ctrl_handler_free() 2025-06-30 08:47:41 +02:00
v4l2-dev.h media: v4l: Make media_entity_to_video_device() NULL-safe 2025-07-10 11:32:23 +02:00
v4l2-device.h media: v4l: Set sub-device's owner field to the caller's module 2024-04-26 11:30:43 +01:00
v4l2-dv-timings.h media: v4l2-dv-timings: add v4l2_num_edid_blocks() helper 2025-02-18 08:11:37 +01:00
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 media: v4l: fwnode: Remove unneeded forward declaration 2023-07-28 10:34:26 +02:00
v4l2-h264.h
v4l2-image-sizes.h
v4l2-ioctl.h media: core: export v4l2_translate_cmd 2025-07-11 19:27:28 +02:00
v4l2-jpeg.h media: v4l2-jpeg: Remove unused v4l2_jpeg_parse_* wrappers 2025-06-17 10:35:17 +02:00
v4l2-mc.h media: v4l2-mc: Mark v4l2_pipeline_link_notify() as deprecated 2024-08-23 17:49:09 +03:00
v4l2-mediabus.h media: v4l: Support obtaining link frequency via get_mbus_config 2025-02-15 15:22:53 +01:00
v4l2-mem2mem.h media: v4l2: Add mem2mem helpers for REMOVE_BUFS ioctl 2024-03-25 12:00:44 +01:00
v4l2-rect.h
v4l2-subdev.h media: v4l2-subdev: Remove g_pixelaspect operation 2025-07-10 13:44:58 +02:00
v4l2-vp9.h
videobuf2-core.h media: videobuf2-core: attach once if multiple planes share the same dbuf 2024-08-14 10:05:32 +02:00
videobuf2-dma-contig.h
videobuf2-dma-sg.h
videobuf2-dvb.h
videobuf2-memops.h
videobuf2-v4l2.h media: v4l2: Add REMOVE_BUFS ioctl 2024-03-25 12:00:44 +01:00
videobuf2-vmalloc.h
vsp1.h media: vsp1: Add VSPX support 2025-06-18 09:20:47 +02:00