/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | as102_fe.c | 56 struct as102_state *state = fe->demodulator_priv; in as102_fe_set_frontend() 187 struct as102_state *state = fe->demodulator_priv; in as102_fe_get_frontend() 304 struct as102_state *state = fe->demodulator_priv; in as102_fe_read_status() 356 struct as102_state *state = fe->demodulator_priv; in as102_fe_read_snr() 365 struct as102_state *state = fe->demodulator_priv; in as102_fe_read_ber() 375 struct as102_state *state = fe->demodulator_priv; in as102_fe_read_signal_strength() 448 struct dvb_frontend *fe; in as102_attach() local 454 fe = &state->frontend; in as102_attach() 455 fe->demodulator_priv = state; in as102_attach() 462 strscpy(fe->ops.info.name, name, sizeof(fe->ops.info.name)); in as102_attach() [all …]
|
H A D | s5h1420.c | 638 s5h1420_get_tune_settings(fe, &fesettings); in s5h1420_set_frontend() 646 if (fe->ops.tuner_ops.set_params) { in s5h1420_set_frontend() 647 fe->ops.tuner_ops.set_params(fe); in s5h1420_set_frontend() 648 if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); in s5h1420_set_frontend() 650 if (fe->ops.tuner_ops.get_frequency) { in s5h1420_set_frontend() 652 fe->ops.tuner_ops.get_frequency(fe, &tmp); in s5h1420_set_frontend() 653 if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); in s5h1420_set_frontend() 722 if (fe->ops.tuner_ops.set_params) { in s5h1420_set_frontend() 723 fe->ops.tuner_ops.set_params(fe); in s5h1420_set_frontend() 724 if (fe->ops.i2c_gate_ctrl) in s5h1420_set_frontend() [all …]
|
H A D | helene.c | 435 kfree(fe->tuner_priv); in helene_release() 436 fe->tuner_priv = NULL; in helene_release() 1010 fe->ops.i2c_gate_ctrl(fe, 1); in helene_attach_s() 1018 fe->ops.i2c_gate_ctrl(fe, 0); in helene_attach_s() 1026 return fe; in helene_attach_s() 1046 fe->ops.i2c_gate_ctrl(fe, 1); in helene_attach() 1054 fe->ops.i2c_gate_ctrl(fe, 0); in helene_attach() 1062 return fe; in helene_attach() 1069 struct dvb_frontend *fe = config->fe; in helene_probe() local 1084 fe->ops.i2c_gate_ctrl(fe, 1); in helene_probe() [all …]
|
H A D | cx22702.c | 238 struct cx22702_state *state = fe->demodulator_priv; in cx22702_i2c_gate_ctrl() 251 static int cx22702_set_tps(struct dvb_frontend *fe) in cx22702_set_tps() argument 255 struct cx22702_state *state = fe->demodulator_priv; in cx22702_set_tps() 257 if (fe->ops.tuner_ops.set_params) { in cx22702_set_tps() 258 fe->ops.tuner_ops.set_params(fe); in cx22702_set_tps() 259 if (fe->ops.i2c_gate_ctrl) in cx22702_set_tps() 260 fe->ops.i2c_gate_ctrl(fe, 0); in cx22702_set_tps() 423 static int cx22702_init(struct dvb_frontend *fe) in cx22702_init() argument 426 struct cx22702_state *state = fe->demodulator_priv; in cx22702_init() 438 cx22702_i2c_gate_ctrl(fe, 0); in cx22702_init() [all …]
|
H A D | ves1x93.c | 252 static int ves1x93_init (struct dvb_frontend* fe) in ves1x93_init() argument 254 struct ves1x93_state* state = fe->demodulator_priv; in ves1x93_init() 275 struct ves1x93_state* state = fe->demodulator_priv; in ves1x93_set_voltage() 292 struct ves1x93_state* state = fe->demodulator_priv; in ves1x93_read_status() 333 struct ves1x93_state* state = fe->demodulator_priv; in ves1x93_read_ber() 345 struct ves1x93_state* state = fe->demodulator_priv; in ves1x93_read_signal_strength() 355 struct ves1x93_state* state = fe->demodulator_priv; in ves1x93_read_snr() 383 if (fe->ops.tuner_ops.set_params) { in ves1x93_set_frontend() 384 fe->ops.tuner_ops.set_params(fe); in ves1x93_set_frontend() 385 if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); in ves1x93_set_frontend() [all …]
|
H A D | lnbh29.c | 81 struct lnbh29_priv *priv = fe->sec_priv; in lnbh29_set_voltage() 125 static void lnbh29_release(struct dvb_frontend *fe) in lnbh29_release() argument 127 lnbh29_set_voltage(fe, SEC_VOLTAGE_OFF); in lnbh29_release() 128 kfree(fe->sec_priv); in lnbh29_release() 129 fe->sec_priv = NULL; in lnbh29_release() 146 fe->sec_priv = priv; in lnbh29_attach() 148 if (lnbh29_set_voltage(fe, SEC_VOLTAGE_OFF)) { in lnbh29_attach() 152 fe->sec_priv = NULL; in lnbh29_attach() 156 fe->ops.release_sec = lnbh29_release; in lnbh29_attach() 157 fe->ops.set_voltage = lnbh29_set_voltage; in lnbh29_attach() [all …]
|
H A D | horus3a.c | 141 struct horus3a_priv *priv = fe->tuner_priv; in horus3a_init() 149 struct horus3a_priv *priv = fe->tuner_priv; in horus3a_release() 152 kfree(fe->tuner_priv); in horus3a_release() 153 fe->tuner_priv = NULL; in horus3a_release() 158 struct horus3a_priv *priv = fe->tuner_priv; in horus3a_sleep() 350 if (fe->ops.i2c_gate_ctrl) in horus3a_attach() 351 fe->ops.i2c_gate_ctrl(fe, 1); in horus3a_attach() 387 if (fe->ops.i2c_gate_ctrl) in horus3a_attach() 388 fe->ops.i2c_gate_ctrl(fe, 0); in horus3a_attach() 392 fe->tuner_priv = priv; in horus3a_attach() [all …]
|
H A D | lgs8gl5.c | 220 lgs8gl5_init(struct dvb_frontend *fe) in lgs8gl5_init() argument 262 lgs8gl5_read_ber(struct dvb_frontend *fe, u32 *ber) in lgs8gl5_read_ber() argument 282 lgs8gl5_read_snr(struct dvb_frontend *fe, u16 *snr) in lgs8gl5_read_snr() argument 302 lgs8gl5_set_frontend(struct dvb_frontend *fe) in lgs8gl5_set_frontend() argument 312 if (fe->ops.tuner_ops.set_params) { in lgs8gl5_set_frontend() 313 fe->ops.tuner_ops.set_params(fe); in lgs8gl5_set_frontend() 314 if (fe->ops.i2c_gate_ctrl) in lgs8gl5_set_frontend() 315 fe->ops.i2c_gate_ctrl(fe, 0); in lgs8gl5_set_frontend() 327 lgs8gl5_get_frontend(struct dvb_frontend *fe, in lgs8gl5_get_frontend() argument 349 lgs8gl5_get_tune_settings(struct dvb_frontend *fe, in lgs8gl5_get_tune_settings() argument [all …]
|
H A D | ves1820.c | 180 static int ves1820_init(struct dvb_frontend* fe) in ves1820_init() argument 182 struct ves1820_state* state = fe->demodulator_priv; in ves1820_init() 200 struct ves1820_state* state = fe->demodulator_priv; in ves1820_set_parameters() 211 if (fe->ops.tuner_ops.set_params) { in ves1820_set_parameters() 212 fe->ops.tuner_ops.set_params(fe); in ves1820_set_parameters() 213 if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); in ves1820_set_parameters() 232 struct ves1820_state* state = fe->demodulator_priv; in ves1820_read_status() 258 struct ves1820_state* state = fe->demodulator_priv; in ves1820_read_ber() 270 struct ves1820_state* state = fe->demodulator_priv; in ves1820_read_signal_strength() 280 struct ves1820_state* state = fe->demodulator_priv; in ves1820_read_snr() [all …]
|
H A D | tda10021.c | 199 static int tda10021_init (struct dvb_frontend *fe) in tda10021_init() argument 201 struct tda10021_state* state = fe->demodulator_priv; in tda10021_init() 235 struct tda10021_state* state = fe->demodulator_priv; in tda10021_set_parameters() 281 if (fe->ops.tuner_ops.set_params) { in tda10021_set_parameters() 282 fe->ops.tuner_ops.set_params(fe); in tda10021_set_parameters() 283 if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); in tda10021_set_parameters() 311 struct tda10021_state* state = fe->demodulator_priv; in tda10021_read_status() 336 struct tda10021_state* state = fe->demodulator_priv; in tda10021_read_ber() 350 struct tda10021_state* state = fe->demodulator_priv; in tda10021_read_signal_strength() 364 struct tda10021_state* state = fe->demodulator_priv; in tda10021_read_snr() [all …]
|
H A D | lnbh25.c | 87 struct lnbh25_priv *priv = fe->sec_priv; in lnbh25_set_voltage() 136 struct lnbh25_priv *priv = fe->sec_priv; in lnbh25_release() 139 lnbh25_set_voltage(fe, SEC_VOLTAGE_OFF); in lnbh25_release() 140 kfree(fe->sec_priv); in lnbh25_release() 141 fe->sec_priv = NULL; in lnbh25_release() 159 fe->sec_priv = priv; in lnbh25_attach() 160 if (lnbh25_set_voltage(fe, SEC_VOLTAGE_OFF)) { in lnbh25_attach() 165 fe->sec_priv = NULL; in lnbh25_attach() 169 fe->ops.release_sec = lnbh25_release; in lnbh25_attach() 170 fe->ops.set_voltage = lnbh25_set_voltage; in lnbh25_attach() [all …]
|
H A D | s921.c | 257 static int s921_pll_tune(struct dvb_frontend *fe) in s921_pll_tune() argument 260 struct s921_state *state = fe->demodulator_priv; in s921_pll_tune() 329 static int s921_initfe(struct dvb_frontend *fe) in s921_initfe() argument 331 struct s921_state *state = fe->demodulator_priv; in s921_initfe() 345 struct s921_state *state = fe->demodulator_priv; in s921_read_status() 385 struct s921_state *state = fe->demodulator_priv; in s921_read_signal_strength() 389 rc = s921_read_status(fe, &status); in s921_read_signal_strength() 419 rc = s921_pll_tune(fe); in s921_set_frontend() 440 static int s921_tune(struct dvb_frontend *fe, in s921_tune() argument 451 rc = s921_set_frontend(fe); in s921_tune() [all …]
|
H A D | tda8261_cfg.h | 8 static int tda8261_get_frequency(struct dvb_frontend *fe, u32 *frequency) in tda8261_get_frequency() argument 10 struct dvb_frontend_ops *frontend_ops = &fe->ops; in tda8261_get_frequency() 15 err = tuner_ops->get_frequency(fe, frequency); in tda8261_get_frequency() 25 static int tda8261_set_frequency(struct dvb_frontend *fe, u32 frequency) in tda8261_set_frequency() argument 27 struct dvb_frontend_ops *frontend_ops = &fe->ops; in tda8261_set_frequency() 29 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in tda8261_set_frequency() 33 err = tuner_ops->set_params(fe); in tda8261_set_frequency() 43 static int tda8261_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in tda8261_get_bandwidth() argument
|
H A D | stv6110x.c | 93 static int stv6110x_init(struct dvb_frontend *fe) in stv6110x_init() argument 95 struct stv6110x_state *stv6110x = fe->tuner_priv; in stv6110x_init() 110 struct stv6110x_state *stv6110x = fe->tuner_priv; in stv6110x_set_frequency() 171 struct stv6110x_state *stv6110x = fe->tuner_priv; in stv6110x_get_frequency() 189 struct stv6110x_state *stv6110x = fe->tuner_priv; in stv6110x_set_bandwidth() 307 if (fe->tuner_priv) in stv6110x_sleep() 308 return stv6110x_set_mode(fe, TUNER_SLEEP); in stv6110x_sleep() 332 fe->tuner_priv = NULL; in stv6110x_release() 455 stv6110x->frontend = fe; in stv6110x_attach() 464 fe->tuner_priv = stv6110x; in stv6110x_attach() [all …]
|
H A D | l64781.c | 111 struct l64781_state* state = fe->demodulator_priv; in apply_frontend_param() 143 if (fe->ops.tuner_ops.set_params) { in apply_frontend_param() 144 fe->ops.tuner_ops.set_params(fe); in apply_frontend_param() 145 if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); in apply_frontend_param() 234 static int get_frontend(struct dvb_frontend *fe, in get_frontend() argument 237 struct l64781_state* state = fe->demodulator_priv; in get_frontend() 352 struct l64781_state* state = fe->demodulator_priv; in l64781_read_status() 381 struct l64781_state* state = fe->demodulator_priv; in l64781_read_ber() 393 struct l64781_state* state = fe->demodulator_priv; in l64781_read_signal_strength() 421 static int l64781_sleep(struct dvb_frontend* fe) in l64781_sleep() argument [all …]
|
H A D | stv0367.c | 79 struct dvb_frontend fe; member 306 state->fe.ops.tuner_ops.get_if_frequency(&state->fe, ifkhz); in stv0367_get_if_khz() 1219 fe->ops.i2c_gate_ctrl(fe, 1); in stv0367ter_set_frontend() 1220 fe->ops.tuner_ops.set_params(fe); in stv0367ter_set_frontend() 1222 fe->ops.i2c_gate_ctrl(fe, 0); in stv0367ter_set_frontend() 1728 return &state->fe; in stv0367ter_attach() 2556 fe->ops.i2c_gate_ctrl(fe, 1); in stv0367cab_set_frontend() 2557 fe->ops.tuner_ops.set_params(fe); in stv0367cab_set_frontend() 2559 fe->ops.i2c_gate_ctrl(fe, 0); in stv0367cab_set_frontend() 2897 return &state->fe; in stv0367cab_attach() [all …]
|
H A D | lgdt330x.c | 356 state->config.pll_rf_set(fe, 1); in lgdt330x_set_parameters() 373 state->config.pll_rf_set(fe, 0); in lgdt330x_set_parameters() 390 state->config.pll_rf_set(fe, 0); in lgdt330x_set_parameters() 420 state->config.set_ts_params(fe, 0); in lgdt330x_set_parameters() 425 if (fe->ops.tuner_ops.set_params) { in lgdt330x_set_parameters() 426 fe->ops.tuner_ops.set_params(fe); in lgdt330x_set_parameters() 427 if (fe->ops.i2c_gate_ctrl) in lgdt330x_set_parameters() 428 fe->ops.i2c_gate_ctrl(fe, 0); in lgdt330x_set_parameters() 604 ret = fe->ops.read_snr(fe, &snr); in lgdt330x_read_signal_strength() 692 err = lgdt3302_read_snr(fe); in lgdt3302_read_status() [all …]
|
H A D | atbm8830.c | 219 struct atbm_state *priv = fe->demodulator_priv; in atbm8830_init() 259 struct atbm_state *priv = fe->demodulator_priv; in atbm8830_set_fe() 265 if (fe->ops.tuner_ops.set_params) { in atbm8830_set_fe() 266 if (fe->ops.i2c_gate_ctrl) in atbm8830_set_fe() 267 fe->ops.i2c_gate_ctrl(fe, 1); in atbm8830_set_fe() 268 fe->ops.tuner_ops.set_params(fe); in atbm8830_set_fe() 269 if (fe->ops.i2c_gate_ctrl) in atbm8830_set_fe() 270 fe->ops.i2c_gate_ctrl(fe, 0); in atbm8830_set_fe() 328 struct atbm_state *priv = fe->demodulator_priv; in atbm8830_read_status() 350 struct atbm_state *priv = fe->demodulator_priv; in atbm8830_read_ber() [all …]
|
/openbmc/linux/drivers/media/platform/st/sti/c8sectpfe/ |
H A D | c8sectpfe-dvb.c | 128 *fe = dvb_attach(stv0367ter_attach, in c8sectpfe_frontend_attach() 132 *fe = dvb_attach(stv0367ter_attach, in c8sectpfe_frontend_attach() 136 *fe = dvb_attach(stv0367ter_attach, in c8sectpfe_frontend_attach() 140 if (!*fe) { in c8sectpfe_frontend_attach() 151 (*fe)->ops.init(*fe); in c8sectpfe_frontend_attach() 166 tda18212->fe = (*fe); in c8sectpfe_frontend_attach() 175 dvb_frontend_detach(*fe); in c8sectpfe_frontend_attach() 181 dvb_frontend_detach(*fe); in c8sectpfe_frontend_attach() 192 if (!*fe) { in c8sectpfe_frontend_attach() 199 fe2 = dvb_attach(stv6110x_attach, *fe, in c8sectpfe_frontend_attach() [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-demod.c | 27 struct dvb_frontend fe; member 291 if (fe->ops.tuner_ops.set_params) { in mxl111sf_demod_set_frontend() 292 ret = fe->ops.tuner_ops.set_params(fe); in mxl111sf_demod_set_frontend() 511 if (fe->ops.tuner_ops.get_bandwidth) in mxl111sf_demod_get_frontend() 512 fe->ops.tuner_ops.get_bandwidth(fe, &p->bandwidth_hz); in mxl111sf_demod_get_frontend() 513 if (fe->ops.tuner_ops.get_frequency) in mxl111sf_demod_get_frontend() 514 fe->ops.tuner_ops.get_frequency(fe, &p->frequency); in mxl111sf_demod_get_frontend() 541 fe->demodulator_priv = NULL; in mxl111sf_demod_release() 587 memcpy(&state->fe.ops, &mxl111sf_demod_ops, in mxl111sf_demod_attach() 590 state->fe.demodulator_priv = state; in mxl111sf_demod_attach() [all …]
|
/openbmc/linux/drivers/media/pci/ngene/ |
H A D | ngene-cards.c | 155 fe = dvb_attach(stv6111_attach, chan->fe, i2c, adr); in tuner_attach_stv6111() 156 if (!fe) { in tuner_attach_stv6111() 157 fe = dvb_attach(stv6111_attach, chan->fe, i2c, adr & ~4); in tuner_attach_stv6111() 158 if (!fe) { in tuner_attach_stv6111() 188 chan->fe->ops.i2c_gate_ctrl(chan->fe, 1); in tuner_attach_tda18271() 189 fe = dvb_attach(tda18271c2dd_attach, chan->fe, i2c, 0x60); in tuner_attach_tda18271() 191 chan->fe->ops.i2c_gate_ctrl(chan->fe, 0); in tuner_attach_tda18271() 192 if (!fe) { in tuner_attach_tda18271() 210 chan->fe->ops.i2c_gate_ctrl(chan->fe, 1); in tuner_tda18212_ping() 218 chan->fe->ops.i2c_gate_ctrl(chan->fe, 0); in tuner_tda18212_ping() [all …]
|
/openbmc/linux/drivers/media/tuners/ |
H A D | xc2028.c | 536 return (!fe->callback) ? -EINVAL : in do_tuner_callback() 537 fe->callback(((fe->dvb) && (fe->dvb->priv)) ? in do_tuner_callback() 896 xc2028_sleep(fe); in check_firmware() 1341 fe->tuner_priv = NULL; in xc2028_dvb_release() 1374 rc = load_all_firmwares(fe, fw); in load_firmware_cb() 1424 fe, load_firmware_cb); in xc2028_set_config() 1468 if (!fe) { in xc2028_attach() 1489 fe->tuner_priv = priv; in xc2028_attach() 1493 fe->tuner_priv = priv; in xc2028_attach() 1507 return fe; in xc2028_attach() [all …]
|
H A D | qm1d1c0042.c | 123 __func__, state->cfg.fe->dvb->num, state->cfg.fe->id); in qm1d1c0042_wakeup() 134 state = fe->tuner_priv; in qm1d1c0042_set_config() 137 if (cfg->fe) in qm1d1c0042_set_config() 138 state->cfg.fe = cfg->fe; in qm1d1c0042_set_config() 188 state = fe->tuner_priv; in qm1d1c0042_set_params() 304 state = fe->tuner_priv; in qm1d1c0042_sleep() 313 __func__, fe->dvb->num, fe->id); in qm1d1c0042_sleep() 323 state = fe->tuner_priv; in qm1d1c0042_init() 383 __func__, fe->dvb->num, fe->id); in qm1d1c0042_init() 416 fe = cfg->fe; in qm1d1c0042_probe() [all …]
|
/openbmc/linux/fs/ocfs2/ |
H A D | inode.c | 321 le32_to_cpu(fe->i_flags)); in ocfs2_populate_inode() 371 le64_to_cpu(fe->i_blkno)); in ocfs2_populate_inode() 406 struct ocfs2_dinode *fe; in ocfs2_read_locked_inode() local 539 S_ISBLK(le16_to_cpu(fe->i_mode))) in ocfs2_read_locked_inode() 542 ocfs2_populate_inode(inode, fe, 0); in ocfs2_read_locked_inode() 583 struct ocfs2_dinode *fe; in ocfs2_truncate_for_delete() local 592 if (fe->i_clusters) { in ocfs2_truncate_for_delete() 1334 struct ocfs2_dinode *fe) in ocfs2_refresh_inode() argument 1352 le32_to_cpu(fe->i_atime_nsec)); in ocfs2_refresh_inode() 1354 le32_to_cpu(fe->i_mtime_nsec)); in ocfs2_refresh_inode() [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | af9005-fe.c | 387 af9005_reset_pre_viterbi(fe); in af9005_get_statistic() 405 ret = af9005_reset_post_viterbi(fe); in af9005_get_statistic() 420 if (af9005_get_statistic(fe)) in af9005_fe_refresh_state() 434 if (fe->ops.tuner_ops.release == NULL) in af9005_fe_read_status() 482 af9005_fe_refresh_state(fe); in af9005_fe_read_ber() 492 af9005_fe_refresh_state(fe); in af9005_fe_read_unc_blocks() 1062 ret = fe->ops.tuner_ops.init(fe); in af9005_fe_init() 1073 return af9005_fe_power(fe, 0); in af9005_fe_sleep() 1181 ret = fe->ops.tuner_ops.set_params(fe); in af9005_fe_set_frontend() 1202 af9005_reset_pre_viterbi(fe); in af9005_fe_set_frontend() [all …]
|