Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * include/media/drv-intf/si476x.h -- Common definitions for si476x driver
0004  *
0005  * Copyright (C) 2012 Innovative Converged Devices(ICD)
0006  * Copyright (C) 2013 Andrey Smirnov
0007  *
0008  * Author: Andrey Smirnov <andrew.smirnov@gmail.com>
0009  */
0010 
0011 #ifndef SI476X_H
0012 #define SI476X_H
0013 
0014 #include <linux/types.h>
0015 #include <linux/videodev2.h>
0016 
0017 #include <linux/mfd/si476x-reports.h>
0018 
0019 enum si476x_ctrl_id {
0020     V4L2_CID_SI476X_RSSI_THRESHOLD  = (V4L2_CID_USER_SI476X_BASE + 1),
0021     V4L2_CID_SI476X_SNR_THRESHOLD   = (V4L2_CID_USER_SI476X_BASE + 2),
0022     V4L2_CID_SI476X_MAX_TUNE_ERROR  = (V4L2_CID_USER_SI476X_BASE + 3),
0023     V4L2_CID_SI476X_HARMONICS_COUNT = (V4L2_CID_USER_SI476X_BASE + 4),
0024     V4L2_CID_SI476X_DIVERSITY_MODE  = (V4L2_CID_USER_SI476X_BASE + 5),
0025     V4L2_CID_SI476X_INTERCHIP_LINK  = (V4L2_CID_USER_SI476X_BASE + 6),
0026 };
0027 
0028 #endif /* SI476X_H*/