1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 /* 1 /* 3 * include/media/drv-intf/si476x.h -- Common d 2 * include/media/drv-intf/si476x.h -- Common definitions for si476x driver 4 * 3 * 5 * Copyright (C) 2012 Innovative Converged Dev 4 * Copyright (C) 2012 Innovative Converged Devices(ICD) 6 * Copyright (C) 2013 Andrey Smirnov 5 * Copyright (C) 2013 Andrey Smirnov 7 * 6 * 8 * Author: Andrey Smirnov <andrew.smirnov@gmai 7 * Author: Andrey Smirnov <andrew.smirnov@gmail.com> >> 8 * >> 9 * This program is free software; you can redistribute it and/or modify >> 10 * it under the terms of the GNU General Public License as published by >> 11 * the Free Software Foundation; version 2 of the License. >> 12 * >> 13 * This program is distributed in the hope that it will be useful, but >> 14 * WITHOUT ANY WARRANTY; without even the implied warranty of >> 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU >> 16 * General Public License for more details. >> 17 * 9 */ 18 */ 10 19 11 #ifndef SI476X_H 20 #ifndef SI476X_H 12 #define SI476X_H 21 #define SI476X_H 13 22 14 #include <linux/types.h> 23 #include <linux/types.h> 15 #include <linux/videodev2.h> 24 #include <linux/videodev2.h> 16 25 17 #include <linux/mfd/si476x-reports.h> 26 #include <linux/mfd/si476x-reports.h> 18 27 19 enum si476x_ctrl_id { 28 enum si476x_ctrl_id { 20 V4L2_CID_SI476X_RSSI_THRESHOLD = (V4L 29 V4L2_CID_SI476X_RSSI_THRESHOLD = (V4L2_CID_USER_SI476X_BASE + 1), 21 V4L2_CID_SI476X_SNR_THRESHOLD = (V4L 30 V4L2_CID_SI476X_SNR_THRESHOLD = (V4L2_CID_USER_SI476X_BASE + 2), 22 V4L2_CID_SI476X_MAX_TUNE_ERROR = (V4L 31 V4L2_CID_SI476X_MAX_TUNE_ERROR = (V4L2_CID_USER_SI476X_BASE + 3), 23 V4L2_CID_SI476X_HARMONICS_COUNT = (V4L 32 V4L2_CID_SI476X_HARMONICS_COUNT = (V4L2_CID_USER_SI476X_BASE + 4), 24 V4L2_CID_SI476X_DIVERSITY_MODE = (V4L 33 V4L2_CID_SI476X_DIVERSITY_MODE = (V4L2_CID_USER_SI476X_BASE + 5), 25 V4L2_CID_SI476X_INTERCHIP_LINK = (V4L 34 V4L2_CID_SI476X_INTERCHIP_LINK = (V4L2_CID_USER_SI476X_BASE + 6), 26 }; 35 }; 27 36 28 #endif /* SI476X_H*/ 37 #endif /* SI476X_H*/ 29 38
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.