^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * vivid-sdr-cap.h - software defined radio support functions.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * Copyright 2014 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #ifndef _VIVID_SDR_CAP_H_
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #define _VIVID_SDR_CAP_H_
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) int vivid_sdr_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) int vivid_sdr_g_frequency(struct file *file, void *fh, struct v4l2_frequency *vf);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) int vivid_sdr_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) int vivid_sdr_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) int vivid_sdr_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) int vidioc_enum_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_fmtdesc *f);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) int vidioc_g_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) int vidioc_s_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) int vidioc_try_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) void vivid_sdr_cap_process(struct vivid_dev *dev, struct vivid_buffer *buf);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) extern const struct vb2_ops vivid_sdr_cap_qops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #endif