rtl2830.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) | rtl2830.h (be9b53c83792e3898755dce90f8c632d40e7c83e) |
---|---|
1/* 2 * Realtek RTL2830 DVB-T demodulator driver 3 * 4 * Copyright (C) 2011 Antti Palosaari <crope@iki.fi> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 18 unchanged lines hidden (view full) --- 27 * @vtop: AGC take-over point. 28 * @krf: AGC ratio. 29 * @agc_targ_val: AGC. 30 * @get_dvb_frontend: Get DVB frontend. 31 * @get_i2c_adapter: Get I2C adapter. 32 * @pid_filter: Set PID to PID filter. 33 * @pid_filter_ctrl: Control PID filter. 34 */ | 1/* 2 * Realtek RTL2830 DVB-T demodulator driver 3 * 4 * Copyright (C) 2011 Antti Palosaari <crope@iki.fi> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 18 unchanged lines hidden (view full) --- 27 * @vtop: AGC take-over point. 28 * @krf: AGC ratio. 29 * @agc_targ_val: AGC. 30 * @get_dvb_frontend: Get DVB frontend. 31 * @get_i2c_adapter: Get I2C adapter. 32 * @pid_filter: Set PID to PID filter. 33 * @pid_filter_ctrl: Control PID filter. 34 */ |
35 | |
36struct rtl2830_platform_data { 37 u32 clk; 38 bool spec_inv; 39 u8 vtop; 40 u8 krf; 41 u8 agc_targ_val; 42 43 struct dvb_frontend* (*get_dvb_frontend)(struct i2c_client *); 44 struct i2c_adapter* (*get_i2c_adapter)(struct i2c_client *); 45 int (*pid_filter)(struct dvb_frontend *, u8, u16, int); 46 int (*pid_filter_ctrl)(struct dvb_frontend *, int); 47}; 48 49#endif /* RTL2830_H */ | 35struct rtl2830_platform_data { 36 u32 clk; 37 bool spec_inv; 38 u8 vtop; 39 u8 krf; 40 u8 agc_targ_val; 41 42 struct dvb_frontend* (*get_dvb_frontend)(struct i2c_client *); 43 struct i2c_adapter* (*get_i2c_adapter)(struct i2c_client *); 44 int (*pid_filter)(struct dvb_frontend *, u8, u16, int); 45 int (*pid_filter_ctrl)(struct dvb_frontend *, int); 46}; 47 48#endif /* RTL2830_H */ |