/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | mt352.h | 37 int (*demod_init)(struct dvb_frontend* fe); 52 static inline int mt352_write(struct dvb_frontend *fe, const u8 buf[], int len) { in mt352_write() argument 54 if (fe->ops.write) in mt352_write() 55 r = fe->ops.write(fe, buf, len); in mt352_write()
|
H A D | nxt200x.c | 543 state->config->set_ts_params(fe, 1); in nxt200x_setup_frontend_parameters() 548 state->config->set_ts_params(fe, 0); in nxt200x_setup_frontend_parameters() 554 if (fe->ops.tuner_ops.calc_regs) { in nxt200x_setup_frontend_parameters() 556 fe->ops.tuner_ops.calc_regs(fe, buf, 5); in nxt200x_setup_frontend_parameters() 852 static int nxt2002_init(struct dvb_frontend* fe) in nxt2002_init() argument 871 ret = nxt2002_load_firmware(fe, fw); in nxt2002_init() 915 static int nxt2004_init(struct dvb_frontend* fe) in nxt2004_init() argument 938 ret = nxt2004_load_firmware(fe, fw); in nxt2004_init() 1087 static int nxt200x_init(struct dvb_frontend* fe) in nxt200x_init() argument 1095 ret = nxt2002_init(fe); in nxt200x_init() [all …]
|
H A D | stv0288.h | 30 int (*set_ts_params)(struct dvb_frontend *fe, int is_punctured); 45 static inline int stv0288_writereg(struct dvb_frontend *fe, u8 reg, u8 val) in stv0288_writereg() argument 49 if (fe->ops.write) in stv0288_writereg() 50 r = fe->ops.write(fe, buf, 2); in stv0288_writereg()
|
H A D | helene.h | 42 struct dvb_frontend *fe; member 55 extern struct dvb_frontend *helene_attach(struct dvb_frontend *fe, 68 extern struct dvb_frontend *helene_attach_s(struct dvb_frontend *fe, 72 static inline struct dvb_frontend *helene_attach(struct dvb_frontend *fe, in helene_attach() argument 79 static inline struct dvb_frontend *helene_attach_s(struct dvb_frontend *fe, in helene_attach_s() argument
|
H A D | lgdt3306a.c | 995 if (fe->ops.tuner_ops.set_params) { in lgdt3306a_set_parameters() 996 ret = fe->ops.tuner_ops.set_params(fe); in lgdt3306a_set_parameters() 997 if (fe->ops.i2c_gate_ctrl) in lgdt3306a_set_parameters() 998 fe->ops.i2c_gate_ctrl(fe, 0); in lgdt3306a_set_parameters() 1573 ret = fe->ops.tuner_ops.get_rf_strength(fe, &strength); in lgdt3306a_read_status() 1670 ret = fe->ops.read_snr(fe, &snr); in lgdt3306a_read_signal_strength() 2176 struct dvb_frontend *fe; in lgdt3306a_probe() local 2193 if (fe == NULL) { in lgdt3306a_probe() 2199 state = fe->demodulator_priv; in lgdt3306a_probe() 2216 fe->ops.i2c_gate_ctrl = NULL; in lgdt3306a_probe() [all …]
|
H A D | cx24113.c | 273 struct cx24113_state *state = fe->tuner_priv; in cx24113_get_status() 413 struct cx24113_state *state = fe->tuner_priv; in cx24113_init() 468 struct cx24113_state *state = fe->tuner_priv; in cx24113_set_params() 481 return cx24113_get_status(fe, &bw); in cx24113_set_params() 491 struct cx24113_state *state = fe->tuner_priv; in cx24113_agc_callback() 493 if (!fe->ops.read_signal_strength) in cx24113_agc_callback() 498 fe->ops.read_signal_strength(fe, (u16 *) &s); in cx24113_agc_callback() 511 struct cx24113_state *state = fe->tuner_priv; in cx24113_get_frequency() 520 fe->tuner_priv = NULL; in cx24113_release() 585 fe->tuner_priv = state; in cx24113_attach() [all …]
|
H A D | rtl2832.c | 213 struct rtl2832_dev *dev = fe->demodulator_priv; in rtl2832_set_if() 245 static int rtl2832_init(struct dvb_frontend *fe) in rtl2832_init() argument 247 struct rtl2832_dev *dev = fe->demodulator_priv; in rtl2832_init() 371 struct rtl2832_dev *dev = fe->demodulator_priv; in rtl2832_sleep() 441 if (fe->ops.tuner_ops.set_params) in rtl2832_set_frontend() 442 fe->ops.tuner_ops.set_params(fe); in rtl2832_set_frontend() 445 if (fe->ops.tuner_ops.get_if_frequency) { in rtl2832_set_frontend() 448 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_freq); in rtl2832_set_frontend() 452 ret = rtl2832_set_if(fe, if_freq); in rtl2832_set_frontend() 886 return &dev->fe; in rtl2832_get_dvb_frontend() [all …]
|
H A D | cx24120.c | 336 struct cx24120_state *state = fe->demodulator_priv; in cx24120_read_ber() 607 struct dvb_frontend *fe = &state->frontend; in cx24120_get_stats() local 741 cx24120_set_clock_ratios(fe); in cx24120_read_status() 836 struct dvb_frontend *fe = &state->frontend; in cx24120_calculate_ber_window() local 922 ret = cx24120_get_fec(fe); in cx24120_set_clock_ratios() 1177 cx24120_clone_params(fe); in cx24120_set_frontend() 1269 static int cx24120_init(struct dvb_frontend *fe) in cx24120_init() argument 1481 ret = cx24120_set_frontend(fe); in cx24120_tune() 1486 return cx24120_read_status(fe, status); in cx24120_tune() 1494 static int cx24120_sleep(struct dvb_frontend *fe) in cx24120_sleep() argument [all …]
|
H A D | si2168.c | 85 struct i2c_client *client = fe->demodulator_priv; in si2168_ts_bus_ctrl() 286 if (fe->ops.tuner_ops.set_params) { in si2168_set_frontend() 287 ret = fe->ops.tuner_ops.set_params(fe); in si2168_set_frontend() 398 ret = si2168_ts_bus_ctrl(fe, 1); in si2168_set_frontend() 512 ret = si2168_ts_bus_ctrl(fe, 1); in si2168_init() 553 return si2168_init(fe); in si2168_resume() 571 ret = si2168_ts_bus_ctrl(fe, 0); in si2168_sleep() 753 dev->fe.demodulator_priv = client; in si2168_probe() 755 *config->fe = &dev->fe; in si2168_probe() 784 dev->fe.ops.release = NULL; in si2168_remove() [all …]
|
H A D | mn88472.c | 19 struct i2c_client *client = fe->demodulator_priv; in mn88472_read_status() 201 struct i2c_client *client = fe->demodulator_priv; in mn88472_set_frontend() 282 if (fe->ops.tuner_ops.set_params) { in mn88472_set_frontend() 283 ret = fe->ops.tuner_ops.set_params(fe); in mn88472_set_frontend() 288 if (fe->ops.tuner_ops.get_if_frequency) { in mn88472_set_frontend() 289 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); in mn88472_set_frontend() 394 static int mn88472_init(struct dvb_frontend *fe) in mn88472_init() argument 572 return &dev->fe; in mn88472_get_dvb_frontend() 659 dev->fe.demodulator_priv = client; in mn88472_probe() 660 *pdata->fe = &dev->fe; in mn88472_probe() [all …]
|
H A D | dib3000mc.c | 673 struct dib3000mc_state *state = fe->demodulator_priv; in dib3000mc_get_frontend() 728 struct dib3000mc_state *state = fe->demodulator_priv; in dib3000mc_set_frontend() 739 if (fe->ops.tuner_ops.set_params) { in dib3000mc_set_frontend() 740 fe->ops.tuner_ops.set_params(fe); in dib3000mc_set_frontend() 750 dib3000mc_autosearch_start(fe); in dib3000mc_set_frontend() 753 found = dib3000mc_autosearch_is_irq(fe); in dib3000mc_set_frontend() 760 dib3000mc_get_frontend(fe, fep); in dib3000mc_set_frontend() 763 ret = dib3000mc_tune(fe); in dib3000mc_set_frontend() 772 struct dib3000mc_state *state = fe->demodulator_priv; in dib3000mc_read_status() 793 struct dib3000mc_state *state = fe->demodulator_priv; in dib3000mc_read_ber() [all …]
|
H A D | au8522_common.c | 69 int au8522_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) in au8522_i2c_gate_ctrl() argument 71 struct au8522_state *state = fe->demodulator_priv; in au8522_i2c_gate_ctrl() 90 int au8522_analog_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) in au8522_analog_i2c_gate_ctrl() argument 92 struct au8522_state *state = fe->demodulator_priv; in au8522_analog_i2c_gate_ctrl() 214 int au8522_init(struct dvb_frontend *fe) in au8522_init() argument 216 struct au8522_state *state = fe->demodulator_priv; in au8522_init() 229 au8522_i2c_gate_ctrl(fe, 1); in au8522_init() 235 int au8522_sleep(struct dvb_frontend *fe) in au8522_sleep() argument 237 struct au8522_state *state = fe->demodulator_priv; in au8522_sleep()
|
H A D | lg2160.c | 148 struct lg216x_state *state = fe->demodulator_priv; in lg216x_i2c_gate_ctrl() 934 struct lg216x_state *state = fe->demodulator_priv; in lg216x_get_frontend() 1043 struct lg216x_state *state = fe->demodulator_priv; in lg2160_set_frontend() 1049 if (fe->ops.tuner_ops.set_params) { in lg2160_set_frontend() 1050 ret = fe->ops.tuner_ops.set_params(fe); in lg2160_set_frontend() 1051 if (fe->ops.i2c_gate_ctrl) in lg2160_set_frontend() 1052 fe->ops.i2c_gate_ctrl(fe, 0); in lg2160_set_frontend() 1112 lg216x_get_frontend(fe, c); in lg2160_set_frontend() 1285 ret = fe->ops.read_snr(fe, &snr); in lg216x_read_signal_strength() 1310 &fe->dtv_property_cache.atscmh_rs_err); in lg216x_read_ucblocks() [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | af9015.c | 541 struct dvb_usb_device *d = fe_to_d(fe); in af9015_get_stream_config() 554 struct dvb_usb_device *d = fe_to_d(fe); in af9015_streaming_ctrl() 675 ret = state->set_frontend[fe_to_adap(fe)->id](fe); in af9015_af9013_set_frontend() 692 ret = state->read_status[fe_to_adap(fe)->id](fe, status); in af9015_af9013_read_status() 708 ret = state->init[fe_to_adap(fe)->id](fe); in af9015_af9013_init() 724 ret = state->sleep[fe_to_adap(fe)->id](fe); in af9015_af9013_sleep() 740 ret = state->tuner_init[fe_to_adap(fe)->id](fe); in af9015_tuner_init() 756 ret = state->tuner_sleep[fe_to_adap(fe)->id](fe); in af9015_tuner_sleep() 902 if (adap->fe[0]) { in af9015_af9013_frontend_attach() 1062 adap->fe[0]->ops.tuner_ops.init; in af9015_tuner_attach() [all …]
|
H A D | rtl28xxu.c | 980 mn88472_config.fe = &adap->fe[1]; in rtl2832u_frontend_attach() 1002 mn88473_config.fe = &adap->fe[1]; in rtl2832u_frontend_attach() 1038 si2168_config.fe = &adap->fe[1]; in rtl2832u_frontend_attach() 1148 fe = dvb_attach(qt1010_attach, adap->fe[0], in rtl2831u_tuner_attach() 1153 fe = dvb_attach(mt2060_attach, adap->fe[0], in rtl2831u_tuner_attach() 1216 fe = dvb_attach(fc0012_attach, adap->fe[0], in rtl2832u_tuner_attach() 1225 fe = dvb_attach(fc0013_attach, adap->fe[0], in rtl2832u_tuner_attach() 1234 .fe = adap->fe[0], in rtl2832u_tuner_attach() 1310 fe = dvb_attach(r820t_attach, adap->fe[0], in rtl2832u_tuner_attach() 1319 fe = dvb_attach(r820t_attach, adap->fe[0], in rtl2832u_tuner_attach() [all …]
|
H A D | dvb_usb_core.c | 559 fe->id); in dvb_usb_fe_init() 577 ret = adap->fe_init[fe->id](fe); in dvb_usb_fe_init() 598 fe->id); in dvb_usb_fe_sleep() 607 ret = adap->fe_sleep[fe->id](fe); in dvb_usb_fe_sleep() 638 memset(adap->fe, 0, sizeof(adap->fe)); in dvb_usbv2_adapter_frontend_init() 657 adap->fe[i]->id = i; in dvb_usbv2_adapter_frontend_init() 698 if (adap->fe[i]) { in dvb_usbv2_adapter_frontend_init() 717 if (adap->fe[i]) { in dvb_usbv2_adapter_frontend_exit() 810 if (adap->fe[1]) in dvb_usbv2_adapter_init() 1046 fe = d->adapter[i].fe[active_fe]; in dvb_usbv2_suspend() [all …]
|
H A D | af9015.h | 113 int (*set_frontend[2]) (struct dvb_frontend *fe); 114 int (*read_status[2]) (struct dvb_frontend *fe, enum fe_status *status); 115 int (*init[2]) (struct dvb_frontend *fe); 116 int (*sleep[2]) (struct dvb_frontend *fe); 117 int (*tuner_init[2]) (struct dvb_frontend *fe); 118 int (*tuner_sleep[2]) (struct dvb_frontend *fe);
|
/openbmc/linux/drivers/media/pci/mantis/ |
H A D | mantis_dvb.c | 211 result = config->frontend_init(mantis, mantis->fe); in mantis_dvb_init() 216 if (mantis->fe == NULL) { in mantis_dvb_init() 225 if (mantis->fe->ops.release) in mantis_dvb_init() 226 mantis->fe->ops.release(mantis->fe); in mantis_dvb_init() 228 mantis->fe = NULL; in mantis_dvb_init() 240 if (mantis->fe) { in mantis_dvb_init() 241 dvb_unregister_frontend(mantis->fe); in mantis_dvb_init() 242 dvb_frontend_detach(mantis->fe); in mantis_dvb_init() 267 if (mantis->fe) { in mantis_dvb_exit() 272 dvb_unregister_frontend(mantis->fe); in mantis_dvb_exit() [all …]
|
/openbmc/linux/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-devattr.c | 187 if (adap->fe[0]) in pvr2_lgdt3303_attach() 195 dvb_attach(simple_tuner_attach, adap->fe[0], in pvr2_lgh06xf_attach() 247 if (adap->fe[0]) in pvr2_lgdt3302_attach() 333 if (adap->fe[0]) in pvr2_tda10048_attach() 341 dvb_attach(tda829x_attach, adap->fe[0], in pvr2_73xxx_tda18271_8295_attach() 431 if (adap->fe[0]) in pvr2_s5h1409_attach() 441 if (adap->fe[0]) in pvr2_s5h1411_attach() 449 dvb_attach(tda829x_attach, adap->fe[0], in pvr2_tda18271_8295_attach() 545 si2157_config.fe = adap->fe[0]; in pvr2_si2157_attach() 564 si2168_config.fe = &adap->fe[1]; in pvr2_si2168_attach() [all …]
|
/openbmc/linux/drivers/media/tuners/ |
H A D | e4000.c | 376 struct e4000_dev *dev = fe->tuner_priv; in e4000_set_lna_gain() 511 ret = e4000_pll_lock(dev->fe); in e4000_g_volatile_ctrl() 544 ret = e4000_set_lna_gain(dev->fe); in e4000_s_ctrl() 548 ret = e4000_set_mixer_gain(dev->fe); in e4000_s_ctrl() 552 ret = e4000_set_if_gain(dev->fe); in e4000_s_ctrl() 584 return e4000_init(fe->tuner_priv); in e4000_dvb_init() 589 return e4000_sleep(fe->tuner_priv); in e4000_dvb_sleep() 616 struct dvb_frontend *fe = cfg->fe; in e4000_probe() local 632 dev->fe = cfg->fe; in e4000_probe() 693 fe->tuner_priv = dev; in e4000_probe() [all …]
|
H A D | m88rs6000t.c | 26 struct m88rs6000t_dev *dev = fe->tuner_priv; in m88rs6000t_set_demod_mclk() 387 struct m88rs6000t_dev *dev = fe->tuner_priv; in m88rs6000t_set_params() 418 ret = m88rs6000t_set_demod_mclk(fe); in m88rs6000t_set_params() 427 struct m88rs6000t_dev *dev = fe->tuner_priv; in m88rs6000t_init() 449 struct m88rs6000t_dev *dev = fe->tuner_priv; in m88rs6000t_sleep() 465 struct m88rs6000t_dev *dev = fe->tuner_priv; in m88rs6000t_get_frequency() 475 struct m88rs6000t_dev *dev = fe->tuner_priv; in m88rs6000t_get_if_frequency() 579 struct dvb_frontend *fe = cfg->fe; in m88rs6000t_probe() local 688 fe->tuner_priv = dev; in m88rs6000t_probe() 702 struct dvb_frontend *fe = dev->cfg.fe; in m88rs6000t_remove() local [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | dibusb-mc-common.c | 91 adap->fe_adap[0].fe = dvb_attach(dib3000mc_attach, in dibusb_dib3000mc_frontend_attach() 95 if ((adap->fe_adap[0].fe) == NULL) in dibusb_dib3000mc_frontend_attach() 96 adap->fe_adap[0].fe = dvb_attach(dib3000mc_attach, in dibusb_dib3000mc_frontend_attach() 100 if ((adap->fe_adap[0].fe) != NULL) { in dibusb_dib3000mc_frontend_attach() 154 tun_i2c = dib3000mc_get_tuner_i2c_master(adap->fe_adap[0].fe, 1); in dibusb_dib3000mc_tuner_attach() 155 …if (dvb_attach(mt2060_attach, adap->fe_adap[0].fe, tun_i2c, &stk3000p_mt2060_config, if1) == NULL)… in dibusb_dib3000mc_tuner_attach() 157 if (dvb_attach(dvb_pll_attach, adap->fe_adap[0].fe, 0x60, tun_i2c, DVB_PLL_ENV57H1XD5) == NULL) in dibusb_dib3000mc_tuner_attach() 162 dib3000mc_set_config(adap->fe_adap[0].fe, &stk3000p_dib3000p_config); in dibusb_dib3000mc_tuner_attach()
|
H A D | technisat-usb2.c | 301 struct dvb_frontend *fe = state->dev->adapter[0].fe_adap[0].fe; in technisat_usb2_green_led_control() local 306 if (fe != NULL) { in technisat_usb2_green_led_control() 309 if (fe->ops.read_status(fe, &status) != 0) in technisat_usb2_green_led_control() 315 if (fe->ops.read_ber(fe, &ber) != 0) in technisat_usb2_green_led_control() 526 if (a->fe_adap[0].fe) { in technisat_usb2_frontend_attach() 530 a->fe_adap[0].fe, in technisat_usb2_frontend_attach() 550 if (a->fe_adap[0].fe->ops.init) in technisat_usb2_frontend_attach() 551 a->fe_adap[0].fe->ops.init(a->fe_adap[0].fe); in technisat_usb2_frontend_attach() 573 dvb_frontend_detach(a->fe_adap[0].fe); in technisat_usb2_frontend_attach() 574 a->fe_adap[0].fe = NULL; in technisat_usb2_frontend_attach() [all …]
|
H A D | ttusb2.c | 540 return adap->fe_adap[0].fe->ops.i2c_gate_ctrl(adap->fe_adap[0].fe, enable); in ttusb2_ct3650_i2c_gate_ctrl() 548 if (adap->fe_adap[0].fe == NULL) { in ttusb2_frontend_tda10023_attach() 553 if (adap->fe_adap[0].fe == NULL) { in ttusb2_frontend_tda10023_attach() 562 if (adap->fe_adap[1].fe == NULL) { in ttusb2_frontend_tda10023_attach() 577 struct dvb_frontend *fe; in ttusb2_tuner_tda827x_attach() local 580 if (adap->fe_adap[1].fe == NULL) in ttusb2_tuner_tda827x_attach() 581 fe = adap->fe_adap[0].fe; in ttusb2_tuner_tda827x_attach() 583 fe = adap->fe_adap[1].fe; in ttusb2_tuner_tda827x_attach() 664 .fe = {{ 719 .fe = {{ [all …]
|
/openbmc/linux/drivers/staging/media/av7110/ |
H A D | av7110.h | 263 struct dvb_frontend* fe; member 275 int (*fe_init)(struct dvb_frontend* fe); 276 int (*fe_read_status)(struct dvb_frontend *fe, enum fe_status *status); 277 int (*fe_diseqc_reset_overload)(struct dvb_frontend *fe); 278 int (*fe_diseqc_send_master_cmd)(struct dvb_frontend *fe, 280 int (*fe_diseqc_send_burst)(struct dvb_frontend *fe, 282 int (*fe_set_tone)(struct dvb_frontend *fe, 284 int (*fe_set_voltage)(struct dvb_frontend *fe, 286 int (*fe_dishnetwork_send_legacy_command)(struct dvb_frontend *fe, 288 int (*fe_set_frontend)(struct dvb_frontend *fe);
|