/drivers/media/dvb-frontends/ |
H A D | ts2020.h | 37 struct dvb_frontend *fe, 42 struct dvb_frontend *fe, 41 ts2020_attach( struct dvb_frontend *fe, const struct ts2020_config *config, struct i2c_adapter *i2c) argument
|
H A D | zl10036.h | 31 * @param fe Frontend to attach to. 42 extern struct dvb_frontend *zl10036_attach(struct dvb_frontend *fe, 45 static inline struct dvb_frontend *zl10036_attach(struct dvb_frontend *fe, argument
|
H A D | dib0070.h | 52 extern struct dvb_frontend *dib0070_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct dib0070_config *cfg); 55 extern u8 dib0070_get_rf_output(struct dvb_frontend *fe); 56 extern int dib0070_set_rf_output(struct dvb_frontend *fe, u8 no); 58 static inline struct dvb_frontend *dib0070_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct dib0070_config *cfg) argument 64 static inline u16 dib0070_wbd_offset(struct dvb_frontend *fe) argument 70 static inline void dib0070_ctrl_agc_filter(struct dvb_frontend *fe, u8 open) argument
|
H A D | mt352.c | 58 static int mt352_single_write(struct dvb_frontend *fe, u8 reg, u8 val) argument 60 struct mt352_state* state = fe->demodulator_priv; 72 static int _mt352_write(struct dvb_frontend* fe, const u8 ibuf[], int ilen) argument 76 if ((err = mt352_single_write(fe,ibuf[0]+i,ibuf[i+1]))) 105 static int mt352_sleep(struct dvb_frontend* fe) argument 109 _mt352_write(fe, mt352_softdown, sizeof(mt352_softdown)); 169 static int mt352_set_parameters(struct dvb_frontend *fe) argument 171 struct dtv_frontend_properties *op = &fe->dtv_property_cache; 172 struct mt352_state* state = fe->demodulator_priv; 294 if (fe 314 mt352_get_parameters(struct dvb_frontend* fe) argument 420 mt352_read_status(struct dvb_frontend* fe, fe_status_t* status) argument 463 mt352_read_ber(struct dvb_frontend* fe, u32* ber) argument 474 mt352_read_signal_strength(struct dvb_frontend* fe, u16* strength) argument 487 mt352_read_snr(struct dvb_frontend* fe, u16* snr) argument 497 mt352_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) argument 507 mt352_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings* fe_tune_settings) argument 516 mt352_init(struct dvb_frontend* fe) argument 535 mt352_release(struct dvb_frontend* fe) argument [all...] |
H A D | dib7000p.h | 51 int (*get_agc_values)(struct dvb_frontend *fe, 53 int (*set_agc1_min)(struct dvb_frontend *fe, u16 v); 54 int (*update_pll)(struct dvb_frontend *fe, struct dibx000_bandwidth_config *bw); 56 u32 (*ctrl_timf)(struct dvb_frontend *fe, u8 op, u32 timf); 59 int (*pid_filter_ctrl)(struct dvb_frontend *fe, u8 onoff); 60 int (*pid_filter)(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff); 62 struct i2c_adapter *(*get_i2c_tuner)(struct dvb_frontend *fe); 63 int (*tuner_sleep)(struct dvb_frontend *fe, int onoff); 64 int (*get_adc_power)(struct dvb_frontend *fe); 65 int (*slave_reset)(struct dvb_frontend *fe); [all...] |
/drivers/media/pci/bt8xx/ |
H A D | dvb-bt8xx.c | 133 static int thomson_dtt7579_demod_init(struct dvb_frontend* fe) argument 142 mt352_write(fe, mt352_clock_config, sizeof(mt352_clock_config)); 144 mt352_write(fe, mt352_reset, sizeof(mt352_reset)); 145 mt352_write(fe, mt352_adc_ctl_1_cfg, sizeof(mt352_adc_ctl_1_cfg)); 147 mt352_write(fe, mt352_agc_cfg, sizeof(mt352_agc_cfg)); 148 mt352_write(fe, mt352_gpp_ctl_cfg, sizeof(mt352_gpp_ctl_cfg)); 149 mt352_write(fe, mt352_capt_range_cfg, sizeof(mt352_capt_range_cfg)); 154 static int thomson_dtt7579_tuner_calc_regs(struct dvb_frontend *fe, u8* pllbuf, int buf_len) argument 156 struct dtv_frontend_properties *c = &fe->dtv_property_cache; 198 static int cx24108_tuner_set_params(struct dvb_frontend *fe) argument 250 pinnsat_tuner_init(struct dvb_frontend* fe) argument 260 pinnsat_tuner_sleep(struct dvb_frontend* fe) argument 273 microtune_mt7202dtf_tuner_set_params(struct dvb_frontend *fe) argument 314 microtune_mt7202dtf_request_firmware(struct dvb_frontend* fe, const struct firmware **fw, char* name) argument 326 advbt771_samsung_tdtc9251dh0_demod_init(struct dvb_frontend* fe) argument 349 advbt771_samsung_tdtc9251dh0_tuner_calc_regs(struct dvb_frontend *fe, u8 *pllbuf, int buf_len) argument 416 or51211_request_firmware(struct dvb_frontend* fe, const struct firmware **fw, char* name) argument 423 or51211_setmode(struct dvb_frontend * fe, int mode) argument 430 or51211_reset(struct dvb_frontend * fe) argument 455 or51211_sleep(struct dvb_frontend * fe) argument 469 vp3021_alps_tded4_tuner_set_params(struct dvb_frontend *fe) argument 504 digitv_alps_tded4_demod_init(struct dvb_frontend* fe) argument 522 digitv_alps_tded4_tuner_calc_regs(struct dvb_frontend *fe, u8 *pllbuf, int buf_len) argument [all...] |
/drivers/media/tuners/ |
H A D | fc0011.h | 27 struct dvb_frontend *fc0011_attach(struct dvb_frontend *fe, 32 struct dvb_frontend *fc0011_attach(struct dvb_frontend *fe, argument
|
H A D | fc0012.h | 53 extern struct dvb_frontend *fc0012_attach(struct dvb_frontend *fe, 57 static inline struct dvb_frontend *fc0012_attach(struct dvb_frontend *fe, argument
|
H A D | max2165.h | 36 extern struct dvb_frontend *max2165_attach(struct dvb_frontend *fe, 40 static inline struct dvb_frontend *max2165_attach(struct dvb_frontend *fe, argument
|
H A D | mc44s803.h | 36 extern struct dvb_frontend *mc44s803_attach(struct dvb_frontend *fe, 39 static inline struct dvb_frontend *mc44s803_attach(struct dvb_frontend *fe, argument
|
H A D | mt2060.h | 34 extern struct dvb_frontend * mt2060_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2060_config *cfg, u16 if1); 36 static inline struct dvb_frontend * mt2060_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2060_config *cfg, u16 if1) argument
|
H A D | mt2131.h | 34 extern struct dvb_frontend* mt2131_attach(struct dvb_frontend *fe, 39 static inline struct dvb_frontend* mt2131_attach(struct dvb_frontend *fe, argument
|
H A D | tda18218.h | 34 extern struct dvb_frontend *tda18218_attach(struct dvb_frontend *fe, 37 static inline struct dvb_frontend *tda18218_attach(struct dvb_frontend *fe, argument
|
H A D | tea5761.h | 26 extern struct dvb_frontend *tea5761_attach(struct dvb_frontend *fe, 38 static inline struct dvb_frontend *tea5761_attach(struct dvb_frontend *fe, argument
|
H A D | tua9001.h | 55 extern struct dvb_frontend *tua9001_attach(struct dvb_frontend *fe, 58 static inline struct dvb_frontend *tua9001_attach(struct dvb_frontend *fe, argument
|
H A D | xc4000.h | 54 extern struct dvb_frontend *xc4000_attach(struct dvb_frontend *fe, 58 static inline struct dvb_frontend *xc4000_attach(struct dvb_frontend *fe, argument
|
H A D | tda9887.c | 270 static void dump_read_message(struct dvb_frontend *fe, unsigned char *buf) argument 272 struct tda9887_priv *priv = fe->analog_demod_priv; 300 static void dump_write_message(struct dvb_frontend *fe, unsigned char *buf) argument 302 struct tda9887_priv *priv = fe->analog_demod_priv; 400 static int tda9887_set_tvnorm(struct dvb_frontend *fe) argument 402 struct tda9887_priv *priv = fe->analog_demod_priv; 442 static int tda9887_set_insmod(struct dvb_frontend *fe) argument 444 struct tda9887_priv *priv = fe->analog_demod_priv; 474 static int tda9887_do_config(struct dvb_frontend *fe) argument 476 struct tda9887_priv *priv = fe 533 tda9887_status(struct dvb_frontend *fe) argument 546 tda9887_configure(struct dvb_frontend *fe) argument 592 tda9887_tuner_status(struct dvb_frontend *fe) argument 599 tda9887_get_afc(struct dvb_frontend *fe, s32 *afc) argument 617 tda9887_standby(struct dvb_frontend *fe) argument 626 tda9887_set_params(struct dvb_frontend *fe, struct analog_parameters *params) argument 638 tda9887_set_config(struct dvb_frontend *fe, void *priv_cfg) argument 648 tda9887_release(struct dvb_frontend *fe) argument 674 tda9887_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c_adap, u8 i2c_addr) argument [all...] |
H A D | fc0013.c | 55 static int fc0013_release(struct dvb_frontend *fe) argument 57 kfree(fe->tuner_priv); 58 fe->tuner_priv = NULL; 62 static int fc0013_init(struct dvb_frontend *fe) argument 64 struct fc0013_priv *priv = fe->tuner_priv; 106 if (fe->ops.i2c_gate_ctrl) 107 fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ 115 if (fe->ops.i2c_gate_ctrl) 116 fe 124 fc0013_sleep(struct dvb_frontend *fe) argument 130 fc0013_rc_cal_add(struct dvb_frontend *fe, int rc_val) argument 175 fc0013_rc_cal_reset(struct dvb_frontend *fe) argument 226 fc0013_set_params(struct dvb_frontend *fe) argument 492 fc0013_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument 499 fc0013_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) argument 506 fc0013_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) argument 515 fc0013_get_rf_strength(struct dvb_frontend *fe, u16 *strength) argument 605 fc0013_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, u8 i2c_address, int dual_master, enum fc001x_xtal_freq xtal_freq) argument [all...] |
H A D | xc5000.c | 71 struct dvb_frontend *fe; member in struct:xc5000_priv 225 #define XC5000A_FIRMWARE "dvb-fe-xc5000-1.6.114.fw" 232 #define XC5000C_FIRMWARE "dvb-fe-xc5000c-4.1.30.7.fw" 252 static int xc_load_fw_and_init_tuner(struct dvb_frontend *fe, int force); 253 static int xc5000_is_firmware_loaded(struct dvb_frontend *fe); 255 static int xc5000_tuner_reset(struct dvb_frontend *fe); 306 static int xc5000_tuner_reset(struct dvb_frontend *fe) argument 308 struct xc5000_priv *priv = fe->tuner_priv; 313 if (fe->callback) { 314 ret = fe 362 xc_load_i2c_sequence(struct dvb_frontend *fe, const u8 *i2c_sequence) argument 605 xc_set_xtal(struct dvb_frontend *fe) argument 631 xc5000_fwupload(struct dvb_frontend *fe, const struct xc5000_fw_cfg *desired_fw, const struct firmware *fw) argument 718 xc5000_tune_digital(struct dvb_frontend *fe) argument 759 xc5000_set_digital_params(struct dvb_frontend *fe) argument 849 xc5000_is_firmware_loaded(struct dvb_frontend *fe) argument 868 xc5000_config_tv(struct dvb_frontend *fe, struct analog_parameters *params) argument 928 xc5000_set_tv_freq(struct dvb_frontend *fe) argument 976 xc5000_config_radio(struct dvb_frontend *fe, struct analog_parameters *params) argument 996 xc5000_set_radio_freq(struct dvb_frontend *fe) argument 1041 xc5000_set_params(struct dvb_frontend *fe) argument 1062 xc5000_set_analog_params(struct dvb_frontend *fe, struct analog_parameters *params) argument 1088 xc5000_get_frequency(struct dvb_frontend *fe, u32 *freq) argument 1096 xc5000_get_if_frequency(struct dvb_frontend *fe, u32 *freq) argument 1104 xc5000_get_bandwidth(struct dvb_frontend *fe, u32 *bw) argument 1113 xc5000_get_status(struct dvb_frontend *fe, u32 *status) argument 1127 xc_load_fw_and_init_tuner(struct dvb_frontend *fe, int force) argument 1247 struct dvb_frontend *fe = priv->fe; local 1262 xc5000_sleep(struct dvb_frontend *fe) argument 1278 xc5000_suspend(struct dvb_frontend *fe) argument 1296 xc5000_resume(struct dvb_frontend *fe) argument 1310 xc5000_init(struct dvb_frontend *fe) argument 1326 xc5000_release(struct dvb_frontend *fe) argument 1348 xc5000_set_config(struct dvb_frontend *fe, void *priv_cfg) argument 1388 xc5000_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, const struct xc5000_config *cfg) argument [all...] |
H A D | tuner-simple.c | 123 static int tuner_read_status(struct dvb_frontend *fe) argument 125 struct tuner_simple_priv *priv = fe->tuner_priv; 166 static int simple_get_status(struct dvb_frontend *fe, u32 *status) argument 168 struct tuner_simple_priv *priv = fe->tuner_priv; 174 tuner_status = tuner_read_status(fe); 188 static int simple_get_rf_strength(struct dvb_frontend *fe, u16 *strength) argument 190 struct tuner_simple_priv *priv = fe->tuner_priv; 196 signal = tuner_signal(tuner_read_status(fe)); 234 static struct tuner_params *simple_tuner_params(struct dvb_frontend *fe, argument 237 struct tuner_simple_priv *priv = fe 258 simple_config_lookup(struct dvb_frontend *fe, struct tuner_params *t_params, unsigned *frequency, u8 *config, u8 *cb) argument 288 simple_set_rf_input(struct dvb_frontend *fe, u8 *config, u8 *cb, unsigned int rf) argument 319 simple_std_setup(struct dvb_frontend *fe, struct analog_parameters *params, u8 *config, u8 *cb) argument 422 simple_set_aux_byte(struct dvb_frontend *fe, u8 config, u8 aux) argument 440 simple_post_tune(struct dvb_frontend *fe, u8 *buffer, u16 div, u8 config, u8 cb) argument 495 simple_radio_bandswitch(struct dvb_frontend *fe, u8 *buffer) argument 544 simple_set_tv_freq(struct dvb_frontend *fe, struct analog_parameters *params) argument 666 simple_set_radio_freq(struct dvb_frontend *fe, struct analog_parameters *params) argument 769 simple_set_params(struct dvb_frontend *fe, struct analog_parameters *params) argument 796 simple_set_dvb(struct dvb_frontend *fe, u8 *buf, const u32 delsys, const u32 frequency, const u32 bandwidth) argument 844 simple_dvb_configure(struct dvb_frontend *fe, u8 *buf, const u32 delsys, const u32 freq, const u32 bw) argument 889 simple_dvb_calc_regs(struct dvb_frontend *fe, u8 *buf, int buf_len) argument 913 simple_dvb_set_params(struct dvb_frontend *fe) argument 962 simple_init(struct dvb_frontend *fe) argument 985 simple_sleep(struct dvb_frontend *fe) argument 1008 simple_release(struct dvb_frontend *fe) argument 1024 simple_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument 1031 simple_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) argument 1051 simple_tuner_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c_adap, u8 i2c_addr, unsigned int type) argument [all...] |
/drivers/media/v4l2-core/ |
H A D | videobuf-dvb.c | 136 static int videobuf_dvb_register_adapter(struct videobuf_dvb_frontends *fe, argument 146 mutex_init(&fe->lock); 149 result = dvb_register_adapter(&fe->adapter, adapter_name, module, 155 fe->adapter.priv = adapter_priv; 156 fe->adapter.mfe_shared = mfe_shared; 260 struct videobuf_dvb_frontend *fe; local 263 fe = videobuf_dvb_get_frontend(f, 1); 264 if (!fe) { 271 fe->dvb.name, adapter_nr, mfe_shared); 280 fe 310 struct videobuf_dvb_frontend *fe, *ret = NULL; local 332 struct videobuf_dvb_frontend *fe = NULL; local 354 struct videobuf_dvb_frontend *fe; local 375 struct videobuf_dvb_frontend *fe; local [all...] |
/drivers/media/usb/em28xx/ |
H A D | em28xx-dvb.c | 79 struct dvb_frontend *fe[2]; member in struct:em28xx_dvb 285 static int em28xx_dvb_bus_ctrl(struct dvb_frontend *fe, int acquire) argument 287 struct em28xx_i2c_bus *i2c_bus = fe->dvb->priv; 447 static int drxk_gate_ctrl(struct dvb_frontend *fe, int enable) argument 449 struct em28xx_dvb *dvb = fe->sec_priv; 457 status = dvb->gate_ctrl(fe, 1); 459 status = dvb->gate_ctrl(fe, 0); 719 static int em28xx_pctv_290e_set_lna(struct dvb_frontend *fe) argument 721 struct dtv_frontend_properties *c = &fe->dtv_property_cache; 722 struct em28xx_i2c_bus *i2c_bus = fe 748 em28xx_pctv_292e_set_lna(struct dvb_frontend *fe) argument 763 em28xx_mt352_terratec_xs_init(struct dvb_frontend *fe) argument 882 struct dvb_frontend *fe; local [all...] |
/drivers/media/pci/mantis/ |
H A D | mantis_vp3030.c | 56 static int vp3030_frontend_init(struct mantis_pci *mantis, struct dvb_frontend *fe) argument 71 fe = dvb_attach(zl10353_attach, &mantis_vp3030_config, adapter); 73 if (!fe) 76 dvb_attach(tda665x_attach, fe, &env57h12d5_config, adapter); 85 mantis->fe = fe;
|
H A D | mantis_vp1033.c | 86 static int lgtdqcs001f_tuner_set(struct dvb_frontend *fe) argument 88 struct dtv_frontend_properties *p = &fe->dtv_property_cache; 89 struct mantis_pci *mantis = fe->dvb->priv; 118 static int lgtdqcs001f_set_symbol_rate(struct dvb_frontend *fe, argument 143 stv0299_writereg(fe, 0x13, aclk); 144 stv0299_writereg(fe, 0x14, bclk); 146 stv0299_writereg(fe, 0x1f, (ratio >> 16) & 0xff); 147 stv0299_writereg(fe, 0x20, (ratio >> 8) & 0xff); 148 stv0299_writereg(fe, 0x21, ratio & 0xf0); 164 static int vp1033_frontend_init(struct mantis_pci *mantis, struct dvb_frontend *fe) argument [all...] |
/drivers/media/usb/dvb-usb/ |
H A D | vp702x-fe.c | 24 struct dvb_frontend fe; member in struct:vp702x_fe_state 75 static int vp702x_fe_read_status(struct dvb_frontend* fe, fe_status_t *status) argument 77 struct vp702x_fe_state *st = fe->demodulator_priv; 94 static int vp702x_fe_read_ber(struct dvb_frontend* fe, u32 *ber) argument 96 struct vp702x_fe_state *st = fe->demodulator_priv; 103 static int vp702x_fe_read_unc_blocks(struct dvb_frontend* fe, u32 *unc) argument 105 struct vp702x_fe_state *st = fe->demodulator_priv; 111 static int vp702x_fe_read_signal_strength(struct dvb_frontend* fe, u16 *strength) argument 113 struct vp702x_fe_state *st = fe->demodulator_priv; 120 static int vp702x_fe_read_snr(struct dvb_frontend* fe, u1 argument 131 vp702x_fe_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings *tune) argument 138 vp702x_fe_set_frontend(struct dvb_frontend *fe) argument 200 vp702x_fe_init(struct dvb_frontend *fe) argument 208 vp702x_fe_sleep(struct dvb_frontend *fe) argument 214 vp702x_fe_send_diseqc_msg(struct dvb_frontend* fe, struct dvb_diseqc_master_cmd *m) argument 246 vp702x_fe_send_diseqc_burst(struct dvb_frontend* fe, fe_sec_mini_cmd_t burst) argument 252 vp702x_fe_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t tone) argument 285 vp702x_fe_set_voltage(struct dvb_frontend* fe, fe_sec_voltage_t voltage) argument 317 vp702x_fe_release(struct dvb_frontend* fe) argument [all...] |