/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | dtt200u-fe.c | 23 static int dtt200u_fe_read_status(struct dvb_frontend *fe, in dtt200u_fe_read_status() argument 26 struct dtt200u_fe_state *state = fe->demodulator_priv; in dtt200u_fe_read_status() 58 struct dtt200u_fe_state *state = fe->demodulator_priv; in dtt200u_fe_read_ber() 74 struct dtt200u_fe_state *state = fe->demodulator_priv; in dtt200u_fe_read_unc_blocks() 90 struct dtt200u_fe_state *state = fe->demodulator_priv; in dtt200u_fe_read_signal_strength() 106 struct dtt200u_fe_state *state = fe->demodulator_priv; in dtt200u_fe_read_snr() 120 static int dtt200u_fe_init(struct dvb_frontend* fe) in dtt200u_fe_init() argument 122 struct dtt200u_fe_state *state = fe->demodulator_priv; in dtt200u_fe_init() 134 static int dtt200u_fe_sleep(struct dvb_frontend* fe) in dtt200u_fe_sleep() argument 136 return dtt200u_fe_init(fe); in dtt200u_fe_sleep() [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | sp887x.c | 139 struct sp887x_state* state = fe->demodulator_priv; in sp887x_initial_setup() 350 struct sp887x_state* state = fe->demodulator_priv; in sp887x_setup_frontend_parameters() 366 if (fe->ops.tuner_ops.set_params) { in sp887x_setup_frontend_parameters() 367 fe->ops.tuner_ops.set_params(fe); in sp887x_setup_frontend_parameters() 368 if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); in sp887x_setup_frontend_parameters() 370 if (fe->ops.tuner_ops.get_frequency) { in sp887x_setup_frontend_parameters() 371 fe->ops.tuner_ops.get_frequency(fe, &actual_freq); in sp887x_setup_frontend_parameters() 372 if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); in sp887x_setup_frontend_parameters() 508 static int sp887x_sleep(struct dvb_frontend* fe) in sp887x_sleep() argument 518 static int sp887x_init(struct dvb_frontend* fe) in sp887x_init() argument [all …]
|
H A D | stv090x.h | 81 int (*tuner_init)(struct dvb_frontend *fe); 82 int (*tuner_sleep)(struct dvb_frontend *fe); 84 int (*tuner_set_frequency)(struct dvb_frontend *fe, u32 frequency); 85 int (*tuner_get_frequency)(struct dvb_frontend *fe, u32 *frequency); 86 int (*tuner_set_bandwidth)(struct dvb_frontend *fe, u32 bandwidth); 88 int (*tuner_set_bbgain)(struct dvb_frontend *fe, u32 gain); 89 int (*tuner_get_bbgain)(struct dvb_frontend *fe, u32 *gain); 90 int (*tuner_set_refclk)(struct dvb_frontend *fe, u32 refclk); 91 int (*tuner_get_status)(struct dvb_frontend *fe, u32 *status); 92 void (*tuner_i2c_lock)(struct dvb_frontend *fe, int lock); [all …]
|
H A D | tda10048.c | 727 tda10048_set_if(fe, p->bandwidth_hz); in tda10048_set_frontend() 731 if (fe->ops.tuner_ops.set_params) { in tda10048_set_frontend() 733 if (fe->ops.i2c_gate_ctrl) in tda10048_set_frontend() 734 fe->ops.i2c_gate_ctrl(fe, 1); in tda10048_set_frontend() 736 fe->ops.tuner_ops.set_params(fe); in tda10048_set_frontend() 738 if (fe->ops.i2c_gate_ctrl) in tda10048_set_frontend() 739 fe->ops.i2c_gate_ctrl(fe, 0); in tda10048_set_frontend() 768 ret = tda10048_firmware_upload(fe); in tda10048_init() 777 tda10048_set_if(fe, 8000000); in tda10048_init() 778 tda10048_set_bandwidth(fe, 8000000); in tda10048_init() [all …]
|
H A D | cx24110.c | 301 struct cx24110_state *state = fe->demodulator_priv; in _cx24110_pll_write() 341 static int cx24110_initfe(struct dvb_frontend* fe) in cx24110_initfe() argument 343 struct cx24110_state *state = fe->demodulator_priv; in cx24110_initfe() 359 struct cx24110_state *state = fe->demodulator_priv; in cx24110_set_voltage() 375 struct cx24110_state *state = fe->demodulator_priv; in cx24110_diseqc_send_burst() 402 struct cx24110_state *state = fe->demodulator_priv; in cx24110_send_diseqc_msg() 430 struct cx24110_state *state = fe->demodulator_priv; in cx24110_read_status() 458 struct cx24110_state *state = fe->demodulator_priv; in cx24110_read_ber() 527 if (fe->ops.tuner_ops.set_params) { in cx24110_set_frontend() 528 fe->ops.tuner_ops.set_params(fe); in cx24110_set_frontend() [all …]
|
H A D | mt312.c | 231 static int mt312_initfe(struct dvb_frontend *fe) in mt312_initfe() argument 233 struct mt312_state *state = fe->demodulator_priv; in mt312_initfe() 334 struct mt312_state *state = fe->demodulator_priv; in mt312_send_master_cmd() 371 struct mt312_state *state = fe->demodulator_priv; in mt312_send_burst() 578 ret = mt312_initfe(fe); in mt312_set_frontend() 586 ret = mt312_initfe(fe); in mt312_set_frontend() 601 if (fe->ops.tuner_ops.set_params) { in mt312_set_frontend() 602 fe->ops.tuner_ops.set_params(fe); in mt312_set_frontend() 603 if (fe->ops.i2c_gate_ctrl) in mt312_set_frontend() 604 fe->ops.i2c_gate_ctrl(fe, 0); in mt312_set_frontend() [all …]
|
H A D | tda10086.c | 93 static int tda10086_init(struct dvb_frontend* fe) in tda10086_init() argument 95 struct tda10086_state* state = fe->demodulator_priv; in tda10086_init() 416 if (fe->ops.tuner_ops.set_params) { in tda10086_set_frontend() 417 fe->ops.tuner_ops.set_params(fe); in tda10086_set_frontend() 418 if (fe->ops.i2c_gate_ctrl) in tda10086_set_frontend() 419 fe->ops.i2c_gate_ctrl(fe, 0); in tda10086_set_frontend() 421 if (fe->ops.tuner_ops.get_frequency) in tda10086_set_frontend() 422 fe->ops.tuner_ops.get_frequency(fe, &freq); in tda10086_set_frontend() 423 if (fe->ops.i2c_gate_ctrl) in tda10086_set_frontend() 424 fe->ops.i2c_gate_ctrl(fe, 0); in tda10086_set_frontend() [all …]
|
H A D | cx24123.c | 642 if (cx24123_pll_calculate(fe) != 0) { in cx24123_pll_tune() 648 cx24123_pll_writereg(fe, state->VCAarg); in cx24123_pll_tune() 829 if (fe->ops.tuner_ops.get_status) in cx24123_read_status() 830 fe->ops.tuner_ops.get_status(fe, &tun_status); in cx24123_read_status() 908 state->config->set_ts_params(fe, 0); in cx24123_set_frontend() 918 cx24123_pll_tune(fe); in cx24123_set_frontend() 919 else if (fe->ops.tuner_ops.set_params) in cx24123_set_frontend() 920 fe->ops.tuner_ops.set_params(fe); in cx24123_set_frontend() 930 state->config->agc_callback(fe); in cx24123_set_frontend() 990 retval = cx24123_set_frontend(fe); in cx24123_tune() [all …]
|
H A D | cx22700.c | 225 static int cx22700_init (struct dvb_frontend* fe) in cx22700_init() argument 247 struct cx22700_state* state = fe->demodulator_priv; in cx22700_read_status() 275 struct cx22700_state* state = fe->demodulator_priv; in cx22700_read_ber() 285 struct cx22700_state* state = fe->demodulator_priv; in cx22700_read_signal_strength() 296 struct cx22700_state* state = fe->demodulator_priv; in cx22700_read_snr() 307 struct cx22700_state* state = fe->demodulator_priv; in cx22700_read_ucblocks() 318 struct cx22700_state* state = fe->demodulator_priv; in cx22700_set_frontend() 323 if (fe->ops.tuner_ops.set_params) { in cx22700_set_frontend() 324 fe->ops.tuner_ops.set_params(fe); in cx22700_set_frontend() 325 if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); in cx22700_set_frontend() [all …]
|
H A D | dib3000mb.c | 118 struct dib3000_state* state = fe->demodulator_priv; in dib3000mb_set_frontend() 123 if (tuner && fe->ops.tuner_ops.set_params) { in dib3000mb_set_frontend() 124 fe->ops.tuner_ops.set_params(fe); in dib3000mb_set_frontend() 125 if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); in dib3000mb_set_frontend() 350 if (dib3000mb_get_frontend(fe, c) == 0) { in dib3000mb_set_frontend() 352 return dib3000mb_set_frontend(fe, 0); in dib3000mb_set_frontend() 366 struct dib3000_state* state = fe->demodulator_priv; in dib3000mb_fe_init() 444 struct dib3000_state* state = fe->demodulator_priv; in dib3000mb_get_frontend() 670 static int dib3000mb_sleep(struct dvb_frontend* fe) in dib3000mb_sleep() argument 686 return dib3000mb_fe_init(fe, 0); in dib3000mb_fe_init_nonmobile() [all …]
|
H A D | cx24116.c | 522 ret = cx24116_firmware_ondemand(fe); in cx24116_cmd_execute() 568 state->config->reset_device(fe); in cx24116_load_firmware() 624 ret = cx24116_cmd_execute(fe, &cmd); in cx24116_load_firmware() 635 ret = cx24116_cmd_execute(fe, &cmd); in cx24116_load_firmware() 652 ret = cx24116_cmd_execute(fe, &cmd); in cx24116_load_firmware() 843 ret = cx24116_wait_for_lnb(fe); in cx24116_set_voltage() 873 ret = cx24116_wait_for_lnb(fe); in cx24116_set_tone() 1015 ret = cx24116_wait_for_lnb(fe); in cx24116_send_diseqc_msg() 1069 ret = cx24116_wait_for_lnb(fe); in cx24116_diseqc_send_burst() 1164 ret = cx24116_diseqc_init(fe); in cx24116_initfe() [all …]
|
H A D | mb86a20s.c | 1752 fe->ops.i2c_gate_ctrl(fe, 0); in mb86a20s_initfe() 1786 fe->ops.tuner_ops.get_if_frequency(fe, &state->if_freq); in mb86a20s_initfe() 1844 fe->ops.i2c_gate_ctrl(fe, 1); in mb86a20s_initfe() 1893 fe->ops.i2c_gate_ctrl(fe, 1); in mb86a20s_set_frontend() 1894 fe->ops.tuner_ops.set_params(fe); in mb86a20s_set_frontend() 1897 fe->ops.tuner_ops.get_if_frequency(fe, &if_freq); in mb86a20s_set_frontend() 1916 mb86a20s_initfe(fe); in mb86a20s_set_frontend() 1919 fe->ops.i2c_gate_ctrl(fe, 0); in mb86a20s_set_frontend() 1926 fe->ops.i2c_gate_ctrl(fe, 1); in mb86a20s_set_frontend() 1940 fe->ops.i2c_gate_ctrl(fe, 0); in mb86a20s_read_status_and_stats() [all …]
|
/openbmc/linux/drivers/media/pci/cx88/ |
H A D | cx88-dvb.c | 210 if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl) in cx88_dvb_gate_ctrl() 211 fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open); in cx88_dvb_gate_ctrl() 605 struct dvb_frontend *fe; in attach_xc3028() local 632 if (!fe) { in attach_xc3028() 662 if (!fe) { in attach_xc4000() 795 if (!fe) { in cx8802_alloc_frontends() 878 fe->ops.i2c_gate_ctrl(fe, 1); in samsung_smt_7020_tuner_set_params() 1378 if (fe && fe->ops.tuner_ops.set_config) in dvb_register() 1379 fe->ops.tuner_ops.set_config(fe, &ctl); in dvb_register() 1769 if (!fe) { in cx8802_dvb_probe() [all …]
|
/openbmc/linux/drivers/media/pci/ddbridge/ |
H A D | ddbridge-sx8.c | 113 get_info(fe); in read_status() 114 get_strength(fe); in read_status() 119 get_snr(fe); in read_status() 162 mci_set_tuner(fe, input, 0); in stop() 259 mci_set_tuner(fe, input, 1); in start() 296 stop(fe); in start() 326 mci_set_tuner(fe, input, 1); in start_iq() 344 stop(fe); in start_iq() 357 stop(fe); in set_parameters() 410 r = set_parameters(fe); in tune() [all …]
|
/openbmc/linux/drivers/media/usb/ttusb-budget/ |
H A D | dvb-ttusb-budget.c | 138 struct dvb_frontend* fe; member 986 fe->ops.i2c_gate_ctrl(fe, 1); in alps_tdmb7_tuner_set_params() 1008 fe->ops.i2c_gate_ctrl(fe, 1); in philips_tdm1316l_tuner_init() 1017 fe->ops.i2c_gate_ctrl(fe, 1); in philips_tdm1316l_tuner_init() 1091 fe->ops.i2c_gate_ctrl(fe, 1); in philips_tdm1316l_tuner_set_params() 1257 fe->ops.i2c_gate_ctrl(fe, 1); in philips_tsa5059_tuner_set_params() 1292 fe->ops.i2c_gate_ctrl(fe, 1); in ttusb_novas_grundig_29504_491_tuner_set_params() 1320 fe->ops.i2c_gate_ctrl(fe, 1); in alps_tdbe2_tuner_set_params() 1390 fe->ops.i2c_gate_ctrl(fe, 1); in dvbc_philips_tdm1316l_tuner_set_params() 1399 fe->ops.i2c_gate_ctrl(fe, 1); in dvbc_philips_tdm1316l_tuner_set_params() [all …]
|
/openbmc/linux/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-dvb.c | 347 adap->fe[0]->ops.analog_ops.standby(adap->fe[0]); in pvr2_dvb_frontend_init() 365 if (adap->fe[1]) { in pvr2_dvb_frontend_init() 366 adap->fe[1]->id = 1; in pvr2_dvb_frontend_init() 367 adap->fe[1]->tuner_priv = adap->fe[0]->tuner_priv; in pvr2_dvb_frontend_init() 382 adap->fe[1]->ops.analog_ops.standby(adap->fe[1]); in pvr2_dvb_frontend_init() 394 adap->fe[1] = NULL; in pvr2_dvb_frontend_init() 399 adap->fe[0] = NULL; in pvr2_dvb_frontend_init() 409 if (adap->fe[1]) { in pvr2_dvb_frontend_exit() 412 adap->fe[1] = NULL; in pvr2_dvb_frontend_exit() 414 if (adap->fe[0]) { in pvr2_dvb_frontend_exit() [all …]
|
/openbmc/linux/drivers/staging/media/av7110/ |
H A D | sp8870.c | 238 struct sp8870_state* state = fe->demodulator_priv; in sp8870_set_frontend_parameters() 249 if (fe->ops.tuner_ops.set_params) { in sp8870_set_frontend_parameters() 250 fe->ops.tuner_ops.set_params(fe); in sp8870_set_frontend_parameters() 251 if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); in sp8870_set_frontend_parameters() 293 static int sp8870_init (struct dvb_frontend* fe) in sp8870_init() argument 295 struct sp8870_state* state = fe->demodulator_priv; in sp8870_init() 345 struct sp8870_state* state = fe->demodulator_priv; in sp8870_read_status() 371 struct sp8870_state* state = fe->demodulator_priv; in sp8870_read_ber() 398 struct sp8870_state* state = fe->demodulator_priv; in sp8870_read_signal_strength() 472 err = sp8870_set_frontend_parameters(fe); in sp8870_set_frontend() [all …]
|
H A D | av7110.c | 1571 fe->ops.i2c_gate_ctrl(fe, 1); in alps_bsrv2_tuner_set_params() 1599 fe->ops.i2c_gate_ctrl(fe, 1); in alps_tdbe2_tuner_set_params() 1630 fe->ops.i2c_gate_ctrl(fe, 1); in grundig_29504_451_tuner_set_params() 1659 fe->ops.i2c_gate_ctrl(fe, 1); in philips_cd1516_tuner_set_params() 1695 fe->ops.i2c_gate_ctrl(fe, 1); in alps_tdlb7_tuner_set_params() 1840 fe->ops.i2c_gate_ctrl(fe, 1); in nexusca_stv0297_tuner_set_params() 1849 fe->ops.i2c_gate_ctrl(fe, 1); in nexusca_stv0297_tuner_set_params() 1905 fe->ops.i2c_gate_ctrl(fe, 1); in grundig_29504_401_tuner_set_params() 2176 if (fe) { in frontend_init() 2178 av7110->fe = fe; in frontend_init() [all …]
|
/openbmc/linux/Documentation/userspace-api/media/dvb/ |
H A D | frontend_legacy_api.rst | 12 fe-type-t 13 fe-bandwidth-t 31 fe-read-ber 32 fe-read-snr 33 fe-read-signal-strength 34 fe-read-uncorrected-blocks 35 fe-set-frontend 36 fe-get-frontend 37 fe-get-event 38 fe-dishnetwork-send-legacy-cmd
|
/openbmc/linux/drivers/media/pci/ttpci/ |
H A D | budget-av.c | 519 fe->ops.i2c_gate_ctrl(fe, 1); in philips_su1278_ty_ci_tuner_set_params() 626 fe->ops.i2c_gate_ctrl(fe, 1); in philips_cu1216_tuner_set_params() 635 fe->ops.i2c_gate_ctrl(fe, 1); in philips_cu1216_tuner_set_params() 647 fe->ops.i2c_gate_ctrl(fe, 1); in philips_cu1216_tuner_set_params() 677 fe->ops.i2c_gate_ctrl(fe, 1); in philips_tu1216_tuner_init() 761 fe->ops.i2c_gate_ctrl(fe, 1); in philips_tu1216_tuner_set_params() 1256 if (fe) { in frontend_init() 1266 if (fe) { in frontend_init() 1281 if (fe) { in frontend_init() 1299 if (fe) { in frontend_init() [all …]
|
H A D | budget.c | 221 if (fe->ops.i2c_gate_ctrl) in alps_bsrv2_tuner_set_params() 222 fe->ops.i2c_gate_ctrl(fe, 1); in alps_bsrv2_tuner_set_params() 249 if (fe->ops.i2c_gate_ctrl) in alps_tdbe2_tuner_set_params() 250 fe->ops.i2c_gate_ctrl(fe, 1); in alps_tdbe2_tuner_set_params() 304 if (fe->ops.i2c_gate_ctrl) in grundig_29504_401_tuner_set_params() 305 fe->ops.i2c_gate_ctrl(fe, 1); in grundig_29504_401_tuner_set_params() 334 if (fe->ops.i2c_gate_ctrl) in grundig_29504_451_tuner_set_params() 335 fe->ops.i2c_gate_ctrl(fe, 1); in grundig_29504_451_tuner_set_params() 367 fe->ops.i2c_gate_ctrl(fe, 1); in s5h1420_tuner_set_params() 605 if (fe) { in frontend_init() [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-tuner.c | 188 struct mxl111sf_tuner_state *state = fe->tuner_priv; in mxl1x1sf_tune_rf() 226 state->cfg->ant_hunt(fe); in mxl1x1sf_tune_rf() 266 struct mxl111sf_tuner_state *state = fe->tuner_priv; in mxl111sf_tuner_set_params() 300 ret = mxl1x1sf_tune_rf(fe, c->frequency, bw); in mxl111sf_tuner_set_params() 315 struct mxl111sf_tuner_state *state = fe->tuner_priv; 325 struct mxl111sf_tuner_state *state = fe->tuner_priv; 338 struct mxl111sf_tuner_state *state = fe->tuner_priv; in mxl111sf_tuner_get_status() 357 struct mxl111sf_tuner_state *state = fe->tuner_priv; in mxl111sf_get_rf_strength() 450 fe->tuner_priv = NULL; in mxl111sf_tuner_release() 495 fe->tuner_priv = state; in mxl111sf_tuner_attach() [all …]
|
/openbmc/linux/drivers/media/tuners/ |
H A D | qt1010.c | 105 priv = fe->tuner_priv; in qt1010_set_params() 113 if (fe->ops.i2c_gate_ctrl) in qt1010_set_params() 114 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ in qt1010_set_params() 210 fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ in qt1010_set_params() 325 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ in qt1010_init() 373 kfree(fe->tuner_priv); in qt1010_release() 374 fe->tuner_priv = NULL; in qt1010_release() 422 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ in qt1010_attach() 432 fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ in qt1010_attach() 441 fe->tuner_priv = priv; in qt1010_attach() [all …]
|
H A D | mxl301rf.c | 82 state = fe->tuner_priv; in mxl301rf_get_rf_strength() 177 state = fe->tuner_priv; in mxl301rf_set_params() 225 __func__, fe->dvb->num, fe->id); in mxl301rf_set_params() 239 state = fe->tuner_priv; in mxl301rf_sleep() 243 __func__, fe->dvb->num, fe->id); in mxl301rf_sleep() 257 state = fe->tuner_priv; in mxl301rf_init() 262 __func__, fe->dvb->num, fe->id); in mxl301rf_init() 290 struct dvb_frontend *fe; in mxl301rf_probe() local 300 fe = cfg->fe; in mxl301rf_probe() 301 fe->tuner_priv = state; in mxl301rf_probe() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_cls.c | 341 fe->index = index; in mvpp2_cls_flow_read() 442 fe->data[0] |= !!is_last; in mvpp2_cls_flow_last_set() 585 struct mvpp2_cls_flow_entry fe; in mvpp2_cls_flow_init() local 591 memset(&fe, 0, sizeof(fe)); in mvpp2_cls_flow_init() 592 fe.index = i; in mvpp2_cls_flow_init() 603 &fe); in mvpp2_cls_flow_init() 619 &fe); in mvpp2_cls_flow_init() 656 fe->data[2] = 0; in mvpp2_flow_set_hek_fields() 744 struct mvpp2_cls_flow_entry fe; in mvpp2_port_rss_hash_opts_set() local 919 memset(&fe.data, 0, sizeof(fe.data)); in mvpp2_cls_init() [all …]
|