1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Realtek RTL2830 DVB-T demodulator driver
5 * Copyright (C) 2011 Antti Palosaari <crope@iki.fi>
11 #include <linux/dvb/frontend.h>
14 * struct rtl2830_platform_data - Platform data for the rtl2830 driver
15 * @clk: Clock frequency (4000000, 16000000, 25000000, 28800000).
16 * @spec_inv: Spectrum inversion.
17 * @vtop: AGC take-over point.
20 * @get_dvb_frontend: Get DVB frontend.
21 * @get_i2c_adapter: Get I2C adapter.
22 * @pid_filter: Set PID to PID filter.
23 * @pid_filter_ctrl: Control PID filter.
25 struct rtl2830_platform_data
{
32 struct dvb_frontend
* (*get_dvb_frontend
)(struct i2c_client
*);
33 struct i2c_adapter
* (*get_i2c_adapter
)(struct i2c_client
*);
34 int (*pid_filter
)(struct dvb_frontend
*, u8
, u16
, int);
35 int (*pid_filter_ctrl
)(struct dvb_frontend
*, int);
38 #endif /* RTL2830_H */