fe 190 arch/alpha/kernel/core_wildfire.c wildfire_fe *fe; fe 288 arch/alpha/kernel/core_wildfire.c fe = WILDFIRE_fe(soft_qbb, i); fe 292 arch/alpha/kernel/core_wildfire.c ((fe->fe_what_am_i.csr & 0xf00000300UL) == 0x100000200UL)) fe 3715 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t fe:1; fe 3723 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t fe:1; fe 4130 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t fe:1; fe 4138 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t fe:1; fe 3527 drivers/android/binder.c struct binder_transaction_log_entry *fe; fe 3532 drivers/android/binder.c fe = binder_transaction_log_add(&binder_transaction_log_failed); fe 3533 drivers/android/binder.c *fe = *e; fe 3540 drivers/android/binder.c WRITE_ONCE(fe->debug_id_done, t_debug_id); fe 324 drivers/ata/libata-core.c const struct ata_force_ent *fe = &ata_force_tbl[i]; fe 326 drivers/ata/libata-core.c if (fe->port != -1 && fe->port != ap->print_id) fe 329 drivers/ata/libata-core.c if (fe->param.cbl == ATA_CBL_NONE) fe 332 drivers/ata/libata-core.c ap->cbl = fe->param.cbl; fe 333 drivers/ata/libata-core.c ata_port_notice(ap, "FORCE: cable set to %s\n", fe->param.name); fe 364 drivers/ata/libata-core.c const struct ata_force_ent *fe = &ata_force_tbl[i]; fe 366 drivers/ata/libata-core.c if (fe->port != -1 && fe->port != link->ap->print_id) fe 369 drivers/ata/libata-core.c if (fe->device != -1 && fe->device != linkno) fe 373 drivers/ata/libata-core.c if (!did_spd && fe->param.spd_limit) { fe 374 drivers/ata/libata-core.c link->hw_sata_spd_limit = (1 << fe->param.spd_limit) - 1; fe 376 drivers/ata/libata-core.c fe->param.name); fe 381 drivers/ata/libata-core.c if (fe->param.lflags) { fe 382 drivers/ata/libata-core.c link->flags |= fe->param.lflags; fe 385 drivers/ata/libata-core.c fe->param.lflags, link->flags); fe 412 drivers/ata/libata-core.c const struct ata_force_ent *fe = &ata_force_tbl[i]; fe 415 drivers/ata/libata-core.c if (fe->port != -1 && fe->port != dev->link->ap->print_id) fe 418 drivers/ata/libata-core.c if (fe->device != -1 && fe->device != devno && fe 419 drivers/ata/libata-core.c fe->device != alt_devno) fe 422 drivers/ata/libata-core.c if (!fe->param.xfer_mask) fe 425 drivers/ata/libata-core.c ata_unpack_xfermask(fe->param.xfer_mask, fe 439 drivers/ata/libata-core.c fe->param.name); fe 466 drivers/ata/libata-core.c const struct ata_force_ent *fe = &ata_force_tbl[i]; fe 468 drivers/ata/libata-core.c if (fe->port != -1 && fe->port != dev->link->ap->print_id) fe 471 drivers/ata/libata-core.c if (fe->device != -1 && fe->device != devno && fe 472 drivers/ata/libata-core.c fe->device != alt_devno) fe 475 drivers/ata/libata-core.c if (!(~dev->horkage & fe->param.horkage_on) && fe 476 drivers/ata/libata-core.c !(dev->horkage & fe->param.horkage_off)) fe 479 drivers/ata/libata-core.c dev->horkage |= fe->param.horkage_on; fe 480 drivers/ata/libata-core.c dev->horkage &= ~fe->param.horkage_off; fe 483 drivers/ata/libata-core.c fe->param.name); fe 2207 drivers/atm/eni.c struct eni_free *fe = eni_dev->free_list+i; fe 2213 drivers/atm/eni.c fe->start-offset,fe->start-offset+(1 << fe->order)-1, fe 2214 drivers/atm/eni.c 1 << fe->order); fe 278 drivers/crypto/hisilicon/qm.c void (*hw_error_init)(struct hisi_qm *qm, u32 ce, u32 nfe, u32 fe, fe 981 drivers/crypto/hisilicon/qm.c static void qm_hw_error_init_v1(struct hisi_qm *qm, u32 ce, u32 nfe, u32 fe, fe 990 drivers/crypto/hisilicon/qm.c static void qm_hw_error_init_v2(struct hisi_qm *qm, u32 ce, u32 nfe, u32 fe, fe 993 drivers/crypto/hisilicon/qm.c u32 irq_enable = ce | nfe | fe | msi; fe 996 drivers/crypto/hisilicon/qm.c qm->error_mask = ce | nfe | fe; fe 1003 drivers/crypto/hisilicon/qm.c writel(fe, qm->io_base + QM_RAS_FE_ENABLE); fe 1861 drivers/crypto/hisilicon/qm.c void hisi_qm_hw_error_init(struct hisi_qm *qm, u32 ce, u32 nfe, u32 fe, fe 1870 drivers/crypto/hisilicon/qm.c qm->ops->hw_error_init(qm, ce, nfe, fe, msi); fe 210 drivers/crypto/hisilicon/qm.h void hisi_qm_hw_error_init(struct hisi_qm *qm, u32 ce, u32 nfe, u32 fe, fe 1016 drivers/gpu/drm/radeon/atombios_encoders.c atombios_dig_transmitter_setup2(struct drm_encoder *encoder, int action, uint8_t lane_num, uint8_t lane_set, int fe) fe 1366 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.ucDigEncoderSel = (fe != -1) ? (1 << fe) : (1 << dig_encoder); fe 2013 drivers/gpu/drm/radeon/atombios_encoders.c atombios_set_mst_encoder_crtc_source(struct drm_encoder *encoder, int fe) fe 2033 drivers/gpu/drm/radeon/atombios_encoders.c switch (fe) { fe 45 drivers/gpu/drm/radeon/radeon_dp_mst.c reg |= NI_DIG_FE_SOURCE_SELECT(1 << mst_enc->fe); fe 47 drivers/gpu/drm/radeon/radeon_dp_mst.c reg &= ~NI_DIG_FE_SOURCE_SELECT(1 << mst_enc->fe); fe 54 drivers/gpu/drm/radeon/radeon_dp_mst.c uint32_t offset = radeon_atom_set_enc_offset(mst_enc->fe); fe 60 drivers/gpu/drm/radeon/radeon_dp_mst.c DRM_ERROR("timed out waiting for FE %d %d\n", primary->offset, mst_enc->fe); fe 67 drivers/gpu/drm/radeon/radeon_dp_mst.c int fe, fe 81 drivers/gpu/drm/radeon/radeon_dp_mst.c val = NI_DP_MSE_SAT_SLOT_COUNT0(slots) | NI_DP_MSE_SAT_SRC0(fe); fe 141 drivers/gpu/drm/radeon/radeon_dp_mst.c new_attribs[idx].fe = mst_enc->fe; fe 147 drivers/gpu/drm/radeon/radeon_dp_mst.c if (new_attribs[i].fe != mst_conn->cur_stream_attribs[i].fe || fe 149 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_dp_mst_set_stream_attrib(primary, i, new_attribs[i].fe, new_attribs[i].slots); fe 150 drivers/gpu/drm/radeon/radeon_dp_mst.c mst_conn->cur_stream_attribs[i].fe = new_attribs[i].fe; fe 157 drivers/gpu/drm/radeon/radeon_dp_mst.c mst_conn->cur_stream_attribs[i].fe = 0; fe 170 drivers/gpu/drm/radeon/radeon_dp_mst.c uint32_t offset = radeon_atom_set_enc_offset(mst_enc->fe); fe 185 drivers/gpu/drm/radeon/radeon_dp_mst.c DRM_ERROR("timed out wait for rate cntl %d\n", mst_enc->fe); fe 418 drivers/gpu/drm/radeon/radeon_dp_mst.c mst_enc->fe = dig_enc->dig_encoder; fe 420 drivers/gpu/drm/radeon/radeon_dp_mst.c atombios_set_mst_encoder_crtc_source(encoder, mst_enc->fe); fe 432 drivers/gpu/drm/radeon/radeon_dp_mst.c mst_enc->fe = radeon_atom_pick_dig_encoder(encoder, radeon_crtc->crtc_id); fe 433 drivers/gpu/drm/radeon/radeon_dp_mst.c if (mst_enc->fe == -1) fe 436 drivers/gpu/drm/radeon/radeon_dp_mst.c atombios_set_mst_encoder_crtc_source(encoder, mst_enc->fe); fe 461 drivers/gpu/drm/radeon/radeon_dp_mst.c mst_enc->fe); fe 490 drivers/gpu/drm/radeon/radeon_dp_mst.c mst_enc->fe); fe 493 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_atom_release_dig_encoder(rdev, mst_enc->fe); fe 773 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector->cur_stream_attribs[i].fe, fe 457 drivers/gpu/drm/radeon/radeon_mode.h int fe; fe 540 drivers/gpu/drm/radeon/radeon_mode.h uint16_t fe; fe 774 drivers/gpu/drm/radeon/radeon_mode.h uint8_t lane_set, int fe); fe 776 drivers/gpu/drm/radeon/radeon_mode.h int fe); fe 1189 drivers/infiniband/core/nldev.c const struct nldev_fill_res_entry *fe = &fill_entries[res_type]; fe 1200 drivers/infiniband/core/nldev.c if (ret || !tb[RDMA_NLDEV_ATTR_DEV_INDEX] || !fe->id || !tb[fe->id]) fe 1216 drivers/infiniband/core/nldev.c if ((port && fe->flags & NLDEV_PER_DEV) || fe 1217 drivers/infiniband/core/nldev.c (!port && ~fe->flags & NLDEV_PER_DEV)) { fe 1222 drivers/infiniband/core/nldev.c id = nla_get_u32(tb[fe->id]); fe 1241 drivers/infiniband/core/nldev.c RDMA_NL_GET_TYPE(RDMA_NL_NLDEV, fe->nldev_cmd), fe 1250 drivers/infiniband/core/nldev.c ret = fe->fill_res_func(msg, has_cap_net_admin, res, port); fe 1272 drivers/infiniband/core/nldev.c const struct nldev_fill_res_entry *fe = &fill_entries[res_type]; fe 1317 drivers/infiniband/core/nldev.c RDMA_NL_GET_TYPE(RDMA_NL_NLDEV, fe->nldev_cmd), fe 1325 drivers/infiniband/core/nldev.c table_attr = nla_nest_start_noflag(skb, fe->nldev_attr); fe 1351 drivers/infiniband/core/nldev.c entry_attr = nla_nest_start_noflag(skb, fe->entry); fe 1358 drivers/infiniband/core/nldev.c ret = fe->fill_res_func(skb, has_cap_net_admin, res, port); fe 469 drivers/md/dm-log-userspace-base.c struct dm_dirty_log_flush_entry *fe; fe 471 drivers/md/dm-log-userspace-base.c list_for_each_entry(fe, flush_list, list) { fe 472 drivers/md/dm-log-userspace-base.c r = userspace_do_request(lc, lc->uuid, fe->type, fe 473 drivers/md/dm-log-userspace-base.c (char *)&fe->region, fe 474 drivers/md/dm-log-userspace-base.c sizeof(fe->region), fe 489 drivers/md/dm-log-userspace-base.c struct dm_dirty_log_flush_entry *fe, *tmp_fe; fe 499 drivers/md/dm-log-userspace-base.c list_for_each_entry_safe(fe, tmp_fe, flush_list, list) { fe 500 drivers/md/dm-log-userspace-base.c group[count] = fe->region; fe 503 drivers/md/dm-log-userspace-base.c list_move(&fe->list, &tmp_list); fe 505 drivers/md/dm-log-userspace-base.c type = fe->type; fe 571 drivers/md/dm-log-userspace-base.c struct dm_dirty_log_flush_entry *fe, *tmp_fe; fe 627 drivers/md/dm-log-userspace-base.c list_for_each_entry_safe(fe, tmp_fe, &mark_list, list) { fe 628 drivers/md/dm-log-userspace-base.c list_del(&fe->list); fe 629 drivers/md/dm-log-userspace-base.c mempool_free(fe, flush_entry_pool); fe 631 drivers/md/dm-log-userspace-base.c list_for_each_entry_safe(fe, tmp_fe, &clear_list, list) { fe 632 drivers/md/dm-log-userspace-base.c list_del(&fe->list); fe 633 drivers/md/dm-log-userspace-base.c mempool_free(fe, flush_entry_pool); fe 652 drivers/md/dm-log-userspace-base.c struct dm_dirty_log_flush_entry *fe; fe 655 drivers/md/dm-log-userspace-base.c fe = mempool_alloc(&lc->flush_entry_pool, GFP_NOIO); fe 656 drivers/md/dm-log-userspace-base.c BUG_ON(!fe); fe 659 drivers/md/dm-log-userspace-base.c fe->type = DM_ULOG_MARK_REGION; fe 660 drivers/md/dm-log-userspace-base.c fe->region = region; fe 661 drivers/md/dm-log-userspace-base.c list_add(&fe->list, &lc->mark_list); fe 681 drivers/md/dm-log-userspace-base.c struct dm_dirty_log_flush_entry *fe; fe 689 drivers/md/dm-log-userspace-base.c fe = mempool_alloc(&lc->flush_entry_pool, GFP_ATOMIC); fe 690 drivers/md/dm-log-userspace-base.c if (!fe) { fe 696 drivers/md/dm-log-userspace-base.c fe->type = DM_ULOG_CLEAR_REGION; fe 697 drivers/md/dm-log-userspace-base.c fe->region = region; fe 698 drivers/md/dm-log-userspace-base.c list_add(&fe->list, &lc->clear_list); fe 77 drivers/media/common/b2c2/flexcop-common.h struct dvb_frontend *fe; fe 28 drivers/media/common/b2c2/flexcop-fe-tuner.c #define FE_SUPPORTED(fe) IS_REACHABLE(CONFIG_DVB_ ## fe) fe 31 drivers/media/common/b2c2/flexcop-fe-tuner.c static int flexcop_fe_request_firmware(struct dvb_frontend *fe, fe 34 drivers/media/common/b2c2/flexcop-fe-tuner.c struct flexcop_device *fc = fe->dvb->priv; fe 42 drivers/media/common/b2c2/flexcop-fe-tuner.c static int flexcop_set_voltage(struct dvb_frontend *fe, fe 45 drivers/media/common/b2c2/flexcop-fe-tuner.c struct flexcop_device *fc = fe->dvb->priv; fe 71 drivers/media/common/b2c2/flexcop-fe-tuner.c static int __maybe_unused flexcop_sleep(struct dvb_frontend* fe) fe 73 drivers/media/common/b2c2/flexcop-fe-tuner.c struct flexcop_device *fc = fe->dvb->priv; fe 75 drivers/media/common/b2c2/flexcop-fe-tuner.c return fc->fe_sleep(fe); fe 82 drivers/media/common/b2c2/flexcop-fe-tuner.c static int flexcop_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) fe 85 drivers/media/common/b2c2/flexcop-fe-tuner.c struct flexcop_device *fc = fe->dvb->priv; fe 109 drivers/media/common/b2c2/flexcop-fe-tuner.c static void flexcop_diseqc_send_bit(struct dvb_frontend* fe, int data) fe 111 drivers/media/common/b2c2/flexcop-fe-tuner.c flexcop_set_tone(fe, SEC_TONE_ON); fe 113 drivers/media/common/b2c2/flexcop-fe-tuner.c flexcop_set_tone(fe, SEC_TONE_OFF); fe 117 drivers/media/common/b2c2/flexcop-fe-tuner.c static void flexcop_diseqc_send_byte(struct dvb_frontend* fe, int data) fe 123 drivers/media/common/b2c2/flexcop-fe-tuner.c flexcop_diseqc_send_bit(fe, d); fe 125 drivers/media/common/b2c2/flexcop-fe-tuner.c flexcop_diseqc_send_bit(fe, par); fe 128 drivers/media/common/b2c2/flexcop-fe-tuner.c static int flexcop_send_diseqc_msg(struct dvb_frontend *fe, fe 133 drivers/media/common/b2c2/flexcop-fe-tuner.c flexcop_set_tone(fe, SEC_TONE_OFF); fe 137 drivers/media/common/b2c2/flexcop-fe-tuner.c flexcop_diseqc_send_byte(fe,msg[i]); fe 142 drivers/media/common/b2c2/flexcop-fe-tuner.c flexcop_diseqc_send_byte(fe, 0xff); fe 144 drivers/media/common/b2c2/flexcop-fe-tuner.c flexcop_set_tone(fe, SEC_TONE_ON); fe 147 drivers/media/common/b2c2/flexcop-fe-tuner.c flexcop_set_tone(fe, SEC_TONE_OFF); fe 154 drivers/media/common/b2c2/flexcop-fe-tuner.c static int flexcop_diseqc_send_master_cmd(struct dvb_frontend *fe, fe 157 drivers/media/common/b2c2/flexcop-fe-tuner.c return flexcop_send_diseqc_msg(fe, cmd->msg_len, cmd->msg, 0); fe 160 drivers/media/common/b2c2/flexcop-fe-tuner.c static int flexcop_diseqc_send_burst(struct dvb_frontend *fe, fe 163 drivers/media/common/b2c2/flexcop-fe-tuner.c return flexcop_send_diseqc_msg(fe, 0, NULL, minicmd); fe 175 drivers/media/common/b2c2/flexcop-fe-tuner.c fc->fe = dvb_attach(mt312_attach, &skystar23_samsung_tbdu18132_config, i2c); fe 176 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!fc->fe) fe 179 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!dvb_attach(dvb_pll_attach, fc->fe, 0x61, i2c, fe 183 drivers/media/common/b2c2/flexcop-fe-tuner.c ops = &fc->fe->ops; fe 198 drivers/media/common/b2c2/flexcop-fe-tuner.c static int samsung_tbmu24112_set_symbol_rate(struct dvb_frontend *fe, fe 218 drivers/media/common/b2c2/flexcop-fe-tuner.c stv0299_writereg(fe, 0x13, aclk); fe 219 drivers/media/common/b2c2/flexcop-fe-tuner.c stv0299_writereg(fe, 0x14, bclk); fe 220 drivers/media/common/b2c2/flexcop-fe-tuner.c stv0299_writereg(fe, 0x1f, (ratio >> 16) & 0xff); fe 221 drivers/media/common/b2c2/flexcop-fe-tuner.c stv0299_writereg(fe, 0x20, (ratio >> 8) & 0xff); fe 222 drivers/media/common/b2c2/flexcop-fe-tuner.c stv0299_writereg(fe, 0x21, ratio & 0xf0); fe 286 drivers/media/common/b2c2/flexcop-fe-tuner.c fc->fe = dvb_attach(stv0299_attach, &samsung_tbmu24112_config, i2c); fe 287 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!fc->fe) fe 290 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!dvb_attach(dvb_pll_attach, fc->fe, 0x61, i2c, fe 294 drivers/media/common/b2c2/flexcop-fe-tuner.c fc->fe->ops.set_voltage = flexcop_set_voltage; fe 295 drivers/media/common/b2c2/flexcop-fe-tuner.c fc->fe_sleep = fc->fe->ops.sleep; fe 296 drivers/media/common/b2c2/flexcop-fe-tuner.c fc->fe->ops.sleep = flexcop_sleep; fe 325 drivers/media/common/b2c2/flexcop-fe-tuner.c fc->fe = dvb_attach(s5h1420_attach, &skystar2_rev2_7_s5h1420_config, fe 327 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!fc->fe) fe 330 drivers/media/common/b2c2/flexcop-fe-tuner.c i2c_tuner = s5h1420_get_tuner_i2c_adapter(fc->fe); fe 334 drivers/media/common/b2c2/flexcop-fe-tuner.c fc->fe_sleep = fc->fe->ops.sleep; fe 335 drivers/media/common/b2c2/flexcop-fe-tuner.c fc->fe->ops.sleep = flexcop_sleep; fe 339 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!dvb_attach(isl6421_attach, fc->fe, &fc->fc_i2c_adap[2].i2c_adap, fe 349 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!dvb_attach(itd1000_attach, fc->fe, i2c_tuner, fe 388 drivers/media/common/b2c2/flexcop-fe-tuner.c fc->fe = dvb_attach(cx24123_attach, &skystar2_rev2_8_cx24123_config, fe 390 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!fc->fe) fe 393 drivers/media/common/b2c2/flexcop-fe-tuner.c i2c_tuner = cx24123_get_tuner_i2c_adapter(fc->fe); fe 397 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!dvb_attach(cx24113_attach, fc->fe, &skystar2_rev2_8_cx24113_config, fe 405 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!dvb_attach(isl6421_attach, fc->fe, &fc->fc_i2c_adap[2].i2c_adap, fe 422 drivers/media/common/b2c2/flexcop-fe-tuner.c static int samsung_tdtc9251dh0_demod_init(struct dvb_frontend *fe) fe 430 drivers/media/common/b2c2/flexcop-fe-tuner.c mt352_write(fe, mt352_clock_config, sizeof(mt352_clock_config)); fe 432 drivers/media/common/b2c2/flexcop-fe-tuner.c mt352_write(fe, mt352_reset, sizeof(mt352_reset)); fe 433 drivers/media/common/b2c2/flexcop-fe-tuner.c mt352_write(fe, mt352_adc_ctl_1_cfg, sizeof(mt352_adc_ctl_1_cfg)); fe 434 drivers/media/common/b2c2/flexcop-fe-tuner.c mt352_write(fe, mt352_agc_cfg, sizeof(mt352_agc_cfg)); fe 435 drivers/media/common/b2c2/flexcop-fe-tuner.c mt352_write(fe, mt352_capt_range_cfg, sizeof(mt352_capt_range_cfg)); fe 447 drivers/media/common/b2c2/flexcop-fe-tuner.c fc->fe = dvb_attach(mt352_attach, &samsung_tdtc9251dh0_config, i2c); fe 448 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!fc->fe) fe 451 drivers/media/common/b2c2/flexcop-fe-tuner.c return !!dvb_attach(dvb_pll_attach, fc->fe, 0x61, NULL, fe 468 drivers/media/common/b2c2/flexcop-fe-tuner.c fc->fe = dvb_attach(bcm3510_attach, &air2pc_atsc_first_gen_config, i2c); fe 469 drivers/media/common/b2c2/flexcop-fe-tuner.c return fc->fe != NULL; fe 484 drivers/media/common/b2c2/flexcop-fe-tuner.c fc->fe = dvb_attach(nxt200x_attach, &samsung_tbmv_config, i2c); fe 485 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!fc->fe) fe 488 drivers/media/common/b2c2/flexcop-fe-tuner.c return !!dvb_attach(dvb_pll_attach, fc->fe, 0x61, NULL, fe 506 drivers/media/common/b2c2/flexcop-fe-tuner.c fc->fe = dvb_attach(lgdt330x_attach, &air2pc_atsc_hd5000_config, fe 508 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!fc->fe) fe 511 drivers/media/common/b2c2/flexcop-fe-tuner.c return !!dvb_attach(simple_tuner_attach, fc->fe, i2c, 0x61, fe 602 drivers/media/common/b2c2/flexcop-fe-tuner.c fc->fe = dvb_attach(stv0297_attach, &alps_tdee4_stv0297_config, i2c); fe 603 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!fc->fe) fe 608 drivers/media/common/b2c2/flexcop-fe-tuner.c if (fc->fe->ops.i2c_gate_ctrl) fe 609 drivers/media/common/b2c2/flexcop-fe-tuner.c fc->fe->ops.i2c_gate_ctrl(fc->fe, 0); fe 610 drivers/media/common/b2c2/flexcop-fe-tuner.c fc->fe->ops.i2c_gate_ctrl = NULL; fe 612 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!dvb_attach(dvb_pll_attach, fc->fe, 0x61, fe 640 drivers/media/common/b2c2/flexcop-fe-tuner.c fc->fe = dvb_attach(cx24120_attach, fe 642 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!fc->fe) fe 647 drivers/media/common/b2c2/flexcop-fe-tuner.c if (!dvb_attach(isl6421_attach, fc->fe, &fc->fc_i2c_adap[2].i2c_adap, fe 693 drivers/media/common/b2c2/flexcop-fe-tuner.c if (fc->fe) { fe 694 drivers/media/common/b2c2/flexcop-fe-tuner.c dvb_frontend_detach(fc->fe); fe 695 drivers/media/common/b2c2/flexcop-fe-tuner.c fc->fe = NULL; fe 703 drivers/media/common/b2c2/flexcop-fe-tuner.c info("found '%s' .", fc->fe->ops.info.name); fe 704 drivers/media/common/b2c2/flexcop-fe-tuner.c if (dvb_register_frontend(&fc->dvb_adapter, fc->fe)) { fe 706 drivers/media/common/b2c2/flexcop-fe-tuner.c dvb_frontend_detach(fc->fe); fe 707 drivers/media/common/b2c2/flexcop-fe-tuner.c fc->fe = NULL; fe 717 drivers/media/common/b2c2/flexcop-fe-tuner.c dvb_unregister_frontend(fc->fe); fe 718 drivers/media/common/b2c2/flexcop-fe-tuner.c dvb_frontend_detach(fc->fe); fe 116 drivers/media/common/siano/smsdvb-main.c static void smsdvb_stats_not_ready(struct dvb_frontend *fe) fe 119 drivers/media/common/siano/smsdvb-main.c container_of(fe, struct smsdvb_client_t, frontend); fe 121 drivers/media/common/siano/smsdvb-main.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 215 drivers/media/common/siano/smsdvb-main.c struct dvb_frontend *fe = &client->frontend; fe 216 drivers/media/common/siano/smsdvb-main.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 232 drivers/media/common/siano/smsdvb-main.c struct dvb_frontend *fe = &client->frontend; fe 233 drivers/media/common/siano/smsdvb-main.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 272 drivers/media/common/siano/smsdvb-main.c struct dvb_frontend *fe = &client->frontend; fe 273 drivers/media/common/siano/smsdvb-main.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 324 drivers/media/common/siano/smsdvb-main.c struct dvb_frontend *fe = &client->frontend; fe 325 drivers/media/common/siano/smsdvb-main.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 420 drivers/media/common/siano/smsdvb-main.c struct dvb_frontend *fe = &client->frontend; fe 421 drivers/media/common/siano/smsdvb-main.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 511 drivers/media/common/siano/smsdvb-main.c struct dvb_frontend *fe = &client->frontend; fe 512 drivers/media/common/siano/smsdvb-main.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 591 drivers/media/common/siano/smsdvb-main.c smsdvb_stats_not_ready(fe); fe 746 drivers/media/common/siano/smsdvb-main.c static int smsdvb_read_status(struct dvb_frontend *fe, enum fe_status *stat) fe 750 drivers/media/common/siano/smsdvb-main.c client = container_of(fe, struct smsdvb_client_t, frontend); fe 761 drivers/media/common/siano/smsdvb-main.c static int smsdvb_read_ber(struct dvb_frontend *fe, u32 *ber) fe 766 drivers/media/common/siano/smsdvb-main.c client = container_of(fe, struct smsdvb_client_t, frontend); fe 777 drivers/media/common/siano/smsdvb-main.c static int smsdvb_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 779 drivers/media/common/siano/smsdvb-main.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 784 drivers/media/common/siano/smsdvb-main.c client = container_of(fe, struct smsdvb_client_t, frontend); fe 800 drivers/media/common/siano/smsdvb-main.c static int smsdvb_read_snr(struct dvb_frontend *fe, u16 *snr) fe 802 drivers/media/common/siano/smsdvb-main.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 806 drivers/media/common/siano/smsdvb-main.c client = container_of(fe, struct smsdvb_client_t, frontend); fe 818 drivers/media/common/siano/smsdvb-main.c static int smsdvb_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 821 drivers/media/common/siano/smsdvb-main.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 824 drivers/media/common/siano/smsdvb-main.c client = container_of(fe, struct smsdvb_client_t, frontend); fe 835 drivers/media/common/siano/smsdvb-main.c static int smsdvb_get_tune_settings(struct dvb_frontend *fe, fe 846 drivers/media/common/siano/smsdvb-main.c static int smsdvb_dvbt_set_frontend(struct dvb_frontend *fe) fe 848 drivers/media/common/siano/smsdvb-main.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 850 drivers/media/common/siano/smsdvb-main.c container_of(fe, struct smsdvb_client_t, frontend); fe 862 drivers/media/common/siano/smsdvb-main.c fe->dtv_property_cache.delivery_system = SYS_DVBT; fe 899 drivers/media/common/siano/smsdvb-main.c smsdvb_read_status(fe, &status); fe 912 drivers/media/common/siano/smsdvb-main.c static int smsdvb_isdbt_set_frontend(struct dvb_frontend *fe) fe 914 drivers/media/common/siano/smsdvb-main.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 916 drivers/media/common/siano/smsdvb-main.c container_of(fe, struct smsdvb_client_t, frontend); fe 927 drivers/media/common/siano/smsdvb-main.c fe->dtv_property_cache.delivery_system = SYS_ISDBT; fe 970 drivers/media/common/siano/smsdvb-main.c smsdvb_read_status(fe, &status); fe 982 drivers/media/common/siano/smsdvb-main.c static int smsdvb_set_frontend(struct dvb_frontend *fe) fe 984 drivers/media/common/siano/smsdvb-main.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 986 drivers/media/common/siano/smsdvb-main.c container_of(fe, struct smsdvb_client_t, frontend); fe 989 drivers/media/common/siano/smsdvb-main.c smsdvb_stats_not_ready(fe); fe 998 drivers/media/common/siano/smsdvb-main.c return smsdvb_dvbt_set_frontend(fe); fe 1001 drivers/media/common/siano/smsdvb-main.c return smsdvb_isdbt_set_frontend(fe); fe 1007 drivers/media/common/siano/smsdvb-main.c static int smsdvb_init(struct dvb_frontend *fe) fe 1010 drivers/media/common/siano/smsdvb-main.c container_of(fe, struct smsdvb_client_t, frontend); fe 1018 drivers/media/common/siano/smsdvb-main.c static int smsdvb_sleep(struct dvb_frontend *fe) fe 1021 drivers/media/common/siano/smsdvb-main.c container_of(fe, struct smsdvb_client_t, frontend); fe 1031 drivers/media/common/siano/smsdvb-main.c static void smsdvb_release(struct dvb_frontend *fe) fe 72 drivers/media/common/videobuf2/videobuf2-dvb.c static int vb2_dvb_register_adapter(struct vb2_dvb_frontends *fe, fe 83 drivers/media/common/videobuf2/videobuf2-dvb.c mutex_init(&fe->lock); fe 86 drivers/media/common/videobuf2/videobuf2-dvb.c result = dvb_register_adapter(&fe->adapter, adapter_name, module, fe 92 drivers/media/common/videobuf2/videobuf2-dvb.c fe->adapter.priv = adapter_priv; fe 93 drivers/media/common/videobuf2/videobuf2-dvb.c fe->adapter.mfe_shared = mfe_shared; fe 96 drivers/media/common/videobuf2/videobuf2-dvb.c fe->adapter.mdev = mdev; fe 201 drivers/media/common/videobuf2/videobuf2-dvb.c struct vb2_dvb_frontend *fe; fe 204 drivers/media/common/videobuf2/videobuf2-dvb.c fe = vb2_dvb_get_frontend(f, 1); fe 205 drivers/media/common/videobuf2/videobuf2-dvb.c if (!fe) { fe 212 drivers/media/common/videobuf2/videobuf2-dvb.c fe->dvb.name, adapter_nr, mfe_shared); fe 221 drivers/media/common/videobuf2/videobuf2-dvb.c fe = list_entry(list, struct vb2_dvb_frontend, felist); fe 222 drivers/media/common/videobuf2/videobuf2-dvb.c res = vb2_dvb_register_frontend(&f->adapter, &fe->dvb); fe 225 drivers/media/common/videobuf2/videobuf2-dvb.c fe->dvb.name, res); fe 255 drivers/media/common/videobuf2/videobuf2-dvb.c struct vb2_dvb_frontend *fe, *ret = NULL; fe 260 drivers/media/common/videobuf2/videobuf2-dvb.c fe = list_entry(list, struct vb2_dvb_frontend, felist); fe 261 drivers/media/common/videobuf2/videobuf2-dvb.c if (fe->id == id) { fe 262 drivers/media/common/videobuf2/videobuf2-dvb.c ret = fe; fe 277 drivers/media/common/videobuf2/videobuf2-dvb.c struct vb2_dvb_frontend *fe = NULL; fe 283 drivers/media/common/videobuf2/videobuf2-dvb.c fe = list_entry(list, struct vb2_dvb_frontend, felist); fe 284 drivers/media/common/videobuf2/videobuf2-dvb.c if (fe->dvb.frontend == p) { fe 285 drivers/media/common/videobuf2/videobuf2-dvb.c ret = fe->id; fe 299 drivers/media/common/videobuf2/videobuf2-dvb.c struct vb2_dvb_frontend *fe; fe 301 drivers/media/common/videobuf2/videobuf2-dvb.c fe = kzalloc(sizeof(struct vb2_dvb_frontend), GFP_KERNEL); fe 302 drivers/media/common/videobuf2/videobuf2-dvb.c if (fe == NULL) fe 305 drivers/media/common/videobuf2/videobuf2-dvb.c fe->id = id; fe 306 drivers/media/common/videobuf2/videobuf2-dvb.c mutex_init(&fe->dvb.lock); fe 309 drivers/media/common/videobuf2/videobuf2-dvb.c list_add_tail(&fe->felist, &f->felist); fe 311 drivers/media/common/videobuf2/videobuf2-dvb.c return fe; fe 318 drivers/media/common/videobuf2/videobuf2-dvb.c struct vb2_dvb_frontend *fe; fe 322 drivers/media/common/videobuf2/videobuf2-dvb.c fe = list_entry(list, struct vb2_dvb_frontend, felist); fe 323 drivers/media/common/videobuf2/videobuf2-dvb.c if (fe->dvb.net.dvbdev) { fe 324 drivers/media/common/videobuf2/videobuf2-dvb.c dvb_net_release(&fe->dvb.net); fe 325 drivers/media/common/videobuf2/videobuf2-dvb.c fe->dvb.demux.dmx.remove_frontend(&fe->dvb.demux.dmx, fe 326 drivers/media/common/videobuf2/videobuf2-dvb.c &fe->dvb.fe_mem); fe 327 drivers/media/common/videobuf2/videobuf2-dvb.c fe->dvb.demux.dmx.remove_frontend(&fe->dvb.demux.dmx, fe 328 drivers/media/common/videobuf2/videobuf2-dvb.c &fe->dvb.fe_hw); fe 329 drivers/media/common/videobuf2/videobuf2-dvb.c dvb_dmxdev_release(&fe->dvb.dmxdev); fe 330 drivers/media/common/videobuf2/videobuf2-dvb.c dvb_dmx_release(&fe->dvb.demux); fe 331 drivers/media/common/videobuf2/videobuf2-dvb.c dvb_unregister_frontend(fe->dvb.frontend); fe 333 drivers/media/common/videobuf2/videobuf2-dvb.c if (fe->dvb.frontend) fe 335 drivers/media/common/videobuf2/videobuf2-dvb.c dvb_frontend_detach(fe->dvb.frontend); fe 337 drivers/media/common/videobuf2/videobuf2-dvb.c kfree(fe); /* free frontend allocation */ fe 130 drivers/media/dvb-core/dvb_frontend.c static void dvb_frontend_invoke_release(struct dvb_frontend *fe, fe 131 drivers/media/dvb-core/dvb_frontend.c void (*release)(struct dvb_frontend *fe)); fe 133 drivers/media/dvb-core/dvb_frontend.c static void __dvb_frontend_free(struct dvb_frontend *fe) fe 135 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 140 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_invoke_release(fe, fe->ops.release); fe 147 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend *fe = fe 150 drivers/media/dvb-core/dvb_frontend.c __dvb_frontend_free(fe); fe 153 drivers/media/dvb-core/dvb_frontend.c static void dvb_frontend_put(struct dvb_frontend *fe) fe 156 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.detach) fe 157 drivers/media/dvb-core/dvb_frontend.c fe->ops.detach(fe); fe 162 drivers/media/dvb-core/dvb_frontend.c if (fe->frontend_priv) fe 163 drivers/media/dvb-core/dvb_frontend.c kref_put(&fe->refcount, dvb_frontend_free); fe 165 drivers/media/dvb-core/dvb_frontend.c __dvb_frontend_free(fe); fe 168 drivers/media/dvb-core/dvb_frontend.c static void dvb_frontend_get(struct dvb_frontend *fe) fe 170 drivers/media/dvb-core/dvb_frontend.c kref_get(&fe->refcount); fe 173 drivers/media/dvb-core/dvb_frontend.c static void dvb_frontend_wakeup(struct dvb_frontend *fe); fe 174 drivers/media/dvb-core/dvb_frontend.c static int dtv_get_frontend(struct dvb_frontend *fe, fe 178 drivers/media/dvb-core/dvb_frontend.c dtv_property_legacy_params_sync(struct dvb_frontend *fe, fe 182 drivers/media/dvb-core/dvb_frontend.c static bool has_get_frontend(struct dvb_frontend *fe) fe 184 drivers/media/dvb-core/dvb_frontend.c return fe->ops.get_frontend; fe 236 drivers/media/dvb-core/dvb_frontend.c static void dvb_frontend_add_event(struct dvb_frontend *fe, fe 239 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 240 drivers/media/dvb-core/dvb_frontend.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 245 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); fe 247 drivers/media/dvb-core/dvb_frontend.c if ((status & FE_HAS_LOCK) && has_get_frontend(fe)) fe 248 drivers/media/dvb-core/dvb_frontend.c dtv_get_frontend(fe, c, &fepriv->parameters_out); fe 281 drivers/media/dvb-core/dvb_frontend.c static int dvb_frontend_get_event(struct dvb_frontend *fe, fe 284 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 287 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); fe 315 drivers/media/dvb-core/dvb_frontend.c static void dvb_frontend_clear_events(struct dvb_frontend *fe) fe 317 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 325 drivers/media/dvb-core/dvb_frontend.c static void dvb_frontend_init(struct dvb_frontend *fe) fe 327 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, fe 329 drivers/media/dvb-core/dvb_frontend.c __func__, fe->dvb->num, fe->id, fe->ops.info.name); fe 331 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.init) fe 332 drivers/media/dvb-core/dvb_frontend.c fe->ops.init(fe); fe 333 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.tuner_ops.init) { fe 334 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.i2c_gate_ctrl) fe 335 drivers/media/dvb-core/dvb_frontend.c fe->ops.i2c_gate_ctrl(fe, 1); fe 336 drivers/media/dvb-core/dvb_frontend.c fe->ops.tuner_ops.init(fe); fe 337 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.i2c_gate_ctrl) fe 338 drivers/media/dvb-core/dvb_frontend.c fe->ops.i2c_gate_ctrl(fe, 0); fe 342 drivers/media/dvb-core/dvb_frontend.c void dvb_frontend_reinitialise(struct dvb_frontend *fe) fe 344 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 347 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_wakeup(fe); fe 354 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend *fe = fepriv->dvbdev->priv; fe 356 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); fe 379 drivers/media/dvb-core/dvb_frontend.c static int dvb_frontend_swzigzag_autotune(struct dvb_frontend *fe, int check_wrapped) fe 384 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 385 drivers/media/dvb-core/dvb_frontend.c struct dtv_frontend_properties *c = &fe->dtv_property_cache, tmp; fe 390 drivers/media/dvb-core/dvb_frontend.c autoinversion = ((!(fe->ops.info.caps & FE_CAN_INVERSION_AUTO)) && fe 451 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, fe 462 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.set_frontend) fe 463 drivers/media/dvb-core/dvb_frontend.c fe_set_err = fe->ops.set_frontend(fe); fe 477 drivers/media/dvb-core/dvb_frontend.c static void dvb_frontend_swzigzag(struct dvb_frontend *fe) fe 481 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 482 drivers/media/dvb-core/dvb_frontend.c struct dtv_frontend_properties *c = &fe->dtv_property_cache, tmp; fe 495 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.set_frontend) fe 496 drivers/media/dvb-core/dvb_frontend.c retval = fe->ops.set_frontend(fe); fe 512 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.read_status) fe 513 drivers/media/dvb-core/dvb_frontend.c fe->ops.read_status(fe, &s); fe 515 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_add_event(fe, s); fe 526 drivers/media/dvb-core/dvb_frontend.c if ((!(fe->ops.info.caps & FE_CAN_INVERSION_AUTO)) && fe 550 drivers/media/dvb-core/dvb_frontend.c (fe->ops.info.caps & FE_CAN_RECOVER) && (fepriv->max_drift == 0)) { fe 579 drivers/media/dvb-core/dvb_frontend.c retval = dvb_frontend_swzigzag_autotune(fe, fe 607 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_swzigzag_autotune(fe, 0); fe 611 drivers/media/dvb-core/dvb_frontend.c static int dvb_frontend_is_exiting(struct dvb_frontend *fe) fe 613 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 615 drivers/media/dvb-core/dvb_frontend.c if (fe->exit != DVB_FE_NO_EXIT) fe 626 drivers/media/dvb-core/dvb_frontend.c static int dvb_frontend_should_wakeup(struct dvb_frontend *fe) fe 628 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 634 drivers/media/dvb-core/dvb_frontend.c return dvb_frontend_is_exiting(fe); fe 637 drivers/media/dvb-core/dvb_frontend.c static void dvb_frontend_wakeup(struct dvb_frontend *fe) fe 639 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 647 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend *fe = data; fe 648 drivers/media/dvb-core/dvb_frontend.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 649 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 655 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); fe 664 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_init(fe); fe 671 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_should_wakeup(fe) || fe 676 drivers/media/dvb-core/dvb_frontend.c if (kthread_should_stop() || dvb_frontend_is_exiting(fe)) { fe 680 drivers/media/dvb-core/dvb_frontend.c fe->exit = DVB_FE_NORMAL_EXIT; fe 691 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_init(fe); fe 692 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.set_tone && fepriv->tone != -1) fe 693 drivers/media/dvb-core/dvb_frontend.c fe->ops.set_tone(fe, fepriv->tone); fe 694 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.set_voltage && fepriv->voltage != -1) fe 695 drivers/media/dvb-core/dvb_frontend.c fe->ops.set_voltage(fe, fepriv->voltage); fe 700 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.get_frontend_algo) { fe 701 drivers/media/dvb-core/dvb_frontend.c algo = fe->ops.get_frontend_algo(fe); fe 704 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Frontend ALGO = DVBFE_ALGO_HW\n", __func__); fe 707 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Retune requested, FESTATE_RETUNE\n", __func__); fe 714 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.tune) fe 715 drivers/media/dvb-core/dvb_frontend.c fe->ops.tune(fe, re_tune, fepriv->tune_mode_flags, &fepriv->delay, &s); fe 718 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: state changed, adding current state\n", __func__); fe 719 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_add_event(fe, s); fe 724 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Frontend ALGO = DVBFE_ALGO_SW\n", __func__); fe 725 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_swzigzag(fe); fe 728 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Frontend ALGO = DVBFE_ALGO_CUSTOM, state=%d\n", __func__, fepriv->state); fe 730 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Retune requested, FESTAT_RETUNE\n", __func__); fe 738 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.search) { fe 739 drivers/media/dvb-core/dvb_frontend.c fepriv->algo_status = fe->ops.search(fe); fe 752 drivers/media/dvb-core/dvb_frontend.c dtv_property_legacy_params_sync(fe, c, &fepriv->parameters_out); fe 753 drivers/media/dvb-core/dvb_frontend.c fe->ops.read_status(fe, &s); fe 755 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_add_event(fe, s); /* update event list */ fe 766 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: UNDEFINED ALGO !\n", __func__); fe 770 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_swzigzag(fe); fe 775 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.set_voltage) fe 776 drivers/media/dvb-core/dvb_frontend.c fe->ops.set_voltage(fe, SEC_VOLTAGE_OFF); fe 777 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.tuner_ops.sleep) { fe 778 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.i2c_gate_ctrl) fe 779 drivers/media/dvb-core/dvb_frontend.c fe->ops.i2c_gate_ctrl(fe, 1); fe 780 drivers/media/dvb-core/dvb_frontend.c fe->ops.tuner_ops.sleep(fe); fe 781 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.i2c_gate_ctrl) fe 782 drivers/media/dvb-core/dvb_frontend.c fe->ops.i2c_gate_ctrl(fe, 0); fe 784 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.sleep) fe 785 drivers/media/dvb-core/dvb_frontend.c fe->ops.sleep(fe); fe 790 drivers/media/dvb-core/dvb_frontend.c fe->exit = DVB_FE_DEVICE_REMOVED; fe 792 drivers/media/dvb-core/dvb_frontend.c fe->exit = DVB_FE_NO_EXIT; fe 797 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_wakeup(fe); fe 801 drivers/media/dvb-core/dvb_frontend.c static void dvb_frontend_stop(struct dvb_frontend *fe) fe 803 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 805 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); fe 807 drivers/media/dvb-core/dvb_frontend.c if (fe->exit != DVB_FE_DEVICE_REMOVED) fe 808 drivers/media/dvb-core/dvb_frontend.c fe->exit = DVB_FE_NORMAL_EXIT; fe 821 drivers/media/dvb-core/dvb_frontend.c dev_warn(fe->dvb->device, fe 848 drivers/media/dvb-core/dvb_frontend.c static int dvb_frontend_start(struct dvb_frontend *fe) fe 851 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 854 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); fe 857 drivers/media/dvb-core/dvb_frontend.c if (fe->exit == DVB_FE_NO_EXIT) fe 860 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_stop(fe); fe 869 drivers/media/dvb-core/dvb_frontend.c fe->exit = DVB_FE_NO_EXIT; fe 873 drivers/media/dvb-core/dvb_frontend.c fe_thread = kthread_run(dvb_frontend_thread, fe, fe 874 drivers/media/dvb-core/dvb_frontend.c "kdvb-ad-%i-fe-%i", fe->dvb->num, fe->id); fe 877 drivers/media/dvb-core/dvb_frontend.c dev_warn(fe->dvb->device, fe 887 drivers/media/dvb-core/dvb_frontend.c static void dvb_frontend_get_frequency_limits(struct dvb_frontend *fe, fe 891 drivers/media/dvb-core/dvb_frontend.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 892 drivers/media/dvb-core/dvb_frontend.c u32 tuner_min = fe->ops.tuner_ops.info.frequency_min_hz; fe 893 drivers/media/dvb-core/dvb_frontend.c u32 tuner_max = fe->ops.tuner_ops.info.frequency_max_hz; fe 894 drivers/media/dvb-core/dvb_frontend.c u32 frontend_min = fe->ops.info.frequency_min_hz; fe 895 drivers/media/dvb-core/dvb_frontend.c u32 frontend_max = fe->ops.info.frequency_max_hz; fe 907 drivers/media/dvb-core/dvb_frontend.c dev_warn(fe->dvb->device, fe 909 drivers/media/dvb-core/dvb_frontend.c fe->dvb->num, fe->id); fe 911 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "frequency interval: tuner: %u...%u, frontend: %u...%u", fe 923 drivers/media/dvb-core/dvb_frontend.c *tolerance = fe->ops.info.frequency_tolerance_hz / kHz; fe 928 drivers/media/dvb-core/dvb_frontend.c *tolerance = fe->ops.info.frequency_tolerance_hz; fe 933 drivers/media/dvb-core/dvb_frontend.c static u32 dvb_frontend_get_stepsize(struct dvb_frontend *fe) fe 935 drivers/media/dvb-core/dvb_frontend.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 936 drivers/media/dvb-core/dvb_frontend.c u32 fe_step = fe->ops.info.frequency_stepsize_hz; fe 937 drivers/media/dvb-core/dvb_frontend.c u32 tuner_step = fe->ops.tuner_ops.info.frequency_step_hz; fe 954 drivers/media/dvb-core/dvb_frontend.c static int dvb_frontend_check_parameters(struct dvb_frontend *fe) fe 956 drivers/media/dvb-core/dvb_frontend.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 961 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_get_frequency_limits(fe, &freq_min, &freq_max, NULL); fe 964 drivers/media/dvb-core/dvb_frontend.c dev_warn(fe->dvb->device, "DVB: adapter %i frontend %i frequency %u out of range (%u..%u)\n", fe 965 drivers/media/dvb-core/dvb_frontend.c fe->dvb->num, fe->id, c->frequency, fe 977 drivers/media/dvb-core/dvb_frontend.c if ((fe->ops.info.symbol_rate_min && fe 978 drivers/media/dvb-core/dvb_frontend.c c->symbol_rate < fe->ops.info.symbol_rate_min) || fe 979 drivers/media/dvb-core/dvb_frontend.c (fe->ops.info.symbol_rate_max && fe 980 drivers/media/dvb-core/dvb_frontend.c c->symbol_rate > fe->ops.info.symbol_rate_max)) { fe 981 drivers/media/dvb-core/dvb_frontend.c dev_warn(fe->dvb->device, "DVB: adapter %i frontend %i symbol rate %u out of range (%u..%u)\n", fe 982 drivers/media/dvb-core/dvb_frontend.c fe->dvb->num, fe->id, c->symbol_rate, fe 983 drivers/media/dvb-core/dvb_frontend.c fe->ops.info.symbol_rate_min, fe 984 drivers/media/dvb-core/dvb_frontend.c fe->ops.info.symbol_rate_max); fe 994 drivers/media/dvb-core/dvb_frontend.c static int dvb_frontend_clear_cache(struct dvb_frontend *fe) fe 996 drivers/media/dvb-core/dvb_frontend.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1004 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Clearing cache for delivery system %d\n", fe 1166 drivers/media/dvb-core/dvb_frontend.c static int dtv_property_cache_sync(struct dvb_frontend *fe, fe 1175 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Preparing QPSK req\n", __func__); fe 1180 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Preparing QAM req\n", __func__); fe 1186 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Preparing OFDM req\n", __func__); fe 1219 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Preparing ATSC req\n", __func__); fe 1229 drivers/media/dvb-core/dvb_frontend.c dev_err(fe->dvb->device, fe 1242 drivers/media/dvb-core/dvb_frontend.c dtv_property_legacy_params_sync(struct dvb_frontend *fe, fe 1251 drivers/media/dvb-core/dvb_frontend.c dev_err(fe->dvb->device, fe 1256 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Preparing QPSK req\n", __func__); fe 1261 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Preparing QAM req\n", __func__); fe 1267 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Preparing OFDM req\n", __func__); fe 1299 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: Preparing VSB req\n", __func__); fe 1316 drivers/media/dvb-core/dvb_frontend.c static int dtv_get_frontend(struct dvb_frontend *fe, fe 1322 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.get_frontend) { fe 1323 drivers/media/dvb-core/dvb_frontend.c r = fe->ops.get_frontend(fe, c); fe 1327 drivers/media/dvb-core/dvb_frontend.c dtv_property_legacy_params_sync(fe, c, p_out); fe 1338 drivers/media/dvb-core/dvb_frontend.c static int dtv_property_process_get(struct dvb_frontend *fe, fe 1348 drivers/media/dvb-core/dvb_frontend.c while (ncaps < MAX_DELSYS && fe->ops.delsys[ncaps]) { fe 1349 drivers/media/dvb-core/dvb_frontend.c tvp->u.buffer.data[ncaps] = fe->ops.delsys[ncaps]; fe 1478 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_fic_ver; fe 1481 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_parade_id; fe 1484 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_nog; fe 1487 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_tnog; fe 1490 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_sgn; fe 1493 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_prc; fe 1496 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_rs_frame_mode; fe 1499 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_rs_frame_ensemble; fe 1502 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_rs_code_mode_pri; fe 1505 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_rs_code_mode_sec; fe 1508 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_sccc_block_mode; fe 1511 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_sccc_code_mode_a; fe 1514 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_sccc_code_mode_b; fe 1517 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_sccc_code_mode_c; fe 1520 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = fe->dtv_property_cache.atscmh_sccc_code_mode_d; fe 1553 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, fe 1560 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, fe 1565 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, fe 1575 drivers/media/dvb-core/dvb_frontend.c static int dtv_set_frontend(struct dvb_frontend *fe); fe 1593 drivers/media/dvb-core/dvb_frontend.c static int emulate_delivery_system(struct dvb_frontend *fe, u32 delsys) fe 1596 drivers/media/dvb-core/dvb_frontend.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1604 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, fe 1624 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: change delivery system on cache to %d\n", fe 1647 drivers/media/dvb-core/dvb_frontend.c static int dvbv5_set_delivery_system(struct dvb_frontend *fe, fe 1652 drivers/media/dvb-core/dvb_frontend.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1662 drivers/media/dvb-core/dvb_frontend.c desired_system = fe->ops.delsys[0]; fe 1670 drivers/media/dvb-core/dvb_frontend.c while (ncaps < MAX_DELSYS && fe->ops.delsys[ncaps]) { fe 1671 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.delsys[ncaps] == desired_system) { fe 1673 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, fe 1689 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, fe 1702 drivers/media/dvb-core/dvb_frontend.c while (ncaps < MAX_DELSYS && fe->ops.delsys[ncaps]) { fe 1703 drivers/media/dvb-core/dvb_frontend.c if (dvbv3_type(fe->ops.delsys[ncaps]) == type) fe 1704 drivers/media/dvb-core/dvb_frontend.c delsys = fe->ops.delsys[ncaps]; fe 1710 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, fe 1716 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, fe 1720 drivers/media/dvb-core/dvb_frontend.c return emulate_delivery_system(fe, desired_system); fe 1751 drivers/media/dvb-core/dvb_frontend.c static int dvbv3_set_delivery_system(struct dvb_frontend *fe) fe 1755 drivers/media/dvb-core/dvb_frontend.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1759 drivers/media/dvb-core/dvb_frontend.c c->delivery_system = fe->ops.delsys[0]; fe 1766 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, fe 1777 drivers/media/dvb-core/dvb_frontend.c while (ncaps < MAX_DELSYS && fe->ops.delsys[ncaps]) { fe 1778 drivers/media/dvb-core/dvb_frontend.c if (dvbv3_type(fe->ops.delsys[ncaps]) != DVBV3_UNKNOWN) { fe 1779 drivers/media/dvb-core/dvb_frontend.c delsys = fe->ops.delsys[ncaps]; fe 1785 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, fe 1790 drivers/media/dvb-core/dvb_frontend.c return emulate_delivery_system(fe, delsys); fe 1807 drivers/media/dvb-core/dvb_frontend.c static int dtv_property_process_set(struct dvb_frontend *fe, fe 1812 drivers/media/dvb-core/dvb_frontend.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1816 drivers/media/dvb-core/dvb_frontend.c dev_warn(fe->dvb->device, "%s: SET cmd 0x%08x undefined\n", fe 1819 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, fe 1828 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_clear_cache(fe); fe 1835 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, fe 1839 drivers/media/dvb-core/dvb_frontend.c r = dtv_set_frontend(fe); fe 1866 drivers/media/dvb-core/dvb_frontend.c r = dvbv5_set_delivery_system(fe, data); fe 1966 drivers/media/dvb-core/dvb_frontend.c fe->dtv_property_cache.atscmh_parade_id = data; fe 1969 drivers/media/dvb-core/dvb_frontend.c fe->dtv_property_cache.atscmh_rs_frame_ensemble = data; fe 1974 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.set_lna) fe 1975 drivers/media/dvb-core/dvb_frontend.c r = fe->ops.set_lna(fe); fe 1991 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend *fe = dvbdev->priv; fe 1992 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 1995 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: (%d)\n", __func__, _IOC_NR(cmd)); fe 1999 drivers/media/dvb-core/dvb_frontend.c if (fe->exit != DVB_FE_NO_EXIT) { fe 2071 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend *fe = dvbdev->priv; fe 2072 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 2096 drivers/media/dvb-core/dvb_frontend.c err = dtv_property_process_set(fe, file, fe 2108 drivers/media/dvb-core/dvb_frontend.c struct dtv_frontend_properties getp = fe->dtv_property_cache; fe 2133 drivers/media/dvb-core/dvb_frontend.c err = dtv_get_frontend(fe, &getp, NULL); fe 2141 drivers/media/dvb-core/dvb_frontend.c fe, &getp, (struct dtv_property *)(tvp + i), file); fe 2163 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend *fe = dvbdev->priv; fe 2164 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 2181 drivers/media/dvb-core/dvb_frontend.c static int dtv_set_frontend(struct dvb_frontend *fe) fe 2183 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 2184 drivers/media/dvb-core/dvb_frontend.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 2188 drivers/media/dvb-core/dvb_frontend.c if (dvb_frontend_check_parameters(fe) < 0) fe 2196 drivers/media/dvb-core/dvb_frontend.c dtv_property_legacy_params_sync(fe, c, &fepriv->parameters_out); fe 2265 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.get_tune_settings && (fe->ops.get_tune_settings(fe, &fetunesettings) == 0)) { fe 2287 drivers/media/dvb-core/dvb_frontend.c fepriv->step_size = dvb_frontend_get_stepsize(fe) * 2; fe 2288 drivers/media/dvb-core/dvb_frontend.c fepriv->max_drift = (dvb_frontend_get_stepsize(fe) * 2) + 1; fe 2309 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_clear_events(fe); fe 2310 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_add_event(fe, 0); fe 2311 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_wakeup(fe); fe 2317 drivers/media/dvb-core/dvb_frontend.c static int dvb_get_property(struct dvb_frontend *fe, struct file *file, fe 2320 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 2325 drivers/media/dvb-core/dvb_frontend.c memcpy(&getp, &fe->dtv_property_cache, sizeof(getp)); fe 2327 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: properties.num = %d\n", fe 2329 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: properties.props = %p\n", fe 2350 drivers/media/dvb-core/dvb_frontend.c err = dtv_get_frontend(fe, &getp, NULL); fe 2355 drivers/media/dvb-core/dvb_frontend.c err = dtv_property_process_get(fe, &getp, fe 2373 drivers/media/dvb-core/dvb_frontend.c static int dvb_get_frontend(struct dvb_frontend *fe, fe 2384 drivers/media/dvb-core/dvb_frontend.c memcpy(&getp, &fe->dtv_property_cache, sizeof(getp)); fe 2386 drivers/media/dvb-core/dvb_frontend.c return dtv_get_frontend(fe, &getp, p_out); fe 2393 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend *fe = dvbdev->priv; fe 2394 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 2395 drivers/media/dvb-core/dvb_frontend.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 2398 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); fe 2405 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: properties.num = %d\n", fe 2407 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: properties.props = %p\n", fe 2422 drivers/media/dvb-core/dvb_frontend.c err = dtv_property_process_set(fe, file, fe 2435 drivers/media/dvb-core/dvb_frontend.c err = dvb_get_property(fe, file, parg); fe 2442 drivers/media/dvb-core/dvb_frontend.c strscpy(info->name, fe->ops.info.name, sizeof(info->name)); fe 2443 drivers/media/dvb-core/dvb_frontend.c info->symbol_rate_min = fe->ops.info.symbol_rate_min; fe 2444 drivers/media/dvb-core/dvb_frontend.c info->symbol_rate_max = fe->ops.info.symbol_rate_max; fe 2445 drivers/media/dvb-core/dvb_frontend.c info->symbol_rate_tolerance = fe->ops.info.symbol_rate_tolerance; fe 2446 drivers/media/dvb-core/dvb_frontend.c info->caps = fe->ops.info.caps; fe 2447 drivers/media/dvb-core/dvb_frontend.c info->frequency_stepsize = dvb_frontend_get_stepsize(fe); fe 2448 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_get_frequency_limits(fe, &info->frequency_min, fe 2477 drivers/media/dvb-core/dvb_frontend.c dev_err(fe->dvb->device, fe 2482 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: current delivery system on cache: %d, V3 type: %d\n", fe 2504 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.read_status) fe 2505 drivers/media/dvb-core/dvb_frontend.c err = fe->ops.read_status(fe, status); fe 2510 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.diseqc_reset_overload) { fe 2511 drivers/media/dvb-core/dvb_frontend.c err = fe->ops.diseqc_reset_overload(fe); fe 2518 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.diseqc_send_master_cmd) { fe 2525 drivers/media/dvb-core/dvb_frontend.c err = fe->ops.diseqc_send_master_cmd(fe, cmd); fe 2532 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.diseqc_send_burst) { fe 2533 drivers/media/dvb-core/dvb_frontend.c err = fe->ops.diseqc_send_burst(fe, fe 2541 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.set_tone) { fe 2542 drivers/media/dvb-core/dvb_frontend.c err = fe->ops.set_tone(fe, fe 2551 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.set_voltage) { fe 2552 drivers/media/dvb-core/dvb_frontend.c err = fe->ops.set_voltage(fe, fe 2561 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.diseqc_recv_slave_reply) fe 2562 drivers/media/dvb-core/dvb_frontend.c err = fe->ops.diseqc_recv_slave_reply(fe, parg); fe 2566 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.enable_high_lnb_voltage) fe 2567 drivers/media/dvb-core/dvb_frontend.c err = fe->ops.enable_high_lnb_voltage(fe, (long)parg); fe 2577 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.dishnetwork_send_legacy_command) { fe 2578 drivers/media/dvb-core/dvb_frontend.c err = fe->ops.dishnetwork_send_legacy_command(fe, fe 2582 drivers/media/dvb-core/dvb_frontend.c } else if (fe->ops.set_voltage) { fe 2614 drivers/media/dvb-core/dvb_frontend.c fe->ops.set_voltage(fe, SEC_VOLTAGE_18); fe 2622 drivers/media/dvb-core/dvb_frontend.c fe->ops.set_voltage(fe, (last) ? SEC_VOLTAGE_13 : SEC_VOLTAGE_18); fe 2631 drivers/media/dvb-core/dvb_frontend.c fe->dvb->num); fe 2645 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.read_ber) { fe 2647 drivers/media/dvb-core/dvb_frontend.c err = fe->ops.read_ber(fe, parg); fe 2654 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.read_signal_strength) { fe 2656 drivers/media/dvb-core/dvb_frontend.c err = fe->ops.read_signal_strength(fe, parg); fe 2663 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.read_snr) { fe 2665 drivers/media/dvb-core/dvb_frontend.c err = fe->ops.read_snr(fe, parg); fe 2672 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.read_ucblocks) { fe 2674 drivers/media/dvb-core/dvb_frontend.c err = fe->ops.read_ucblocks(fe, parg); fe 2683 drivers/media/dvb-core/dvb_frontend.c err = dvbv3_set_delivery_system(fe); fe 2687 drivers/media/dvb-core/dvb_frontend.c err = dtv_property_cache_sync(fe, c, parg); fe 2690 drivers/media/dvb-core/dvb_frontend.c err = dtv_set_frontend(fe); fe 2694 drivers/media/dvb-core/dvb_frontend.c err = dvb_frontend_get_event(fe, parg, file->f_flags); fe 2698 drivers/media/dvb-core/dvb_frontend.c err = dvb_get_frontend(fe, parg); fe 2711 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend *fe = dvbdev->priv; fe 2712 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 2714 drivers/media/dvb-core/dvb_frontend.c dev_dbg_ratelimited(fe->dvb->device, "%s:\n", __func__); fe 2727 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend *fe = dvbdev->priv; fe 2728 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 2729 drivers/media/dvb-core/dvb_frontend.c struct dvb_adapter *adapter = fe->dvb; fe 2732 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); fe 2733 drivers/media/dvb-core/dvb_frontend.c if (fe->exit == DVB_FE_DEVICE_REMOVED) fe 2775 drivers/media/dvb-core/dvb_frontend.c if (dvbdev->users == -1 && fe->ops.ts_bus_ctrl) { fe 2776 drivers/media/dvb-core/dvb_frontend.c if ((ret = fe->ops.ts_bus_ctrl(fe, 1)) < 0) fe 2798 drivers/media/dvb-core/dvb_frontend.c mutex_lock(&fe->dvb->mdev_lock); fe 2799 drivers/media/dvb-core/dvb_frontend.c if (fe->dvb->mdev) { fe 2800 drivers/media/dvb-core/dvb_frontend.c mutex_lock(&fe->dvb->mdev->graph_mutex); fe 2801 drivers/media/dvb-core/dvb_frontend.c if (fe->dvb->mdev->enable_source) fe 2802 drivers/media/dvb-core/dvb_frontend.c ret = fe->dvb->mdev->enable_source( fe 2805 drivers/media/dvb-core/dvb_frontend.c mutex_unlock(&fe->dvb->mdev->graph_mutex); fe 2807 drivers/media/dvb-core/dvb_frontend.c mutex_unlock(&fe->dvb->mdev_lock); fe 2808 drivers/media/dvb-core/dvb_frontend.c dev_err(fe->dvb->device, fe 2813 drivers/media/dvb-core/dvb_frontend.c mutex_unlock(&fe->dvb->mdev_lock); fe 2815 drivers/media/dvb-core/dvb_frontend.c ret = dvb_frontend_start(fe); fe 2823 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_get(fe); fe 2831 drivers/media/dvb-core/dvb_frontend.c mutex_lock(&fe->dvb->mdev_lock); fe 2832 drivers/media/dvb-core/dvb_frontend.c if (fe->dvb->mdev) { fe 2833 drivers/media/dvb-core/dvb_frontend.c mutex_lock(&fe->dvb->mdev->graph_mutex); fe 2834 drivers/media/dvb-core/dvb_frontend.c if (fe->dvb->mdev->disable_source) fe 2835 drivers/media/dvb-core/dvb_frontend.c fe->dvb->mdev->disable_source(dvbdev->entity); fe 2836 drivers/media/dvb-core/dvb_frontend.c mutex_unlock(&fe->dvb->mdev->graph_mutex); fe 2838 drivers/media/dvb-core/dvb_frontend.c mutex_unlock(&fe->dvb->mdev_lock); fe 2843 drivers/media/dvb-core/dvb_frontend.c if (dvbdev->users == -1 && fe->ops.ts_bus_ctrl) fe 2844 drivers/media/dvb-core/dvb_frontend.c fe->ops.ts_bus_ctrl(fe, 0); fe 2854 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend *fe = dvbdev->priv; fe 2855 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 2858 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); fe 2870 drivers/media/dvb-core/dvb_frontend.c mutex_lock(&fe->dvb->mdev_lock); fe 2871 drivers/media/dvb-core/dvb_frontend.c if (fe->dvb->mdev) { fe 2872 drivers/media/dvb-core/dvb_frontend.c mutex_lock(&fe->dvb->mdev->graph_mutex); fe 2873 drivers/media/dvb-core/dvb_frontend.c if (fe->dvb->mdev->disable_source) fe 2874 drivers/media/dvb-core/dvb_frontend.c fe->dvb->mdev->disable_source(dvbdev->entity); fe 2875 drivers/media/dvb-core/dvb_frontend.c mutex_unlock(&fe->dvb->mdev->graph_mutex); fe 2877 drivers/media/dvb-core/dvb_frontend.c mutex_unlock(&fe->dvb->mdev_lock); fe 2879 drivers/media/dvb-core/dvb_frontend.c if (fe->exit != DVB_FE_NO_EXIT) fe 2881 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.ts_bus_ctrl) fe 2882 drivers/media/dvb-core/dvb_frontend.c fe->ops.ts_bus_ctrl(fe, 0); fe 2885 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_put(fe); fe 2902 drivers/media/dvb-core/dvb_frontend.c int dvb_frontend_suspend(struct dvb_frontend *fe) fe 2906 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: adap=%d fe=%d\n", __func__, fe->dvb->num, fe 2907 drivers/media/dvb-core/dvb_frontend.c fe->id); fe 2909 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.tuner_ops.suspend) fe 2910 drivers/media/dvb-core/dvb_frontend.c ret = fe->ops.tuner_ops.suspend(fe); fe 2911 drivers/media/dvb-core/dvb_frontend.c else if (fe->ops.tuner_ops.sleep) fe 2912 drivers/media/dvb-core/dvb_frontend.c ret = fe->ops.tuner_ops.sleep(fe); fe 2914 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.sleep) fe 2915 drivers/media/dvb-core/dvb_frontend.c ret = fe->ops.sleep(fe); fe 2921 drivers/media/dvb-core/dvb_frontend.c int dvb_frontend_resume(struct dvb_frontend *fe) fe 2923 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 2926 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s: adap=%d fe=%d\n", __func__, fe->dvb->num, fe 2927 drivers/media/dvb-core/dvb_frontend.c fe->id); fe 2929 drivers/media/dvb-core/dvb_frontend.c fe->exit = DVB_FE_DEVICE_RESUME; fe 2930 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.init) fe 2931 drivers/media/dvb-core/dvb_frontend.c ret = fe->ops.init(fe); fe 2933 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.tuner_ops.resume) fe 2934 drivers/media/dvb-core/dvb_frontend.c ret = fe->ops.tuner_ops.resume(fe); fe 2935 drivers/media/dvb-core/dvb_frontend.c else if (fe->ops.tuner_ops.init) fe 2936 drivers/media/dvb-core/dvb_frontend.c ret = fe->ops.tuner_ops.init(fe); fe 2938 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.set_tone && fepriv->tone != -1) fe 2939 drivers/media/dvb-core/dvb_frontend.c fe->ops.set_tone(fe, fepriv->tone); fe 2940 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.set_voltage && fepriv->voltage != -1) fe 2941 drivers/media/dvb-core/dvb_frontend.c fe->ops.set_voltage(fe, fepriv->voltage); fe 2943 drivers/media/dvb-core/dvb_frontend.c fe->exit = DVB_FE_NO_EXIT; fe 2945 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_wakeup(fe); fe 2952 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend *fe) fe 2961 drivers/media/dvb-core/dvb_frontend.c .name = fe->ops.info.name, fe 2970 drivers/media/dvb-core/dvb_frontend.c fe->frontend_priv = kzalloc(sizeof(struct dvb_frontend_private), GFP_KERNEL); fe 2971 drivers/media/dvb-core/dvb_frontend.c if (!fe->frontend_priv) { fe 2975 drivers/media/dvb-core/dvb_frontend.c fepriv = fe->frontend_priv; fe 2977 drivers/media/dvb-core/dvb_frontend.c kref_init(&fe->refcount); fe 2984 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_get(fe); fe 2990 drivers/media/dvb-core/dvb_frontend.c fe->dvb = dvb; fe 2993 drivers/media/dvb-core/dvb_frontend.c dev_info(fe->dvb->device, fe 2995 drivers/media/dvb-core/dvb_frontend.c fe->dvb->num, fe->id, fe->ops.info.name); fe 2997 drivers/media/dvb-core/dvb_frontend.c dvb_register_device(fe->dvb, &fepriv->dvbdev, &dvbdev_template, fe 2998 drivers/media/dvb-core/dvb_frontend.c fe, DVB_DEVICE_FRONTEND, 0); fe 3005 drivers/media/dvb-core/dvb_frontend.c fe->dtv_property_cache.delivery_system = fe->ops.delsys[0]; fe 3006 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_clear_cache(fe); fe 3013 drivers/media/dvb-core/dvb_frontend.c int dvb_unregister_frontend(struct dvb_frontend *fe) fe 3015 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_private *fepriv = fe->frontend_priv; fe 3017 drivers/media/dvb-core/dvb_frontend.c dev_dbg(fe->dvb->device, "%s:\n", __func__); fe 3020 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_stop(fe); fe 3025 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_put(fe); fe 3030 drivers/media/dvb-core/dvb_frontend.c static void dvb_frontend_invoke_release(struct dvb_frontend *fe, fe 3031 drivers/media/dvb-core/dvb_frontend.c void (*release)(struct dvb_frontend *fe)) fe 3034 drivers/media/dvb-core/dvb_frontend.c release(fe); fe 3041 drivers/media/dvb-core/dvb_frontend.c void dvb_frontend_detach(struct dvb_frontend *fe) fe 3043 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_invoke_release(fe, fe->ops.release_sec); fe 3044 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_invoke_release(fe, fe->ops.tuner_ops.release); fe 3045 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_invoke_release(fe, fe->ops.analog_ops.release); fe 3046 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_put(fe); fe 15 drivers/media/dvb-frontends/a8293.c static int a8293_set_voltage(struct dvb_frontend *fe, fe 18 drivers/media/dvb-frontends/a8293.c struct a8293_dev *dev = fe->sec_priv; fe 70 drivers/media/dvb-frontends/a8293.c struct dvb_frontend *fe = pdata->dvb_frontend; fe 88 drivers/media/dvb-frontends/a8293.c fe->ops.set_voltage = a8293_set_voltage; fe 89 drivers/media/dvb-frontends/a8293.c fe->sec_priv = dev; fe 17 drivers/media/dvb-frontends/af9013.c struct dvb_frontend fe; fe 95 drivers/media/dvb-frontends/af9013.c static int af9013_get_tune_settings(struct dvb_frontend *fe, fe 105 drivers/media/dvb-frontends/af9013.c static int af9013_set_frontend(struct dvb_frontend *fe) fe 107 drivers/media/dvb-frontends/af9013.c struct af9013_state *state = fe->demodulator_priv; fe 109 drivers/media/dvb-frontends/af9013.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 119 drivers/media/dvb-frontends/af9013.c if (fe->ops.tuner_ops.set_params) { fe 120 drivers/media/dvb-frontends/af9013.c ret = fe->ops.tuner_ops.set_params(fe); fe 149 drivers/media/dvb-frontends/af9013.c if (fe->ops.tuner_ops.get_if_frequency) { fe 150 drivers/media/dvb-frontends/af9013.c ret = fe->ops.tuner_ops.get_if_frequency(fe, fe 397 drivers/media/dvb-frontends/af9013.c static int af9013_get_frontend(struct dvb_frontend *fe, fe 400 drivers/media/dvb-frontends/af9013.c struct af9013_state *state = fe->demodulator_priv; fe 515 drivers/media/dvb-frontends/af9013.c static int af9013_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 517 drivers/media/dvb-frontends/af9013.c struct af9013_state *state = fe->demodulator_priv; fe 519 drivers/media/dvb-frontends/af9013.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 793 drivers/media/dvb-frontends/af9013.c static int af9013_read_snr(struct dvb_frontend *fe, u16 *snr) fe 795 drivers/media/dvb-frontends/af9013.c struct af9013_state *state = fe->demodulator_priv; fe 802 drivers/media/dvb-frontends/af9013.c static int af9013_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 804 drivers/media/dvb-frontends/af9013.c struct af9013_state *state = fe->demodulator_priv; fe 811 drivers/media/dvb-frontends/af9013.c static int af9013_read_ber(struct dvb_frontend *fe, u32 *ber) fe 813 drivers/media/dvb-frontends/af9013.c struct af9013_state *state = fe->demodulator_priv; fe 820 drivers/media/dvb-frontends/af9013.c static int af9013_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 822 drivers/media/dvb-frontends/af9013.c struct af9013_state *state = fe->demodulator_priv; fe 829 drivers/media/dvb-frontends/af9013.c static int af9013_init(struct dvb_frontend *fe) fe 831 drivers/media/dvb-frontends/af9013.c struct af9013_state *state = fe->demodulator_priv; fe 977 drivers/media/dvb-frontends/af9013.c static int af9013_sleep(struct dvb_frontend *fe) fe 979 drivers/media/dvb-frontends/af9013.c struct af9013_state *state = fe->demodulator_priv; fe 1163 drivers/media/dvb-frontends/af9013.c static int af9013_pid_filter_ctrl(struct dvb_frontend *fe, int onoff) fe 1165 drivers/media/dvb-frontends/af9013.c struct af9013_state *state = fe->demodulator_priv; fe 1181 drivers/media/dvb-frontends/af9013.c static int af9013_pid_filter(struct dvb_frontend *fe, u8 index, u16 pid, fe 1184 drivers/media/dvb-frontends/af9013.c struct af9013_state *state = fe->demodulator_priv; fe 1219 drivers/media/dvb-frontends/af9013.c return &state->fe; fe 1509 drivers/media/dvb-frontends/af9013.c memcpy(&state->fe.ops, &af9013_ops, sizeof(state->fe.ops)); fe 1510 drivers/media/dvb-frontends/af9013.c state->fe.demodulator_priv = state; fe 1519 drivers/media/dvb-frontends/af9013.c c = &state->fe.dtv_property_cache; fe 14 drivers/media/dvb-frontends/af9033.c struct dvb_frontend fe; fe 68 drivers/media/dvb-frontends/af9033.c static int af9033_init(struct dvb_frontend *fe) fe 70 drivers/media/dvb-frontends/af9033.c struct af9033_dev *dev = fe->demodulator_priv; fe 72 drivers/media/dvb-frontends/af9033.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 303 drivers/media/dvb-frontends/af9033.c static int af9033_sleep(struct dvb_frontend *fe) fe 305 drivers/media/dvb-frontends/af9033.c struct af9033_dev *dev = fe->demodulator_priv; fe 343 drivers/media/dvb-frontends/af9033.c static int af9033_get_tune_settings(struct dvb_frontend *fe, fe 354 drivers/media/dvb-frontends/af9033.c static int af9033_set_frontend(struct dvb_frontend *fe) fe 356 drivers/media/dvb-frontends/af9033.c struct af9033_dev *dev = fe->demodulator_priv; fe 358 drivers/media/dvb-frontends/af9033.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 385 drivers/media/dvb-frontends/af9033.c if (fe->ops.tuner_ops.set_params) fe 386 drivers/media/dvb-frontends/af9033.c fe->ops.tuner_ops.set_params(fe); fe 429 drivers/media/dvb-frontends/af9033.c if (fe->ops.tuner_ops.get_if_frequency) fe 430 drivers/media/dvb-frontends/af9033.c fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); fe 485 drivers/media/dvb-frontends/af9033.c static int af9033_get_frontend(struct dvb_frontend *fe, fe 488 drivers/media/dvb-frontends/af9033.c struct af9033_dev *dev = fe->demodulator_priv; fe 611 drivers/media/dvb-frontends/af9033.c static int af9033_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 613 drivers/media/dvb-frontends/af9033.c struct af9033_dev *dev = fe->demodulator_priv; fe 615 drivers/media/dvb-frontends/af9033.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 818 drivers/media/dvb-frontends/af9033.c static int af9033_read_snr(struct dvb_frontend *fe, u16 *snr) fe 820 drivers/media/dvb-frontends/af9033.c struct af9033_dev *dev = fe->demodulator_priv; fe 822 drivers/media/dvb-frontends/af9033.c struct dtv_frontend_properties *c = &dev->fe.dtv_property_cache; fe 868 drivers/media/dvb-frontends/af9033.c static int af9033_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 870 drivers/media/dvb-frontends/af9033.c struct af9033_dev *dev = fe->demodulator_priv; fe 872 drivers/media/dvb-frontends/af9033.c struct dtv_frontend_properties *c = &dev->fe.dtv_property_cache; fe 925 drivers/media/dvb-frontends/af9033.c static int af9033_read_ber(struct dvb_frontend *fe, u32 *ber) fe 927 drivers/media/dvb-frontends/af9033.c struct af9033_dev *dev = fe->demodulator_priv; fe 935 drivers/media/dvb-frontends/af9033.c static int af9033_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 937 drivers/media/dvb-frontends/af9033.c struct af9033_dev *dev = fe->demodulator_priv; fe 944 drivers/media/dvb-frontends/af9033.c static int af9033_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 946 drivers/media/dvb-frontends/af9033.c struct af9033_dev *dev = fe->demodulator_priv; fe 962 drivers/media/dvb-frontends/af9033.c static int af9033_pid_filter_ctrl(struct dvb_frontend *fe, int onoff) fe 964 drivers/media/dvb-frontends/af9033.c struct af9033_dev *dev = fe->demodulator_priv; fe 980 drivers/media/dvb-frontends/af9033.c static int af9033_pid_filter(struct dvb_frontend *fe, int index, u16 pid, fe 983 drivers/media/dvb-frontends/af9033.c struct af9033_dev *dev = fe->demodulator_priv; fe 1142 drivers/media/dvb-frontends/af9033.c memcpy(&dev->fe.ops, &af9033_ops, sizeof(dev->fe.ops)); fe 1143 drivers/media/dvb-frontends/af9033.c dev->fe.demodulator_priv = dev; fe 1144 drivers/media/dvb-frontends/af9033.c *cfg->fe = &dev->fe; fe 76 drivers/media/dvb-frontends/af9033.h struct dvb_frontend **fe; fe 86 drivers/media/dvb-frontends/af9033.h int (*pid_filter_ctrl)(struct dvb_frontend *fe, int onoff); fe 87 drivers/media/dvb-frontends/af9033.h int (*pid_filter)(struct dvb_frontend *fe, int index, u16 pid, fe 54 drivers/media/dvb-frontends/as102_fe.c static int as102_fe_set_frontend(struct dvb_frontend *fe) fe 56 drivers/media/dvb-frontends/as102_fe.c struct as102_state *state = fe->demodulator_priv; fe 57 drivers/media/dvb-frontends/as102_fe.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 184 drivers/media/dvb-frontends/as102_fe.c static int as102_fe_get_frontend(struct dvb_frontend *fe, fe 187 drivers/media/dvb-frontends/as102_fe.c struct as102_state *state = fe->demodulator_priv; fe 292 drivers/media/dvb-frontends/as102_fe.c static int as102_fe_get_tune_settings(struct dvb_frontend *fe, fe 300 drivers/media/dvb-frontends/as102_fe.c static int as102_fe_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 303 drivers/media/dvb-frontends/as102_fe.c struct as102_state *state = fe->demodulator_priv; fe 353 drivers/media/dvb-frontends/as102_fe.c static int as102_fe_read_snr(struct dvb_frontend *fe, u16 *snr) fe 355 drivers/media/dvb-frontends/as102_fe.c struct as102_state *state = fe->demodulator_priv; fe 362 drivers/media/dvb-frontends/as102_fe.c static int as102_fe_read_ber(struct dvb_frontend *fe, u32 *ber) fe 364 drivers/media/dvb-frontends/as102_fe.c struct as102_state *state = fe->demodulator_priv; fe 371 drivers/media/dvb-frontends/as102_fe.c static int as102_fe_read_signal_strength(struct dvb_frontend *fe, fe 374 drivers/media/dvb-frontends/as102_fe.c struct as102_state *state = fe->demodulator_priv; fe 381 drivers/media/dvb-frontends/as102_fe.c static int as102_fe_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 383 drivers/media/dvb-frontends/as102_fe.c struct as102_state *state = fe->demodulator_priv; fe 393 drivers/media/dvb-frontends/as102_fe.c static int as102_fe_ts_bus_ctrl(struct dvb_frontend *fe, int acquire) fe 395 drivers/media/dvb-frontends/as102_fe.c struct as102_state *state = fe->demodulator_priv; fe 401 drivers/media/dvb-frontends/as102_fe.c static void as102_fe_release(struct dvb_frontend *fe) fe 403 drivers/media/dvb-frontends/as102_fe.c struct as102_state *state = fe->demodulator_priv; fe 447 drivers/media/dvb-frontends/as102_fe.c struct dvb_frontend *fe; fe 453 drivers/media/dvb-frontends/as102_fe.c fe = &state->frontend; fe 454 drivers/media/dvb-frontends/as102_fe.c fe->demodulator_priv = state; fe 460 drivers/media/dvb-frontends/as102_fe.c memcpy(&fe->ops, &as102_fe_ops, sizeof(struct dvb_frontend_ops)); fe 461 drivers/media/dvb-frontends/as102_fe.c strscpy(fe->ops.info.name, name, sizeof(fe->ops.info.name)); fe 463 drivers/media/dvb-frontends/as102_fe.c return fe; fe 242 drivers/media/dvb-frontends/ascot2e.c static int ascot2e_init(struct dvb_frontend *fe) fe 244 drivers/media/dvb-frontends/ascot2e.c struct ascot2e_priv *priv = fe->tuner_priv; fe 250 drivers/media/dvb-frontends/ascot2e.c static void ascot2e_release(struct dvb_frontend *fe) fe 252 drivers/media/dvb-frontends/ascot2e.c struct ascot2e_priv *priv = fe->tuner_priv; fe 255 drivers/media/dvb-frontends/ascot2e.c kfree(fe->tuner_priv); fe 256 drivers/media/dvb-frontends/ascot2e.c fe->tuner_priv = NULL; fe 259 drivers/media/dvb-frontends/ascot2e.c static int ascot2e_sleep(struct dvb_frontend *fe) fe 261 drivers/media/dvb-frontends/ascot2e.c struct ascot2e_priv *priv = fe->tuner_priv; fe 268 drivers/media/dvb-frontends/ascot2e.c static enum ascot2e_tv_system_t ascot2e_get_tv_system(struct dvb_frontend *fe) fe 271 drivers/media/dvb-frontends/ascot2e.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 272 drivers/media/dvb-frontends/ascot2e.c struct ascot2e_priv *priv = fe->tuner_priv; fe 312 drivers/media/dvb-frontends/ascot2e.c static int ascot2e_set_params(struct dvb_frontend *fe) fe 317 drivers/media/dvb-frontends/ascot2e.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 318 drivers/media/dvb-frontends/ascot2e.c struct ascot2e_priv *priv = fe->tuner_priv; fe 322 drivers/media/dvb-frontends/ascot2e.c tv_system = ascot2e_get_tv_system(fe); fe 451 drivers/media/dvb-frontends/ascot2e.c static int ascot2e_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 453 drivers/media/dvb-frontends/ascot2e.c struct ascot2e_priv *priv = fe->tuner_priv; fe 473 drivers/media/dvb-frontends/ascot2e.c struct dvb_frontend *ascot2e_attach(struct dvb_frontend *fe, fe 488 drivers/media/dvb-frontends/ascot2e.c if (fe->ops.i2c_gate_ctrl) fe 489 drivers/media/dvb-frontends/ascot2e.c fe->ops.i2c_gate_ctrl(fe, 1); fe 525 drivers/media/dvb-frontends/ascot2e.c if (fe->ops.i2c_gate_ctrl) fe 526 drivers/media/dvb-frontends/ascot2e.c fe->ops.i2c_gate_ctrl(fe, 0); fe 528 drivers/media/dvb-frontends/ascot2e.c memcpy(&fe->ops.tuner_ops, &ascot2e_tuner_ops, fe 530 drivers/media/dvb-frontends/ascot2e.c fe->tuner_priv = priv; fe 534 drivers/media/dvb-frontends/ascot2e.c return fe; fe 44 drivers/media/dvb-frontends/ascot2e.h extern struct dvb_frontend *ascot2e_attach(struct dvb_frontend *fe, fe 48 drivers/media/dvb-frontends/ascot2e.h static inline struct dvb_frontend *ascot2e_attach(struct dvb_frontend *fe, fe 217 drivers/media/dvb-frontends/atbm8830.c static int atbm8830_init(struct dvb_frontend *fe) fe 219 drivers/media/dvb-frontends/atbm8830.c struct atbm_state *priv = fe->demodulator_priv; fe 249 drivers/media/dvb-frontends/atbm8830.c static void atbm8830_release(struct dvb_frontend *fe) fe 251 drivers/media/dvb-frontends/atbm8830.c struct atbm_state *state = fe->demodulator_priv; fe 257 drivers/media/dvb-frontends/atbm8830.c static int atbm8830_set_fe(struct dvb_frontend *fe) fe 259 drivers/media/dvb-frontends/atbm8830.c struct atbm_state *priv = fe->demodulator_priv; fe 265 drivers/media/dvb-frontends/atbm8830.c if (fe->ops.tuner_ops.set_params) { fe 266 drivers/media/dvb-frontends/atbm8830.c if (fe->ops.i2c_gate_ctrl) fe 267 drivers/media/dvb-frontends/atbm8830.c fe->ops.i2c_gate_ctrl(fe, 1); fe 268 drivers/media/dvb-frontends/atbm8830.c fe->ops.tuner_ops.set_params(fe); fe 269 drivers/media/dvb-frontends/atbm8830.c if (fe->ops.i2c_gate_ctrl) fe 270 drivers/media/dvb-frontends/atbm8830.c fe->ops.i2c_gate_ctrl(fe, 0); fe 287 drivers/media/dvb-frontends/atbm8830.c static int atbm8830_get_fe(struct dvb_frontend *fe, fe 316 drivers/media/dvb-frontends/atbm8830.c static int atbm8830_get_tune_settings(struct dvb_frontend *fe, fe 325 drivers/media/dvb-frontends/atbm8830.c static int atbm8830_read_status(struct dvb_frontend *fe, fe 328 drivers/media/dvb-frontends/atbm8830.c struct atbm_state *priv = fe->demodulator_priv; fe 348 drivers/media/dvb-frontends/atbm8830.c static int atbm8830_read_ber(struct dvb_frontend *fe, u32 *ber) fe 350 drivers/media/dvb-frontends/atbm8830.c struct atbm_state *priv = fe->demodulator_priv; fe 372 drivers/media/dvb-frontends/atbm8830.c static int atbm8830_read_signal_strength(struct dvb_frontend *fe, u16 *signal) fe 374 drivers/media/dvb-frontends/atbm8830.c struct atbm_state *priv = fe->demodulator_priv; fe 397 drivers/media/dvb-frontends/atbm8830.c static int atbm8830_read_snr(struct dvb_frontend *fe, u16 *snr) fe 404 drivers/media/dvb-frontends/atbm8830.c static int atbm8830_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 411 drivers/media/dvb-frontends/atbm8830.c static int atbm8830_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 413 drivers/media/dvb-frontends/atbm8830.c struct atbm_state *priv = fe->demodulator_priv; fe 69 drivers/media/dvb-frontends/au8522_common.c int au8522_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 71 drivers/media/dvb-frontends/au8522_common.c struct au8522_state *state = fe->demodulator_priv; fe 90 drivers/media/dvb-frontends/au8522_common.c int au8522_analog_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 92 drivers/media/dvb-frontends/au8522_common.c struct au8522_state *state = fe->demodulator_priv; fe 214 drivers/media/dvb-frontends/au8522_common.c int au8522_init(struct dvb_frontend *fe) fe 216 drivers/media/dvb-frontends/au8522_common.c struct au8522_state *state = fe->demodulator_priv; fe 229 drivers/media/dvb-frontends/au8522_common.c au8522_i2c_gate_ctrl(fe, 1); fe 235 drivers/media/dvb-frontends/au8522_common.c int au8522_sleep(struct dvb_frontend *fe) fe 237 drivers/media/dvb-frontends/au8522_common.c struct au8522_state *state = fe->demodulator_priv; fe 232 drivers/media/dvb-frontends/au8522_dig.c static int au8522_set_if(struct dvb_frontend *fe, enum au8522_if_freq if_freq) fe 234 drivers/media/dvb-frontends/au8522_dig.c struct au8522_state *state = fe->demodulator_priv; fe 541 drivers/media/dvb-frontends/au8522_dig.c static int au8522_enable_modulation(struct dvb_frontend *fe, fe 544 drivers/media/dvb-frontends/au8522_dig.c struct au8522_state *state = fe->demodulator_priv; fe 556 drivers/media/dvb-frontends/au8522_dig.c au8522_set_if(fe, state->config.vsb_if); fe 564 drivers/media/dvb-frontends/au8522_dig.c au8522_set_if(fe, state->config.qam_if); fe 573 drivers/media/dvb-frontends/au8522_dig.c au8522_set_if(fe, state->config.qam_if); fe 582 drivers/media/dvb-frontends/au8522_dig.c au8522_set_if(fe, state->config.qam_if); fe 596 drivers/media/dvb-frontends/au8522_dig.c static int au8522_set_frontend(struct dvb_frontend *fe) fe 598 drivers/media/dvb-frontends/au8522_dig.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 599 drivers/media/dvb-frontends/au8522_dig.c struct au8522_state *state = fe->demodulator_priv; fe 608 drivers/media/dvb-frontends/au8522_dig.c if (fe->ops.tuner_ops.set_params) { fe 609 drivers/media/dvb-frontends/au8522_dig.c if (fe->ops.i2c_gate_ctrl) fe 610 drivers/media/dvb-frontends/au8522_dig.c fe->ops.i2c_gate_ctrl(fe, 1); fe 611 drivers/media/dvb-frontends/au8522_dig.c ret = fe->ops.tuner_ops.set_params(fe); fe 612 drivers/media/dvb-frontends/au8522_dig.c if (fe->ops.i2c_gate_ctrl) fe 613 drivers/media/dvb-frontends/au8522_dig.c fe->ops.i2c_gate_ctrl(fe, 0); fe 627 drivers/media/dvb-frontends/au8522_dig.c au8522_enable_modulation(fe, c->modulation); fe 634 drivers/media/dvb-frontends/au8522_dig.c static int au8522_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 636 drivers/media/dvb-frontends/au8522_dig.c struct au8522_state *state = fe->demodulator_priv; fe 665 drivers/media/dvb-frontends/au8522_dig.c if (fe->ops.tuner_ops.get_status) { fe 666 drivers/media/dvb-frontends/au8522_dig.c if (fe->ops.i2c_gate_ctrl) fe 667 drivers/media/dvb-frontends/au8522_dig.c fe->ops.i2c_gate_ctrl(fe, 1); fe 669 drivers/media/dvb-frontends/au8522_dig.c fe->ops.tuner_ops.get_status(fe, &tuner_status); fe 671 drivers/media/dvb-frontends/au8522_dig.c if (fe->ops.i2c_gate_ctrl) fe 672 drivers/media/dvb-frontends/au8522_dig.c fe->ops.i2c_gate_ctrl(fe, 0); fe 725 drivers/media/dvb-frontends/au8522_dig.c static int au8522_read_snr(struct dvb_frontend *fe, u16 *snr) fe 727 drivers/media/dvb-frontends/au8522_dig.c struct au8522_state *state = fe->demodulator_priv; fe 754 drivers/media/dvb-frontends/au8522_dig.c static int au8522_read_signal_strength(struct dvb_frontend *fe, fe 766 drivers/media/dvb-frontends/au8522_dig.c int ret = au8522_read_snr(fe, &snr); fe 789 drivers/media/dvb-frontends/au8522_dig.c static int au8522_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 791 drivers/media/dvb-frontends/au8522_dig.c struct au8522_state *state = fe->demodulator_priv; fe 801 drivers/media/dvb-frontends/au8522_dig.c static int au8522_read_ber(struct dvb_frontend *fe, u32 *ber) fe 803 drivers/media/dvb-frontends/au8522_dig.c return au8522_read_ucblocks(fe, ber); fe 806 drivers/media/dvb-frontends/au8522_dig.c static int au8522_get_frontend(struct dvb_frontend *fe, fe 809 drivers/media/dvb-frontends/au8522_dig.c struct au8522_state *state = fe->demodulator_priv; fe 817 drivers/media/dvb-frontends/au8522_dig.c static int au8522_get_tune_settings(struct dvb_frontend *fe, fe 827 drivers/media/dvb-frontends/au8522_dig.c static void au8522_release(struct dvb_frontend *fe) fe 829 drivers/media/dvb-frontends/au8522_dig.c struct au8522_state *state = fe->demodulator_priv; fe 77 drivers/media/dvb-frontends/au8522_priv.h int au8522_init(struct dvb_frontend *fe); fe 78 drivers/media/dvb-frontends/au8522_priv.h int au8522_sleep(struct dvb_frontend *fe); fe 83 drivers/media/dvb-frontends/au8522_priv.h int au8522_i2c_gate_ctrl(struct dvb_frontend *fe, int enable); fe 84 drivers/media/dvb-frontends/au8522_priv.h int au8522_analog_i2c_gate_ctrl(struct dvb_frontend *fe, int enable); fe 292 drivers/media/dvb-frontends/bcm3510.c static int bcm3510_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 294 drivers/media/dvb-frontends/bcm3510.c struct bcm3510_state* st = fe->demodulator_priv; fe 316 drivers/media/dvb-frontends/bcm3510.c static int bcm3510_read_ber(struct dvb_frontend* fe, u32* ber) fe 318 drivers/media/dvb-frontends/bcm3510.c struct bcm3510_state* st = fe->demodulator_priv; fe 325 drivers/media/dvb-frontends/bcm3510.c static int bcm3510_read_unc(struct dvb_frontend* fe, u32* unc) fe 327 drivers/media/dvb-frontends/bcm3510.c struct bcm3510_state* st = fe->demodulator_priv; fe 333 drivers/media/dvb-frontends/bcm3510.c static int bcm3510_read_signal_strength(struct dvb_frontend* fe, u16* strength) fe 335 drivers/media/dvb-frontends/bcm3510.c struct bcm3510_state* st = fe->demodulator_priv; fe 353 drivers/media/dvb-frontends/bcm3510.c static int bcm3510_read_snr(struct dvb_frontend* fe, u16* snr) fe 355 drivers/media/dvb-frontends/bcm3510.c struct bcm3510_state* st = fe->demodulator_priv; fe 495 drivers/media/dvb-frontends/bcm3510.c static int bcm3510_set_frontend(struct dvb_frontend *fe) fe 497 drivers/media/dvb-frontends/bcm3510.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 498 drivers/media/dvb-frontends/bcm3510.c struct bcm3510_state* st = fe->demodulator_priv; fe 585 drivers/media/dvb-frontends/bcm3510.c static int bcm3510_sleep(struct dvb_frontend* fe) fe 590 drivers/media/dvb-frontends/bcm3510.c static int bcm3510_get_tune_settings(struct dvb_frontend *fe, struct dvb_frontend_tune_settings *s) fe 598 drivers/media/dvb-frontends/bcm3510.c static void bcm3510_release(struct dvb_frontend* fe) fe 600 drivers/media/dvb-frontends/bcm3510.c struct bcm3510_state* state = fe->demodulator_priv; fe 630 drivers/media/dvb-frontends/bcm3510.c static int bcm3510_download_firmware(struct dvb_frontend* fe) fe 632 drivers/media/dvb-frontends/bcm3510.c struct bcm3510_state* st = fe->demodulator_priv; fe 639 drivers/media/dvb-frontends/bcm3510.c if ((ret = st->config->request_firmware(fe, &fw, BCM3510_DEFAULT_FIRMWARE)) < 0) { fe 759 drivers/media/dvb-frontends/bcm3510.c static int bcm3510_init(struct dvb_frontend* fe) fe 761 drivers/media/dvb-frontends/bcm3510.c struct bcm3510_state* st = fe->demodulator_priv; fe 21 drivers/media/dvb-frontends/bcm3510.h int (*request_firmware)(struct dvb_frontend* fe, const struct firmware **fw, char* name); fe 34 drivers/media/dvb-frontends/bsbe1.h static int alps_bsbe1_set_symbol_rate(struct dvb_frontend* fe, u32 srate, u32 ratio) fe 46 drivers/media/dvb-frontends/bsbe1.h stv0299_writereg(fe, 0x13, aclk); fe 47 drivers/media/dvb-frontends/bsbe1.h stv0299_writereg(fe, 0x14, bclk); fe 48 drivers/media/dvb-frontends/bsbe1.h stv0299_writereg(fe, 0x1f, (ratio >> 16) & 0xff); fe 49 drivers/media/dvb-frontends/bsbe1.h stv0299_writereg(fe, 0x20, (ratio >> 8) & 0xff); fe 50 drivers/media/dvb-frontends/bsbe1.h stv0299_writereg(fe, 0x21, (ratio ) & 0xf0); fe 55 drivers/media/dvb-frontends/bsbe1.h static int alps_bsbe1_tuner_set_params(struct dvb_frontend *fe) fe 57 drivers/media/dvb-frontends/bsbe1.h struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 62 drivers/media/dvb-frontends/bsbe1.h struct i2c_adapter *i2c = fe->tuner_priv; fe 73 drivers/media/dvb-frontends/bsbe1.h if (fe->ops.i2c_gate_ctrl) fe 74 drivers/media/dvb-frontends/bsbe1.h fe->ops.i2c_gate_ctrl(fe, 1); fe 53 drivers/media/dvb-frontends/bsru6.h static int alps_bsru6_set_symbol_rate(struct dvb_frontend *fe, u32 srate, u32 ratio) fe 78 drivers/media/dvb-frontends/bsru6.h stv0299_writereg(fe, 0x13, aclk); fe 79 drivers/media/dvb-frontends/bsru6.h stv0299_writereg(fe, 0x14, bclk); fe 80 drivers/media/dvb-frontends/bsru6.h stv0299_writereg(fe, 0x1f, (ratio >> 16) & 0xff); fe 81 drivers/media/dvb-frontends/bsru6.h stv0299_writereg(fe, 0x20, (ratio >> 8) & 0xff); fe 82 drivers/media/dvb-frontends/bsru6.h stv0299_writereg(fe, 0x21, ratio & 0xf0); fe 87 drivers/media/dvb-frontends/bsru6.h static int alps_bsru6_tuner_set_params(struct dvb_frontend *fe) fe 89 drivers/media/dvb-frontends/bsru6.h struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 93 drivers/media/dvb-frontends/bsru6.h struct i2c_adapter *i2c = fe->tuner_priv; fe 107 drivers/media/dvb-frontends/bsru6.h if (fe->ops.i2c_gate_ctrl) fe 108 drivers/media/dvb-frontends/bsru6.h fe->ops.i2c_gate_ctrl(fe, 1); fe 225 drivers/media/dvb-frontends/cx22700.c static int cx22700_init (struct dvb_frontend* fe) fe 227 drivers/media/dvb-frontends/cx22700.c { struct cx22700_state* state = fe->demodulator_priv; fe 245 drivers/media/dvb-frontends/cx22700.c static int cx22700_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 247 drivers/media/dvb-frontends/cx22700.c struct cx22700_state* state = fe->demodulator_priv; fe 273 drivers/media/dvb-frontends/cx22700.c static int cx22700_read_ber(struct dvb_frontend* fe, u32* ber) fe 275 drivers/media/dvb-frontends/cx22700.c struct cx22700_state* state = fe->demodulator_priv; fe 283 drivers/media/dvb-frontends/cx22700.c static int cx22700_read_signal_strength(struct dvb_frontend* fe, u16* signal_strength) fe 285 drivers/media/dvb-frontends/cx22700.c struct cx22700_state* state = fe->demodulator_priv; fe 294 drivers/media/dvb-frontends/cx22700.c static int cx22700_read_snr(struct dvb_frontend* fe, u16* snr) fe 296 drivers/media/dvb-frontends/cx22700.c struct cx22700_state* state = fe->demodulator_priv; fe 305 drivers/media/dvb-frontends/cx22700.c static int cx22700_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) fe 307 drivers/media/dvb-frontends/cx22700.c struct cx22700_state* state = fe->demodulator_priv; fe 315 drivers/media/dvb-frontends/cx22700.c static int cx22700_set_frontend(struct dvb_frontend *fe) fe 317 drivers/media/dvb-frontends/cx22700.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 318 drivers/media/dvb-frontends/cx22700.c struct cx22700_state* state = fe->demodulator_priv; fe 323 drivers/media/dvb-frontends/cx22700.c if (fe->ops.tuner_ops.set_params) { fe 324 drivers/media/dvb-frontends/cx22700.c fe->ops.tuner_ops.set_params(fe); fe 325 drivers/media/dvb-frontends/cx22700.c if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); fe 336 drivers/media/dvb-frontends/cx22700.c static int cx22700_get_frontend(struct dvb_frontend *fe, fe 339 drivers/media/dvb-frontends/cx22700.c struct cx22700_state* state = fe->demodulator_priv; fe 346 drivers/media/dvb-frontends/cx22700.c static int cx22700_i2c_gate_ctrl(struct dvb_frontend* fe, int enable) fe 348 drivers/media/dvb-frontends/cx22700.c struct cx22700_state* state = fe->demodulator_priv; fe 357 drivers/media/dvb-frontends/cx22700.c static int cx22700_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings* fesettings) fe 365 drivers/media/dvb-frontends/cx22700.c static void cx22700_release(struct dvb_frontend* fe) fe 367 drivers/media/dvb-frontends/cx22700.c struct cx22700_state* state = fe->demodulator_priv; fe 236 drivers/media/dvb-frontends/cx22702.c static int cx22702_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 238 drivers/media/dvb-frontends/cx22702.c struct cx22702_state *state = fe->demodulator_priv; fe 251 drivers/media/dvb-frontends/cx22702.c static int cx22702_set_tps(struct dvb_frontend *fe) fe 253 drivers/media/dvb-frontends/cx22702.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 255 drivers/media/dvb-frontends/cx22702.c struct cx22702_state *state = fe->demodulator_priv; fe 257 drivers/media/dvb-frontends/cx22702.c if (fe->ops.tuner_ops.set_params) { fe 258 drivers/media/dvb-frontends/cx22702.c fe->ops.tuner_ops.set_params(fe); fe 259 drivers/media/dvb-frontends/cx22702.c if (fe->ops.i2c_gate_ctrl) fe 260 drivers/media/dvb-frontends/cx22702.c fe->ops.i2c_gate_ctrl(fe, 0); fe 423 drivers/media/dvb-frontends/cx22702.c static int cx22702_init(struct dvb_frontend *fe) fe 426 drivers/media/dvb-frontends/cx22702.c struct cx22702_state *state = fe->demodulator_priv; fe 438 drivers/media/dvb-frontends/cx22702.c cx22702_i2c_gate_ctrl(fe, 0); fe 443 drivers/media/dvb-frontends/cx22702.c static int cx22702_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 445 drivers/media/dvb-frontends/cx22702.c struct cx22702_state *state = fe->demodulator_priv; fe 472 drivers/media/dvb-frontends/cx22702.c static int cx22702_read_ber(struct dvb_frontend *fe, u32 *ber) fe 474 drivers/media/dvb-frontends/cx22702.c struct cx22702_state *state = fe->demodulator_priv; fe 489 drivers/media/dvb-frontends/cx22702.c static int cx22702_read_signal_strength(struct dvb_frontend *fe, fe 492 drivers/media/dvb-frontends/cx22702.c struct cx22702_state *state = fe->demodulator_priv; fe 517 drivers/media/dvb-frontends/cx22702.c static int cx22702_read_snr(struct dvb_frontend *fe, u16 *snr) fe 519 drivers/media/dvb-frontends/cx22702.c struct cx22702_state *state = fe->demodulator_priv; fe 536 drivers/media/dvb-frontends/cx22702.c static int cx22702_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 538 drivers/media/dvb-frontends/cx22702.c struct cx22702_state *state = fe->demodulator_priv; fe 553 drivers/media/dvb-frontends/cx22702.c static int cx22702_get_frontend(struct dvb_frontend *fe, fe 556 drivers/media/dvb-frontends/cx22702.c struct cx22702_state *state = fe->demodulator_priv; fe 564 drivers/media/dvb-frontends/cx22702.c static int cx22702_get_tune_settings(struct dvb_frontend *fe, fe 571 drivers/media/dvb-frontends/cx22702.c static void cx22702_release(struct dvb_frontend *fe) fe 573 drivers/media/dvb-frontends/cx22702.c struct cx22702_state *state = fe->demodulator_priv; fe 299 drivers/media/dvb-frontends/cx24110.c static int _cx24110_pll_write (struct dvb_frontend* fe, const u8 buf[], int len) fe 301 drivers/media/dvb-frontends/cx24110.c struct cx24110_state *state = fe->demodulator_priv; fe 341 drivers/media/dvb-frontends/cx24110.c static int cx24110_initfe(struct dvb_frontend* fe) fe 343 drivers/media/dvb-frontends/cx24110.c struct cx24110_state *state = fe->demodulator_priv; fe 356 drivers/media/dvb-frontends/cx24110.c static int cx24110_set_voltage(struct dvb_frontend *fe, fe 359 drivers/media/dvb-frontends/cx24110.c struct cx24110_state *state = fe->demodulator_priv; fe 371 drivers/media/dvb-frontends/cx24110.c static int cx24110_diseqc_send_burst(struct dvb_frontend *fe, fe 375 drivers/media/dvb-frontends/cx24110.c struct cx24110_state *state = fe->demodulator_priv; fe 398 drivers/media/dvb-frontends/cx24110.c static int cx24110_send_diseqc_msg(struct dvb_frontend* fe, fe 402 drivers/media/dvb-frontends/cx24110.c struct cx24110_state *state = fe->demodulator_priv; fe 427 drivers/media/dvb-frontends/cx24110.c static int cx24110_read_status(struct dvb_frontend *fe, fe 430 drivers/media/dvb-frontends/cx24110.c struct cx24110_state *state = fe->demodulator_priv; fe 456 drivers/media/dvb-frontends/cx24110.c static int cx24110_read_ber(struct dvb_frontend* fe, u32* ber) fe 458 drivers/media/dvb-frontends/cx24110.c struct cx24110_state *state = fe->demodulator_priv; fe 474 drivers/media/dvb-frontends/cx24110.c static int cx24110_read_signal_strength(struct dvb_frontend* fe, u16* signal_strength) fe 476 drivers/media/dvb-frontends/cx24110.c struct cx24110_state *state = fe->demodulator_priv; fe 485 drivers/media/dvb-frontends/cx24110.c static int cx24110_read_snr(struct dvb_frontend* fe, u16* snr) fe 487 drivers/media/dvb-frontends/cx24110.c struct cx24110_state *state = fe->demodulator_priv; fe 501 drivers/media/dvb-frontends/cx24110.c static int cx24110_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) fe 503 drivers/media/dvb-frontends/cx24110.c struct cx24110_state *state = fe->demodulator_priv; fe 522 drivers/media/dvb-frontends/cx24110.c static int cx24110_set_frontend(struct dvb_frontend *fe) fe 524 drivers/media/dvb-frontends/cx24110.c struct cx24110_state *state = fe->demodulator_priv; fe 525 drivers/media/dvb-frontends/cx24110.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 527 drivers/media/dvb-frontends/cx24110.c if (fe->ops.tuner_ops.set_params) { fe 528 drivers/media/dvb-frontends/cx24110.c fe->ops.tuner_ops.set_params(fe); fe 529 drivers/media/dvb-frontends/cx24110.c if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); fe 540 drivers/media/dvb-frontends/cx24110.c static int cx24110_get_frontend(struct dvb_frontend *fe, fe 543 drivers/media/dvb-frontends/cx24110.c struct cx24110_state *state = fe->demodulator_priv; fe 568 drivers/media/dvb-frontends/cx24110.c static int cx24110_set_tone(struct dvb_frontend *fe, fe 571 drivers/media/dvb-frontends/cx24110.c struct cx24110_state *state = fe->demodulator_priv; fe 576 drivers/media/dvb-frontends/cx24110.c static void cx24110_release(struct dvb_frontend* fe) fe 578 drivers/media/dvb-frontends/cx24110.c struct cx24110_state* state = fe->demodulator_priv; fe 23 drivers/media/dvb-frontends/cx24110.h static inline int cx24110_pll_write(struct dvb_frontend *fe, u32 val) fe 31 drivers/media/dvb-frontends/cx24110.h if (fe->ops.write) fe 32 drivers/media/dvb-frontends/cx24110.h return fe->ops.write(fe, buf, 3); fe 271 drivers/media/dvb-frontends/cx24113.c static int cx24113_get_status(struct dvb_frontend *fe, u32 *status) fe 273 drivers/media/dvb-frontends/cx24113.c struct cx24113_state *state = fe->tuner_priv; fe 411 drivers/media/dvb-frontends/cx24113.c static int cx24113_init(struct dvb_frontend *fe) fe 413 drivers/media/dvb-frontends/cx24113.c struct cx24113_state *state = fe->tuner_priv; fe 465 drivers/media/dvb-frontends/cx24113.c static int cx24113_set_params(struct dvb_frontend *fe) fe 467 drivers/media/dvb-frontends/cx24113.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 468 drivers/media/dvb-frontends/cx24113.c struct cx24113_state *state = fe->tuner_priv; fe 481 drivers/media/dvb-frontends/cx24113.c return cx24113_get_status(fe, &bw); fe 489 drivers/media/dvb-frontends/cx24113.c void cx24113_agc_callback(struct dvb_frontend *fe) fe 491 drivers/media/dvb-frontends/cx24113.c struct cx24113_state *state = fe->tuner_priv; fe 493 drivers/media/dvb-frontends/cx24113.c if (!fe->ops.read_signal_strength) fe 498 drivers/media/dvb-frontends/cx24113.c fe->ops.read_signal_strength(fe, (u16 *) &s); fe 509 drivers/media/dvb-frontends/cx24113.c static int cx24113_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 511 drivers/media/dvb-frontends/cx24113.c struct cx24113_state *state = fe->tuner_priv; fe 516 drivers/media/dvb-frontends/cx24113.c static void cx24113_release(struct dvb_frontend *fe) fe 518 drivers/media/dvb-frontends/cx24113.c struct cx24113_state *state = fe->tuner_priv; fe 520 drivers/media/dvb-frontends/cx24113.c fe->tuner_priv = NULL; fe 541 drivers/media/dvb-frontends/cx24113.c struct dvb_frontend *cx24113_attach(struct dvb_frontend *fe, fe 583 drivers/media/dvb-frontends/cx24113.c memcpy(&fe->ops.tuner_ops, &cx24113_tuner_ops, fe 585 drivers/media/dvb-frontends/cx24113.c fe->tuner_priv = state; fe 586 drivers/media/dvb-frontends/cx24113.c return fe; fe 23 drivers/media/dvb-frontends/cx24113.h extern void cx24113_agc_callback(struct dvb_frontend *fe); fe 25 drivers/media/dvb-frontends/cx24113.h static inline struct dvb_frontend *cx24113_attach(struct dvb_frontend *fe, fe 32 drivers/media/dvb-frontends/cx24113.h static inline void cx24113_agc_callback(struct dvb_frontend *fe) fe 460 drivers/media/dvb-frontends/cx24116.c static int cx24116_load_firmware(struct dvb_frontend *fe, fe 463 drivers/media/dvb-frontends/cx24116.c static int cx24116_firmware_ondemand(struct dvb_frontend *fe) fe 465 drivers/media/dvb-frontends/cx24116.c struct cx24116_state *state = fe->demodulator_priv; fe 494 drivers/media/dvb-frontends/cx24116.c ret = cx24116_load_firmware(fe, fw); fe 514 drivers/media/dvb-frontends/cx24116.c static int cx24116_cmd_execute(struct dvb_frontend *fe, struct cx24116_cmd *cmd) fe 516 drivers/media/dvb-frontends/cx24116.c struct cx24116_state *state = fe->demodulator_priv; fe 522 drivers/media/dvb-frontends/cx24116.c ret = cx24116_firmware_ondemand(fe); fe 550 drivers/media/dvb-frontends/cx24116.c static int cx24116_load_firmware(struct dvb_frontend *fe, fe 553 drivers/media/dvb-frontends/cx24116.c struct cx24116_state *state = fe->demodulator_priv; fe 568 drivers/media/dvb-frontends/cx24116.c state->config->reset_device(fe); fe 624 drivers/media/dvb-frontends/cx24116.c ret = cx24116_cmd_execute(fe, &cmd); fe 635 drivers/media/dvb-frontends/cx24116.c ret = cx24116_cmd_execute(fe, &cmd); fe 652 drivers/media/dvb-frontends/cx24116.c ret = cx24116_cmd_execute(fe, &cmd); fe 661 drivers/media/dvb-frontends/cx24116.c ret = cx24116_cmd_execute(fe, &cmd); fe 672 drivers/media/dvb-frontends/cx24116.c static int cx24116_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 674 drivers/media/dvb-frontends/cx24116.c struct cx24116_state *state = fe->demodulator_priv; fe 695 drivers/media/dvb-frontends/cx24116.c static int cx24116_read_ber(struct dvb_frontend *fe, u32 *ber) fe 697 drivers/media/dvb-frontends/cx24116.c struct cx24116_state *state = fe->demodulator_priv; fe 710 drivers/media/dvb-frontends/cx24116.c static int cx24116_read_signal_strength(struct dvb_frontend *fe, fe 713 drivers/media/dvb-frontends/cx24116.c struct cx24116_state *state = fe->demodulator_priv; fe 723 drivers/media/dvb-frontends/cx24116.c ret = cx24116_cmd_execute(fe, &cmd); fe 740 drivers/media/dvb-frontends/cx24116.c static int cx24116_read_snr_pct(struct dvb_frontend *fe, u16 *snr) fe 742 drivers/media/dvb-frontends/cx24116.c struct cx24116_state *state = fe->demodulator_priv; fe 770 drivers/media/dvb-frontends/cx24116.c static int cx24116_read_snr_esno(struct dvb_frontend *fe, u16 *snr) fe 772 drivers/media/dvb-frontends/cx24116.c struct cx24116_state *state = fe->demodulator_priv; fe 784 drivers/media/dvb-frontends/cx24116.c static int cx24116_read_snr(struct dvb_frontend *fe, u16 *snr) fe 787 drivers/media/dvb-frontends/cx24116.c return cx24116_read_snr_esno(fe, snr); fe 789 drivers/media/dvb-frontends/cx24116.c return cx24116_read_snr_pct(fe, snr); fe 792 drivers/media/dvb-frontends/cx24116.c static int cx24116_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 794 drivers/media/dvb-frontends/cx24116.c struct cx24116_state *state = fe->demodulator_priv; fe 805 drivers/media/dvb-frontends/cx24116.c static void cx24116_clone_params(struct dvb_frontend *fe) fe 807 drivers/media/dvb-frontends/cx24116.c struct cx24116_state *state = fe->demodulator_priv; fe 812 drivers/media/dvb-frontends/cx24116.c static int cx24116_wait_for_lnb(struct dvb_frontend *fe) fe 814 drivers/media/dvb-frontends/cx24116.c struct cx24116_state *state = fe->demodulator_priv; fe 832 drivers/media/dvb-frontends/cx24116.c static int cx24116_set_voltage(struct dvb_frontend *fe, fe 843 drivers/media/dvb-frontends/cx24116.c ret = cx24116_wait_for_lnb(fe); fe 857 drivers/media/dvb-frontends/cx24116.c return cx24116_cmd_execute(fe, &cmd); fe 860 drivers/media/dvb-frontends/cx24116.c static int cx24116_set_tone(struct dvb_frontend *fe, fe 873 drivers/media/dvb-frontends/cx24116.c ret = cx24116_wait_for_lnb(fe); fe 900 drivers/media/dvb-frontends/cx24116.c return cx24116_cmd_execute(fe, &cmd); fe 904 drivers/media/dvb-frontends/cx24116.c static int cx24116_diseqc_init(struct dvb_frontend *fe) fe 906 drivers/media/dvb-frontends/cx24116.c struct cx24116_state *state = fe->demodulator_priv; fe 920 drivers/media/dvb-frontends/cx24116.c ret = cx24116_cmd_execute(fe, &cmd); fe 946 drivers/media/dvb-frontends/cx24116.c static int cx24116_send_diseqc_msg(struct dvb_frontend *fe, fe 949 drivers/media/dvb-frontends/cx24116.c struct cx24116_state *state = fe->demodulator_priv; fe 1015 drivers/media/dvb-frontends/cx24116.c ret = cx24116_wait_for_lnb(fe); fe 1023 drivers/media/dvb-frontends/cx24116.c ret = cx24116_cmd_execute(fe, &state->dsec_cmd); fe 1043 drivers/media/dvb-frontends/cx24116.c static int cx24116_diseqc_send_burst(struct dvb_frontend *fe, fe 1046 drivers/media/dvb-frontends/cx24116.c struct cx24116_state *state = fe->demodulator_priv; fe 1069 drivers/media/dvb-frontends/cx24116.c ret = cx24116_wait_for_lnb(fe); fe 1077 drivers/media/dvb-frontends/cx24116.c ret = cx24116_cmd_execute(fe, &state->dsec_cmd); fe 1096 drivers/media/dvb-frontends/cx24116.c static void cx24116_release(struct dvb_frontend *fe) fe 1098 drivers/media/dvb-frontends/cx24116.c struct cx24116_state *state = fe->demodulator_priv; fe 1143 drivers/media/dvb-frontends/cx24116.c static int cx24116_initfe(struct dvb_frontend *fe) fe 1145 drivers/media/dvb-frontends/cx24116.c struct cx24116_state *state = fe->demodulator_priv; fe 1160 drivers/media/dvb-frontends/cx24116.c ret = cx24116_cmd_execute(fe, &cmd); fe 1164 drivers/media/dvb-frontends/cx24116.c ret = cx24116_diseqc_init(fe); fe 1169 drivers/media/dvb-frontends/cx24116.c return cx24116_set_voltage(fe, SEC_VOLTAGE_13); fe 1175 drivers/media/dvb-frontends/cx24116.c static int cx24116_sleep(struct dvb_frontend *fe) fe 1177 drivers/media/dvb-frontends/cx24116.c struct cx24116_state *state = fe->demodulator_priv; fe 1187 drivers/media/dvb-frontends/cx24116.c ret = cx24116_cmd_execute(fe, &cmd); fe 1202 drivers/media/dvb-frontends/cx24116.c static int cx24116_set_frontend(struct dvb_frontend *fe) fe 1204 drivers/media/dvb-frontends/cx24116.c struct cx24116_state *state = fe->demodulator_priv; fe 1205 drivers/media/dvb-frontends/cx24116.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1309 drivers/media/dvb-frontends/cx24116.c cx24116_clone_params(fe); fe 1327 drivers/media/dvb-frontends/cx24116.c state->config->set_ts_params(fe, 0); fe 1333 drivers/media/dvb-frontends/cx24116.c ret = cx24116_cmd_execute(fe, &cmd); fe 1393 drivers/media/dvb-frontends/cx24116.c ret = cx24116_cmd_execute(fe, &cmd); fe 1404 drivers/media/dvb-frontends/cx24116.c cx24116_read_status(fe, &tunerstat); fe 1424 drivers/media/dvb-frontends/cx24116.c return cx24116_cmd_execute(fe, &cmd); fe 1427 drivers/media/dvb-frontends/cx24116.c static int cx24116_tune(struct dvb_frontend *fe, bool re_tune, fe 1440 drivers/media/dvb-frontends/cx24116.c int ret = cx24116_set_frontend(fe); fe 1444 drivers/media/dvb-frontends/cx24116.c return cx24116_read_status(fe, status); fe 1447 drivers/media/dvb-frontends/cx24116.c static enum dvbfe_algo cx24116_get_algo(struct dvb_frontend *fe) fe 19 drivers/media/dvb-frontends/cx24116.h int (*set_ts_params)(struct dvb_frontend *fe, int is_punctured); fe 22 drivers/media/dvb-frontends/cx24116.h int (*reset_device)(struct dvb_frontend *fe); fe 437 drivers/media/dvb-frontends/cx24117.c static int cx24117_load_firmware(struct dvb_frontend *fe, fe 440 drivers/media/dvb-frontends/cx24117.c static int cx24117_firmware_ondemand(struct dvb_frontend *fe) fe 442 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 474 drivers/media/dvb-frontends/cx24117.c ret = cx24117_load_firmware(fe, fw); fe 494 drivers/media/dvb-frontends/cx24117.c static int cx24117_cmd_execute_nolock(struct dvb_frontend *fe, fe 497 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 504 drivers/media/dvb-frontends/cx24117.c ret = cx24117_firmware_ondemand(fe); fe 527 drivers/media/dvb-frontends/cx24117.c static int cx24117_cmd_execute(struct dvb_frontend *fe, struct cx24117_cmd *cmd) fe 529 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 533 drivers/media/dvb-frontends/cx24117.c ret = cx24117_cmd_execute_nolock(fe, cmd); fe 539 drivers/media/dvb-frontends/cx24117.c static int cx24117_load_firmware(struct dvb_frontend *fe, fe 542 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 638 drivers/media/dvb-frontends/cx24117.c ret = cx24117_cmd_execute_nolock(fe, &cmd); fe 657 drivers/media/dvb-frontends/cx24117.c ret = cx24117_cmd_execute_nolock(fe, &cmd); fe 676 drivers/media/dvb-frontends/cx24117.c ret = cx24117_cmd_execute_nolock(fe, &cmd); fe 688 drivers/media/dvb-frontends/cx24117.c ret = cx24117_cmd_execute_nolock(fe, &cmd); fe 703 drivers/media/dvb-frontends/cx24117.c ret = cx24117_cmd_execute_nolock(fe, &cmd); fe 717 drivers/media/dvb-frontends/cx24117.c ret = cx24117_cmd_execute_nolock(fe, &cmd); fe 732 drivers/media/dvb-frontends/cx24117.c static int cx24117_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 734 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 759 drivers/media/dvb-frontends/cx24117.c static int cx24117_read_ber(struct dvb_frontend *fe, u32 *ber) fe 761 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 781 drivers/media/dvb-frontends/cx24117.c static int cx24117_read_signal_strength(struct dvb_frontend *fe, fe 784 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 796 drivers/media/dvb-frontends/cx24117.c ret = cx24117_cmd_execute(fe, &cmd); fe 814 drivers/media/dvb-frontends/cx24117.c static int cx24117_read_snr(struct dvb_frontend *fe, u16 *snr) fe 816 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 835 drivers/media/dvb-frontends/cx24117.c static int cx24117_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 837 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 838 drivers/media/dvb-frontends/cx24117.c enum fe_delivery_system delsys = fe->dtv_property_cache.delivery_system; fe 867 drivers/media/dvb-frontends/cx24117.c static void cx24117_clone_params(struct dvb_frontend *fe) fe 869 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 874 drivers/media/dvb-frontends/cx24117.c static int cx24117_wait_for_lnb(struct dvb_frontend *fe) fe 876 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 898 drivers/media/dvb-frontends/cx24117.c static int cx24117_set_voltage(struct dvb_frontend *fe, fe 901 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 921 drivers/media/dvb-frontends/cx24117.c ret = cx24117_cmd_execute(fe, &cmd); fe 925 drivers/media/dvb-frontends/cx24117.c ret = cx24117_wait_for_lnb(fe); fe 937 drivers/media/dvb-frontends/cx24117.c ret = cx24117_cmd_execute(fe, &cmd); fe 944 drivers/media/dvb-frontends/cx24117.c ret = cx24117_cmd_execute(fe, &cmd); fe 950 drivers/media/dvb-frontends/cx24117.c static int cx24117_set_tone(struct dvb_frontend *fe, fe 953 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 966 drivers/media/dvb-frontends/cx24117.c ret = cx24117_wait_for_lnb(fe); fe 990 drivers/media/dvb-frontends/cx24117.c return cx24117_cmd_execute(fe, &cmd); fe 994 drivers/media/dvb-frontends/cx24117.c static int cx24117_diseqc_init(struct dvb_frontend *fe) fe 996 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 1024 drivers/media/dvb-frontends/cx24117.c static int cx24117_send_diseqc_msg(struct dvb_frontend *fe, fe 1027 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 1079 drivers/media/dvb-frontends/cx24117.c ret = cx24117_wait_for_lnb(fe); fe 1087 drivers/media/dvb-frontends/cx24117.c ret = cx24117_cmd_execute(fe, &state->dsec_cmd); fe 1106 drivers/media/dvb-frontends/cx24117.c static int cx24117_diseqc_send_burst(struct dvb_frontend *fe, fe 1109 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 1148 drivers/media/dvb-frontends/cx24117.c static void cx24117_release(struct dvb_frontend *fe) fe 1150 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 1217 drivers/media/dvb-frontends/cx24117.c static int cx24117_initfe(struct dvb_frontend *fe) fe 1219 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 1233 drivers/media/dvb-frontends/cx24117.c ret = cx24117_cmd_execute_nolock(fe, &cmd); fe 1237 drivers/media/dvb-frontends/cx24117.c ret = cx24117_diseqc_init(fe); fe 1247 drivers/media/dvb-frontends/cx24117.c ret = cx24117_cmd_execute_nolock(fe, &cmd); fe 1256 drivers/media/dvb-frontends/cx24117.c ret = cx24117_cmd_execute_nolock(fe, &cmd); fe 1266 drivers/media/dvb-frontends/cx24117.c ret = cx24117_cmd_execute_nolock(fe, &cmd); fe 1277 drivers/media/dvb-frontends/cx24117.c static int cx24117_sleep(struct dvb_frontend *fe) fe 1279 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 1290 drivers/media/dvb-frontends/cx24117.c return cx24117_cmd_execute(fe, &cmd); fe 1296 drivers/media/dvb-frontends/cx24117.c static int cx24117_set_frontend(struct dvb_frontend *fe) fe 1298 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 1299 drivers/media/dvb-frontends/cx24117.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1410 drivers/media/dvb-frontends/cx24117.c cx24117_clone_params(fe); fe 1498 drivers/media/dvb-frontends/cx24117.c ret = cx24117_cmd_execute(fe, &cmd); fe 1509 drivers/media/dvb-frontends/cx24117.c cx24117_read_status(fe, &tunerstat); fe 1531 drivers/media/dvb-frontends/cx24117.c static int cx24117_tune(struct dvb_frontend *fe, bool re_tune, fe 1534 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 1541 drivers/media/dvb-frontends/cx24117.c int ret = cx24117_set_frontend(fe); fe 1545 drivers/media/dvb-frontends/cx24117.c return cx24117_read_status(fe, status); fe 1548 drivers/media/dvb-frontends/cx24117.c static enum dvbfe_algo cx24117_get_algo(struct dvb_frontend *fe) fe 1553 drivers/media/dvb-frontends/cx24117.c static int cx24117_get_frontend(struct dvb_frontend *fe, fe 1556 drivers/media/dvb-frontends/cx24117.c struct cx24117_state *state = fe->demodulator_priv; fe 1569 drivers/media/dvb-frontends/cx24117.c ret = cx24117_cmd_execute(fe, &cmd); fe 322 drivers/media/dvb-frontends/cx24120.c static int cx24120_read_snr(struct dvb_frontend *fe, u16 *snr) fe 324 drivers/media/dvb-frontends/cx24120.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 334 drivers/media/dvb-frontends/cx24120.c static int cx24120_read_ber(struct dvb_frontend *fe, u32 *ber) fe 336 drivers/media/dvb-frontends/cx24120.c struct cx24120_state *state = fe->demodulator_priv; fe 337 drivers/media/dvb-frontends/cx24120.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 426 drivers/media/dvb-frontends/cx24120.c static int cx24120_read_signal_strength(struct dvb_frontend *fe, fe 429 drivers/media/dvb-frontends/cx24120.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 485 drivers/media/dvb-frontends/cx24120.c static int cx24120_diseqc_send_burst(struct dvb_frontend *fe, fe 488 drivers/media/dvb-frontends/cx24120.c struct cx24120_state *state = fe->demodulator_priv; fe 508 drivers/media/dvb-frontends/cx24120.c static int cx24120_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) fe 510 drivers/media/dvb-frontends/cx24120.c struct cx24120_state *state = fe->demodulator_priv; fe 530 drivers/media/dvb-frontends/cx24120.c static int cx24120_set_voltage(struct dvb_frontend *fe, fe 533 drivers/media/dvb-frontends/cx24120.c struct cx24120_state *state = fe->demodulator_priv; fe 546 drivers/media/dvb-frontends/cx24120.c static int cx24120_send_diseqc_msg(struct dvb_frontend *fe, fe 549 drivers/media/dvb-frontends/cx24120.c struct cx24120_state *state = fe->demodulator_priv; fe 606 drivers/media/dvb-frontends/cx24120.c struct dvb_frontend *fe = &state->frontend; fe 607 drivers/media/dvb-frontends/cx24120.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 705 drivers/media/dvb-frontends/cx24120.c static void cx24120_set_clock_ratios(struct dvb_frontend *fe); fe 708 drivers/media/dvb-frontends/cx24120.c static int cx24120_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 710 drivers/media/dvb-frontends/cx24120.c struct cx24120_state *state = fe->demodulator_priv; fe 740 drivers/media/dvb-frontends/cx24120.c cx24120_set_clock_ratios(fe); fe 794 drivers/media/dvb-frontends/cx24120.c static int cx24120_get_fec(struct dvb_frontend *fe) fe 796 drivers/media/dvb-frontends/cx24120.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 797 drivers/media/dvb-frontends/cx24120.c struct cx24120_state *state = fe->demodulator_priv; fe 835 drivers/media/dvb-frontends/cx24120.c struct dvb_frontend *fe = &state->frontend; fe 836 drivers/media/dvb-frontends/cx24120.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 913 drivers/media/dvb-frontends/cx24120.c static void cx24120_set_clock_ratios(struct dvb_frontend *fe) fe 915 drivers/media/dvb-frontends/cx24120.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 916 drivers/media/dvb-frontends/cx24120.c struct cx24120_state *state = fe->demodulator_priv; fe 921 drivers/media/dvb-frontends/cx24120.c ret = cx24120_get_fec(fe); fe 1124 drivers/media/dvb-frontends/cx24120.c static void cx24120_clone_params(struct dvb_frontend *fe) fe 1126 drivers/media/dvb-frontends/cx24120.c struct cx24120_state *state = fe->demodulator_priv; fe 1131 drivers/media/dvb-frontends/cx24120.c static int cx24120_set_frontend(struct dvb_frontend *fe) fe 1133 drivers/media/dvb-frontends/cx24120.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1134 drivers/media/dvb-frontends/cx24120.c struct cx24120_state *state = fe->demodulator_priv; fe 1174 drivers/media/dvb-frontends/cx24120.c cx24120_clone_params(fe); fe 1266 drivers/media/dvb-frontends/cx24120.c static int cx24120_init(struct dvb_frontend *fe) fe 1269 drivers/media/dvb-frontends/cx24120.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1270 drivers/media/dvb-frontends/cx24120.c struct cx24120_state *state = fe->demodulator_priv; fe 1317 drivers/media/dvb-frontends/cx24120.c ret = state->config->request_firmware(fe, &fw, CX24120_FIRMWARE); fe 1466 drivers/media/dvb-frontends/cx24120.c static int cx24120_tune(struct dvb_frontend *fe, bool re_tune, fe 1470 drivers/media/dvb-frontends/cx24120.c struct cx24120_state *state = fe->demodulator_priv; fe 1478 drivers/media/dvb-frontends/cx24120.c ret = cx24120_set_frontend(fe); fe 1483 drivers/media/dvb-frontends/cx24120.c return cx24120_read_status(fe, status); fe 1486 drivers/media/dvb-frontends/cx24120.c static enum dvbfe_algo cx24120_get_algo(struct dvb_frontend *fe) fe 1491 drivers/media/dvb-frontends/cx24120.c static int cx24120_sleep(struct dvb_frontend *fe) fe 1496 drivers/media/dvb-frontends/cx24120.c static int cx24120_get_frontend(struct dvb_frontend *fe, fe 1499 drivers/media/dvb-frontends/cx24120.c struct cx24120_state *state = fe->demodulator_priv; fe 1518 drivers/media/dvb-frontends/cx24120.c cx24120_get_fec(fe); fe 1523 drivers/media/dvb-frontends/cx24120.c static void cx24120_release(struct dvb_frontend *fe) fe 1525 drivers/media/dvb-frontends/cx24120.c struct cx24120_state *state = fe->demodulator_priv; fe 1531 drivers/media/dvb-frontends/cx24120.c static int cx24120_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 1533 drivers/media/dvb-frontends/cx24120.c struct cx24120_state *state = fe->demodulator_priv; fe 1534 drivers/media/dvb-frontends/cx24120.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 28 drivers/media/dvb-frontends/cx24120.h int (*request_firmware)(struct dvb_frontend *fe, fe 502 drivers/media/dvb-frontends/cx24123.c static int cx24123_pll_calculate(struct dvb_frontend *fe) fe 504 drivers/media/dvb-frontends/cx24123.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 505 drivers/media/dvb-frontends/cx24123.c struct cx24123_state *state = fe->demodulator_priv; fe 577 drivers/media/dvb-frontends/cx24123.c static int cx24123_pll_writereg(struct dvb_frontend *fe, u32 data) fe 579 drivers/media/dvb-frontends/cx24123.c struct cx24123_state *state = fe->demodulator_priv; fe 634 drivers/media/dvb-frontends/cx24123.c static int cx24123_pll_tune(struct dvb_frontend *fe) fe 636 drivers/media/dvb-frontends/cx24123.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 637 drivers/media/dvb-frontends/cx24123.c struct cx24123_state *state = fe->demodulator_priv; fe 642 drivers/media/dvb-frontends/cx24123.c if (cx24123_pll_calculate(fe) != 0) { fe 648 drivers/media/dvb-frontends/cx24123.c cx24123_pll_writereg(fe, state->VCAarg); fe 649 drivers/media/dvb-frontends/cx24123.c cx24123_pll_writereg(fe, state->VGAarg); fe 652 drivers/media/dvb-frontends/cx24123.c cx24123_pll_writereg(fe, state->bandselectarg); fe 653 drivers/media/dvb-frontends/cx24123.c cx24123_pll_writereg(fe, state->pllarg); fe 686 drivers/media/dvb-frontends/cx24123.c static int cx24123_initfe(struct dvb_frontend *fe) fe 688 drivers/media/dvb-frontends/cx24123.c struct cx24123_state *state = fe->demodulator_priv; fe 709 drivers/media/dvb-frontends/cx24123.c static int cx24123_set_voltage(struct dvb_frontend *fe, fe 712 drivers/media/dvb-frontends/cx24123.c struct cx24123_state *state = fe->demodulator_priv; fe 748 drivers/media/dvb-frontends/cx24123.c static int cx24123_send_diseqc_msg(struct dvb_frontend *fe, fe 751 drivers/media/dvb-frontends/cx24123.c struct cx24123_state *state = fe->demodulator_priv; fe 784 drivers/media/dvb-frontends/cx24123.c static int cx24123_diseqc_send_burst(struct dvb_frontend *fe, fe 787 drivers/media/dvb-frontends/cx24123.c struct cx24123_state *state = fe->demodulator_priv; fe 821 drivers/media/dvb-frontends/cx24123.c static int cx24123_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 823 drivers/media/dvb-frontends/cx24123.c struct cx24123_state *state = fe->demodulator_priv; fe 829 drivers/media/dvb-frontends/cx24123.c if (fe->ops.tuner_ops.get_status) fe 830 drivers/media/dvb-frontends/cx24123.c fe->ops.tuner_ops.get_status(fe, &tun_status); fe 858 drivers/media/dvb-frontends/cx24123.c static int cx24123_read_ber(struct dvb_frontend *fe, u32 *ber) fe 860 drivers/media/dvb-frontends/cx24123.c struct cx24123_state *state = fe->demodulator_priv; fe 873 drivers/media/dvb-frontends/cx24123.c static int cx24123_read_signal_strength(struct dvb_frontend *fe, fe 876 drivers/media/dvb-frontends/cx24123.c struct cx24123_state *state = fe->demodulator_priv; fe 886 drivers/media/dvb-frontends/cx24123.c static int cx24123_read_snr(struct dvb_frontend *fe, u16 *snr) fe 888 drivers/media/dvb-frontends/cx24123.c struct cx24123_state *state = fe->demodulator_priv; fe 900 drivers/media/dvb-frontends/cx24123.c static int cx24123_set_frontend(struct dvb_frontend *fe) fe 902 drivers/media/dvb-frontends/cx24123.c struct cx24123_state *state = fe->demodulator_priv; fe 903 drivers/media/dvb-frontends/cx24123.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 908 drivers/media/dvb-frontends/cx24123.c state->config->set_ts_params(fe, 0); fe 918 drivers/media/dvb-frontends/cx24123.c cx24123_pll_tune(fe); fe 919 drivers/media/dvb-frontends/cx24123.c else if (fe->ops.tuner_ops.set_params) fe 920 drivers/media/dvb-frontends/cx24123.c fe->ops.tuner_ops.set_params(fe); fe 930 drivers/media/dvb-frontends/cx24123.c state->config->agc_callback(fe); fe 935 drivers/media/dvb-frontends/cx24123.c static int cx24123_get_frontend(struct dvb_frontend *fe, fe 938 drivers/media/dvb-frontends/cx24123.c struct cx24123_state *state = fe->demodulator_priv; fe 956 drivers/media/dvb-frontends/cx24123.c static int cx24123_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) fe 958 drivers/media/dvb-frontends/cx24123.c struct cx24123_state *state = fe->demodulator_priv; fe 981 drivers/media/dvb-frontends/cx24123.c static int cx24123_tune(struct dvb_frontend *fe, fe 990 drivers/media/dvb-frontends/cx24123.c retval = cx24123_set_frontend(fe); fe 993 drivers/media/dvb-frontends/cx24123.c cx24123_read_status(fe, status); fe 999 drivers/media/dvb-frontends/cx24123.c static enum dvbfe_algo cx24123_get_algo(struct dvb_frontend *fe) fe 1004 drivers/media/dvb-frontends/cx24123.c static void cx24123_release(struct dvb_frontend *fe) fe 1006 drivers/media/dvb-frontends/cx24123.c struct cx24123_state *state = fe->demodulator_priv; fe 1032 drivers/media/dvb-frontends/cx24123.c cx24123_get_tuner_i2c_adapter(struct dvb_frontend *fe) fe 1034 drivers/media/dvb-frontends/cx24123.c struct cx24123_state *state = fe->demodulator_priv; fe 19 drivers/media/dvb-frontends/cx24123.h int (*set_ts_params)(struct dvb_frontend *fe, int is_punctured); fe 41 drivers/media/dvb-frontends/cx24123.h cx24123_get_tuner_i2c_adapter(struct dvb_frontend *fe) fe 11 drivers/media/dvb-frontends/cxd2820r_c.c int cxd2820r_set_frontend_c(struct dvb_frontend *fe) fe 13 drivers/media/dvb-frontends/cxd2820r_c.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 15 drivers/media/dvb-frontends/cxd2820r_c.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 44 drivers/media/dvb-frontends/cxd2820r_c.c if (fe->ops.tuner_ops.set_params) fe 45 drivers/media/dvb-frontends/cxd2820r_c.c fe->ops.tuner_ops.set_params(fe); fe 57 drivers/media/dvb-frontends/cxd2820r_c.c if (fe->ops.tuner_ops.get_if_frequency) { fe 58 drivers/media/dvb-frontends/cxd2820r_c.c ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); fe 88 drivers/media/dvb-frontends/cxd2820r_c.c int cxd2820r_get_frontend_c(struct dvb_frontend *fe, fe 91 drivers/media/dvb-frontends/cxd2820r_c.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 142 drivers/media/dvb-frontends/cxd2820r_c.c int cxd2820r_read_status_c(struct dvb_frontend *fe, enum fe_status *status) fe 144 drivers/media/dvb-frontends/cxd2820r_c.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 146 drivers/media/dvb-frontends/cxd2820r_c.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 278 drivers/media/dvb-frontends/cxd2820r_c.c int cxd2820r_init_c(struct dvb_frontend *fe) fe 280 drivers/media/dvb-frontends/cxd2820r_c.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 296 drivers/media/dvb-frontends/cxd2820r_c.c int cxd2820r_sleep_c(struct dvb_frontend *fe) fe 298 drivers/media/dvb-frontends/cxd2820r_c.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 323 drivers/media/dvb-frontends/cxd2820r_c.c int cxd2820r_get_tune_settings_c(struct dvb_frontend *fe, fe 46 drivers/media/dvb-frontends/cxd2820r_core.c int cxd2820r_gpio(struct dvb_frontend *fe, u8 *gpio) fe 48 drivers/media/dvb-frontends/cxd2820r_core.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 50 drivers/media/dvb-frontends/cxd2820r_core.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 104 drivers/media/dvb-frontends/cxd2820r_core.c static int cxd2820r_set_frontend(struct dvb_frontend *fe) fe 106 drivers/media/dvb-frontends/cxd2820r_core.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 108 drivers/media/dvb-frontends/cxd2820r_core.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 115 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_init_t(fe); fe 118 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_set_frontend_t(fe); fe 123 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_init_t(fe); fe 126 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_set_frontend_t2(fe); fe 131 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_init_c(fe); fe 134 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_set_frontend_c(fe); fe 147 drivers/media/dvb-frontends/cxd2820r_core.c static int cxd2820r_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 149 drivers/media/dvb-frontends/cxd2820r_core.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 151 drivers/media/dvb-frontends/cxd2820r_core.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 158 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_read_status_t(fe, status); fe 161 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_read_status_t2(fe, status); fe 164 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_read_status_c(fe, status); fe 173 drivers/media/dvb-frontends/cxd2820r_core.c static int cxd2820r_get_frontend(struct dvb_frontend *fe, fe 176 drivers/media/dvb-frontends/cxd2820r_core.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 178 drivers/media/dvb-frontends/cxd2820r_core.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 188 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_get_frontend_t(fe, p); fe 191 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_get_frontend_t2(fe, p); fe 194 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_get_frontend_c(fe, p); fe 203 drivers/media/dvb-frontends/cxd2820r_core.c static int cxd2820r_read_ber(struct dvb_frontend *fe, u32 *ber) fe 205 drivers/media/dvb-frontends/cxd2820r_core.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 207 drivers/media/dvb-frontends/cxd2820r_core.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 217 drivers/media/dvb-frontends/cxd2820r_core.c static int cxd2820r_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 219 drivers/media/dvb-frontends/cxd2820r_core.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 221 drivers/media/dvb-frontends/cxd2820r_core.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 233 drivers/media/dvb-frontends/cxd2820r_core.c static int cxd2820r_read_snr(struct dvb_frontend *fe, u16 *snr) fe 235 drivers/media/dvb-frontends/cxd2820r_core.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 237 drivers/media/dvb-frontends/cxd2820r_core.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 249 drivers/media/dvb-frontends/cxd2820r_core.c static int cxd2820r_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 251 drivers/media/dvb-frontends/cxd2820r_core.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 253 drivers/media/dvb-frontends/cxd2820r_core.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 262 drivers/media/dvb-frontends/cxd2820r_core.c static int cxd2820r_init(struct dvb_frontend *fe) fe 267 drivers/media/dvb-frontends/cxd2820r_core.c static int cxd2820r_sleep(struct dvb_frontend *fe) fe 269 drivers/media/dvb-frontends/cxd2820r_core.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 271 drivers/media/dvb-frontends/cxd2820r_core.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 278 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_sleep_t(fe); fe 281 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_sleep_t2(fe); fe 284 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_sleep_c(fe); fe 293 drivers/media/dvb-frontends/cxd2820r_core.c static int cxd2820r_get_tune_settings(struct dvb_frontend *fe, fe 296 drivers/media/dvb-frontends/cxd2820r_core.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 298 drivers/media/dvb-frontends/cxd2820r_core.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 305 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_get_tune_settings_t(fe, s); fe 308 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_get_tune_settings_t2(fe, s); fe 311 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_get_tune_settings_c(fe, s); fe 320 drivers/media/dvb-frontends/cxd2820r_core.c static enum dvbfe_search cxd2820r_search(struct dvb_frontend *fe) fe 322 drivers/media/dvb-frontends/cxd2820r_core.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 324 drivers/media/dvb-frontends/cxd2820r_core.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 333 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_sleep_t(fe); fe 339 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_sleep_t2(fe); fe 348 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_set_frontend(fe); fe 371 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_read_status(fe, &status); fe 393 drivers/media/dvb-frontends/cxd2820r_core.c static enum dvbfe_algo cxd2820r_get_frontend_algo(struct dvb_frontend *fe) fe 398 drivers/media/dvb-frontends/cxd2820r_core.c static void cxd2820r_release(struct dvb_frontend *fe) fe 400 drivers/media/dvb-frontends/cxd2820r_core.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 410 drivers/media/dvb-frontends/cxd2820r_core.c static int cxd2820r_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 412 drivers/media/dvb-frontends/cxd2820r_core.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 433 drivers/media/dvb-frontends/cxd2820r_core.c return cxd2820r_gpio(&priv->fe, gpio); fe 447 drivers/media/dvb-frontends/cxd2820r_core.c (void) cxd2820r_gpio(&priv->fe, gpio); fe 547 drivers/media/dvb-frontends/cxd2820r_core.c return &priv->fe; fe 605 drivers/media/dvb-frontends/cxd2820r_core.c priv->fe.demodulator_priv = priv; fe 677 drivers/media/dvb-frontends/cxd2820r_core.c ret = cxd2820r_gpio(&priv->fe, gpio); fe 684 drivers/media/dvb-frontends/cxd2820r_core.c memcpy(&priv->fe.ops, &cxd2820r_ops, sizeof(priv->fe.ops)); fe 686 drivers/media/dvb-frontends/cxd2820r_core.c priv->fe.ops.release = NULL; fe 32 drivers/media/dvb-frontends/cxd2820r_priv.h struct dvb_frontend fe; fe 57 drivers/media/dvb-frontends/cxd2820r_priv.h int cxd2820r_gpio(struct dvb_frontend *fe, u8 *gpio); fe 80 drivers/media/dvb-frontends/cxd2820r_priv.h int cxd2820r_get_frontend_c(struct dvb_frontend *fe, fe 83 drivers/media/dvb-frontends/cxd2820r_priv.h int cxd2820r_set_frontend_c(struct dvb_frontend *fe); fe 85 drivers/media/dvb-frontends/cxd2820r_priv.h int cxd2820r_read_status_c(struct dvb_frontend *fe, enum fe_status *status); fe 87 drivers/media/dvb-frontends/cxd2820r_priv.h int cxd2820r_init_c(struct dvb_frontend *fe); fe 89 drivers/media/dvb-frontends/cxd2820r_priv.h int cxd2820r_sleep_c(struct dvb_frontend *fe); fe 91 drivers/media/dvb-frontends/cxd2820r_priv.h int cxd2820r_get_tune_settings_c(struct dvb_frontend *fe, fe 96 drivers/media/dvb-frontends/cxd2820r_priv.h int cxd2820r_get_frontend_t(struct dvb_frontend *fe, fe 99 drivers/media/dvb-frontends/cxd2820r_priv.h int cxd2820r_set_frontend_t(struct dvb_frontend *fe); fe 101 drivers/media/dvb-frontends/cxd2820r_priv.h int cxd2820r_read_status_t(struct dvb_frontend *fe, enum fe_status *status); fe 103 drivers/media/dvb-frontends/cxd2820r_priv.h int cxd2820r_init_t(struct dvb_frontend *fe); fe 105 drivers/media/dvb-frontends/cxd2820r_priv.h int cxd2820r_sleep_t(struct dvb_frontend *fe); fe 107 drivers/media/dvb-frontends/cxd2820r_priv.h int cxd2820r_get_tune_settings_t(struct dvb_frontend *fe, fe 112 drivers/media/dvb-frontends/cxd2820r_priv.h int cxd2820r_get_frontend_t2(struct dvb_frontend *fe, fe 115 drivers/media/dvb-frontends/cxd2820r_priv.h int cxd2820r_set_frontend_t2(struct dvb_frontend *fe); fe 117 drivers/media/dvb-frontends/cxd2820r_priv.h int cxd2820r_read_status_t2(struct dvb_frontend *fe, enum fe_status *status); fe 119 drivers/media/dvb-frontends/cxd2820r_priv.h int cxd2820r_init_t2(struct dvb_frontend *fe); fe 121 drivers/media/dvb-frontends/cxd2820r_priv.h int cxd2820r_sleep_t2(struct dvb_frontend *fe); fe 123 drivers/media/dvb-frontends/cxd2820r_priv.h int cxd2820r_get_tune_settings_t2(struct dvb_frontend *fe, fe 11 drivers/media/dvb-frontends/cxd2820r_t.c int cxd2820r_set_frontend_t(struct dvb_frontend *fe) fe 13 drivers/media/dvb-frontends/cxd2820r_t.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 15 drivers/media/dvb-frontends/cxd2820r_t.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 69 drivers/media/dvb-frontends/cxd2820r_t.c if (fe->ops.tuner_ops.set_params) fe 70 drivers/media/dvb-frontends/cxd2820r_t.c fe->ops.tuner_ops.set_params(fe); fe 82 drivers/media/dvb-frontends/cxd2820r_t.c if (fe->ops.tuner_ops.get_if_frequency) { fe 83 drivers/media/dvb-frontends/cxd2820r_t.c ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); fe 126 drivers/media/dvb-frontends/cxd2820r_t.c int cxd2820r_get_frontend_t(struct dvb_frontend *fe, fe 129 drivers/media/dvb-frontends/cxd2820r_t.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 247 drivers/media/dvb-frontends/cxd2820r_t.c int cxd2820r_read_status_t(struct dvb_frontend *fe, enum fe_status *status) fe 249 drivers/media/dvb-frontends/cxd2820r_t.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 251 drivers/media/dvb-frontends/cxd2820r_t.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 372 drivers/media/dvb-frontends/cxd2820r_t.c int cxd2820r_init_t(struct dvb_frontend *fe) fe 374 drivers/media/dvb-frontends/cxd2820r_t.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 390 drivers/media/dvb-frontends/cxd2820r_t.c int cxd2820r_sleep_t(struct dvb_frontend *fe) fe 392 drivers/media/dvb-frontends/cxd2820r_t.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 417 drivers/media/dvb-frontends/cxd2820r_t.c int cxd2820r_get_tune_settings_t(struct dvb_frontend *fe, fe 421 drivers/media/dvb-frontends/cxd2820r_t.c s->step_size = fe->ops.info.frequency_stepsize_hz * 2; fe 422 drivers/media/dvb-frontends/cxd2820r_t.c s->max_drift = (fe->ops.info.frequency_stepsize_hz * 2) + 1; fe 11 drivers/media/dvb-frontends/cxd2820r_t2.c int cxd2820r_set_frontend_t2(struct dvb_frontend *fe) fe 13 drivers/media/dvb-frontends/cxd2820r_t2.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 15 drivers/media/dvb-frontends/cxd2820r_t2.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 87 drivers/media/dvb-frontends/cxd2820r_t2.c if (fe->ops.tuner_ops.set_params) fe 88 drivers/media/dvb-frontends/cxd2820r_t2.c fe->ops.tuner_ops.set_params(fe); fe 99 drivers/media/dvb-frontends/cxd2820r_t2.c if (fe->ops.tuner_ops.get_if_frequency) { fe 100 drivers/media/dvb-frontends/cxd2820r_t2.c ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); fe 156 drivers/media/dvb-frontends/cxd2820r_t2.c int cxd2820r_get_frontend_t2(struct dvb_frontend *fe, fe 159 drivers/media/dvb-frontends/cxd2820r_t2.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 275 drivers/media/dvb-frontends/cxd2820r_t2.c int cxd2820r_read_status_t2(struct dvb_frontend *fe, enum fe_status *status) fe 277 drivers/media/dvb-frontends/cxd2820r_t2.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 278 drivers/media/dvb-frontends/cxd2820r_t2.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 384 drivers/media/dvb-frontends/cxd2820r_t2.c int cxd2820r_sleep_t2(struct dvb_frontend *fe) fe 386 drivers/media/dvb-frontends/cxd2820r_t2.c struct cxd2820r_priv *priv = fe->demodulator_priv; fe 412 drivers/media/dvb-frontends/cxd2820r_t2.c int cxd2820r_get_tune_settings_t2(struct dvb_frontend *fe, fe 416 drivers/media/dvb-frontends/cxd2820r_t2.c s->step_size = fe->ops.info.frequency_stepsize_hz * 2; fe 417 drivers/media/dvb-frontends/cxd2820r_t2.c s->max_drift = (fe->ops.info.frequency_stepsize_hz * 2) + 1; fe 340 drivers/media/dvb-frontends/cxd2841er.c static int cxd2841er_tuner_set(struct dvb_frontend *fe) fe 342 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 344 drivers/media/dvb-frontends/cxd2841er.c if ((priv->flags & CXD2841ER_USE_GATECTRL) && fe->ops.i2c_gate_ctrl) fe 345 drivers/media/dvb-frontends/cxd2841er.c fe->ops.i2c_gate_ctrl(fe, 1); fe 346 drivers/media/dvb-frontends/cxd2841er.c if (fe->ops.tuner_ops.set_params) fe 347 drivers/media/dvb-frontends/cxd2841er.c fe->ops.tuner_ops.set_params(fe); fe 348 drivers/media/dvb-frontends/cxd2841er.c if ((priv->flags & CXD2841ER_USE_GATECTRL) && fe->ops.i2c_gate_ctrl) fe 349 drivers/media/dvb-frontends/cxd2841er.c fe->ops.i2c_gate_ctrl(fe, 0); fe 484 drivers/media/dvb-frontends/cxd2841er.c static int cxd2841er_sleep_tc(struct dvb_frontend *fe); fe 971 drivers/media/dvb-frontends/cxd2841er.c static int cxd2841er_read_status_s(struct dvb_frontend *fe, fe 975 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 1069 drivers/media/dvb-frontends/cxd2841er.c static int cxd2841er_read_status_tc(struct dvb_frontend *fe, fe 1076 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 1938 drivers/media/dvb-frontends/cxd2841er.c static void cxd2841er_read_ber(struct dvb_frontend *fe) fe 1940 drivers/media/dvb-frontends/cxd2841er.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1941 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 1983 drivers/media/dvb-frontends/cxd2841er.c static void cxd2841er_read_signal_strength(struct dvb_frontend *fe) fe 1985 drivers/media/dvb-frontends/cxd2841er.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1986 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 2033 drivers/media/dvb-frontends/cxd2841er.c static void cxd2841er_read_snr(struct dvb_frontend *fe) fe 2037 drivers/media/dvb-frontends/cxd2841er.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 2038 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 2078 drivers/media/dvb-frontends/cxd2841er.c static void cxd2841er_read_ucblocks(struct dvb_frontend *fe) fe 2080 drivers/media/dvb-frontends/cxd2841er.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 2081 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 3264 drivers/media/dvb-frontends/cxd2841er.c static int cxd2841er_get_frontend(struct dvb_frontend *fe, fe 3268 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 3272 drivers/media/dvb-frontends/cxd2841er.c cxd2841er_read_status_s(fe, &status); fe 3274 drivers/media/dvb-frontends/cxd2841er.c cxd2841er_read_status_tc(fe, &status); fe 3277 drivers/media/dvb-frontends/cxd2841er.c cxd2841er_read_signal_strength(fe); fe 3282 drivers/media/dvb-frontends/cxd2841er.c cxd2841er_read_snr(fe); fe 3283 drivers/media/dvb-frontends/cxd2841er.c cxd2841er_read_ucblocks(fe); fe 3285 drivers/media/dvb-frontends/cxd2841er.c cxd2841er_read_ber(fe); fe 3295 drivers/media/dvb-frontends/cxd2841er.c static int cxd2841er_set_frontend_s(struct dvb_frontend *fe) fe 3299 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 3300 drivers/media/dvb-frontends/cxd2841er.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 3309 drivers/media/dvb-frontends/cxd2841er.c cxd2841er_tuner_set(fe); fe 3331 drivers/media/dvb-frontends/cxd2841er.c cxd2841er_tuner_set(fe); fe 3340 drivers/media/dvb-frontends/cxd2841er.c cxd2841er_read_status_s(fe, &status); fe 3366 drivers/media/dvb-frontends/cxd2841er.c static int cxd2841er_set_frontend_tc(struct dvb_frontend *fe) fe 3370 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 3371 drivers/media/dvb-frontends/cxd2841er.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 3377 drivers/media/dvb-frontends/cxd2841er.c cxd2841er_tuner_set(fe); fe 3384 drivers/media/dvb-frontends/cxd2841er.c cxd2841er_sleep_tc(fe); fe 3470 drivers/media/dvb-frontends/cxd2841er.c cxd2841er_tuner_set(fe); fe 3479 drivers/media/dvb-frontends/cxd2841er.c ret = cxd2841er_read_status_tc(fe, &status); fe 3494 drivers/media/dvb-frontends/cxd2841er.c static int cxd2841er_tune_s(struct dvb_frontend *fe, fe 3501 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 3502 drivers/media/dvb-frontends/cxd2841er.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 3506 drivers/media/dvb-frontends/cxd2841er.c ret = cxd2841er_set_frontend_s(fe); fe 3509 drivers/media/dvb-frontends/cxd2841er.c cxd2841er_read_status_s(fe, status); fe 3515 drivers/media/dvb-frontends/cxd2841er.c ret = cxd2841er_set_frontend_s(fe); fe 3521 drivers/media/dvb-frontends/cxd2841er.c return cxd2841er_read_status_s(fe, status); fe 3524 drivers/media/dvb-frontends/cxd2841er.c static int cxd2841er_tune_tc(struct dvb_frontend *fe, fe 3531 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 3532 drivers/media/dvb-frontends/cxd2841er.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 3537 drivers/media/dvb-frontends/cxd2841er.c ret = cxd2841er_set_frontend_tc(fe); fe 3540 drivers/media/dvb-frontends/cxd2841er.c cxd2841er_read_status_tc(fe, status); fe 3579 drivers/media/dvb-frontends/cxd2841er.c ret = cxd2841er_set_frontend_tc(fe); fe 3585 drivers/media/dvb-frontends/cxd2841er.c return cxd2841er_read_status_tc(fe, status); fe 3588 drivers/media/dvb-frontends/cxd2841er.c static int cxd2841er_sleep_s(struct dvb_frontend *fe) fe 3590 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 3593 drivers/media/dvb-frontends/cxd2841er.c cxd2841er_active_s_to_sleep_s(fe->demodulator_priv); fe 3594 drivers/media/dvb-frontends/cxd2841er.c cxd2841er_sleep_s_to_shutdown(fe->demodulator_priv); fe 3598 drivers/media/dvb-frontends/cxd2841er.c static int cxd2841er_sleep_tc(struct dvb_frontend *fe) fe 3600 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 3632 drivers/media/dvb-frontends/cxd2841er.c static int cxd2841er_shutdown_tc(struct dvb_frontend *fe) fe 3634 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 3638 drivers/media/dvb-frontends/cxd2841er.c if (!cxd2841er_sleep_tc(fe)) fe 3643 drivers/media/dvb-frontends/cxd2841er.c static int cxd2841er_send_burst(struct dvb_frontend *fe, fe 3647 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 3664 drivers/media/dvb-frontends/cxd2841er.c static int cxd2841er_set_tone(struct dvb_frontend *fe, fe 3668 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 3684 drivers/media/dvb-frontends/cxd2841er.c static int cxd2841er_send_diseqc_msg(struct dvb_frontend *fe, fe 3689 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 3729 drivers/media/dvb-frontends/cxd2841er.c static void cxd2841er_release(struct dvb_frontend *fe) fe 3731 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 3737 drivers/media/dvb-frontends/cxd2841er.c static int cxd2841er_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 3739 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 3747 drivers/media/dvb-frontends/cxd2841er.c static enum dvbfe_algo cxd2841er_get_algo(struct dvb_frontend *fe) fe 3749 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 3755 drivers/media/dvb-frontends/cxd2841er.c static void cxd2841er_init_stats(struct dvb_frontend *fe) fe 3757 drivers/media/dvb-frontends/cxd2841er.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 3772 drivers/media/dvb-frontends/cxd2841er.c static int cxd2841er_init_s(struct dvb_frontend *fe) fe 3774 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 3794 drivers/media/dvb-frontends/cxd2841er.c cxd2841er_init_stats(fe); fe 3799 drivers/media/dvb-frontends/cxd2841er.c static int cxd2841er_init_tc(struct dvb_frontend *fe) fe 3801 drivers/media/dvb-frontends/cxd2841er.c struct cxd2841er_priv *priv = fe->demodulator_priv; fe 3802 drivers/media/dvb-frontends/cxd2841er.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 3822 drivers/media/dvb-frontends/cxd2841er.c cxd2841er_init_stats(fe); fe 18 drivers/media/dvb-frontends/cxd2880/cxd2880.h extern struct dvb_frontend *cxd2880_attach(struct dvb_frontend *fe, fe 21 drivers/media/dvb-frontends/cxd2880/cxd2880.h static inline struct dvb_frontend *cxd2880_attach(struct dvb_frontend *fe, fe 475 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static void cxd2880_release(struct dvb_frontend *fe) fe 479 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!fe) { fe 483 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c priv = fe->demodulator_priv; fe 487 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_init(struct dvb_frontend *fe) fe 493 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!fe) { fe 498 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c priv = fe->demodulator_priv; fe 539 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_sleep(struct dvb_frontend *fe) fe 544 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!fe) { fe 549 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c priv = fe->demodulator_priv; fe 560 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_read_signal_strength(struct dvb_frontend *fe, fe 568 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!fe || !strength) { fe 573 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c priv = fe->demodulator_priv; fe 574 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c = &fe->dtv_property_cache; fe 603 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_read_snr(struct dvb_frontend *fe, u16 *snr) fe 610 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!fe || !snr) { fe 615 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c priv = fe->demodulator_priv; fe 616 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c = &fe->dtv_property_cache; fe 642 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 648 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!fe || !ucblocks) { fe 653 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c priv = fe->demodulator_priv; fe 654 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c = &fe->dtv_property_cache; fe 676 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_read_ber(struct dvb_frontend *fe, u32 *ber) fe 683 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_set_ber_per_period_t(struct dvb_frontend *fe) fe 696 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!fe) { fe 701 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c priv = fe->demodulator_priv; fe 794 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_set_ber_per_period_t2(struct dvb_frontend *fe) fe 818 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!fe) { fe 823 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c priv = fe->demodulator_priv; fe 1034 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_set_frontend(struct dvb_frontend *fe) fe 1041 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!fe) { fe 1046 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c priv = fe->demodulator_priv; fe 1047 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c = &fe->dtv_property_cache; fe 1120 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_get_stats(struct dvb_frontend *fe, fe 1130 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!fe) { fe 1135 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c priv = fe->demodulator_priv; fe 1136 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c = &fe->dtv_property_cache; fe 1264 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_check_l1post_plp(struct dvb_frontend *fe) fe 1271 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!fe) { fe 1276 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c priv = fe->demodulator_priv; fe 1302 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_read_status(struct dvb_frontend *fe, fe 1312 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!fe || !status) { fe 1317 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c priv = fe->demodulator_priv; fe 1318 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c = &fe->dtv_property_cache; fe 1361 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_set_ber_per_period_t(fe); fe 1364 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_check_l1post_plp(fe); fe 1366 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_set_ber_per_period_t2(fe); fe 1377 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c cxd2880_get_stats(fe, *status); fe 1381 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_tune(struct dvb_frontend *fe, fe 1389 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!fe || !delay || !status) { fe 1395 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_set_frontend(fe); fe 1404 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c return cxd2880_read_status(fe, status); fe 1407 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_get_frontend_t(struct dvb_frontend *fe, fe 1419 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!fe || !c) { fe 1424 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c priv = fe->demodulator_priv; fe 1594 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_read_snr(fe, &snr); fe 1608 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_get_frontend_t2(struct dvb_frontend *fe, fe 1620 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!fe || !c) { fe 1625 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c priv = fe->demodulator_priv; fe 1788 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_read_snr(fe, &snr); fe 1802 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_get_frontend(struct dvb_frontend *fe, fe 1807 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!fe || !props) { fe 1812 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c pr_debug("system=%d\n", fe->dtv_property_cache.delivery_system); fe 1813 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c switch (fe->dtv_property_cache.delivery_system) { fe 1815 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_get_frontend_t(fe, props); fe 1818 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_get_frontend_t2(fe, props); fe 1828 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static enum dvbfe_algo cxd2880_get_frontend_algo(struct dvb_frontend *fe) fe 1876 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c struct dvb_frontend *cxd2880_attach(struct dvb_frontend *fe, fe 1885 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!fe) { fe 1898 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c memcpy(&fe->ops, &cxd2880_dvbt_t2_ops, fe 1947 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c fe->demodulator_priv = priv; fe 1951 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c return fe; fe 40 drivers/media/dvb-frontends/dib0070.c struct dvb_frontend *fe; fe 130 drivers/media/dvb-frontends/dib0070.c state->cfg->sleep(state->fe, 0); \ fe 132 drivers/media/dvb-frontends/dib0070.c state->cfg->reset(state->fe,1); msleep(10); \ fe 133 drivers/media/dvb-frontends/dib0070.c state->cfg->reset(state->fe,0); msleep(10); \ fe 137 drivers/media/dvb-frontends/dib0070.c static int dib0070_set_bandwidth(struct dvb_frontend *fe) fe 139 drivers/media/dvb-frontends/dib0070.c struct dib0070_state *state = fe->tuner_priv; fe 142 drivers/media/dvb-frontends/dib0070.c if (state->fe->dtv_property_cache.bandwidth_hz/1000 > 7000) fe 144 drivers/media/dvb-frontends/dib0070.c else if (state->fe->dtv_property_cache.bandwidth_hz/1000 > 6000) fe 146 drivers/media/dvb-frontends/dib0070.c else if (state->fe->dtv_property_cache.bandwidth_hz/1000 > 5000) fe 154 drivers/media/dvb-frontends/dib0070.c if (state->fe->dtv_property_cache.delivery_system == SYS_ISDBT) { fe 223 drivers/media/dvb-frontends/dib0070.c static int dib0070_set_ctrl_lo5(struct dvb_frontend *fe, u8 vco_bias_trim, u8 hf_div_trim, u8 cp_current, u8 third_order_filt) fe 225 drivers/media/dvb-frontends/dib0070.c struct dib0070_state *state = fe->tuner_priv; fe 232 drivers/media/dvb-frontends/dib0070.c void dib0070_ctrl_agc_filter(struct dvb_frontend *fe, u8 open) fe 234 drivers/media/dvb-frontends/dib0070.c struct dib0070_state *state = fe->tuner_priv; fe 319 drivers/media/dvb-frontends/dib0070.c static int dib0070_tune_digital(struct dvb_frontend *fe) fe 321 drivers/media/dvb-frontends/dib0070.c struct dib0070_state *state = fe->tuner_priv; fe 329 drivers/media/dvb-frontends/dib0070.c u8 band = (u8)BAND_OF_FREQUENCY(fe->dtv_property_cache.frequency/1000); fe 330 drivers/media/dvb-frontends/dib0070.c u32 freq = fe->dtv_property_cache.frequency/1000 + (band == BAND_VHF ? state->cfg->freq_offset_khz_vhf : state->cfg->freq_offset_khz_uhf); fe 333 drivers/media/dvb-frontends/dib0070.c if (state->fe->dtv_property_cache.delivery_system == SYS_ISDBT && state->fe->dtv_property_cache.isdbt_sb_mode == 1) fe 334 drivers/media/dvb-frontends/dib0070.c if (((state->fe->dtv_property_cache.isdbt_sb_segment_count % 2) fe 335 drivers/media/dvb-frontends/dib0070.c && (state->fe->dtv_property_cache.isdbt_sb_segment_idx == ((state->fe->dtv_property_cache.isdbt_sb_segment_count / 2) + 1))) fe 336 drivers/media/dvb-frontends/dib0070.c || (((state->fe->dtv_property_cache.isdbt_sb_segment_count % 2) == 0) fe 337 drivers/media/dvb-frontends/dib0070.c && (state->fe->dtv_property_cache.isdbt_sb_segment_idx == (state->fe->dtv_property_cache.isdbt_sb_segment_count / 2))) fe 338 drivers/media/dvb-frontends/dib0070.c || (((state->fe->dtv_property_cache.isdbt_sb_segment_count % 2) == 0) fe 339 drivers/media/dvb-frontends/dib0070.c && (state->fe->dtv_property_cache.isdbt_sb_segment_idx == ((state->fe->dtv_property_cache.isdbt_sb_segment_count / 2) + 1)))) fe 436 drivers/media/dvb-frontends/dib0070.c dib0070_set_ctrl_lo5(fe, 2, 4, 3, 0); fe 439 drivers/media/dvb-frontends/dib0070.c dib0070_set_ctrl_lo5(fe, 5, 4, 3, 1); fe 492 drivers/media/dvb-frontends/dib0070.c dib0070_set_bandwidth(fe); fe 501 drivers/media/dvb-frontends/dib0070.c static int dib0070_tune(struct dvb_frontend *fe) fe 503 drivers/media/dvb-frontends/dib0070.c struct dib0070_state *state = fe->tuner_priv; fe 509 drivers/media/dvb-frontends/dib0070.c ret = dib0070_tune_digital(fe); fe 519 drivers/media/dvb-frontends/dib0070.c static int dib0070_wakeup(struct dvb_frontend *fe) fe 521 drivers/media/dvb-frontends/dib0070.c struct dib0070_state *state = fe->tuner_priv; fe 523 drivers/media/dvb-frontends/dib0070.c state->cfg->sleep(fe, 0); fe 527 drivers/media/dvb-frontends/dib0070.c static int dib0070_sleep(struct dvb_frontend *fe) fe 529 drivers/media/dvb-frontends/dib0070.c struct dib0070_state *state = fe->tuner_priv; fe 531 drivers/media/dvb-frontends/dib0070.c state->cfg->sleep(fe, 1); fe 535 drivers/media/dvb-frontends/dib0070.c u8 dib0070_get_rf_output(struct dvb_frontend *fe) fe 537 drivers/media/dvb-frontends/dib0070.c struct dib0070_state *state = fe->tuner_priv; fe 542 drivers/media/dvb-frontends/dib0070.c int dib0070_set_rf_output(struct dvb_frontend *fe, u8 no) fe 544 drivers/media/dvb-frontends/dib0070.c struct dib0070_state *state = fe->tuner_priv; fe 616 drivers/media/dvb-frontends/dib0070.c u16 dib0070_wbd_offset(struct dvb_frontend *fe) fe 618 drivers/media/dvb-frontends/dib0070.c struct dib0070_state *state = fe->tuner_priv; fe 620 drivers/media/dvb-frontends/dib0070.c u32 freq = fe->dtv_property_cache.frequency/1000; fe 634 drivers/media/dvb-frontends/dib0070.c static int dib0070_reset(struct dvb_frontend *fe) fe 636 drivers/media/dvb-frontends/dib0070.c struct dib0070_state *state = fe->tuner_priv; fe 689 drivers/media/dvb-frontends/dib0070.c dib0070_set_ctrl_lo5(fe, 2, 4, 3, 0); fe 691 drivers/media/dvb-frontends/dib0070.c dib0070_set_ctrl_lo5(fe, 5, 4, state->cfg->charge_pump, fe 701 drivers/media/dvb-frontends/dib0070.c static int dib0070_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 703 drivers/media/dvb-frontends/dib0070.c struct dib0070_state *state = fe->tuner_priv; fe 709 drivers/media/dvb-frontends/dib0070.c static void dib0070_release(struct dvb_frontend *fe) fe 711 drivers/media/dvb-frontends/dib0070.c kfree(fe->tuner_priv); fe 712 drivers/media/dvb-frontends/dib0070.c fe->tuner_priv = NULL; fe 732 drivers/media/dvb-frontends/dib0070.c struct dvb_frontend *dib0070_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct dib0070_config *cfg) fe 740 drivers/media/dvb-frontends/dib0070.c state->fe = fe; fe 742 drivers/media/dvb-frontends/dib0070.c fe->tuner_priv = state; fe 744 drivers/media/dvb-frontends/dib0070.c if (dib0070_reset(fe) != 0) fe 748 drivers/media/dvb-frontends/dib0070.c memcpy(&fe->ops.tuner_ops, &dib0070_ops, sizeof(struct dvb_tuner_ops)); fe 750 drivers/media/dvb-frontends/dib0070.c fe->tuner_priv = state; fe 751 drivers/media/dvb-frontends/dib0070.c return fe; fe 755 drivers/media/dvb-frontends/dib0070.c fe->tuner_priv = NULL; fe 49 drivers/media/dvb-frontends/dib0070.h extern struct dvb_frontend *dib0070_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct dib0070_config *cfg); fe 52 drivers/media/dvb-frontends/dib0070.h extern u8 dib0070_get_rf_output(struct dvb_frontend *fe); fe 53 drivers/media/dvb-frontends/dib0070.h extern int dib0070_set_rf_output(struct dvb_frontend *fe, u8 no); fe 55 drivers/media/dvb-frontends/dib0070.h static inline struct dvb_frontend *dib0070_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct dib0070_config *cfg) fe 61 drivers/media/dvb-frontends/dib0070.h static inline u16 dib0070_wbd_offset(struct dvb_frontend *fe) fe 67 drivers/media/dvb-frontends/dib0070.h static inline void dib0070_ctrl_agc_filter(struct dvb_frontend *fe, u8 open) fe 125 drivers/media/dvb-frontends/dib0090.c struct dvb_frontend *fe; fe 189 drivers/media/dvb-frontends/dib0090.c struct dvb_frontend *fe; fe 315 drivers/media/dvb-frontends/dib0090.c #define HARD_RESET(state) do { if (cfg->reset) { if (cfg->sleep) cfg->sleep(fe, 0); msleep(10); cfg->reset(fe, 1); msleep(10); cfg->reset(fe, 0); msleep(10); } } while (0) fe 327 drivers/media/dvb-frontends/dib0090.c static int dib0090_identify(struct dvb_frontend *fe) fe 329 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 419 drivers/media/dvb-frontends/dib0090.c static int dib0090_fw_identify(struct dvb_frontend *fe) fe 421 drivers/media/dvb-frontends/dib0090.c struct dib0090_fw_state *state = fe->tuner_priv; fe 509 drivers/media/dvb-frontends/dib0090.c static void dib0090_reset_digital(struct dvb_frontend *fe, const struct dib0090_config *cfg) fe 511 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 576 drivers/media/dvb-frontends/dib0090.c static int dib0090_fw_reset_digital(struct dvb_frontend *fe, const struct dib0090_config *cfg) fe 578 drivers/media/dvb-frontends/dib0090.c struct dib0090_fw_state *state = fe->tuner_priv; fe 646 drivers/media/dvb-frontends/dib0090.c return dib0090_fw_identify(fe); fe 649 drivers/media/dvb-frontends/dib0090.c static int dib0090_wakeup(struct dvb_frontend *fe) fe 651 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 653 drivers/media/dvb-frontends/dib0090.c state->config->sleep(fe, 0); fe 660 drivers/media/dvb-frontends/dib0090.c static int dib0090_sleep(struct dvb_frontend *fe) fe 662 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 664 drivers/media/dvb-frontends/dib0090.c state->config->sleep(fe, 1); fe 668 drivers/media/dvb-frontends/dib0090.c void dib0090_dcc_freq(struct dvb_frontend *fe, u8 fast) fe 670 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 1060 drivers/media/dvb-frontends/dib0090.c void dib0090_pwm_gain_reset(struct dvb_frontend *fe) fe 1062 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 1134 drivers/media/dvb-frontends/dib0090.c void dib0090_set_dc_servo(struct dvb_frontend *fe, u8 DC_servo_cutoff) fe 1136 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 1150 drivers/media/dvb-frontends/dib0090.c int dib0090_gain_control(struct dvb_frontend *fe) fe 1152 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 1233 drivers/media/dvb-frontends/dib0090.c adc = state->config->get_adc_power(fe); fe 1238 drivers/media/dvb-frontends/dib0090.c if (state->fe->dtv_property_cache.delivery_system == STANDARD_DAB) fe 1242 drivers/media/dvb-frontends/dib0090.c if (state->fe->dtv_property_cache.delivery_system == STANDARD_DVBT && fe 1243 drivers/media/dvb-frontends/dib0090.c (state->fe->dtv_property_cache.modulation == QAM_64 || state->fe->dtv_property_cache.modulation == QAM_16)) fe 1247 drivers/media/dvb-frontends/dib0090.c if ((state->fe->dtv_property_cache.delivery_system == SYS_ISDBT) && (((state->fe->dtv_property_cache.layer[0].segment_count > fe 1250 drivers/media/dvb-frontends/dib0090.c ((state->fe->dtv_property_cache.layer[0].modulation == fe 1252 drivers/media/dvb-frontends/dib0090.c || (state->fe->dtv_property_cache. fe 1255 drivers/media/dvb-frontends/dib0090.c ((state->fe->dtv_property_cache.layer[1].segment_count > fe 1258 drivers/media/dvb-frontends/dib0090.c ((state->fe->dtv_property_cache.layer[1].modulation == fe 1260 drivers/media/dvb-frontends/dib0090.c || (state->fe->dtv_property_cache. fe 1263 drivers/media/dvb-frontends/dib0090.c ((state->fe->dtv_property_cache.layer[2].segment_count > fe 1266 drivers/media/dvb-frontends/dib0090.c ((state->fe->dtv_property_cache.layer[2].modulation == fe 1268 drivers/media/dvb-frontends/dib0090.c || (state->fe->dtv_property_cache. fe 1279 drivers/media/dvb-frontends/dib0090.c if (state->fe->dtv_property_cache.delivery_system == STANDARD_DAB) { fe 1313 drivers/media/dvb-frontends/dib0090.c void dib0090_get_current_gain(struct dvb_frontend *fe, u16 * rf, u16 * bb, u16 * rf_gain_limit, u16 * rflt) fe 1315 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 1328 drivers/media/dvb-frontends/dib0090.c u16 dib0090_get_wbd_target(struct dvb_frontend *fe) fe 1330 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 1331 drivers/media/dvb-frontends/dib0090.c u32 f_MHz = state->fe->dtv_property_cache.frequency / 1000000; fe 1367 drivers/media/dvb-frontends/dib0090.c u16 dib0090_get_wbd_offset(struct dvb_frontend *fe) fe 1369 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 1374 drivers/media/dvb-frontends/dib0090.c int dib0090_set_switch(struct dvb_frontend *fe, u8 sw1, u8 sw2, u8 sw3) fe 1376 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 1385 drivers/media/dvb-frontends/dib0090.c int dib0090_set_vga(struct dvb_frontend *fe, u8 onoff) fe 1387 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 1395 drivers/media/dvb-frontends/dib0090.c int dib0090_update_rframp_7090(struct dvb_frontend *fe, u8 cfg_sensitivity) fe 1397 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 1410 drivers/media/dvb-frontends/dib0090.c dib0090_pwm_gain_reset(fe); fe 1545 drivers/media/dvb-frontends/dib0090.c static int dib0090_reset(struct dvb_frontend *fe) fe 1547 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 1549 drivers/media/dvb-frontends/dib0090.c dib0090_reset_digital(fe, state->config); fe 1550 drivers/media/dvb-frontends/dib0090.c if (dib0090_identify(fe) < 0) fe 1822 drivers/media/dvb-frontends/dib0090.c if (state->fe->dtv_property_cache.bandwidth_hz / 1000 <= 5000) fe 1824 drivers/media/dvb-frontends/dib0090.c else if (state->fe->dtv_property_cache.bandwidth_hz / 1000 <= 6000) fe 1826 drivers/media/dvb-frontends/dib0090.c else if (state->fe->dtv_property_cache.bandwidth_hz / 1000 <= 7000) fe 2037 drivers/media/dvb-frontends/dib0090.c int dib0090_update_tuning_table_7090(struct dvb_frontend *fe, fe 2040 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 2229 drivers/media/dvb-frontends/dib0090.c static int dib0090_tune(struct dvb_frontend *fe) fe 2231 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 2261 drivers/media/dvb-frontends/dib0090.c state->current_rf = state->fe->dtv_property_cache.frequency / 1000; fe 2276 drivers/media/dvb-frontends/dib0090.c state->current_band = (u8) BAND_OF_FREQUENCY(state->fe->dtv_property_cache.frequency / 1000); fe 2278 drivers/media/dvb-frontends/dib0090.c state->fe->dtv_property_cache.frequency / 1000 + (state->current_band == fe 2283 drivers/media/dvb-frontends/dib0090.c if ((state->fe->dtv_property_cache.delivery_system == SYS_ISDBT && state->fe->dtv_property_cache.isdbt_sb_mode == 1 fe 2284 drivers/media/dvb-frontends/dib0090.c && state->fe->dtv_property_cache.isdbt_partial_reception == 0)) { fe 2293 drivers/media/dvb-frontends/dib0090.c && LUT_offset->std == state->fe->dtv_property_cache.delivery_system) { fe 2305 drivers/media/dvb-frontends/dib0090.c if (state->current_rf != state->rf_request || (state->current_standard != state->fe->dtv_property_cache.delivery_system)) { fe 2447 drivers/media/dvb-frontends/dib0090.c state->current_standard = state->fe->dtv_property_cache.delivery_system; fe 2506 drivers/media/dvb-frontends/dib0090.c static void dib0090_release(struct dvb_frontend *fe) fe 2508 drivers/media/dvb-frontends/dib0090.c kfree(fe->tuner_priv); fe 2509 drivers/media/dvb-frontends/dib0090.c fe->tuner_priv = NULL; fe 2512 drivers/media/dvb-frontends/dib0090.c enum frontend_tune_state dib0090_get_tune_state(struct dvb_frontend *fe) fe 2514 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 2521 drivers/media/dvb-frontends/dib0090.c int dib0090_set_tune_state(struct dvb_frontend *fe, enum frontend_tune_state tune_state) fe 2523 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 2531 drivers/media/dvb-frontends/dib0090.c static int dib0090_get_frequency(struct dvb_frontend *fe, u32 * frequency) fe 2533 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 2539 drivers/media/dvb-frontends/dib0090.c static int dib0090_set_params(struct dvb_frontend *fe) fe 2541 drivers/media/dvb-frontends/dib0090.c struct dib0090_state *state = fe->tuner_priv; fe 2547 drivers/media/dvb-frontends/dib0090.c ret = dib0090_tune(fe); fe 2604 drivers/media/dvb-frontends/dib0090.c struct dvb_frontend *dib0090_register(struct dvb_frontend *fe, struct i2c_adapter *i2c, const struct dib0090_config *config) fe 2612 drivers/media/dvb-frontends/dib0090.c st->fe = fe; fe 2614 drivers/media/dvb-frontends/dib0090.c fe->tuner_priv = st; fe 2621 drivers/media/dvb-frontends/dib0090.c if (dib0090_reset(fe) != 0) fe 2625 drivers/media/dvb-frontends/dib0090.c memcpy(&fe->ops.tuner_ops, &dib0090_ops, sizeof(struct dvb_tuner_ops)); fe 2627 drivers/media/dvb-frontends/dib0090.c return fe; fe 2630 drivers/media/dvb-frontends/dib0090.c fe->tuner_priv = NULL; fe 2636 drivers/media/dvb-frontends/dib0090.c struct dvb_frontend *dib0090_fw_register(struct dvb_frontend *fe, struct i2c_adapter *i2c, const struct dib0090_config *config) fe 2644 drivers/media/dvb-frontends/dib0090.c st->fe = fe; fe 2646 drivers/media/dvb-frontends/dib0090.c fe->tuner_priv = st; fe 2648 drivers/media/dvb-frontends/dib0090.c if (dib0090_fw_reset_digital(fe, st->config) != 0) fe 2652 drivers/media/dvb-frontends/dib0090.c memcpy(&fe->ops.tuner_ops, &dib0090_fw_ops, sizeof(struct dvb_tuner_ops)); fe 2654 drivers/media/dvb-frontends/dib0090.c return fe; fe 2657 drivers/media/dvb-frontends/dib0090.c fe->tuner_priv = NULL; fe 76 drivers/media/dvb-frontends/dib0090.h extern struct dvb_frontend *dib0090_register(struct dvb_frontend *fe, struct i2c_adapter *i2c, const struct dib0090_config *config); fe 77 drivers/media/dvb-frontends/dib0090.h extern struct dvb_frontend *dib0090_fw_register(struct dvb_frontend *fe, struct i2c_adapter *i2c, const struct dib0090_config *config); fe 78 drivers/media/dvb-frontends/dib0090.h extern void dib0090_dcc_freq(struct dvb_frontend *fe, u8 fast); fe 79 drivers/media/dvb-frontends/dib0090.h extern void dib0090_pwm_gain_reset(struct dvb_frontend *fe); fe 81 drivers/media/dvb-frontends/dib0090.h extern u16 dib0090_get_wbd_offset(struct dvb_frontend *fe); fe 82 drivers/media/dvb-frontends/dib0090.h extern int dib0090_gain_control(struct dvb_frontend *fe); fe 83 drivers/media/dvb-frontends/dib0090.h extern enum frontend_tune_state dib0090_get_tune_state(struct dvb_frontend *fe); fe 84 drivers/media/dvb-frontends/dib0090.h extern int dib0090_set_tune_state(struct dvb_frontend *fe, enum frontend_tune_state tune_state); fe 85 drivers/media/dvb-frontends/dib0090.h extern void dib0090_get_current_gain(struct dvb_frontend *fe, u16 * rf, u16 * bb, u16 * rf_gain_limit, u16 * rflt); fe 86 drivers/media/dvb-frontends/dib0090.h extern void dib0090_set_dc_servo(struct dvb_frontend *fe, u8 DC_servo_cutoff); fe 87 drivers/media/dvb-frontends/dib0090.h extern int dib0090_set_switch(struct dvb_frontend *fe, u8 sw1, u8 sw2, u8 sw3); fe 88 drivers/media/dvb-frontends/dib0090.h extern int dib0090_set_vga(struct dvb_frontend *fe, u8 onoff); fe 89 drivers/media/dvb-frontends/dib0090.h extern int dib0090_update_rframp_7090(struct dvb_frontend *fe, fe 91 drivers/media/dvb-frontends/dib0090.h extern int dib0090_update_tuning_table_7090(struct dvb_frontend *fe, fe 94 drivers/media/dvb-frontends/dib0090.h static inline struct dvb_frontend *dib0090_register(struct dvb_frontend *fe, struct i2c_adapter *i2c, const struct dib0090_config *config) fe 100 drivers/media/dvb-frontends/dib0090.h static inline struct dvb_frontend *dib0090_fw_register(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct dib0090_config *config) fe 106 drivers/media/dvb-frontends/dib0090.h static inline void dib0090_dcc_freq(struct dvb_frontend *fe, u8 fast) fe 111 drivers/media/dvb-frontends/dib0090.h static inline void dib0090_pwm_gain_reset(struct dvb_frontend *fe) fe 122 drivers/media/dvb-frontends/dib0090.h static inline u16 dib0090_get_wbd_offset(struct dvb_frontend *fe) fe 128 drivers/media/dvb-frontends/dib0090.h static inline int dib0090_gain_control(struct dvb_frontend *fe) fe 134 drivers/media/dvb-frontends/dib0090.h static inline enum frontend_tune_state dib0090_get_tune_state(struct dvb_frontend *fe) fe 140 drivers/media/dvb-frontends/dib0090.h static inline int dib0090_set_tune_state(struct dvb_frontend *fe, enum frontend_tune_state tune_state) fe 146 drivers/media/dvb-frontends/dib0090.h static inline void dib0090_get_current_gain(struct dvb_frontend *fe, u16 * rf, u16 * bb, u16 * rf_gain_limit, u16 * rflt) fe 151 drivers/media/dvb-frontends/dib0090.h static inline void dib0090_set_dc_servo(struct dvb_frontend *fe, u8 DC_servo_cutoff) fe 156 drivers/media/dvb-frontends/dib0090.h static inline int dib0090_set_switch(struct dvb_frontend *fe, fe 163 drivers/media/dvb-frontends/dib0090.h static inline int dib0090_set_vga(struct dvb_frontend *fe, u8 onoff) fe 169 drivers/media/dvb-frontends/dib0090.h static inline int dib0090_update_rframp_7090(struct dvb_frontend *fe, fe 176 drivers/media/dvb-frontends/dib0090.h static inline int dib0090_update_tuning_table_7090(struct dvb_frontend *fe, fe 34 drivers/media/dvb-frontends/dib3000.h int (*pid_parse)(struct dvb_frontend *fe, int onoff); fe 35 drivers/media/dvb-frontends/dib3000.h int (*fifo_ctrl)(struct dvb_frontend *fe, int onoff); fe 36 drivers/media/dvb-frontends/dib3000.h int (*pid_ctrl)(struct dvb_frontend *fe, int index, int pid, int onoff); fe 37 drivers/media/dvb-frontends/dib3000.h int (*tuner_pass_ctrl)(struct dvb_frontend *fe, int onoff, u8 pll_ctrl); fe 113 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_get_frontend(struct dvb_frontend* fe, fe 116 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_set_frontend(struct dvb_frontend *fe, int tuner) fe 118 drivers/media/dvb-frontends/dib3000mb.c struct dib3000_state* state = fe->demodulator_priv; fe 119 drivers/media/dvb-frontends/dib3000mb.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 123 drivers/media/dvb-frontends/dib3000mb.c if (tuner && fe->ops.tuner_ops.set_params) { fe 124 drivers/media/dvb-frontends/dib3000mb.c fe->ops.tuner_ops.set_params(fe); fe 125 drivers/media/dvb-frontends/dib3000mb.c if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); fe 350 drivers/media/dvb-frontends/dib3000mb.c if (dib3000mb_get_frontend(fe, c) == 0) { fe 352 drivers/media/dvb-frontends/dib3000mb.c return dib3000mb_set_frontend(fe, 0); fe 364 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_fe_init(struct dvb_frontend* fe, int mobile_mode) fe 366 drivers/media/dvb-frontends/dib3000mb.c struct dib3000_state* state = fe->demodulator_priv; fe 441 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_get_frontend(struct dvb_frontend* fe, fe 444 drivers/media/dvb-frontends/dib3000mb.c struct dib3000_state* state = fe->demodulator_priv; fe 602 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_read_status(struct dvb_frontend *fe, fe 605 drivers/media/dvb-frontends/dib3000mb.c struct dib3000_state* state = fe->demodulator_priv; fe 635 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_read_ber(struct dvb_frontend* fe, u32 *ber) fe 637 drivers/media/dvb-frontends/dib3000mb.c struct dib3000_state* state = fe->demodulator_priv; fe 644 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_read_signal_strength(struct dvb_frontend* fe, u16 *strength) fe 646 drivers/media/dvb-frontends/dib3000mb.c struct dib3000_state* state = fe->demodulator_priv; fe 652 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_read_snr(struct dvb_frontend* fe, u16 *snr) fe 654 drivers/media/dvb-frontends/dib3000mb.c struct dib3000_state* state = fe->demodulator_priv; fe 662 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_read_unc_blocks(struct dvb_frontend* fe, u32 *unc) fe 664 drivers/media/dvb-frontends/dib3000mb.c struct dib3000_state* state = fe->demodulator_priv; fe 670 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_sleep(struct dvb_frontend* fe) fe 672 drivers/media/dvb-frontends/dib3000mb.c struct dib3000_state* state = fe->demodulator_priv; fe 678 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_fe_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings *tune) fe 684 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_fe_init_nonmobile(struct dvb_frontend* fe) fe 686 drivers/media/dvb-frontends/dib3000mb.c return dib3000mb_fe_init(fe, 0); fe 689 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_set_frontend_and_tuner(struct dvb_frontend *fe) fe 691 drivers/media/dvb-frontends/dib3000mb.c return dib3000mb_set_frontend(fe, 1); fe 694 drivers/media/dvb-frontends/dib3000mb.c static void dib3000mb_release(struct dvb_frontend* fe) fe 696 drivers/media/dvb-frontends/dib3000mb.c struct dib3000_state *state = fe->demodulator_priv; fe 701 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_pid_control(struct dvb_frontend *fe,int index, int pid,int onoff) fe 703 drivers/media/dvb-frontends/dib3000mb.c struct dib3000_state *state = fe->demodulator_priv; fe 709 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_fifo_control(struct dvb_frontend *fe, int onoff) fe 711 drivers/media/dvb-frontends/dib3000mb.c struct dib3000_state *state = fe->demodulator_priv; fe 722 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_pid_parse(struct dvb_frontend *fe, int onoff) fe 724 drivers/media/dvb-frontends/dib3000mb.c struct dib3000_state *state = fe->demodulator_priv; fe 730 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_tuner_pass_ctrl(struct dvb_frontend *fe, int onoff, u8 pll_addr) fe 732 drivers/media/dvb-frontends/dib3000mb.c struct dib3000_state *state = fe->demodulator_priv; fe 670 drivers/media/dvb-frontends/dib3000mc.c static int dib3000mc_get_frontend(struct dvb_frontend* fe, fe 673 drivers/media/dvb-frontends/dib3000mc.c struct dib3000mc_state *state = fe->demodulator_priv; fe 725 drivers/media/dvb-frontends/dib3000mc.c static int dib3000mc_set_frontend(struct dvb_frontend *fe) fe 727 drivers/media/dvb-frontends/dib3000mc.c struct dtv_frontend_properties *fep = &fe->dtv_property_cache; fe 728 drivers/media/dvb-frontends/dib3000mc.c struct dib3000mc_state *state = fe->demodulator_priv; fe 739 drivers/media/dvb-frontends/dib3000mc.c if (fe->ops.tuner_ops.set_params) { fe 740 drivers/media/dvb-frontends/dib3000mc.c fe->ops.tuner_ops.set_params(fe); fe 750 drivers/media/dvb-frontends/dib3000mc.c dib3000mc_autosearch_start(fe); fe 753 drivers/media/dvb-frontends/dib3000mc.c found = dib3000mc_autosearch_is_irq(fe); fe 760 drivers/media/dvb-frontends/dib3000mc.c dib3000mc_get_frontend(fe, fep); fe 763 drivers/media/dvb-frontends/dib3000mc.c ret = dib3000mc_tune(fe); fe 770 drivers/media/dvb-frontends/dib3000mc.c static int dib3000mc_read_status(struct dvb_frontend *fe, enum fe_status *stat) fe 772 drivers/media/dvb-frontends/dib3000mc.c struct dib3000mc_state *state = fe->demodulator_priv; fe 791 drivers/media/dvb-frontends/dib3000mc.c static int dib3000mc_read_ber(struct dvb_frontend *fe, u32 *ber) fe 793 drivers/media/dvb-frontends/dib3000mc.c struct dib3000mc_state *state = fe->demodulator_priv; fe 798 drivers/media/dvb-frontends/dib3000mc.c static int dib3000mc_read_unc_blocks(struct dvb_frontend *fe, u32 *unc) fe 800 drivers/media/dvb-frontends/dib3000mc.c struct dib3000mc_state *state = fe->demodulator_priv; fe 805 drivers/media/dvb-frontends/dib3000mc.c static int dib3000mc_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 807 drivers/media/dvb-frontends/dib3000mc.c struct dib3000mc_state *state = fe->demodulator_priv; fe 813 drivers/media/dvb-frontends/dib3000mc.c static int dib3000mc_read_snr(struct dvb_frontend* fe, u16 *snr) fe 819 drivers/media/dvb-frontends/dib3000mc.c static int dib3000mc_fe_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings *tune) fe 825 drivers/media/dvb-frontends/dib3000mc.c static void dib3000mc_release(struct dvb_frontend *fe) fe 827 drivers/media/dvb-frontends/dib3000mc.c struct dib3000mc_state *state = fe->demodulator_priv; fe 832 drivers/media/dvb-frontends/dib3000mc.c int dib3000mc_pid_control(struct dvb_frontend *fe, int index, int pid,int onoff) fe 834 drivers/media/dvb-frontends/dib3000mc.c struct dib3000mc_state *state = fe->demodulator_priv; fe 840 drivers/media/dvb-frontends/dib3000mc.c int dib3000mc_pid_parse(struct dvb_frontend *fe, int onoff) fe 842 drivers/media/dvb-frontends/dib3000mc.c struct dib3000mc_state *state = fe->demodulator_priv; fe 849 drivers/media/dvb-frontends/dib3000mc.c void dib3000mc_set_config(struct dvb_frontend *fe, struct dib3000mc_config *cfg) fe 851 drivers/media/dvb-frontends/dib3000mc.c struct dib3000mc_state *state = fe->demodulator_priv; fe 76 drivers/media/dvb-frontends/dib3000mc.h extern int dib3000mc_pid_control(struct dvb_frontend *fe, int index, int pid,int onoff); fe 77 drivers/media/dvb-frontends/dib3000mc.h extern int dib3000mc_pid_parse(struct dvb_frontend *fe, int onoff); fe 1158 drivers/media/dvb-frontends/dib7000m.c static int dib7000m_get_frontend(struct dvb_frontend* fe, fe 1161 drivers/media/dvb-frontends/dib7000m.c struct dib7000m_state *state = fe->demodulator_priv; fe 1216 drivers/media/dvb-frontends/dib7000m.c static int dib7000m_set_frontend(struct dvb_frontend *fe) fe 1218 drivers/media/dvb-frontends/dib7000m.c struct dtv_frontend_properties *fep = &fe->dtv_property_cache; fe 1219 drivers/media/dvb-frontends/dib7000m.c struct dib7000m_state *state = fe->demodulator_priv; fe 1226 drivers/media/dvb-frontends/dib7000m.c if (fe->ops.tuner_ops.set_params) fe 1227 drivers/media/dvb-frontends/dib7000m.c fe->ops.tuner_ops.set_params(fe); fe 1232 drivers/media/dvb-frontends/dib7000m.c time = dib7000m_agc_startup(fe); fe 1243 drivers/media/dvb-frontends/dib7000m.c dib7000m_autosearch_start(fe); fe 1246 drivers/media/dvb-frontends/dib7000m.c found = dib7000m_autosearch_is_irq(fe); fe 1253 drivers/media/dvb-frontends/dib7000m.c dib7000m_get_frontend(fe, fep); fe 1256 drivers/media/dvb-frontends/dib7000m.c ret = dib7000m_tune(fe); fe 1263 drivers/media/dvb-frontends/dib7000m.c static int dib7000m_read_status(struct dvb_frontend *fe, enum fe_status *stat) fe 1265 drivers/media/dvb-frontends/dib7000m.c struct dib7000m_state *state = fe->demodulator_priv; fe 1284 drivers/media/dvb-frontends/dib7000m.c static int dib7000m_read_ber(struct dvb_frontend *fe, u32 *ber) fe 1286 drivers/media/dvb-frontends/dib7000m.c struct dib7000m_state *state = fe->demodulator_priv; fe 1291 drivers/media/dvb-frontends/dib7000m.c static int dib7000m_read_unc_blocks(struct dvb_frontend *fe, u32 *unc) fe 1293 drivers/media/dvb-frontends/dib7000m.c struct dib7000m_state *state = fe->demodulator_priv; fe 1298 drivers/media/dvb-frontends/dib7000m.c static int dib7000m_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 1300 drivers/media/dvb-frontends/dib7000m.c struct dib7000m_state *state = fe->demodulator_priv; fe 1306 drivers/media/dvb-frontends/dib7000m.c static int dib7000m_read_snr(struct dvb_frontend* fe, u16 *snr) fe 1312 drivers/media/dvb-frontends/dib7000m.c static int dib7000m_fe_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings *tune) fe 1332 drivers/media/dvb-frontends/dib7000m.c int dib7000m_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff) fe 1334 drivers/media/dvb-frontends/dib7000m.c struct dib7000m_state *state = fe->demodulator_priv; fe 1342 drivers/media/dvb-frontends/dib7000m.c int dib7000m_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff) fe 1344 drivers/media/dvb-frontends/dib7000m.c struct dib7000m_state *state = fe->demodulator_priv; fe 50 drivers/media/dvb-frontends/dib7000m.h extern int dib7000m_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff); fe 68 drivers/media/dvb-frontends/dib7000m.h static inline int dib7000m_pid_filter(struct dvb_frontend *fe, u8 id, fe 75 drivers/media/dvb-frontends/dib7000m.h static inline int dib7000m_pid_filter_ctrl(struct dvb_frontend *fe, fe 95 drivers/media/dvb-frontends/dib7000p.c static int dib7090_set_output_mode(struct dvb_frontend *fe, int mode); fe 96 drivers/media/dvb-frontends/dib7000p.c static int dib7090_set_diversity_in(struct dvb_frontend *fe, int onoff); fe 424 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_get_agc_values(struct dvb_frontend *fe, fe 427 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = fe->demodulator_priv; fe 441 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_set_agc1_min(struct dvb_frontend *fe, u16 v) fe 443 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = fe->demodulator_priv; fe 489 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_update_pll(struct dvb_frontend *fe, struct dibx000_bandwidth_config *bw) fe 491 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = fe->demodulator_priv; fe 645 drivers/media/dvb-frontends/dib7000p.c static void dib7000p_reset_stats(struct dvb_frontend *fe); fe 954 drivers/media/dvb-frontends/dib7000p.c static u32 dib7000p_ctrl_timf(struct dvb_frontend *fe, u8 op, u32 timf) fe 956 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = fe->demodulator_priv; fe 1421 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_get_frontend(struct dvb_frontend *fe, fe 1424 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = fe->demodulator_priv; fe 1517 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_set_frontend(struct dvb_frontend *fe) fe 1519 drivers/media/dvb-frontends/dib7000p.c struct dtv_frontend_properties *fep = &fe->dtv_property_cache; fe 1520 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = fe->demodulator_priv; fe 1524 drivers/media/dvb-frontends/dib7000p.c dib7090_set_diversity_in(fe, 0); fe 1531 drivers/media/dvb-frontends/dib7000p.c if (fe->ops.tuner_ops.set_params) fe 1532 drivers/media/dvb-frontends/dib7000p.c fe->ops.tuner_ops.set_params(fe); fe 1537 drivers/media/dvb-frontends/dib7000p.c time = dib7000p_agc_startup(fe); fe 1546 drivers/media/dvb-frontends/dib7000p.c dib7000p_autosearch_start(fe); fe 1549 drivers/media/dvb-frontends/dib7000p.c found = dib7000p_autosearch_is_irq(fe); fe 1556 drivers/media/dvb-frontends/dib7000p.c dib7000p_get_frontend(fe, fep); fe 1559 drivers/media/dvb-frontends/dib7000p.c ret = dib7000p_tune(fe); fe 1563 drivers/media/dvb-frontends/dib7000p.c dib7090_set_output_mode(fe, state->cfg.output_mode); fe 1574 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_get_stats(struct dvb_frontend *fe, enum fe_status stat); fe 1576 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_read_status(struct dvb_frontend *fe, enum fe_status *stat) fe 1578 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = fe->demodulator_priv; fe 1594 drivers/media/dvb-frontends/dib7000p.c dib7000p_get_stats(fe, *stat); fe 1599 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_read_ber(struct dvb_frontend *fe, u32 * ber) fe 1601 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = fe->demodulator_priv; fe 1606 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_read_unc_blocks(struct dvb_frontend *fe, u32 * unc) fe 1608 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = fe->demodulator_priv; fe 1613 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_read_signal_strength(struct dvb_frontend *fe, u16 * strength) fe 1615 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = fe->demodulator_priv; fe 1621 drivers/media/dvb-frontends/dib7000p.c static u32 dib7000p_get_snr(struct dvb_frontend *fe) fe 1623 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = fe->demodulator_priv; fe 1654 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_read_snr(struct dvb_frontend *fe, u16 *snr) fe 1658 drivers/media/dvb-frontends/dib7000p.c result = dib7000p_get_snr(fe); fe 1998 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_fe_get_tune_settings(struct dvb_frontend *fe, struct dvb_frontend_tune_settings *tune) fe 2067 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff) fe 2069 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = fe->demodulator_priv; fe 2076 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff) fe 2078 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = fe->demodulator_priv; fe 2147 drivers/media/dvb-frontends/dib7000p.c static s32 dib7000p_get_adc_power(struct dvb_frontend *fe) fe 2149 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = fe->demodulator_priv; fe 2399 drivers/media/dvb-frontends/dib7000p.c static struct i2c_adapter *dib7090_get_i2c_tuner(struct dvb_frontend *fe) fe 2401 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *st = fe->demodulator_priv; fe 2580 drivers/media/dvb-frontends/dib7000p.c static int dib7090_set_diversity_in(struct dvb_frontend *fe, int onoff) fe 2582 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = fe->demodulator_priv; fe 2613 drivers/media/dvb-frontends/dib7000p.c static int dib7090_set_output_mode(struct dvb_frontend *fe, int mode) fe 2615 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = fe->demodulator_priv; fe 2695 drivers/media/dvb-frontends/dib7000p.c static int dib7090_tuner_sleep(struct dvb_frontend *fe, int onoff) fe 2697 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = fe->demodulator_priv; fe 2719 drivers/media/dvb-frontends/dib7000p.c static int dib7090_get_adc_power(struct dvb_frontend *fe) fe 2721 drivers/media/dvb-frontends/dib7000p.c return dib7000p_get_adc_power(fe); fe 2724 drivers/media/dvb-frontends/dib7000p.c static int dib7090_slave_reset(struct dvb_frontend *fe) fe 2726 drivers/media/dvb-frontends/dib7000p.c struct dib7000p_state *state = fe->demodulator_priv; fe 50 drivers/media/dvb-frontends/dib7000p.h int (*get_agc_values)(struct dvb_frontend *fe, fe 52 drivers/media/dvb-frontends/dib7000p.h int (*set_agc1_min)(struct dvb_frontend *fe, u16 v); fe 53 drivers/media/dvb-frontends/dib7000p.h int (*update_pll)(struct dvb_frontend *fe, struct dibx000_bandwidth_config *bw); fe 55 drivers/media/dvb-frontends/dib7000p.h u32 (*ctrl_timf)(struct dvb_frontend *fe, u8 op, u32 timf); fe 58 drivers/media/dvb-frontends/dib7000p.h int (*pid_filter_ctrl)(struct dvb_frontend *fe, u8 onoff); fe 59 drivers/media/dvb-frontends/dib7000p.h int (*pid_filter)(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff); fe 61 drivers/media/dvb-frontends/dib7000p.h struct i2c_adapter *(*get_i2c_tuner)(struct dvb_frontend *fe); fe 62 drivers/media/dvb-frontends/dib7000p.h int (*tuner_sleep)(struct dvb_frontend *fe, int onoff); fe 63 drivers/media/dvb-frontends/dib7000p.h int (*get_adc_power)(struct dvb_frontend *fe); fe 64 drivers/media/dvb-frontends/dib7000p.h int (*slave_reset)(struct dvb_frontend *fe); fe 97 drivers/media/dvb-frontends/dib8000.c struct dvb_frontend *fe[MAX_NUMBER_OF_FRONTENDS]; fe 382 drivers/media/dvb-frontends/dib8000.c switch (state->fe[0]->dtv_property_cache.transmission_mode) { fe 405 drivers/media/dvb-frontends/dib8000.c static int dib8000_set_output_mode(struct dvb_frontend *fe, int mode) fe 407 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 416 drivers/media/dvb-frontends/dib8000.c &state->fe[0], mode); fe 451 drivers/media/dvb-frontends/dib8000.c &state->fe[0]); fe 466 drivers/media/dvb-frontends/dib8000.c static int dib8000_set_diversity_in(struct dvb_frontend *fe, int onoff) fe 468 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 617 drivers/media/dvb-frontends/dib8000.c static int dib8000_set_bandwidth(struct dvb_frontend *fe, u32 bw) fe 619 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 663 drivers/media/dvb-frontends/dib8000.c static int dib8000_set_wbd_ref(struct dvb_frontend *fe, u16 value) fe 665 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 745 drivers/media/dvb-frontends/dib8000.c static int dib8000_update_pll(struct dvb_frontend *fe, fe 748 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 853 drivers/media/dvb-frontends/dib8000.c static int dib8000_set_gpio(struct dvb_frontend *fe, u8 num, u8 dir, u8 val) fe 855 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 993 drivers/media/dvb-frontends/dib8000.c static int dib8000_read_unc_blocks(struct dvb_frontend *fe, u32 *unc); fe 995 drivers/media/dvb-frontends/dib8000.c static void dib8000_reset_stats(struct dvb_frontend *fe) fe 997 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 998 drivers/media/dvb-frontends/dib8000.c struct dtv_frontend_properties *c = &state->fe[0]->dtv_property_cache; fe 1023 drivers/media/dvb-frontends/dib8000.c dib8000_read_unc_blocks(fe, &ucb); fe 1032 drivers/media/dvb-frontends/dib8000.c static int dib8000_reset(struct dvb_frontend *fe) fe 1034 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 1090 drivers/media/dvb-frontends/dib8000.c (dib8000_set_output_mode(fe, OUTMODE_HIGH_Z) != 0)) fe 1126 drivers/media/dvb-frontends/dib8000.c dib8000_set_bandwidth(fe, 6000); fe 1138 drivers/media/dvb-frontends/dib8000.c dib8000_reset_stats(fe); fe 1158 drivers/media/dvb-frontends/dib8000.c if (state->cfg.update_lna(state->fe[0], dyn_gain)) { fe 1232 drivers/media/dvb-frontends/dib8000.c static void dib8000_pwm_agc_reset(struct dvb_frontend *fe) fe 1234 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 1236 drivers/media/dvb-frontends/dib8000.c dib8000_set_agc_config(state, (unsigned char)(BAND_OF_FREQUENCY(fe->dtv_property_cache.frequency / 1000))); fe 1265 drivers/media/dvb-frontends/dib8000.c static int dib8000_agc_startup(struct dvb_frontend *fe) fe 1267 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 1295 drivers/media/dvb-frontends/dib8000.c if (dib8000_set_agc_config(state, (unsigned char)(BAND_OF_FREQUENCY(fe->dtv_property_cache.frequency / 1000))) != 0) { fe 1308 drivers/media/dvb-frontends/dib8000.c state->cfg.agc_control(fe, 1); fe 1332 drivers/media/dvb-frontends/dib8000.c state->cfg.agc_control(fe, 0); fe 1526 drivers/media/dvb-frontends/dib8000.c static int dib8096p_set_diversity_in(struct dvb_frontend *fe, int onoff) fe 1528 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 1557 drivers/media/dvb-frontends/dib8000.c dib8000_set_diversity_in(state->fe[0], onoff); fe 1561 drivers/media/dvb-frontends/dib8000.c static int dib8096p_set_output_mode(struct dvb_frontend *fe, int mode) fe 1563 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 1885 drivers/media/dvb-frontends/dib8000.c static struct i2c_adapter *dib8096p_get_i2c_tuner(struct dvb_frontend *fe) fe 1887 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *st = fe->demodulator_priv; fe 1891 drivers/media/dvb-frontends/dib8000.c static int dib8096p_tuner_sleep(struct dvb_frontend *fe, int onoff) fe 1893 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 1921 drivers/media/dvb-frontends/dib8000.c static s32 dib8000_get_adc_power(struct dvb_frontend *fe, u8 mode) fe 1923 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 1940 drivers/media/dvb-frontends/dib8000.c static int dib8090p_get_dc_power(struct dvb_frontend *fe, u8 IQ) fe 1942 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 1968 drivers/media/dvb-frontends/dib8000.c static u32 dib8000_ctrl_timf(struct dvb_frontend *fe, uint8_t op, uint32_t timf) fe 1970 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 1982 drivers/media/dvb-frontends/dib8000.c dib8000_set_bandwidth(state->fe[0], 6000); fe 1996 drivers/media/dvb-frontends/dib8000.c struct dtv_frontend_properties *c = &state->fe[0]->dtv_property_cache; fe 2127 drivers/media/dvb-frontends/dib8000.c switch (state->fe[0]->dtv_property_cache.transmission_mode) { fe 2190 drivers/media/dvb-frontends/dib8000.c struct dtv_frontend_properties *c = &state->fe[0]->dtv_property_cache; fe 2274 drivers/media/dvb-frontends/dib8000.c struct dtv_frontend_properties *c = &state->fe[0]->dtv_property_cache; fe 2349 drivers/media/dvb-frontends/dib8000.c struct dtv_frontend_properties *c = &state->fe[0]->dtv_property_cache; fe 2492 drivers/media/dvb-frontends/dib8000.c static int dib8000_autosearch_start(struct dvb_frontend *fe) fe 2494 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 2495 drivers/media/dvb-frontends/dib8000.c struct dtv_frontend_properties *c = &state->fe[0]->dtv_property_cache; fe 2637 drivers/media/dvb-frontends/dib8000.c static int dib8000_autosearch_irq(struct dvb_frontend *fe) fe 2639 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 2718 drivers/media/dvb-frontends/dib8000.c struct dtv_frontend_properties *c = &state->fe[0]->dtv_property_cache; fe 2723 drivers/media/dvb-frontends/dib8000.c if (state->fe[0]->ops.tuner_ops.get_frequency) fe 2724 drivers/media/dvb-frontends/dib8000.c state->fe[0]->ops.tuner_ops.get_frequency(state->fe[0], ¤t_rf); fe 2755 drivers/media/dvb-frontends/dib8000.c struct dtv_frontend_properties *c = &state->fe[0]->dtv_property_cache; fe 2777 drivers/media/dvb-frontends/dib8000.c struct dtv_frontend_properties *c = &state->fe[0]->dtv_property_cache; fe 2823 drivers/media/dvb-frontends/dib8000.c struct dtv_frontend_properties *c = &state->fe[0]->dtv_property_cache; fe 2856 drivers/media/dvb-frontends/dib8000.c static s32 dib8000_get_status(struct dvb_frontend *fe) fe 2858 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 2862 drivers/media/dvb-frontends/dib8000.c static enum frontend_tune_state dib8000_get_tune_state(struct dvb_frontend *fe) fe 2864 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 2868 drivers/media/dvb-frontends/dib8000.c static int dib8000_set_tune_state(struct dvb_frontend *fe, enum frontend_tune_state tune_state) fe 2870 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 2876 drivers/media/dvb-frontends/dib8000.c static int dib8000_tune_restart_from_demod(struct dvb_frontend *fe) fe 2878 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 2885 drivers/media/dvb-frontends/dib8000.c static u16 dib8000_read_lock(struct dvb_frontend *fe) fe 2887 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 2996 drivers/media/dvb-frontends/dib8000.c static int dib8000_tune(struct dvb_frontend *fe) fe 2998 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 2999 drivers/media/dvb-frontends/dib8000.c struct dtv_frontend_properties *c = &state->fe[0]->dtv_property_cache; fe 3022 drivers/media/dvb-frontends/dib8000.c dib8000_reset_stats(fe); fe 3038 drivers/media/dvb-frontends/dib8000.c dib8000_set_bandwidth(fe, c->bandwidth_hz / 1000); fe 3067 drivers/media/dvb-frontends/dib8000.c dib8000_autosearch_start(fe); fe 3076 drivers/media/dvb-frontends/dib8000.c switch (dib8000_autosearch_irq(fe)) { fe 3167 drivers/media/dvb-frontends/dib8000.c dib8000_set_diversity_in(state->fe[0], state->diversity_onoff); fe 3176 drivers/media/dvb-frontends/dib8000.c locks = dib8000_read_lock(fe); fe 3192 drivers/media/dvb-frontends/dib8000.c if ((state->fe[1] != NULL) && (state->output_mode != OUTMODE_DIVERSITY)) { fe 3194 drivers/media/dvb-frontends/dib8000.c if (dib8000_get_status(state->fe[1]) <= FE_STATUS_STD_SUCCESS) /* Something is locked on the input fe */ fe 3196 drivers/media/dvb-frontends/dib8000.c else if (dib8000_get_status(state->fe[1]) >= FE_STATUS_TUNE_TIME_TOO_SHORT) { /* fe in input failed also, break the current one */ fe 3211 drivers/media/dvb-frontends/dib8000.c locks = dib8000_read_lock(fe); fe 3268 drivers/media/dvb-frontends/dib8000.c locks = dib8000_read_lock(fe); fe 3346 drivers/media/dvb-frontends/dib8000.c static int dib8000_wakeup(struct dvb_frontend *fe) fe 3348 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 3360 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 3361 drivers/media/dvb-frontends/dib8000.c ret = state->fe[index_frontend]->ops.init(state->fe[index_frontend]); fe 3369 drivers/media/dvb-frontends/dib8000.c static int dib8000_sleep(struct dvb_frontend *fe) fe 3371 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 3375 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 3376 drivers/media/dvb-frontends/dib8000.c ret = state->fe[index_frontend]->ops.sleep(state->fe[index_frontend]); fe 3382 drivers/media/dvb-frontends/dib8000.c dib8000_set_output_mode(fe, OUTMODE_HIGH_Z); fe 3387 drivers/media/dvb-frontends/dib8000.c static int dib8000_read_status(struct dvb_frontend *fe, enum fe_status *stat); fe 3389 drivers/media/dvb-frontends/dib8000.c static int dib8000_get_frontend(struct dvb_frontend *fe, fe 3392 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 3404 drivers/media/dvb-frontends/dib8000.c dib8000_read_status(fe, &stat); fe 3409 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 3410 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->ops.read_status(state->fe[index_frontend], &stat); fe 3414 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->ops.get_frontend(state->fe[index_frontend], c); fe 3415 drivers/media/dvb-frontends/dib8000.c for (sub_index_frontend = 0; (sub_index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[sub_index_frontend] != NULL); sub_index_frontend++) { fe 3417 drivers/media/dvb-frontends/dib8000.c state->fe[sub_index_frontend]->dtv_property_cache.isdbt_sb_mode = state->fe[index_frontend]->dtv_property_cache.isdbt_sb_mode; fe 3418 drivers/media/dvb-frontends/dib8000.c state->fe[sub_index_frontend]->dtv_property_cache.inversion = state->fe[index_frontend]->dtv_property_cache.inversion; fe 3419 drivers/media/dvb-frontends/dib8000.c state->fe[sub_index_frontend]->dtv_property_cache.transmission_mode = state->fe[index_frontend]->dtv_property_cache.transmission_mode; fe 3420 drivers/media/dvb-frontends/dib8000.c state->fe[sub_index_frontend]->dtv_property_cache.guard_interval = state->fe[index_frontend]->dtv_property_cache.guard_interval; fe 3421 drivers/media/dvb-frontends/dib8000.c state->fe[sub_index_frontend]->dtv_property_cache.isdbt_partial_reception = state->fe[index_frontend]->dtv_property_cache.isdbt_partial_reception; fe 3423 drivers/media/dvb-frontends/dib8000.c state->fe[sub_index_frontend]->dtv_property_cache.layer[i].segment_count = state->fe[index_frontend]->dtv_property_cache.layer[i].segment_count; fe 3424 drivers/media/dvb-frontends/dib8000.c state->fe[sub_index_frontend]->dtv_property_cache.layer[i].interleaving = state->fe[index_frontend]->dtv_property_cache.layer[i].interleaving; fe 3425 drivers/media/dvb-frontends/dib8000.c state->fe[sub_index_frontend]->dtv_property_cache.layer[i].fec = state->fe[index_frontend]->dtv_property_cache.layer[i].fec; fe 3426 drivers/media/dvb-frontends/dib8000.c state->fe[sub_index_frontend]->dtv_property_cache.layer[i].modulation = state->fe[index_frontend]->dtv_property_cache.layer[i].modulation; fe 3560 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 3561 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.isdbt_sb_mode = c->isdbt_sb_mode; fe 3562 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.inversion = c->inversion; fe 3563 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.transmission_mode = c->transmission_mode; fe 3564 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.guard_interval = c->guard_interval; fe 3565 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.isdbt_partial_reception = c->isdbt_partial_reception; fe 3567 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.layer[i].segment_count = c->layer[i].segment_count; fe 3568 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.layer[i].interleaving = c->layer[i].interleaving; fe 3569 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.layer[i].fec = c->layer[i].fec; fe 3570 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.layer[i].modulation = c->layer[i].modulation; fe 3576 drivers/media/dvb-frontends/dib8000.c static int dib8000_set_frontend(struct dvb_frontend *fe) fe 3578 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 3579 drivers/media/dvb-frontends/dib8000.c struct dtv_frontend_properties *c = &state->fe[0]->dtv_property_cache; fe 3594 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 3596 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.delivery_system = SYS_ISDBT; fe 3597 drivers/media/dvb-frontends/dib8000.c memcpy(&state->fe[index_frontend]->dtv_property_cache, &fe->dtv_property_cache, sizeof(struct dtv_frontend_properties)); fe 3601 drivers/media/dvb-frontends/dib8000.c dib8000_set_diversity_in(state->fe[index_frontend], 1); fe 3603 drivers/media/dvb-frontends/dib8000.c dib8000_set_output_mode(state->fe[index_frontend], fe 3606 drivers/media/dvb-frontends/dib8000.c dib8000_set_output_mode(state->fe[0], OUTMODE_HIGH_Z); fe 3608 drivers/media/dvb-frontends/dib8000.c dib8096p_set_diversity_in(state->fe[index_frontend], 1); fe 3610 drivers/media/dvb-frontends/dib8000.c dib8096p_set_output_mode(state->fe[index_frontend], fe 3613 drivers/media/dvb-frontends/dib8000.c dib8096p_set_output_mode(state->fe[0], OUTMODE_HIGH_Z); fe 3617 drivers/media/dvb-frontends/dib8000.c if (state->fe[index_frontend]->ops.tuner_ops.set_params) fe 3618 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->ops.tuner_ops.set_params(state->fe[index_frontend]); fe 3620 drivers/media/dvb-frontends/dib8000.c dib8000_set_tune_state(state->fe[index_frontend], CT_AGC_START); fe 3625 drivers/media/dvb-frontends/dib8000.c dib8000_set_diversity_in(state->fe[index_frontend - 1], 0); fe 3627 drivers/media/dvb-frontends/dib8000.c dib8096p_set_diversity_in(state->fe[index_frontend - 1], 0); fe 3631 drivers/media/dvb-frontends/dib8000.c time = dib8000_agc_startup(state->fe[0]); fe 3632 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 3633 drivers/media/dvb-frontends/dib8000.c time_slave = dib8000_agc_startup(state->fe[index_frontend]); fe 3653 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 3654 drivers/media/dvb-frontends/dib8000.c if (dib8000_get_tune_state(state->fe[index_frontend]) != CT_AGC_STOP) { fe 3661 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) fe 3662 drivers/media/dvb-frontends/dib8000.c dib8000_set_tune_state(state->fe[index_frontend], CT_DEMOD_START); fe 3667 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 3668 drivers/media/dvb-frontends/dib8000.c delay = dib8000_tune(state->fe[index_frontend]); fe 3677 drivers/media/dvb-frontends/dib8000.c if ((dib8000_get_status(state->fe[index_frontend]) == FE_STATUS_DEMOD_SUCCESS) || (dib8000_get_status(state->fe[index_frontend]) == FE_STATUS_FFT_SUCCESS)) { fe 3679 drivers/media/dvb-frontends/dib8000.c dib8000_get_frontend(state->fe[index_frontend], c); /* we read the channel parameters from the frontend which was successful */ fe 3682 drivers/media/dvb-frontends/dib8000.c for (l = 0; (l < MAX_NUMBER_OF_FRONTENDS) && (state->fe[l] != NULL); l++) { fe 3685 drivers/media/dvb-frontends/dib8000.c dib8000_tune_restart_from_demod(state->fe[l]); fe 3687 drivers/media/dvb-frontends/dib8000.c state->fe[l]->dtv_property_cache.isdbt_sb_mode = state->fe[index_frontend]->dtv_property_cache.isdbt_sb_mode; fe 3688 drivers/media/dvb-frontends/dib8000.c state->fe[l]->dtv_property_cache.inversion = state->fe[index_frontend]->dtv_property_cache.inversion; fe 3689 drivers/media/dvb-frontends/dib8000.c state->fe[l]->dtv_property_cache.transmission_mode = state->fe[index_frontend]->dtv_property_cache.transmission_mode; fe 3690 drivers/media/dvb-frontends/dib8000.c state->fe[l]->dtv_property_cache.guard_interval = state->fe[index_frontend]->dtv_property_cache.guard_interval; fe 3691 drivers/media/dvb-frontends/dib8000.c state->fe[l]->dtv_property_cache.isdbt_partial_reception = state->fe[index_frontend]->dtv_property_cache.isdbt_partial_reception; fe 3693 drivers/media/dvb-frontends/dib8000.c state->fe[l]->dtv_property_cache.layer[i].segment_count = state->fe[index_frontend]->dtv_property_cache.layer[i].segment_count; fe 3694 drivers/media/dvb-frontends/dib8000.c state->fe[l]->dtv_property_cache.layer[i].interleaving = state->fe[index_frontend]->dtv_property_cache.layer[i].interleaving; fe 3695 drivers/media/dvb-frontends/dib8000.c state->fe[l]->dtv_property_cache.layer[i].fec = state->fe[index_frontend]->dtv_property_cache.layer[i].fec; fe 3696 drivers/media/dvb-frontends/dib8000.c state->fe[l]->dtv_property_cache.layer[i].modulation = state->fe[index_frontend]->dtv_property_cache.layer[i].modulation; fe 3705 drivers/media/dvb-frontends/dib8000.c if (dib8000_get_status(state->fe[0]) == FE_STATUS_TUNE_FAILED || fe 3706 drivers/media/dvb-frontends/dib8000.c dib8000_get_status(state->fe[0]) == FE_STATUS_LOCKED || fe 3707 drivers/media/dvb-frontends/dib8000.c dib8000_get_status(state->fe[0]) == FE_STATUS_DATA_LOCKED) { fe 3710 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 3711 drivers/media/dvb-frontends/dib8000.c if (dib8000_get_tune_state(state->fe[index_frontend]) != CT_DEMOD_STOP) fe 3715 drivers/media/dvb-frontends/dib8000.c dprintk("tuning done with status %d\n", dib8000_get_status(state->fe[0])); fe 3729 drivers/media/dvb-frontends/dib8000.c dib8000_set_output_mode(state->fe[0], state->cfg.output_mode); fe 3731 drivers/media/dvb-frontends/dib8000.c dib8096p_set_output_mode(state->fe[0], state->cfg.output_mode); fe 3741 drivers/media/dvb-frontends/dib8000.c static int dib8000_get_stats(struct dvb_frontend *fe, enum fe_status stat); fe 3743 drivers/media/dvb-frontends/dib8000.c static int dib8000_read_status(struct dvb_frontend *fe, enum fe_status *stat) fe 3745 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 3749 drivers/media/dvb-frontends/dib8000.c lock = dib8000_read_lock(fe); fe 3750 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) fe 3751 drivers/media/dvb-frontends/dib8000.c lock_slave |= dib8000_read_lock(state->fe[index_frontend]); fe 3780 drivers/media/dvb-frontends/dib8000.c dib8000_get_stats(fe, *stat); fe 3785 drivers/media/dvb-frontends/dib8000.c static int dib8000_read_ber(struct dvb_frontend *fe, u32 * ber) fe 3787 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 3799 drivers/media/dvb-frontends/dib8000.c static int dib8000_read_unc_blocks(struct dvb_frontend *fe, u32 * unc) fe 3801 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 3811 drivers/media/dvb-frontends/dib8000.c static int dib8000_read_signal_strength(struct dvb_frontend *fe, u16 * strength) fe 3813 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 3818 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 3819 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->ops.read_signal_strength(state->fe[index_frontend], &val); fe 3834 drivers/media/dvb-frontends/dib8000.c static u32 dib8000_get_snr(struct dvb_frontend *fe) fe 3836 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 3867 drivers/media/dvb-frontends/dib8000.c static int dib8000_read_snr(struct dvb_frontend *fe, u16 * snr) fe 3869 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 3873 drivers/media/dvb-frontends/dib8000.c snr_master = dib8000_get_snr(fe); fe 3874 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) fe 3875 drivers/media/dvb-frontends/dib8000.c snr_master += dib8000_get_snr(state->fe[index_frontend]); fe 3983 drivers/media/dvb-frontends/dib8000.c static u32 dib8000_get_time_us(struct dvb_frontend *fe, int layer) fe 3985 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 3986 drivers/media/dvb-frontends/dib8000.c struct dtv_frontend_properties *c = &state->fe[0]->dtv_property_cache; fe 4097 drivers/media/dvb-frontends/dib8000.c static int dib8000_get_stats(struct dvb_frontend *fe, enum fe_status stat) fe 4099 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 4100 drivers/media/dvb-frontends/dib8000.c struct dtv_frontend_properties *c = &state->fe[0]->dtv_property_cache; fe 4109 drivers/media/dvb-frontends/dib8000.c dib8000_read_signal_strength(fe, &strength); fe 4136 drivers/media/dvb-frontends/dib8000.c snr = dib8000_get_snr(fe); fe 4138 drivers/media/dvb-frontends/dib8000.c if (state->fe[i]) fe 4139 drivers/media/dvb-frontends/dib8000.c snr += dib8000_get_snr(state->fe[i]); fe 4153 drivers/media/dvb-frontends/dib8000.c dib8000_read_unc_blocks(fe, &val); fe 4162 drivers/media/dvb-frontends/dib8000.c time_us = dib8000_get_time_us(fe, -1); fe 4176 drivers/media/dvb-frontends/dib8000.c time_us = dib8000_get_time_us(fe, -1); fe 4181 drivers/media/dvb-frontends/dib8000.c dib8000_read_ber(fe, &val); fe 4205 drivers/media/dvb-frontends/dib8000.c time_us = dib8000_get_time_us(fe, i); fe 4226 drivers/media/dvb-frontends/dib8000.c time_us = dib8000_get_time_us(fe, i); fe 4238 drivers/media/dvb-frontends/dib8000.c static int dib8000_set_slave_frontend(struct dvb_frontend *fe, struct dvb_frontend *fe_slave) fe 4240 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 4243 drivers/media/dvb-frontends/dib8000.c while ((index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL)) fe 4247 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend] = fe_slave; fe 4255 drivers/media/dvb-frontends/dib8000.c static struct dvb_frontend *dib8000_get_slave_frontend(struct dvb_frontend *fe, int slave_index) fe 4257 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *state = fe->demodulator_priv; fe 4261 drivers/media/dvb-frontends/dib8000.c return state->fe[slave_index]; fe 4341 drivers/media/dvb-frontends/dib8000.c static int dib8000_fe_get_tune_settings(struct dvb_frontend *fe, struct dvb_frontend_tune_settings *tune) fe 4349 drivers/media/dvb-frontends/dib8000.c static void dib8000_release(struct dvb_frontend *fe) fe 4351 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *st = fe->demodulator_priv; fe 4354 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (st->fe[index_frontend] != NULL); index_frontend++) fe 4355 drivers/media/dvb-frontends/dib8000.c dvb_frontend_detach(st->fe[index_frontend]); fe 4359 drivers/media/dvb-frontends/dib8000.c kfree(st->fe[0]); fe 4363 drivers/media/dvb-frontends/dib8000.c static struct i2c_adapter *dib8000_get_i2c_master(struct dvb_frontend *fe, enum dibx000_i2c_interface intf, int gating) fe 4365 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *st = fe->demodulator_priv; fe 4369 drivers/media/dvb-frontends/dib8000.c static int dib8000_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff) fe 4371 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *st = fe->demodulator_priv; fe 4379 drivers/media/dvb-frontends/dib8000.c static int dib8000_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff) fe 4381 drivers/media/dvb-frontends/dib8000.c struct dib8000_state *st = fe->demodulator_priv; fe 4418 drivers/media/dvb-frontends/dib8000.c struct dvb_frontend *fe; fe 4426 drivers/media/dvb-frontends/dib8000.c fe = kzalloc(sizeof(struct dvb_frontend), GFP_KERNEL); fe 4427 drivers/media/dvb-frontends/dib8000.c if (fe == NULL) fe 4446 drivers/media/dvb-frontends/dib8000.c state->fe[0] = fe; fe 4447 drivers/media/dvb-frontends/dib8000.c fe->demodulator_priv = state; fe 4448 drivers/media/dvb-frontends/dib8000.c memcpy(&state->fe[0]->ops, &dib8000_ops, sizeof(struct dvb_frontend_ops)); fe 4466 drivers/media/dvb-frontends/dib8000.c dib8000_reset(fe); fe 4471 drivers/media/dvb-frontends/dib8000.c return fe; fe 44 drivers/media/dvb-frontends/dib8000.h int (*set_wbd_ref)(struct dvb_frontend *fe, u16 value); fe 45 drivers/media/dvb-frontends/dib8000.h int (*update_pll)(struct dvb_frontend *fe, fe 47 drivers/media/dvb-frontends/dib8000.h int (*set_gpio)(struct dvb_frontend *fe, u8 num, u8 dir, u8 val); fe 48 drivers/media/dvb-frontends/dib8000.h void (*pwm_agc_reset)(struct dvb_frontend *fe); fe 49 drivers/media/dvb-frontends/dib8000.h struct i2c_adapter *(*get_i2c_tuner)(struct dvb_frontend *fe); fe 50 drivers/media/dvb-frontends/dib8000.h int (*tuner_sleep)(struct dvb_frontend *fe, int onoff); fe 51 drivers/media/dvb-frontends/dib8000.h s32 (*get_adc_power)(struct dvb_frontend *fe, u8 mode); fe 52 drivers/media/dvb-frontends/dib8000.h int (*get_dc_power)(struct dvb_frontend *fe, u8 IQ); fe 53 drivers/media/dvb-frontends/dib8000.h u32 (*ctrl_timf)(struct dvb_frontend *fe, uint8_t op, uint32_t timf); fe 54 drivers/media/dvb-frontends/dib8000.h enum frontend_tune_state (*get_tune_state)(struct dvb_frontend *fe); fe 55 drivers/media/dvb-frontends/dib8000.h int (*set_tune_state)(struct dvb_frontend *fe, enum frontend_tune_state tune_state); fe 56 drivers/media/dvb-frontends/dib8000.h int (*set_slave_frontend)(struct dvb_frontend *fe, struct dvb_frontend *fe_slave); fe 57 drivers/media/dvb-frontends/dib8000.h struct dvb_frontend *(*get_slave_frontend)(struct dvb_frontend *fe, int slave_index); fe 60 drivers/media/dvb-frontends/dib8000.h struct i2c_adapter *(*get_i2c_master)(struct dvb_frontend *fe, enum dibx000_i2c_interface intf, int gating); fe 61 drivers/media/dvb-frontends/dib8000.h int (*pid_filter_ctrl)(struct dvb_frontend *fe, u8 onoff); fe 62 drivers/media/dvb-frontends/dib8000.h int (*pid_filter)(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff); fe 102 drivers/media/dvb-frontends/dib9000.c struct dvb_frontend *fe[MAX_NUMBER_OF_FRONTENDS]; fe 963 drivers/media/dvb-frontends/dib9000.c static int dib9000_fw_reset(struct dvb_frontend *fe) fe 965 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 1158 drivers/media/dvb-frontends/dib9000.c u32 freq = state->fe[0]->dtv_property_cache.frequency / 1000; fe 1166 drivers/media/dvb-frontends/dib9000.c b[4] = (u8) ((state->fe[0]->dtv_property_cache.bandwidth_hz / 1000 >> 0) & 0xff); fe 1167 drivers/media/dvb-frontends/dib9000.c b[5] = (u8) ((state->fe[0]->dtv_property_cache.bandwidth_hz / 1000 >> 8) & 0xff); fe 1168 drivers/media/dvb-frontends/dib9000.c b[6] = (u8) ((state->fe[0]->dtv_property_cache.bandwidth_hz / 1000 >> 16) & 0xff); fe 1169 drivers/media/dvb-frontends/dib9000.c b[7] = (u8) ((state->fe[0]->dtv_property_cache.bandwidth_hz / 1000 >> 24) & 0xff); fe 1171 drivers/media/dvb-frontends/dib9000.c if (state->fe[0]->dtv_property_cache.delivery_system == SYS_DVBT) fe 1176 drivers/media/dvb-frontends/dib9000.c static int dib9000_fw_get_channel(struct dvb_frontend *fe) fe 1178 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 1213 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.inversion = INVERSION_ON; fe 1216 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.inversion = INVERSION_OFF; fe 1220 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.inversion = INVERSION_AUTO; fe 1225 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.transmission_mode = TRANSMISSION_MODE_2K; fe 1228 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.transmission_mode = TRANSMISSION_MODE_4K; fe 1231 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.transmission_mode = TRANSMISSION_MODE_8K; fe 1235 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.transmission_mode = TRANSMISSION_MODE_AUTO; fe 1240 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.guard_interval = GUARD_INTERVAL_1_32; fe 1243 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.guard_interval = GUARD_INTERVAL_1_16; fe 1246 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.guard_interval = GUARD_INTERVAL_1_8; fe 1249 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.guard_interval = GUARD_INTERVAL_1_4; fe 1253 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.guard_interval = GUARD_INTERVAL_AUTO; fe 1258 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.modulation = QAM_64; fe 1261 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.modulation = QAM_16; fe 1264 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.modulation = QPSK; fe 1268 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.modulation = QAM_AUTO; fe 1273 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.hierarchy = HIERARCHY_NONE; fe 1276 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.hierarchy = HIERARCHY_1; fe 1280 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.hierarchy = HIERARCHY_AUTO; fe 1285 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.code_rate_HP = FEC_1_2; fe 1288 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.code_rate_HP = FEC_2_3; fe 1291 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.code_rate_HP = FEC_3_4; fe 1294 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.code_rate_HP = FEC_5_6; fe 1297 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.code_rate_HP = FEC_7_8; fe 1301 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.code_rate_HP = FEC_AUTO; fe 1306 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.code_rate_LP = FEC_1_2; fe 1309 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.code_rate_LP = FEC_2_3; fe 1312 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.code_rate_LP = FEC_3_4; fe 1315 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.code_rate_LP = FEC_5_6; fe 1318 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.code_rate_LP = FEC_7_8; fe 1322 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.code_rate_LP = FEC_AUTO; fe 1331 drivers/media/dvb-frontends/dib9000.c static int dib9000_fw_set_channel_union(struct dvb_frontend *fe) fe 1333 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 1351 drivers/media/dvb-frontends/dib9000.c switch (state->fe[0]->dtv_property_cache.inversion) { fe 1363 drivers/media/dvb-frontends/dib9000.c switch (state->fe[0]->dtv_property_cache.transmission_mode) { fe 1378 drivers/media/dvb-frontends/dib9000.c switch (state->fe[0]->dtv_property_cache.guard_interval) { fe 1396 drivers/media/dvb-frontends/dib9000.c switch (state->fe[0]->dtv_property_cache.modulation) { fe 1411 drivers/media/dvb-frontends/dib9000.c switch (state->fe[0]->dtv_property_cache.hierarchy) { fe 1426 drivers/media/dvb-frontends/dib9000.c switch (state->fe[0]->dtv_property_cache.code_rate_HP) { fe 1447 drivers/media/dvb-frontends/dib9000.c switch (state->fe[0]->dtv_property_cache.code_rate_LP) { fe 1476 drivers/media/dvb-frontends/dib9000.c static int dib9000_fw_tune(struct dvb_frontend *fe) fe 1478 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 1493 drivers/media/dvb-frontends/dib9000.c dib9000_fw_set_channel_union(fe); fe 1529 drivers/media/dvb-frontends/dib9000.c static int dib9000_fw_set_diversity_in(struct dvb_frontend *fe, int onoff) fe 1531 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 1536 drivers/media/dvb-frontends/dib9000.c static int dib9000_fw_set_output_mode(struct dvb_frontend *fe, int mode) fe 1538 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 1541 drivers/media/dvb-frontends/dib9000.c dprintk("setting output mode for demod %p to %d\n", fe, mode); fe 1563 drivers/media/dvb-frontends/dib9000.c dprintk("Unhandled output_mode passed to be set for demod %p\n", &state->fe[0]); fe 1644 drivers/media/dvb-frontends/dib9000.c int dib9000_fw_set_component_bus_speed(struct dvb_frontend *fe, u16 speed) fe 1646 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 1724 drivers/media/dvb-frontends/dib9000.c struct i2c_adapter *dib9000_get_tuner_interface(struct dvb_frontend *fe) fe 1726 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *st = fe->demodulator_priv; fe 1731 drivers/media/dvb-frontends/dib9000.c struct i2c_adapter *dib9000_get_component_bus_interface(struct dvb_frontend *fe) fe 1733 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *st = fe->demodulator_priv; fe 1738 drivers/media/dvb-frontends/dib9000.c struct i2c_adapter *dib9000_get_i2c_master(struct dvb_frontend *fe, enum dibx000_i2c_interface intf, int gating) fe 1740 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *st = fe->demodulator_priv; fe 1745 drivers/media/dvb-frontends/dib9000.c int dib9000_set_i2c_adapter(struct dvb_frontend *fe, struct i2c_adapter *i2c) fe 1747 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *st = fe->demodulator_priv; fe 1771 drivers/media/dvb-frontends/dib9000.c int dib9000_set_gpio(struct dvb_frontend *fe, u8 num, u8 dir, u8 val) fe 1773 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 1778 drivers/media/dvb-frontends/dib9000.c int dib9000_fw_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff) fe 1780 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 1809 drivers/media/dvb-frontends/dib9000.c int dib9000_fw_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff) fe 1811 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 1840 drivers/media/dvb-frontends/dib9000.c int dib9000_firmware_post_pll_init(struct dvb_frontend *fe) fe 1842 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 1852 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (st->fe[index_frontend] != NULL); index_frontend++) fe 1853 drivers/media/dvb-frontends/dib9000.c dvb_frontend_detach(st->fe[index_frontend]); fe 1859 drivers/media/dvb-frontends/dib9000.c kfree(st->fe[0]); fe 1863 drivers/media/dvb-frontends/dib9000.c static int dib9000_wakeup(struct dvb_frontend *fe) fe 1868 drivers/media/dvb-frontends/dib9000.c static int dib9000_sleep(struct dvb_frontend *fe) fe 1870 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 1878 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 1879 drivers/media/dvb-frontends/dib9000.c ret = state->fe[index_frontend]->ops.sleep(state->fe[index_frontend]); fe 1890 drivers/media/dvb-frontends/dib9000.c static int dib9000_fe_get_tune_settings(struct dvb_frontend *fe, struct dvb_frontend_tune_settings *tune) fe 1896 drivers/media/dvb-frontends/dib9000.c static int dib9000_get_frontend(struct dvb_frontend *fe, fe 1899 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 1911 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 1912 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->ops.read_status(state->fe[index_frontend], &stat); fe 1917 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->ops.get_frontend(state->fe[index_frontend], c); fe 1918 drivers/media/dvb-frontends/dib9000.c for (sub_index_frontend = 0; (sub_index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[sub_index_frontend] != NULL); fe 1921 drivers/media/dvb-frontends/dib9000.c state->fe[sub_index_frontend]->dtv_property_cache.modulation = fe 1922 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.modulation; fe 1923 drivers/media/dvb-frontends/dib9000.c state->fe[sub_index_frontend]->dtv_property_cache.inversion = fe 1924 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.inversion; fe 1925 drivers/media/dvb-frontends/dib9000.c state->fe[sub_index_frontend]->dtv_property_cache.transmission_mode = fe 1926 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.transmission_mode; fe 1927 drivers/media/dvb-frontends/dib9000.c state->fe[sub_index_frontend]->dtv_property_cache.guard_interval = fe 1928 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.guard_interval; fe 1929 drivers/media/dvb-frontends/dib9000.c state->fe[sub_index_frontend]->dtv_property_cache.hierarchy = fe 1930 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.hierarchy; fe 1931 drivers/media/dvb-frontends/dib9000.c state->fe[sub_index_frontend]->dtv_property_cache.code_rate_HP = fe 1932 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.code_rate_HP; fe 1933 drivers/media/dvb-frontends/dib9000.c state->fe[sub_index_frontend]->dtv_property_cache.code_rate_LP = fe 1934 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.code_rate_LP; fe 1935 drivers/media/dvb-frontends/dib9000.c state->fe[sub_index_frontend]->dtv_property_cache.rolloff = fe 1936 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.rolloff; fe 1945 drivers/media/dvb-frontends/dib9000.c ret = dib9000_fw_get_channel(fe); fe 1950 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 1951 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.inversion = c->inversion; fe 1952 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.transmission_mode = c->transmission_mode; fe 1953 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.guard_interval = c->guard_interval; fe 1954 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.modulation = c->modulation; fe 1955 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.hierarchy = c->hierarchy; fe 1956 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.code_rate_HP = c->code_rate_HP; fe 1957 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.code_rate_LP = c->code_rate_LP; fe 1958 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.rolloff = c->rolloff; fe 1968 drivers/media/dvb-frontends/dib9000.c static int dib9000_set_tune_state(struct dvb_frontend *fe, enum frontend_tune_state tune_state) fe 1970 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 1978 drivers/media/dvb-frontends/dib9000.c static u32 dib9000_get_status(struct dvb_frontend *fe) fe 1980 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 1984 drivers/media/dvb-frontends/dib9000.c static int dib9000_set_channel_status(struct dvb_frontend *fe, struct dvb_frontend_parametersContext *channel_status) fe 1986 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 1992 drivers/media/dvb-frontends/dib9000.c static int dib9000_set_frontend(struct dvb_frontend *fe) fe 1994 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 2001 drivers/media/dvb-frontends/dib9000.c if (state->fe[0]->dtv_property_cache.frequency == 0) { fe 2006 drivers/media/dvb-frontends/dib9000.c if (state->fe[0]->dtv_property_cache.bandwidth_hz == 0) { fe 2017 drivers/media/dvb-frontends/dib9000.c fe->dtv_property_cache.delivery_system = SYS_DVBT; fe 2020 drivers/media/dvb-frontends/dib9000.c if (state->fe[0]->dtv_property_cache.transmission_mode == TRANSMISSION_MODE_AUTO || fe 2021 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.guard_interval == GUARD_INTERVAL_AUTO || fe 2022 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.modulation == QAM_AUTO || fe 2023 drivers/media/dvb-frontends/dib9000.c state->fe[0]->dtv_property_cache.code_rate_HP == FEC_AUTO) { fe 2030 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 2031 drivers/media/dvb-frontends/dib9000.c dib9000_fw_set_diversity_in(state->fe[index_frontend], 1); fe 2034 drivers/media/dvb-frontends/dib9000.c memcpy(&state->fe[index_frontend]->dtv_property_cache, &fe->dtv_property_cache, sizeof(struct dtv_frontend_properties)); fe 2036 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.delivery_system = SYS_DVBT; fe 2037 drivers/media/dvb-frontends/dib9000.c dib9000_fw_set_output_mode(state->fe[index_frontend], OUTMODE_HIGH_Z); fe 2039 drivers/media/dvb-frontends/dib9000.c dib9000_set_channel_status(state->fe[index_frontend], &state->channel_status); fe 2040 drivers/media/dvb-frontends/dib9000.c dib9000_set_tune_state(state->fe[index_frontend], CT_DEMOD_START); fe 2047 drivers/media/dvb-frontends/dib9000.c sleep_time = dib9000_fw_tune(state->fe[0]); fe 2048 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 2049 drivers/media/dvb-frontends/dib9000.c sleep_time_slave = dib9000_fw_tune(state->fe[index_frontend]); fe 2063 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 2064 drivers/media/dvb-frontends/dib9000.c frontend_status = -dib9000_get_status(state->fe[index_frontend]); fe 2091 drivers/media/dvb-frontends/dib9000.c dib9000_get_frontend(state->fe[0], &state->fe[0]->dtv_property_cache); fe 2096 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 2099 drivers/media/dvb-frontends/dib9000.c dib9000_set_channel_status(state->fe[index_frontend], &channel_status); fe 2100 drivers/media/dvb-frontends/dib9000.c dib9000_set_tune_state(state->fe[index_frontend], CT_DEMOD_START); fe 2105 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 2107 drivers/media/dvb-frontends/dib9000.c sleep_time_slave = dib9000_fw_tune(state->fe[index_frontend]); fe 2120 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 2122 drivers/media/dvb-frontends/dib9000.c frontend_status = -dib9000_get_status(state->fe[index_frontend]); fe 2130 drivers/media/dvb-frontends/dib9000.c dib9000_fw_set_output_mode(state->fe[0], state->chip.d9.cfg.output_mode); fe 2131 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) fe 2132 drivers/media/dvb-frontends/dib9000.c dib9000_fw_set_output_mode(state->fe[index_frontend], OUTMODE_DIVERSITY); fe 2135 drivers/media/dvb-frontends/dib9000.c dib9000_fw_set_diversity_in(state->fe[index_frontend - 1], 0); fe 2147 drivers/media/dvb-frontends/dib9000.c dib9000_fw_pid_filter_ctrl(state->fe[0], fe 2150 drivers/media/dvb-frontends/dib9000.c dib9000_fw_pid_filter(state->fe[0], fe 2162 drivers/media/dvb-frontends/dib9000.c static u16 dib9000_read_lock(struct dvb_frontend *fe) fe 2164 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 2169 drivers/media/dvb-frontends/dib9000.c static int dib9000_read_status(struct dvb_frontend *fe, enum fe_status *stat) fe 2171 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 2179 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) fe 2180 drivers/media/dvb-frontends/dib9000.c lock_slave |= dib9000_read_lock(state->fe[index_frontend]); fe 2202 drivers/media/dvb-frontends/dib9000.c static int dib9000_read_ber(struct dvb_frontend *fe, u32 * ber) fe 2204 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 2235 drivers/media/dvb-frontends/dib9000.c static int dib9000_read_signal_strength(struct dvb_frontend *fe, u16 * strength) fe 2237 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 2248 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { fe 2249 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->ops.read_signal_strength(state->fe[index_frontend], &val); fe 2280 drivers/media/dvb-frontends/dib9000.c static u32 dib9000_get_snr(struct dvb_frontend *fe) fe 2282 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 2320 drivers/media/dvb-frontends/dib9000.c static int dib9000_read_snr(struct dvb_frontend *fe, u16 * snr) fe 2322 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 2330 drivers/media/dvb-frontends/dib9000.c snr_master = dib9000_get_snr(fe); fe 2331 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) fe 2332 drivers/media/dvb-frontends/dib9000.c snr_master += dib9000_get_snr(state->fe[index_frontend]); fe 2345 drivers/media/dvb-frontends/dib9000.c static int dib9000_read_unc_blocks(struct dvb_frontend *fe, u32 * unc) fe 2347 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 2444 drivers/media/dvb-frontends/dib9000.c int dib9000_set_slave_frontend(struct dvb_frontend *fe, struct dvb_frontend *fe_slave) fe 2446 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 2449 drivers/media/dvb-frontends/dib9000.c while ((index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL)) fe 2453 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend] = fe_slave; fe 2462 drivers/media/dvb-frontends/dib9000.c struct dvb_frontend *dib9000_get_slave_frontend(struct dvb_frontend *fe, int slave_index) fe 2464 drivers/media/dvb-frontends/dib9000.c struct dib9000_state *state = fe->demodulator_priv; fe 2468 drivers/media/dvb-frontends/dib9000.c return state->fe[slave_index]; fe 2475 drivers/media/dvb-frontends/dib9000.c struct dvb_frontend *fe; fe 2480 drivers/media/dvb-frontends/dib9000.c fe = kzalloc(sizeof(struct dvb_frontend), GFP_KERNEL); fe 2481 drivers/media/dvb-frontends/dib9000.c if (fe == NULL) { fe 2505 drivers/media/dvb-frontends/dib9000.c st->fe[0] = fe; fe 2506 drivers/media/dvb-frontends/dib9000.c fe->demodulator_priv = st; fe 2507 drivers/media/dvb-frontends/dib9000.c memcpy(&st->fe[0]->ops, &dib9000_ops, sizeof(struct dvb_frontend_ops)); fe 2539 drivers/media/dvb-frontends/dib9000.c dib9000_fw_reset(fe); fe 2541 drivers/media/dvb-frontends/dib9000.c return fe; fe 34 drivers/media/dvb-frontends/dib9000.h extern struct i2c_adapter *dib9000_get_tuner_interface(struct dvb_frontend *fe); fe 35 drivers/media/dvb-frontends/dib9000.h extern struct i2c_adapter *dib9000_get_i2c_master(struct dvb_frontend *fe, enum dibx000_i2c_interface intf, int gating); fe 36 drivers/media/dvb-frontends/dib9000.h extern int dib9000_set_gpio(struct dvb_frontend *fe, u8 num, u8 dir, u8 val); fe 37 drivers/media/dvb-frontends/dib9000.h extern int dib9000_fw_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff); fe 38 drivers/media/dvb-frontends/dib9000.h extern int dib9000_fw_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff); fe 39 drivers/media/dvb-frontends/dib9000.h extern int dib9000_firmware_post_pll_init(struct dvb_frontend *fe); fe 40 drivers/media/dvb-frontends/dib9000.h extern int dib9000_set_slave_frontend(struct dvb_frontend *fe, struct dvb_frontend *fe_slave); fe 41 drivers/media/dvb-frontends/dib9000.h extern struct dvb_frontend *dib9000_get_slave_frontend(struct dvb_frontend *fe, int slave_index); fe 42 drivers/media/dvb-frontends/dib9000.h extern struct i2c_adapter *dib9000_get_component_bus_interface(struct dvb_frontend *fe); fe 43 drivers/media/dvb-frontends/dib9000.h extern int dib9000_set_i2c_adapter(struct dvb_frontend *fe, struct i2c_adapter *i2c); fe 44 drivers/media/dvb-frontends/dib9000.h extern int dib9000_fw_set_component_bus_speed(struct dvb_frontend *fe, u16 speed); fe 52 drivers/media/dvb-frontends/dib9000.h static inline struct i2c_adapter *dib9000_get_i2c_master(struct dvb_frontend *fe, enum dibx000_i2c_interface intf, int gating) fe 64 drivers/media/dvb-frontends/dib9000.h static inline struct i2c_adapter *dib9000_get_tuner_interface(struct dvb_frontend *fe) fe 70 drivers/media/dvb-frontends/dib9000.h static inline int dib9000_set_gpio(struct dvb_frontend *fe, u8 num, u8 dir, u8 val) fe 76 drivers/media/dvb-frontends/dib9000.h static inline int dib9000_fw_pid_filter_ctrl(struct dvb_frontend *fe, u8 onoff) fe 82 drivers/media/dvb-frontends/dib9000.h static inline int dib9000_fw_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff) fe 88 drivers/media/dvb-frontends/dib9000.h static inline int dib9000_firmware_post_pll_init(struct dvb_frontend *fe) fe 94 drivers/media/dvb-frontends/dib9000.h static inline int dib9000_set_slave_frontend(struct dvb_frontend *fe, struct dvb_frontend *fe_slave) fe 100 drivers/media/dvb-frontends/dib9000.h static inline struct dvb_frontend *dib9000_get_slave_frontend(struct dvb_frontend *fe, int slave_index) fe 106 drivers/media/dvb-frontends/dib9000.h static inline struct i2c_adapter *dib9000_get_component_bus_interface(struct dvb_frontend *fe) fe 112 drivers/media/dvb-frontends/dib9000.h static inline int dib9000_set_i2c_adapter(struct dvb_frontend *fe, struct i2c_adapter *i2c) fe 118 drivers/media/dvb-frontends/dib9000.h static inline int dib9000_fw_set_component_bus_speed(struct dvb_frontend *fe, u16 speed) fe 11938 drivers/media/dvb-frontends/drx39xyj/drxj.c static int drx39xxj_set_powerstate(struct dvb_frontend *fe, int enable) fe 11940 drivers/media/dvb-frontends/drx39xyj/drxj.c struct drx39xxj_state *state = fe->demodulator_priv; fe 11959 drivers/media/dvb-frontends/drx39xyj/drxj.c static int drx39xxj_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 11961 drivers/media/dvb-frontends/drx39xyj/drxj.c struct drx39xxj_state *state = fe->demodulator_priv; fe 12007 drivers/media/dvb-frontends/drx39xyj/drxj.c static int drx39xxj_read_ber(struct dvb_frontend *fe, u32 *ber) fe 12009 drivers/media/dvb-frontends/drx39xyj/drxj.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 12028 drivers/media/dvb-frontends/drx39xyj/drxj.c static int drx39xxj_read_signal_strength(struct dvb_frontend *fe, fe 12031 drivers/media/dvb-frontends/drx39xyj/drxj.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 12042 drivers/media/dvb-frontends/drx39xyj/drxj.c static int drx39xxj_read_snr(struct dvb_frontend *fe, u16 *snr) fe 12044 drivers/media/dvb-frontends/drx39xyj/drxj.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 12058 drivers/media/dvb-frontends/drx39xyj/drxj.c static int drx39xxj_read_ucblocks(struct dvb_frontend *fe, u32 *ucb) fe 12060 drivers/media/dvb-frontends/drx39xyj/drxj.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 12071 drivers/media/dvb-frontends/drx39xyj/drxj.c static int drx39xxj_set_frontend(struct dvb_frontend *fe) fe 12076 drivers/media/dvb-frontends/drx39xyj/drxj.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 12077 drivers/media/dvb-frontends/drx39xyj/drxj.c struct drx39xxj_state *state = fe->demodulator_priv; fe 12102 drivers/media/dvb-frontends/drx39xyj/drxj.c drx39xxj_set_powerstate(fe, 1); fe 12104 drivers/media/dvb-frontends/drx39xyj/drxj.c if (fe->ops.tuner_ops.set_params) { fe 12107 drivers/media/dvb-frontends/drx39xyj/drxj.c if (fe->ops.i2c_gate_ctrl) fe 12108 drivers/media/dvb-frontends/drx39xyj/drxj.c fe->ops.i2c_gate_ctrl(fe, 1); fe 12111 drivers/media/dvb-frontends/drx39xyj/drxj.c fe->ops.tuner_ops.set_params(fe); fe 12114 drivers/media/dvb-frontends/drx39xyj/drxj.c if (fe->ops.tuner_ops.get_if_frequency) { fe 12115 drivers/media/dvb-frontends/drx39xyj/drxj.c fe->ops.tuner_ops.get_if_frequency(fe, &int_freq); fe 12119 drivers/media/dvb-frontends/drx39xyj/drxj.c if (fe->ops.i2c_gate_ctrl) fe 12120 drivers/media/dvb-frontends/drx39xyj/drxj.c fe->ops.i2c_gate_ctrl(fe, 0); fe 12174 drivers/media/dvb-frontends/drx39xyj/drxj.c static int drx39xxj_sleep(struct dvb_frontend *fe) fe 12177 drivers/media/dvb-frontends/drx39xyj/drxj.c return drx39xxj_set_powerstate(fe, 0); fe 12180 drivers/media/dvb-frontends/drx39xyj/drxj.c static int drx39xxj_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 12182 drivers/media/dvb-frontends/drx39xyj/drxj.c struct drx39xxj_state *state = fe->demodulator_priv; fe 12213 drivers/media/dvb-frontends/drx39xyj/drxj.c static int drx39xxj_init(struct dvb_frontend *fe) fe 12215 drivers/media/dvb-frontends/drx39xyj/drxj.c struct drx39xxj_state *state = fe->demodulator_priv; fe 12219 drivers/media/dvb-frontends/drx39xyj/drxj.c if (fe->exit == DVB_FE_DEVICE_RESUME) { fe 12226 drivers/media/dvb-frontends/drx39xyj/drxj.c drx39xxj_set_powerstate(fe, 1); fe 12231 drivers/media/dvb-frontends/drx39xyj/drxj.c static int drx39xxj_set_lna(struct dvb_frontend *fe) fe 12233 drivers/media/dvb-frontends/drx39xyj/drxj.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 12234 drivers/media/dvb-frontends/drx39xyj/drxj.c struct drx39xxj_state *state = fe->demodulator_priv; fe 12249 drivers/media/dvb-frontends/drx39xyj/drxj.c static int drx39xxj_get_tune_settings(struct dvb_frontend *fe, fe 12256 drivers/media/dvb-frontends/drx39xyj/drxj.c static void drx39xxj_release(struct dvb_frontend *fe) fe 12258 drivers/media/dvb-frontends/drx39xyj/drxj.c struct drx39xxj_state *state = fe->demodulator_priv; fe 12262 drivers/media/dvb-frontends/drx39xyj/drxj.c if (fe->exit != DVB_FE_DEVICE_REMOVED) fe 2764 drivers/media/dvb-frontends/drxd_hard.c static int drxd_read_signal_strength(struct dvb_frontend *fe, u16 * strength) fe 2766 drivers/media/dvb-frontends/drxd_hard.c struct drxd_state *state = fe->demodulator_priv; fe 2778 drivers/media/dvb-frontends/drxd_hard.c static int drxd_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 2780 drivers/media/dvb-frontends/drxd_hard.c struct drxd_state *state = fe->demodulator_priv; fe 2801 drivers/media/dvb-frontends/drxd_hard.c static int drxd_init(struct dvb_frontend *fe) fe 2803 drivers/media/dvb-frontends/drxd_hard.c struct drxd_state *state = fe->demodulator_priv; fe 2808 drivers/media/dvb-frontends/drxd_hard.c static int drxd_config_i2c(struct dvb_frontend *fe, int onoff) fe 2810 drivers/media/dvb-frontends/drxd_hard.c struct drxd_state *state = fe->demodulator_priv; fe 2818 drivers/media/dvb-frontends/drxd_hard.c static int drxd_get_tune_settings(struct dvb_frontend *fe, fe 2827 drivers/media/dvb-frontends/drxd_hard.c static int drxd_read_ber(struct dvb_frontend *fe, u32 * ber) fe 2833 drivers/media/dvb-frontends/drxd_hard.c static int drxd_read_snr(struct dvb_frontend *fe, u16 * snr) fe 2839 drivers/media/dvb-frontends/drxd_hard.c static int drxd_read_ucblocks(struct dvb_frontend *fe, u32 * ucblocks) fe 2845 drivers/media/dvb-frontends/drxd_hard.c static int drxd_sleep(struct dvb_frontend *fe) fe 2847 drivers/media/dvb-frontends/drxd_hard.c struct drxd_state *state = fe->demodulator_priv; fe 2853 drivers/media/dvb-frontends/drxd_hard.c static int drxd_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 2855 drivers/media/dvb-frontends/drxd_hard.c return drxd_config_i2c(fe, enable); fe 2858 drivers/media/dvb-frontends/drxd_hard.c static int drxd_set_frontend(struct dvb_frontend *fe) fe 2860 drivers/media/dvb-frontends/drxd_hard.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 2861 drivers/media/dvb-frontends/drxd_hard.c struct drxd_state *state = fe->demodulator_priv; fe 2867 drivers/media/dvb-frontends/drxd_hard.c if (fe->ops.tuner_ops.set_params) { fe 2868 drivers/media/dvb-frontends/drxd_hard.c fe->ops.tuner_ops.set_params(fe); fe 2869 drivers/media/dvb-frontends/drxd_hard.c if (fe->ops.i2c_gate_ctrl) fe 2870 drivers/media/dvb-frontends/drxd_hard.c fe->ops.i2c_gate_ctrl(fe, 0); fe 2878 drivers/media/dvb-frontends/drxd_hard.c static void drxd_release(struct dvb_frontend *fe) fe 2880 drivers/media/dvb-frontends/drxd_hard.c struct drxd_state *state = fe->demodulator_priv; fe 6296 drivers/media/dvb-frontends/drxk_hard.c static void drxk_release(struct dvb_frontend *fe) fe 6298 drivers/media/dvb-frontends/drxk_hard.c struct drxk_state *state = fe->demodulator_priv; fe 6306 drivers/media/dvb-frontends/drxk_hard.c static int drxk_sleep(struct dvb_frontend *fe) fe 6308 drivers/media/dvb-frontends/drxk_hard.c struct drxk_state *state = fe->demodulator_priv; fe 6321 drivers/media/dvb-frontends/drxk_hard.c static int drxk_gate_ctrl(struct dvb_frontend *fe, int enable) fe 6323 drivers/media/dvb-frontends/drxk_hard.c struct drxk_state *state = fe->demodulator_priv; fe 6333 drivers/media/dvb-frontends/drxk_hard.c static int drxk_set_parameters(struct dvb_frontend *fe) fe 6335 drivers/media/dvb-frontends/drxk_hard.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 6337 drivers/media/dvb-frontends/drxk_hard.c struct drxk_state *state = fe->demodulator_priv; fe 6348 drivers/media/dvb-frontends/drxk_hard.c if (!fe->ops.tuner_ops.get_if_frequency) { fe 6353 drivers/media/dvb-frontends/drxk_hard.c if (fe->ops.i2c_gate_ctrl) fe 6354 drivers/media/dvb-frontends/drxk_hard.c fe->ops.i2c_gate_ctrl(fe, 1); fe 6355 drivers/media/dvb-frontends/drxk_hard.c if (fe->ops.tuner_ops.set_params) fe 6356 drivers/media/dvb-frontends/drxk_hard.c fe->ops.tuner_ops.set_params(fe); fe 6357 drivers/media/dvb-frontends/drxk_hard.c if (fe->ops.i2c_gate_ctrl) fe 6358 drivers/media/dvb-frontends/drxk_hard.c fe->ops.i2c_gate_ctrl(fe, 0); fe 6387 drivers/media/dvb-frontends/drxk_hard.c fe->ops.tuner_ops.get_if_frequency(fe, &IF); fe 6506 drivers/media/dvb-frontends/drxk_hard.c static int drxk_get_stats(struct dvb_frontend *fe) fe 6508 drivers/media/dvb-frontends/drxk_hard.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 6509 drivers/media/dvb-frontends/drxk_hard.c struct drxk_state *state = fe->demodulator_priv; fe 6630 drivers/media/dvb-frontends/drxk_hard.c static int drxk_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 6632 drivers/media/dvb-frontends/drxk_hard.c struct drxk_state *state = fe->demodulator_priv; fe 6637 drivers/media/dvb-frontends/drxk_hard.c rc = drxk_get_stats(fe); fe 6646 drivers/media/dvb-frontends/drxk_hard.c static int drxk_read_signal_strength(struct dvb_frontend *fe, fe 6649 drivers/media/dvb-frontends/drxk_hard.c struct drxk_state *state = fe->demodulator_priv; fe 6650 drivers/media/dvb-frontends/drxk_hard.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 6663 drivers/media/dvb-frontends/drxk_hard.c static int drxk_read_snr(struct dvb_frontend *fe, u16 *snr) fe 6665 drivers/media/dvb-frontends/drxk_hard.c struct drxk_state *state = fe->demodulator_priv; fe 6684 drivers/media/dvb-frontends/drxk_hard.c static int drxk_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 6686 drivers/media/dvb-frontends/drxk_hard.c struct drxk_state *state = fe->demodulator_priv; fe 6701 drivers/media/dvb-frontends/drxk_hard.c static int drxk_get_tune_settings(struct dvb_frontend *fe, fe 6704 drivers/media/dvb-frontends/drxk_hard.c struct drxk_state *state = fe->demodulator_priv; fe 6705 drivers/media/dvb-frontends/drxk_hard.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 247 drivers/media/dvb-frontends/ds3000.c static int ds3000_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 249 drivers/media/dvb-frontends/ds3000.c struct ds3000_state *state = fe->demodulator_priv; fe 330 drivers/media/dvb-frontends/ds3000.c static int ds3000_load_firmware(struct dvb_frontend *fe, fe 333 drivers/media/dvb-frontends/ds3000.c static int ds3000_firmware_ondemand(struct dvb_frontend *fe) fe 335 drivers/media/dvb-frontends/ds3000.c struct ds3000_state *state = fe->demodulator_priv; fe 358 drivers/media/dvb-frontends/ds3000.c ret = ds3000_load_firmware(fe, fw); fe 370 drivers/media/dvb-frontends/ds3000.c static int ds3000_load_firmware(struct dvb_frontend *fe, fe 373 drivers/media/dvb-frontends/ds3000.c struct ds3000_state *state = fe->demodulator_priv; fe 393 drivers/media/dvb-frontends/ds3000.c static int ds3000_set_voltage(struct dvb_frontend *fe, fe 396 drivers/media/dvb-frontends/ds3000.c struct ds3000_state *state = fe->demodulator_priv; fe 421 drivers/media/dvb-frontends/ds3000.c static int ds3000_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 423 drivers/media/dvb-frontends/ds3000.c struct ds3000_state *state = fe->demodulator_priv; fe 424 drivers/media/dvb-frontends/ds3000.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 451 drivers/media/dvb-frontends/ds3000.c state->config->set_lock_led(fe, *status == 0 ? 0 : 1); fe 459 drivers/media/dvb-frontends/ds3000.c static int ds3000_read_ber(struct dvb_frontend *fe, u32* ber) fe 461 drivers/media/dvb-frontends/ds3000.c struct ds3000_state *state = fe->demodulator_priv; fe 462 drivers/media/dvb-frontends/ds3000.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 523 drivers/media/dvb-frontends/ds3000.c static int ds3000_read_signal_strength(struct dvb_frontend *fe, fe 526 drivers/media/dvb-frontends/ds3000.c if (fe->ops.tuner_ops.get_rf_strength) fe 527 drivers/media/dvb-frontends/ds3000.c fe->ops.tuner_ops.get_rf_strength(fe, signal_strength); fe 533 drivers/media/dvb-frontends/ds3000.c static int ds3000_read_snr(struct dvb_frontend *fe, u16 *snr) fe 535 drivers/media/dvb-frontends/ds3000.c struct ds3000_state *state = fe->demodulator_priv; fe 536 drivers/media/dvb-frontends/ds3000.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 619 drivers/media/dvb-frontends/ds3000.c static int ds3000_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 621 drivers/media/dvb-frontends/ds3000.c struct ds3000_state *state = fe->demodulator_priv; fe 622 drivers/media/dvb-frontends/ds3000.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 656 drivers/media/dvb-frontends/ds3000.c static int ds3000_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) fe 658 drivers/media/dvb-frontends/ds3000.c struct ds3000_state *state = fe->demodulator_priv; fe 690 drivers/media/dvb-frontends/ds3000.c static int ds3000_send_diseqc_msg(struct dvb_frontend *fe, fe 693 drivers/media/dvb-frontends/ds3000.c struct ds3000_state *state = fe->demodulator_priv; fe 755 drivers/media/dvb-frontends/ds3000.c static int ds3000_diseqc_send_burst(struct dvb_frontend *fe, fe 758 drivers/media/dvb-frontends/ds3000.c struct ds3000_state *state = fe->demodulator_priv; fe 808 drivers/media/dvb-frontends/ds3000.c static void ds3000_release(struct dvb_frontend *fe) fe 810 drivers/media/dvb-frontends/ds3000.c struct ds3000_state *state = fe->demodulator_priv; fe 813 drivers/media/dvb-frontends/ds3000.c state->config->set_lock_led(fe, 0); fe 864 drivers/media/dvb-frontends/ds3000.c static int ds3000_set_carrier_offset(struct dvb_frontend *fe, fe 867 drivers/media/dvb-frontends/ds3000.c struct ds3000_state *state = fe->demodulator_priv; fe 883 drivers/media/dvb-frontends/ds3000.c static int ds3000_set_frontend(struct dvb_frontend *fe) fe 885 drivers/media/dvb-frontends/ds3000.c struct ds3000_state *state = fe->demodulator_priv; fe 886 drivers/media/dvb-frontends/ds3000.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 897 drivers/media/dvb-frontends/ds3000.c state->config->set_ts_params(fe, 0); fe 899 drivers/media/dvb-frontends/ds3000.c if (fe->ops.tuner_ops.set_params) fe 900 drivers/media/dvb-frontends/ds3000.c fe->ops.tuner_ops.set_params(fe); fe 1017 drivers/media/dvb-frontends/ds3000.c if (fe->ops.tuner_ops.get_frequency) { fe 1018 drivers/media/dvb-frontends/ds3000.c fe->ops.tuner_ops.get_frequency(fe, &frequency); fe 1020 drivers/media/dvb-frontends/ds3000.c ds3000_set_carrier_offset(fe, offset_khz); fe 1024 drivers/media/dvb-frontends/ds3000.c ds3000_read_status(fe, &status); fe 1034 drivers/media/dvb-frontends/ds3000.c static int ds3000_tune(struct dvb_frontend *fe, fe 1041 drivers/media/dvb-frontends/ds3000.c int ret = ds3000_set_frontend(fe); fe 1048 drivers/media/dvb-frontends/ds3000.c return ds3000_read_status(fe, status); fe 1051 drivers/media/dvb-frontends/ds3000.c static enum dvbfe_algo ds3000_get_algo(struct dvb_frontend *fe) fe 1053 drivers/media/dvb-frontends/ds3000.c struct ds3000_state *state = fe->demodulator_priv; fe 1056 drivers/media/dvb-frontends/ds3000.c state->config->set_lock_led(fe, 0); fe 1067 drivers/media/dvb-frontends/ds3000.c static int ds3000_initfe(struct dvb_frontend *fe) fe 1069 drivers/media/dvb-frontends/ds3000.c struct ds3000_state *state = fe->demodulator_priv; fe 1078 drivers/media/dvb-frontends/ds3000.c ret = ds3000_firmware_ondemand(fe); fe 20 drivers/media/dvb-frontends/ds3000.h int (*set_ts_params)(struct dvb_frontend *fe, int is_punctured); fe 22 drivers/media/dvb-frontends/ds3000.h void (*set_lock_led)(struct dvb_frontend *fe, int offon); fe 56 drivers/media/dvb-frontends/dvb-pll.c void (*set)(struct dvb_frontend *fe, u8 *buf); fe 87 drivers/media/dvb-frontends/dvb-pll.c static void thomson_dtt759x_bw(struct dvb_frontend *fe, u8 *buf) fe 89 drivers/media/dvb-frontends/dvb-pll.c u32 bw = fe->dtv_property_cache.bandwidth_hz; fe 111 drivers/media/dvb-frontends/dvb-pll.c static void thomson_dtt7520x_bw(struct dvb_frontend *fe, u8 *buf) fe 113 drivers/media/dvb-frontends/dvb-pll.c u32 bw = fe->dtv_property_cache.bandwidth_hz; fe 205 drivers/media/dvb-frontends/dvb-pll.c static void tda665x_bw(struct dvb_frontend *fe, u8 *buf) fe 207 drivers/media/dvb-frontends/dvb-pll.c u32 bw = fe->dtv_property_cache.bandwidth_hz; fe 239 drivers/media/dvb-frontends/dvb-pll.c static void tua6034_bw(struct dvb_frontend *fe, u8 *buf) fe 241 drivers/media/dvb-frontends/dvb-pll.c u32 bw = fe->dtv_property_cache.bandwidth_hz; fe 263 drivers/media/dvb-frontends/dvb-pll.c static void tded4_bw(struct dvb_frontend *fe, u8 *buf) fe 265 drivers/media/dvb-frontends/dvb-pll.c u32 bw = fe->dtv_property_cache.bandwidth_hz; fe 338 drivers/media/dvb-frontends/dvb-pll.c static void opera1_bw(struct dvb_frontend *fe, u8 *buf) fe 340 drivers/media/dvb-frontends/dvb-pll.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 341 drivers/media/dvb-frontends/dvb-pll.c struct dvb_pll_priv *priv = fe->tuner_priv; fe 352 drivers/media/dvb-frontends/dvb-pll.c if (fe->ops.i2c_gate_ctrl) fe 353 drivers/media/dvb-frontends/dvb-pll.c fe->ops.i2c_gate_ctrl(fe, 1); fe 411 drivers/media/dvb-frontends/dvb-pll.c static void samsung_dtos403ih102a_set(struct dvb_frontend *fe, u8 *buf) fe 413 drivers/media/dvb-frontends/dvb-pll.c struct dvb_pll_priv *priv = fe->tuner_priv; fe 422 drivers/media/dvb-frontends/dvb-pll.c if (fe->ops.i2c_gate_ctrl) fe 423 drivers/media/dvb-frontends/dvb-pll.c fe->ops.i2c_gate_ctrl(fe, 1); fe 596 drivers/media/dvb-frontends/dvb-pll.c static int dvb_pll_configure(struct dvb_frontend *fe, u8 *buf, fe 599 drivers/media/dvb-frontends/dvb-pll.c struct dvb_pll_priv *priv = fe->tuner_priv; fe 624 drivers/media/dvb-frontends/dvb-pll.c desc->set(fe, buf); fe 634 drivers/media/dvb-frontends/dvb-pll.c static void dvb_pll_release(struct dvb_frontend *fe) fe 636 drivers/media/dvb-frontends/dvb-pll.c kfree(fe->tuner_priv); fe 637 drivers/media/dvb-frontends/dvb-pll.c fe->tuner_priv = NULL; fe 640 drivers/media/dvb-frontends/dvb-pll.c static int dvb_pll_sleep(struct dvb_frontend *fe) fe 642 drivers/media/dvb-frontends/dvb-pll.c struct dvb_pll_priv *priv = fe->tuner_priv; fe 655 drivers/media/dvb-frontends/dvb-pll.c if (fe->ops.i2c_gate_ctrl) fe 656 drivers/media/dvb-frontends/dvb-pll.c fe->ops.i2c_gate_ctrl(fe, 1); fe 666 drivers/media/dvb-frontends/dvb-pll.c static int dvb_pll_set_params(struct dvb_frontend *fe) fe 668 drivers/media/dvb-frontends/dvb-pll.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 669 drivers/media/dvb-frontends/dvb-pll.c struct dvb_pll_priv *priv = fe->tuner_priv; fe 680 drivers/media/dvb-frontends/dvb-pll.c result = dvb_pll_configure(fe, buf, c->frequency); fe 686 drivers/media/dvb-frontends/dvb-pll.c if (fe->ops.i2c_gate_ctrl) fe 687 drivers/media/dvb-frontends/dvb-pll.c fe->ops.i2c_gate_ctrl(fe, 1); fe 698 drivers/media/dvb-frontends/dvb-pll.c static int dvb_pll_calc_regs(struct dvb_frontend *fe, fe 701 drivers/media/dvb-frontends/dvb-pll.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 702 drivers/media/dvb-frontends/dvb-pll.c struct dvb_pll_priv *priv = fe->tuner_priv; fe 709 drivers/media/dvb-frontends/dvb-pll.c result = dvb_pll_configure(fe, buf + 1, c->frequency); fe 723 drivers/media/dvb-frontends/dvb-pll.c static int dvb_pll_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 725 drivers/media/dvb-frontends/dvb-pll.c struct dvb_pll_priv *priv = fe->tuner_priv; fe 730 drivers/media/dvb-frontends/dvb-pll.c static int dvb_pll_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) fe 732 drivers/media/dvb-frontends/dvb-pll.c struct dvb_pll_priv *priv = fe->tuner_priv; fe 737 drivers/media/dvb-frontends/dvb-pll.c static int dvb_pll_init(struct dvb_frontend *fe) fe 739 drivers/media/dvb-frontends/dvb-pll.c struct dvb_pll_priv *priv = fe->tuner_priv; fe 751 drivers/media/dvb-frontends/dvb-pll.c if (fe->ops.i2c_gate_ctrl) fe 752 drivers/media/dvb-frontends/dvb-pll.c fe->ops.i2c_gate_ctrl(fe, 1); fe 759 drivers/media/dvb-frontends/dvb-pll.c if (fe->ops.i2c_gate_ctrl) fe 760 drivers/media/dvb-frontends/dvb-pll.c fe->ops.i2c_gate_ctrl(fe, 1); fe 781 drivers/media/dvb-frontends/dvb-pll.c struct dvb_frontend *dvb_pll_attach(struct dvb_frontend *fe, int pll_addr, fe 813 drivers/media/dvb-frontends/dvb-pll.c if (fe->ops.i2c_gate_ctrl) fe 814 drivers/media/dvb-frontends/dvb-pll.c fe->ops.i2c_gate_ctrl(fe, 1); fe 819 drivers/media/dvb-frontends/dvb-pll.c if (fe->ops.i2c_gate_ctrl) fe 820 drivers/media/dvb-frontends/dvb-pll.c fe->ops.i2c_gate_ctrl(fe, 0); fe 832 drivers/media/dvb-frontends/dvb-pll.c memcpy(&fe->ops.tuner_ops, &dvb_pll_tuner_ops, fe 835 drivers/media/dvb-frontends/dvb-pll.c strscpy(fe->ops.tuner_ops.info.name, desc->name, fe 836 drivers/media/dvb-frontends/dvb-pll.c sizeof(fe->ops.tuner_ops.info.name)); fe 838 drivers/media/dvb-frontends/dvb-pll.c fe->ops.tuner_ops.info.frequency_min_hz = desc->min; fe 839 drivers/media/dvb-frontends/dvb-pll.c fe->ops.tuner_ops.info.frequency_max_hz = desc->max; fe 845 drivers/media/dvb-frontends/dvb-pll.c fe->ops.tuner_ops.init = NULL; fe 847 drivers/media/dvb-frontends/dvb-pll.c fe->ops.tuner_ops.sleep = NULL; fe 849 drivers/media/dvb-frontends/dvb-pll.c fe->tuner_priv = priv; fe 862 drivers/media/dvb-frontends/dvb-pll.c return fe; fe 876 drivers/media/dvb-frontends/dvb-pll.c struct dvb_frontend *fe; fe 880 drivers/media/dvb-frontends/dvb-pll.c fe = cfg->fe; fe 881 drivers/media/dvb-frontends/dvb-pll.c i2c_set_clientdata(client, fe); fe 884 drivers/media/dvb-frontends/dvb-pll.c if (!dvb_pll_attach(fe, client->addr, client->adapter, desc_id)) fe 897 drivers/media/dvb-frontends/dvb-pll.c fe->ops.tuner_ops.release = NULL; fe 904 drivers/media/dvb-frontends/dvb-pll.c struct dvb_frontend *fe = i2c_get_clientdata(client); fe 905 drivers/media/dvb-frontends/dvb-pll.c struct dvb_pll_priv *priv = fe->tuner_priv; fe 908 drivers/media/dvb-frontends/dvb-pll.c dvb_pll_release(fe); fe 36 drivers/media/dvb-frontends/dvb-pll.h struct dvb_frontend *fe; fe 50 drivers/media/dvb-frontends/dvb-pll.h extern struct dvb_frontend *dvb_pll_attach(struct dvb_frontend *fe, fe 55 drivers/media/dvb-frontends/dvb-pll.h static inline struct dvb_frontend *dvb_pll_attach(struct dvb_frontend *fe, fe 22 drivers/media/dvb-frontends/dvb_dummy_fe.c static int dvb_dummy_fe_read_status(struct dvb_frontend *fe, fe 34 drivers/media/dvb-frontends/dvb_dummy_fe.c static int dvb_dummy_fe_read_ber(struct dvb_frontend* fe, u32* ber) fe 40 drivers/media/dvb-frontends/dvb_dummy_fe.c static int dvb_dummy_fe_read_signal_strength(struct dvb_frontend* fe, u16* strength) fe 46 drivers/media/dvb-frontends/dvb_dummy_fe.c static int dvb_dummy_fe_read_snr(struct dvb_frontend* fe, u16* snr) fe 52 drivers/media/dvb-frontends/dvb_dummy_fe.c static int dvb_dummy_fe_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) fe 63 drivers/media/dvb-frontends/dvb_dummy_fe.c static int dvb_dummy_fe_get_frontend(struct dvb_frontend *fe, fe 69 drivers/media/dvb-frontends/dvb_dummy_fe.c static int dvb_dummy_fe_set_frontend(struct dvb_frontend *fe) fe 71 drivers/media/dvb-frontends/dvb_dummy_fe.c if (fe->ops.tuner_ops.set_params) { fe 72 drivers/media/dvb-frontends/dvb_dummy_fe.c fe->ops.tuner_ops.set_params(fe); fe 73 drivers/media/dvb-frontends/dvb_dummy_fe.c if (fe->ops.i2c_gate_ctrl) fe 74 drivers/media/dvb-frontends/dvb_dummy_fe.c fe->ops.i2c_gate_ctrl(fe, 0); fe 80 drivers/media/dvb-frontends/dvb_dummy_fe.c static int dvb_dummy_fe_sleep(struct dvb_frontend* fe) fe 85 drivers/media/dvb-frontends/dvb_dummy_fe.c static int dvb_dummy_fe_init(struct dvb_frontend* fe) fe 90 drivers/media/dvb-frontends/dvb_dummy_fe.c static int dvb_dummy_fe_set_tone(struct dvb_frontend *fe, fe 96 drivers/media/dvb-frontends/dvb_dummy_fe.c static int dvb_dummy_fe_set_voltage(struct dvb_frontend *fe, fe 102 drivers/media/dvb-frontends/dvb_dummy_fe.c static void dvb_dummy_fe_release(struct dvb_frontend* fe) fe 104 drivers/media/dvb-frontends/dvb_dummy_fe.c struct dvb_dummy_fe_state* state = fe->demodulator_priv; fe 75 drivers/media/dvb-frontends/ec100.c static int ec100_set_frontend(struct dvb_frontend *fe) fe 77 drivers/media/dvb-frontends/ec100.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 78 drivers/media/dvb-frontends/ec100.c struct ec100_state *state = fe->demodulator_priv; fe 86 drivers/media/dvb-frontends/ec100.c if (fe->ops.tuner_ops.set_params) fe 87 drivers/media/dvb-frontends/ec100.c fe->ops.tuner_ops.set_params(fe); fe 153 drivers/media/dvb-frontends/ec100.c static int ec100_get_tune_settings(struct dvb_frontend *fe, fe 163 drivers/media/dvb-frontends/ec100.c static int ec100_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 165 drivers/media/dvb-frontends/ec100.c struct ec100_state *state = fe->demodulator_priv; fe 199 drivers/media/dvb-frontends/ec100.c static int ec100_read_ber(struct dvb_frontend *fe, u32 *ber) fe 201 drivers/media/dvb-frontends/ec100.c struct ec100_state *state = fe->demodulator_priv; fe 231 drivers/media/dvb-frontends/ec100.c static int ec100_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 233 drivers/media/dvb-frontends/ec100.c struct ec100_state *state = fe->demodulator_priv; fe 251 drivers/media/dvb-frontends/ec100.c static int ec100_read_snr(struct dvb_frontend *fe, u16 *snr) fe 257 drivers/media/dvb-frontends/ec100.c static int ec100_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 263 drivers/media/dvb-frontends/ec100.c static void ec100_release(struct dvb_frontend *fe) fe 265 drivers/media/dvb-frontends/ec100.c struct ec100_state *state = fe->demodulator_priv; fe 29 drivers/media/dvb-frontends/gp8psk-fe.c struct dvb_frontend fe; fe 39 drivers/media/dvb-frontends/gp8psk-fe.c static int gp8psk_tuned_to_DCII(struct dvb_frontend *fe) fe 41 drivers/media/dvb-frontends/gp8psk-fe.c struct gp8psk_fe_state *st = fe->demodulator_priv; fe 48 drivers/media/dvb-frontends/gp8psk-fe.c static int gp8psk_set_tuner_mode(struct dvb_frontend *fe, int mode) fe 50 drivers/media/dvb-frontends/gp8psk-fe.c struct gp8psk_fe_state *st = fe->demodulator_priv; fe 67 drivers/media/dvb-frontends/gp8psk-fe.c static int gp8psk_fe_read_status(struct dvb_frontend *fe, fe 70 drivers/media/dvb-frontends/gp8psk-fe.c struct gp8psk_fe_state *st = fe->demodulator_priv; fe 86 drivers/media/dvb-frontends/gp8psk-fe.c static int gp8psk_fe_read_ber(struct dvb_frontend* fe, u32 *ber) fe 88 drivers/media/dvb-frontends/gp8psk-fe.c (void) fe; fe 94 drivers/media/dvb-frontends/gp8psk-fe.c static int gp8psk_fe_read_unc_blocks(struct dvb_frontend* fe, u32 *unc) fe 96 drivers/media/dvb-frontends/gp8psk-fe.c (void) fe; fe 101 drivers/media/dvb-frontends/gp8psk-fe.c static int gp8psk_fe_read_snr(struct dvb_frontend* fe, u16 *snr) fe 103 drivers/media/dvb-frontends/gp8psk-fe.c struct gp8psk_fe_state *st = fe->demodulator_priv; fe 110 drivers/media/dvb-frontends/gp8psk-fe.c static int gp8psk_fe_read_signal_strength(struct dvb_frontend* fe, u16 *strength) fe 112 drivers/media/dvb-frontends/gp8psk-fe.c struct gp8psk_fe_state *st = fe->demodulator_priv; fe 124 drivers/media/dvb-frontends/gp8psk-fe.c static int gp8psk_fe_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings *tune) fe 130 drivers/media/dvb-frontends/gp8psk-fe.c static int gp8psk_fe_set_frontend(struct dvb_frontend *fe) fe 132 drivers/media/dvb-frontends/gp8psk-fe.c struct gp8psk_fe_state *st = fe->demodulator_priv; fe 133 drivers/media/dvb-frontends/gp8psk-fe.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 177 drivers/media/dvb-frontends/gp8psk-fe.c if (gp8psk_tuned_to_DCII(fe)) fe 228 drivers/media/dvb-frontends/gp8psk-fe.c gp8psk_set_tuner_mode(fe, 0); fe 238 drivers/media/dvb-frontends/gp8psk-fe.c static int gp8psk_fe_send_diseqc_msg (struct dvb_frontend* fe, fe 241 drivers/media/dvb-frontends/gp8psk-fe.c struct gp8psk_fe_state *st = fe->demodulator_priv; fe 252 drivers/media/dvb-frontends/gp8psk-fe.c static int gp8psk_fe_send_diseqc_burst(struct dvb_frontend *fe, fe 255 drivers/media/dvb-frontends/gp8psk-fe.c struct gp8psk_fe_state *st = fe->demodulator_priv; fe 270 drivers/media/dvb-frontends/gp8psk-fe.c static int gp8psk_fe_set_tone(struct dvb_frontend *fe, fe 273 drivers/media/dvb-frontends/gp8psk-fe.c struct gp8psk_fe_state *st = fe->demodulator_priv; fe 282 drivers/media/dvb-frontends/gp8psk-fe.c static int gp8psk_fe_set_voltage(struct dvb_frontend *fe, fe 285 drivers/media/dvb-frontends/gp8psk-fe.c struct gp8psk_fe_state *st = fe->demodulator_priv; fe 294 drivers/media/dvb-frontends/gp8psk-fe.c static int gp8psk_fe_enable_high_lnb_voltage(struct dvb_frontend* fe, long onoff) fe 296 drivers/media/dvb-frontends/gp8psk-fe.c struct gp8psk_fe_state *st = fe->demodulator_priv; fe 301 drivers/media/dvb-frontends/gp8psk-fe.c static int gp8psk_fe_send_legacy_dish_cmd (struct dvb_frontend* fe, unsigned long sw_cmd) fe 303 drivers/media/dvb-frontends/gp8psk-fe.c struct gp8psk_fe_state *st = fe->demodulator_priv; fe 316 drivers/media/dvb-frontends/gp8psk-fe.c static void gp8psk_fe_release(struct dvb_frontend* fe) fe 318 drivers/media/dvb-frontends/gp8psk-fe.c struct gp8psk_fe_state *st = fe->demodulator_priv; fe 339 drivers/media/dvb-frontends/gp8psk-fe.c memcpy(&st->fe.ops, &gp8psk_fe_ops, sizeof(struct dvb_frontend_ops)); fe 340 drivers/media/dvb-frontends/gp8psk-fe.c st->fe.demodulator_priv = st; fe 347 drivers/media/dvb-frontends/gp8psk-fe.c return &st->fe; fe 422 drivers/media/dvb-frontends/helene.c static int helene_init(struct dvb_frontend *fe) fe 424 drivers/media/dvb-frontends/helene.c struct helene_priv *priv = fe->tuner_priv; fe 430 drivers/media/dvb-frontends/helene.c static void helene_release(struct dvb_frontend *fe) fe 432 drivers/media/dvb-frontends/helene.c struct helene_priv *priv = fe->tuner_priv; fe 435 drivers/media/dvb-frontends/helene.c kfree(fe->tuner_priv); fe 436 drivers/media/dvb-frontends/helene.c fe->tuner_priv = NULL; fe 439 drivers/media/dvb-frontends/helene.c static int helene_sleep(struct dvb_frontend *fe) fe 441 drivers/media/dvb-frontends/helene.c struct helene_priv *priv = fe->tuner_priv; fe 448 drivers/media/dvb-frontends/helene.c static enum helene_tv_system_t helene_get_tv_system(struct dvb_frontend *fe) fe 451 drivers/media/dvb-frontends/helene.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 452 drivers/media/dvb-frontends/helene.c struct helene_priv *priv = fe->tuner_priv; fe 510 drivers/media/dvb-frontends/helene.c static int helene_set_params_s(struct dvb_frontend *fe) fe 515 drivers/media/dvb-frontends/helene.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 516 drivers/media/dvb-frontends/helene.c struct helene_priv *priv = fe->tuner_priv; fe 523 drivers/media/dvb-frontends/helene.c tv_system = helene_get_tv_system(fe); fe 660 drivers/media/dvb-frontends/helene.c static int helene_set_params_t(struct dvb_frontend *fe) fe 665 drivers/media/dvb-frontends/helene.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 666 drivers/media/dvb-frontends/helene.c struct helene_priv *priv = fe->tuner_priv; fe 671 drivers/media/dvb-frontends/helene.c tv_system = helene_get_tv_system(fe); fe 829 drivers/media/dvb-frontends/helene.c static int helene_set_params(struct dvb_frontend *fe) fe 831 drivers/media/dvb-frontends/helene.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 837 drivers/media/dvb-frontends/helene.c return helene_set_params_t(fe); fe 839 drivers/media/dvb-frontends/helene.c return helene_set_params_s(fe); fe 842 drivers/media/dvb-frontends/helene.c static int helene_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 844 drivers/media/dvb-frontends/helene.c struct helene_priv *priv = fe->tuner_priv; fe 994 drivers/media/dvb-frontends/helene.c struct dvb_frontend *helene_attach_s(struct dvb_frontend *fe, fe 1009 drivers/media/dvb-frontends/helene.c if (fe->ops.i2c_gate_ctrl) fe 1010 drivers/media/dvb-frontends/helene.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1017 drivers/media/dvb-frontends/helene.c if (fe->ops.i2c_gate_ctrl) fe 1018 drivers/media/dvb-frontends/helene.c fe->ops.i2c_gate_ctrl(fe, 0); fe 1020 drivers/media/dvb-frontends/helene.c memcpy(&fe->ops.tuner_ops, &helene_tuner_ops_s, fe 1022 drivers/media/dvb-frontends/helene.c fe->tuner_priv = priv; fe 1026 drivers/media/dvb-frontends/helene.c return fe; fe 1030 drivers/media/dvb-frontends/helene.c struct dvb_frontend *helene_attach(struct dvb_frontend *fe, fe 1045 drivers/media/dvb-frontends/helene.c if (fe->ops.i2c_gate_ctrl) fe 1046 drivers/media/dvb-frontends/helene.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1053 drivers/media/dvb-frontends/helene.c if (fe->ops.i2c_gate_ctrl) fe 1054 drivers/media/dvb-frontends/helene.c fe->ops.i2c_gate_ctrl(fe, 0); fe 1056 drivers/media/dvb-frontends/helene.c memcpy(&fe->ops.tuner_ops, &helene_tuner_ops_t, fe 1058 drivers/media/dvb-frontends/helene.c fe->tuner_priv = priv; fe 1062 drivers/media/dvb-frontends/helene.c return fe; fe 1070 drivers/media/dvb-frontends/helene.c struct dvb_frontend *fe = config->fe; fe 1084 drivers/media/dvb-frontends/helene.c if (fe->ops.i2c_gate_ctrl) fe 1085 drivers/media/dvb-frontends/helene.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1090 drivers/media/dvb-frontends/helene.c if (fe->ops.i2c_gate_ctrl) fe 1091 drivers/media/dvb-frontends/helene.c fe->ops.i2c_gate_ctrl(fe, 0); fe 1093 drivers/media/dvb-frontends/helene.c memcpy(&fe->ops.tuner_ops, &helene_tuner_ops, fe 1095 drivers/media/dvb-frontends/helene.c fe->tuner_priv = priv; fe 42 drivers/media/dvb-frontends/helene.h struct dvb_frontend *fe; fe 55 drivers/media/dvb-frontends/helene.h extern struct dvb_frontend *helene_attach(struct dvb_frontend *fe, fe 68 drivers/media/dvb-frontends/helene.h extern struct dvb_frontend *helene_attach_s(struct dvb_frontend *fe, fe 72 drivers/media/dvb-frontends/helene.h static inline struct dvb_frontend *helene_attach(struct dvb_frontend *fe, fe 79 drivers/media/dvb-frontends/helene.h static inline struct dvb_frontend *helene_attach_s(struct dvb_frontend *fe, fe 139 drivers/media/dvb-frontends/horus3a.c static int horus3a_init(struct dvb_frontend *fe) fe 141 drivers/media/dvb-frontends/horus3a.c struct horus3a_priv *priv = fe->tuner_priv; fe 147 drivers/media/dvb-frontends/horus3a.c static void horus3a_release(struct dvb_frontend *fe) fe 149 drivers/media/dvb-frontends/horus3a.c struct horus3a_priv *priv = fe->tuner_priv; fe 152 drivers/media/dvb-frontends/horus3a.c kfree(fe->tuner_priv); fe 153 drivers/media/dvb-frontends/horus3a.c fe->tuner_priv = NULL; fe 156 drivers/media/dvb-frontends/horus3a.c static int horus3a_sleep(struct dvb_frontend *fe) fe 158 drivers/media/dvb-frontends/horus3a.c struct horus3a_priv *priv = fe->tuner_priv; fe 165 drivers/media/dvb-frontends/horus3a.c static int horus3a_set_params(struct dvb_frontend *fe) fe 167 drivers/media/dvb-frontends/horus3a.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 168 drivers/media/dvb-frontends/horus3a.c struct horus3a_priv *priv = fe->tuner_priv; fe 313 drivers/media/dvb-frontends/horus3a.c static int horus3a_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 315 drivers/media/dvb-frontends/horus3a.c struct horus3a_priv *priv = fe->tuner_priv; fe 335 drivers/media/dvb-frontends/horus3a.c struct dvb_frontend *horus3a_attach(struct dvb_frontend *fe, fe 350 drivers/media/dvb-frontends/horus3a.c if (fe->ops.i2c_gate_ctrl) fe 351 drivers/media/dvb-frontends/horus3a.c fe->ops.i2c_gate_ctrl(fe, 1); fe 387 drivers/media/dvb-frontends/horus3a.c if (fe->ops.i2c_gate_ctrl) fe 388 drivers/media/dvb-frontends/horus3a.c fe->ops.i2c_gate_ctrl(fe, 0); fe 390 drivers/media/dvb-frontends/horus3a.c memcpy(&fe->ops.tuner_ops, &horus3a_tuner_ops, fe 392 drivers/media/dvb-frontends/horus3a.c fe->tuner_priv = priv; fe 396 drivers/media/dvb-frontends/horus3a.c return fe; fe 44 drivers/media/dvb-frontends/horus3a.h extern struct dvb_frontend *horus3a_attach(struct dvb_frontend *fe, fe 48 drivers/media/dvb-frontends/horus3a.h static inline struct dvb_frontend *horus3a_attach(struct dvb_frontend *fe, fe 29 drivers/media/dvb-frontends/isl6405.c static int isl6405_set_voltage(struct dvb_frontend *fe, fe 32 drivers/media/dvb-frontends/isl6405.c struct isl6405 *isl6405 = (struct isl6405 *) fe->sec_priv; fe 72 drivers/media/dvb-frontends/isl6405.c static int isl6405_enable_high_lnb_voltage(struct dvb_frontend *fe, long arg) fe 74 drivers/media/dvb-frontends/isl6405.c struct isl6405 *isl6405 = (struct isl6405 *) fe->sec_priv; fe 96 drivers/media/dvb-frontends/isl6405.c static void isl6405_release(struct dvb_frontend *fe) fe 99 drivers/media/dvb-frontends/isl6405.c isl6405_set_voltage(fe, SEC_VOLTAGE_OFF); fe 102 drivers/media/dvb-frontends/isl6405.c kfree(fe->sec_priv); fe 103 drivers/media/dvb-frontends/isl6405.c fe->sec_priv = NULL; fe 106 drivers/media/dvb-frontends/isl6405.c struct dvb_frontend *isl6405_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, fe 120 drivers/media/dvb-frontends/isl6405.c fe->sec_priv = isl6405; fe 129 drivers/media/dvb-frontends/isl6405.c if (isl6405_set_voltage(fe, SEC_VOLTAGE_OFF)) { fe 131 drivers/media/dvb-frontends/isl6405.c fe->sec_priv = NULL; fe 136 drivers/media/dvb-frontends/isl6405.c fe->ops.release_sec = isl6405_release; fe 139 drivers/media/dvb-frontends/isl6405.c fe->ops.set_voltage = isl6405_set_voltage; fe 140 drivers/media/dvb-frontends/isl6405.c fe->ops.enable_high_lnb_voltage = isl6405_enable_high_lnb_voltage; fe 142 drivers/media/dvb-frontends/isl6405.c return fe; fe 45 drivers/media/dvb-frontends/isl6405.h extern struct dvb_frontend *isl6405_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, fe 48 drivers/media/dvb-frontends/isl6405.h static inline struct dvb_frontend *isl6405_attach(struct dvb_frontend *fe, fe 30 drivers/media/dvb-frontends/isl6421.c static int isl6421_set_voltage(struct dvb_frontend *fe, fe 36 drivers/media/dvb-frontends/isl6421.c struct isl6421 *isl6421 = (struct isl6421 *) fe->sec_priv; fe 124 drivers/media/dvb-frontends/isl6421.c static int isl6421_enable_high_lnb_voltage(struct dvb_frontend *fe, long arg) fe 126 drivers/media/dvb-frontends/isl6421.c struct isl6421 *isl6421 = (struct isl6421 *) fe->sec_priv; fe 142 drivers/media/dvb-frontends/isl6421.c static int isl6421_set_tone(struct dvb_frontend *fe, fe 145 drivers/media/dvb-frontends/isl6421.c struct isl6421 *isl6421 = (struct isl6421 *) fe->sec_priv; fe 167 drivers/media/dvb-frontends/isl6421.c static void isl6421_release(struct dvb_frontend *fe) fe 170 drivers/media/dvb-frontends/isl6421.c isl6421_set_voltage(fe, SEC_VOLTAGE_OFF); fe 173 drivers/media/dvb-frontends/isl6421.c kfree(fe->sec_priv); fe 174 drivers/media/dvb-frontends/isl6421.c fe->sec_priv = NULL; fe 177 drivers/media/dvb-frontends/isl6421.c struct dvb_frontend *isl6421_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, u8 i2c_addr, fe 188 drivers/media/dvb-frontends/isl6421.c fe->sec_priv = isl6421; fe 197 drivers/media/dvb-frontends/isl6421.c if (isl6421_set_voltage(fe, SEC_VOLTAGE_OFF)) { fe 199 drivers/media/dvb-frontends/isl6421.c fe->sec_priv = NULL; fe 206 drivers/media/dvb-frontends/isl6421.c fe->ops.release_sec = isl6421_release; fe 209 drivers/media/dvb-frontends/isl6421.c fe->ops.set_voltage = isl6421_set_voltage; fe 210 drivers/media/dvb-frontends/isl6421.c fe->ops.enable_high_lnb_voltage = isl6421_enable_high_lnb_voltage; fe 212 drivers/media/dvb-frontends/isl6421.c fe->ops.set_tone = isl6421_set_tone; fe 214 drivers/media/dvb-frontends/isl6421.c return fe; fe 27 drivers/media/dvb-frontends/isl6421.h extern struct dvb_frontend *isl6421_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, u8 i2c_addr, fe 30 drivers/media/dvb-frontends/isl6421.h static inline struct dvb_frontend *isl6421_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, u8 i2c_addr, fe 75 drivers/media/dvb-frontends/isl6423.c static int isl6423_set_modulation(struct dvb_frontend *fe) fe 77 drivers/media/dvb-frontends/isl6423.c struct isl6423_dev *isl6423 = (struct isl6423_dev *) fe->sec_priv; fe 99 drivers/media/dvb-frontends/isl6423.c static int isl6423_voltage_boost(struct dvb_frontend *fe, long arg) fe 101 drivers/media/dvb-frontends/isl6423.c struct isl6423_dev *isl6423 = (struct isl6423_dev *) fe->sec_priv; fe 135 drivers/media/dvb-frontends/isl6423.c static int isl6423_set_voltage(struct dvb_frontend *fe, fe 138 drivers/media/dvb-frontends/isl6423.c struct isl6423_dev *isl6423 = (struct isl6423_dev *) fe->sec_priv; fe 184 drivers/media/dvb-frontends/isl6423.c static int isl6423_set_current(struct dvb_frontend *fe) fe 186 drivers/media/dvb-frontends/isl6423.c struct isl6423_dev *isl6423 = (struct isl6423_dev *) fe->sec_priv; fe 247 drivers/media/dvb-frontends/isl6423.c static void isl6423_release(struct dvb_frontend *fe) fe 249 drivers/media/dvb-frontends/isl6423.c isl6423_set_voltage(fe, SEC_VOLTAGE_OFF); fe 251 drivers/media/dvb-frontends/isl6423.c kfree(fe->sec_priv); fe 252 drivers/media/dvb-frontends/isl6423.c fe->sec_priv = NULL; fe 255 drivers/media/dvb-frontends/isl6423.c struct dvb_frontend *isl6423_attach(struct dvb_frontend *fe, fe 267 drivers/media/dvb-frontends/isl6423.c fe->sec_priv = isl6423; fe 274 drivers/media/dvb-frontends/isl6423.c if (isl6423_set_current(fe)) fe 277 drivers/media/dvb-frontends/isl6423.c if (isl6423_set_modulation(fe)) fe 280 drivers/media/dvb-frontends/isl6423.c fe->ops.release_sec = isl6423_release; fe 281 drivers/media/dvb-frontends/isl6423.c fe->ops.set_voltage = isl6423_set_voltage; fe 282 drivers/media/dvb-frontends/isl6423.c fe->ops.enable_high_lnb_voltage = isl6423_voltage_boost; fe 285 drivers/media/dvb-frontends/isl6423.c return fe; fe 289 drivers/media/dvb-frontends/isl6423.c fe->sec_priv = NULL; fe 36 drivers/media/dvb-frontends/isl6423.h extern struct dvb_frontend *isl6423_attach(struct dvb_frontend *fe, fe 41 drivers/media/dvb-frontends/isl6423.h static inline struct dvb_frontend *isl6423_attach(struct dvb_frontend *fe, fe 251 drivers/media/dvb-frontends/itd1000.c static int itd1000_set_parameters(struct dvb_frontend *fe) fe 253 drivers/media/dvb-frontends/itd1000.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 254 drivers/media/dvb-frontends/itd1000.c struct itd1000_state *state = fe->tuner_priv; fe 267 drivers/media/dvb-frontends/itd1000.c static int itd1000_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 269 drivers/media/dvb-frontends/itd1000.c struct itd1000_state *state = fe->tuner_priv; fe 274 drivers/media/dvb-frontends/itd1000.c static int itd1000_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) fe 319 drivers/media/dvb-frontends/itd1000.c static int itd1000_init(struct dvb_frontend *fe) fe 321 drivers/media/dvb-frontends/itd1000.c struct itd1000_state *state = fe->tuner_priv; fe 333 drivers/media/dvb-frontends/itd1000.c static int itd1000_sleep(struct dvb_frontend *fe) fe 338 drivers/media/dvb-frontends/itd1000.c static void itd1000_release(struct dvb_frontend *fe) fe 340 drivers/media/dvb-frontends/itd1000.c kfree(fe->tuner_priv); fe 341 drivers/media/dvb-frontends/itd1000.c fe->tuner_priv = NULL; fe 363 drivers/media/dvb-frontends/itd1000.c struct dvb_frontend *itd1000_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct itd1000_config *cfg) fe 386 drivers/media/dvb-frontends/itd1000.c memcpy(&fe->ops.tuner_ops, &itd1000_tuner_ops, sizeof(struct dvb_tuner_ops)); fe 388 drivers/media/dvb-frontends/itd1000.c fe->tuner_priv = state; fe 390 drivers/media/dvb-frontends/itd1000.c return fe; fe 19 drivers/media/dvb-frontends/itd1000.h extern struct dvb_frontend *itd1000_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct itd1000_config *cfg); fe 21 drivers/media/dvb-frontends/itd1000.h static inline struct dvb_frontend *itd1000_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct itd1000_config *cfg) fe 84 drivers/media/dvb-frontends/ix2505v.c static void ix2505v_release(struct dvb_frontend *fe) fe 86 drivers/media/dvb-frontends/ix2505v.c struct ix2505v_state *state = fe->tuner_priv; fe 88 drivers/media/dvb-frontends/ix2505v.c fe->tuner_priv = NULL; fe 118 drivers/media/dvb-frontends/ix2505v.c static int ix2505v_set_params(struct dvb_frontend *fe) fe 120 drivers/media/dvb-frontends/ix2505v.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 121 drivers/media/dvb-frontends/ix2505v.c struct ix2505v_state *state = fe->tuner_priv; fe 129 drivers/media/dvb-frontends/ix2505v.c if ((frequency < fe->ops.info.frequency_min_hz / kHz) fe 130 drivers/media/dvb-frontends/ix2505v.c || (frequency > fe->ops.info.frequency_max_hz / kHz)) fe 203 drivers/media/dvb-frontends/ix2505v.c if (fe->ops.i2c_gate_ctrl) fe 204 drivers/media/dvb-frontends/ix2505v.c fe->ops.i2c_gate_ctrl(fe, 1); fe 211 drivers/media/dvb-frontends/ix2505v.c if (fe->ops.i2c_gate_ctrl) fe 212 drivers/media/dvb-frontends/ix2505v.c fe->ops.i2c_gate_ctrl(fe, 1); fe 224 drivers/media/dvb-frontends/ix2505v.c if (fe->ops.i2c_gate_ctrl) fe 225 drivers/media/dvb-frontends/ix2505v.c fe->ops.i2c_gate_ctrl(fe, 1); fe 238 drivers/media/dvb-frontends/ix2505v.c static int ix2505v_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 240 drivers/media/dvb-frontends/ix2505v.c struct ix2505v_state *state = fe->tuner_priv; fe 258 drivers/media/dvb-frontends/ix2505v.c struct dvb_frontend *ix2505v_attach(struct dvb_frontend *fe, fe 278 drivers/media/dvb-frontends/ix2505v.c if (fe->ops.i2c_gate_ctrl) fe 279 drivers/media/dvb-frontends/ix2505v.c fe->ops.i2c_gate_ctrl(fe, 1); fe 288 drivers/media/dvb-frontends/ix2505v.c if (fe->ops.i2c_gate_ctrl) fe 289 drivers/media/dvb-frontends/ix2505v.c fe->ops.i2c_gate_ctrl(fe, 0); fe 292 drivers/media/dvb-frontends/ix2505v.c fe->tuner_priv = state; fe 294 drivers/media/dvb-frontends/ix2505v.c memcpy(&fe->ops.tuner_ops, &ix2505v_tuner_ops, fe 297 drivers/media/dvb-frontends/ix2505v.c __func__, fe->ops.tuner_ops.info.name, config->tuner_address); fe 299 drivers/media/dvb-frontends/ix2505v.c return fe; fe 42 drivers/media/dvb-frontends/ix2505v.h extern struct dvb_frontend *ix2505v_attach(struct dvb_frontend *fe, fe 45 drivers/media/dvb-frontends/ix2505v.h static inline struct dvb_frontend *ix2505v_attach(struct dvb_frontend *fe, fe 108 drivers/media/dvb-frontends/l64781.c static int apply_frontend_param(struct dvb_frontend *fe) fe 110 drivers/media/dvb-frontends/l64781.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 111 drivers/media/dvb-frontends/l64781.c struct l64781_state* state = fe->demodulator_priv; fe 143 drivers/media/dvb-frontends/l64781.c if (fe->ops.tuner_ops.set_params) { fe 144 drivers/media/dvb-frontends/l64781.c fe->ops.tuner_ops.set_params(fe); fe 145 drivers/media/dvb-frontends/l64781.c if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); fe 234 drivers/media/dvb-frontends/l64781.c static int get_frontend(struct dvb_frontend *fe, fe 237 drivers/media/dvb-frontends/l64781.c struct l64781_state* state = fe->demodulator_priv; fe 350 drivers/media/dvb-frontends/l64781.c static int l64781_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 352 drivers/media/dvb-frontends/l64781.c struct l64781_state* state = fe->demodulator_priv; fe 379 drivers/media/dvb-frontends/l64781.c static int l64781_read_ber(struct dvb_frontend* fe, u32* ber) fe 381 drivers/media/dvb-frontends/l64781.c struct l64781_state* state = fe->demodulator_priv; fe 391 drivers/media/dvb-frontends/l64781.c static int l64781_read_signal_strength(struct dvb_frontend* fe, u16* signal_strength) fe 393 drivers/media/dvb-frontends/l64781.c struct l64781_state* state = fe->demodulator_priv; fe 401 drivers/media/dvb-frontends/l64781.c static int l64781_read_snr(struct dvb_frontend* fe, u16* snr) fe 403 drivers/media/dvb-frontends/l64781.c struct l64781_state* state = fe->demodulator_priv; fe 411 drivers/media/dvb-frontends/l64781.c static int l64781_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) fe 413 drivers/media/dvb-frontends/l64781.c struct l64781_state* state = fe->demodulator_priv; fe 421 drivers/media/dvb-frontends/l64781.c static int l64781_sleep(struct dvb_frontend* fe) fe 423 drivers/media/dvb-frontends/l64781.c struct l64781_state* state = fe->demodulator_priv; fe 429 drivers/media/dvb-frontends/l64781.c static int l64781_init(struct dvb_frontend* fe) fe 431 drivers/media/dvb-frontends/l64781.c struct l64781_state* state = fe->demodulator_priv; fe 472 drivers/media/dvb-frontends/l64781.c static int l64781_get_tune_settings(struct dvb_frontend* fe, fe 481 drivers/media/dvb-frontends/l64781.c static void l64781_release(struct dvb_frontend* fe) fe 483 drivers/media/dvb-frontends/l64781.c struct l64781_state* state = fe->demodulator_priv; fe 146 drivers/media/dvb-frontends/lg2160.c static int lg216x_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 148 drivers/media/dvb-frontends/lg2160.c struct lg216x_state *state = fe->demodulator_priv; fe 931 drivers/media/dvb-frontends/lg2160.c static int lg216x_get_frontend(struct dvb_frontend *fe, fe 934 drivers/media/dvb-frontends/lg2160.c struct lg216x_state *state = fe->demodulator_priv; fe 1041 drivers/media/dvb-frontends/lg2160.c static int lg2160_set_frontend(struct dvb_frontend *fe) fe 1043 drivers/media/dvb-frontends/lg2160.c struct lg216x_state *state = fe->demodulator_priv; fe 1044 drivers/media/dvb-frontends/lg2160.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1047 drivers/media/dvb-frontends/lg2160.c lg_dbg("(%d)\n", fe->dtv_property_cache.frequency); fe 1049 drivers/media/dvb-frontends/lg2160.c if (fe->ops.tuner_ops.set_params) { fe 1050 drivers/media/dvb-frontends/lg2160.c ret = fe->ops.tuner_ops.set_params(fe); fe 1051 drivers/media/dvb-frontends/lg2160.c if (fe->ops.i2c_gate_ctrl) fe 1052 drivers/media/dvb-frontends/lg2160.c fe->ops.i2c_gate_ctrl(fe, 0); fe 1055 drivers/media/dvb-frontends/lg2160.c state->current_frequency = fe->dtv_property_cache.frequency; fe 1096 drivers/media/dvb-frontends/lg2160.c ret = lg216x_set_parade(state, fe->dtv_property_cache.atscmh_parade_id); fe 1101 drivers/media/dvb-frontends/lg2160.c fe->dtv_property_cache.atscmh_rs_frame_ensemble); fe 1112 drivers/media/dvb-frontends/lg2160.c lg216x_get_frontend(fe, c); fe 1186 drivers/media/dvb-frontends/lg2160.c static int lg216x_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 1188 drivers/media/dvb-frontends/lg2160.c struct lg216x_state *state = fe->demodulator_priv; fe 1215 drivers/media/dvb-frontends/lg2160.c static int lg2160_read_snr(struct dvb_frontend *fe, u16 *snr) fe 1217 drivers/media/dvb-frontends/lg2160.c struct lg216x_state *state = fe->demodulator_priv; fe 1243 drivers/media/dvb-frontends/lg2160.c static int lg2161_read_snr(struct dvb_frontend *fe, u16 *snr) fe 1245 drivers/media/dvb-frontends/lg2160.c struct lg216x_state *state = fe->demodulator_priv; fe 1268 drivers/media/dvb-frontends/lg2160.c static int lg216x_read_signal_strength(struct dvb_frontend *fe, fe 1279 drivers/media/dvb-frontends/lg2160.c struct lg216x_state *state = fe->demodulator_priv; fe 1285 drivers/media/dvb-frontends/lg2160.c ret = fe->ops.read_snr(fe, &snr); fe 1303 drivers/media/dvb-frontends/lg2160.c static int lg216x_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 1306 drivers/media/dvb-frontends/lg2160.c struct lg216x_state *state = fe->demodulator_priv; fe 1310 drivers/media/dvb-frontends/lg2160.c &fe->dtv_property_cache.atscmh_rs_err); fe 1314 drivers/media/dvb-frontends/lg2160.c *ucblocks = fe->dtv_property_cache.atscmh_rs_err; fe 1322 drivers/media/dvb-frontends/lg2160.c static int lg216x_get_tune_settings(struct dvb_frontend *fe, fe 1331 drivers/media/dvb-frontends/lg2160.c static void lg216x_release(struct dvb_frontend *fe) fe 1333 drivers/media/dvb-frontends/lg2160.c struct lg216x_state *state = fe->demodulator_priv; fe 542 drivers/media/dvb-frontends/lgdt3305.c static int lgdt3305_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 544 drivers/media/dvb-frontends/lgdt3305.c struct lgdt3305_state *state = fe->demodulator_priv; fe 555 drivers/media/dvb-frontends/lgdt3305.c static int lgdt3305_sleep(struct dvb_frontend *fe) fe 557 drivers/media/dvb-frontends/lgdt3305.c struct lgdt3305_state *state = fe->demodulator_priv; fe 583 drivers/media/dvb-frontends/lgdt3305.c static int lgdt3305_init(struct dvb_frontend *fe) fe 585 drivers/media/dvb-frontends/lgdt3305.c struct lgdt3305_state *state = fe->demodulator_priv; fe 669 drivers/media/dvb-frontends/lgdt3305.c static int lgdt3304_set_parameters(struct dvb_frontend *fe) fe 671 drivers/media/dvb-frontends/lgdt3305.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 672 drivers/media/dvb-frontends/lgdt3305.c struct lgdt3305_state *state = fe->demodulator_priv; fe 677 drivers/media/dvb-frontends/lgdt3305.c if (fe->ops.tuner_ops.set_params) { fe 678 drivers/media/dvb-frontends/lgdt3305.c ret = fe->ops.tuner_ops.set_params(fe); fe 679 drivers/media/dvb-frontends/lgdt3305.c if (fe->ops.i2c_gate_ctrl) fe 680 drivers/media/dvb-frontends/lgdt3305.c fe->ops.i2c_gate_ctrl(fe, 0); fe 737 drivers/media/dvb-frontends/lgdt3305.c static int lgdt3305_set_parameters(struct dvb_frontend *fe) fe 739 drivers/media/dvb-frontends/lgdt3305.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 740 drivers/media/dvb-frontends/lgdt3305.c struct lgdt3305_state *state = fe->demodulator_priv; fe 745 drivers/media/dvb-frontends/lgdt3305.c if (fe->ops.tuner_ops.set_params) { fe 746 drivers/media/dvb-frontends/lgdt3305.c ret = fe->ops.tuner_ops.set_params(fe); fe 747 drivers/media/dvb-frontends/lgdt3305.c if (fe->ops.i2c_gate_ctrl) fe 748 drivers/media/dvb-frontends/lgdt3305.c fe->ops.i2c_gate_ctrl(fe, 0); fe 801 drivers/media/dvb-frontends/lgdt3305.c static int lgdt3305_get_frontend(struct dvb_frontend *fe, fe 804 drivers/media/dvb-frontends/lgdt3305.c struct lgdt3305_state *state = fe->demodulator_priv; fe 901 drivers/media/dvb-frontends/lgdt3305.c static int lgdt3305_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 903 drivers/media/dvb-frontends/lgdt3305.c struct lgdt3305_state *state = fe->demodulator_priv; fe 983 drivers/media/dvb-frontends/lgdt3305.c static int lgdt3305_read_snr(struct dvb_frontend *fe, u16 *snr) fe 985 drivers/media/dvb-frontends/lgdt3305.c struct lgdt3305_state *state = fe->demodulator_priv; fe 1028 drivers/media/dvb-frontends/lgdt3305.c static int lgdt3305_read_signal_strength(struct dvb_frontend *fe, fe 1038 drivers/media/dvb-frontends/lgdt3305.c struct lgdt3305_state *state = fe->demodulator_priv; fe 1044 drivers/media/dvb-frontends/lgdt3305.c ret = fe->ops.read_snr(fe, &snr); fe 1059 drivers/media/dvb-frontends/lgdt3305.c static int lgdt3305_read_ber(struct dvb_frontend *fe, u32 *ber) fe 1065 drivers/media/dvb-frontends/lgdt3305.c static int lgdt3305_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 1067 drivers/media/dvb-frontends/lgdt3305.c struct lgdt3305_state *state = fe->demodulator_priv; fe 1076 drivers/media/dvb-frontends/lgdt3305.c static int lgdt3305_get_tune_settings(struct dvb_frontend *fe, fe 1085 drivers/media/dvb-frontends/lgdt3305.c static void lgdt3305_release(struct dvb_frontend *fe) fe 1087 drivers/media/dvb-frontends/lgdt3305.c struct lgdt3305_state *state = fe->demodulator_priv; fe 333 drivers/media/dvb-frontends/lgdt3306a.c static int lgdt3306a_ts_bus_ctrl(struct dvb_frontend *fe, int acquire) fe 335 drivers/media/dvb-frontends/lgdt3306a.c struct lgdt3306a_state *state = fe->demodulator_priv; fe 807 drivers/media/dvb-frontends/lgdt3306a.c static int lgdt3306a_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 809 drivers/media/dvb-frontends/lgdt3306a.c struct lgdt3306a_state *state = fe->demodulator_priv; fe 839 drivers/media/dvb-frontends/lgdt3306a.c static int lgdt3306a_fe_sleep(struct dvb_frontend *fe) fe 841 drivers/media/dvb-frontends/lgdt3306a.c struct lgdt3306a_state *state = fe->demodulator_priv; fe 846 drivers/media/dvb-frontends/lgdt3306a.c static int lgdt3306a_init(struct dvb_frontend *fe) fe 848 drivers/media/dvb-frontends/lgdt3306a.c struct lgdt3306a_state *state = fe->demodulator_priv; fe 1004 drivers/media/dvb-frontends/lgdt3306a.c static int lgdt3306a_set_parameters(struct dvb_frontend *fe) fe 1006 drivers/media/dvb-frontends/lgdt3306a.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1007 drivers/media/dvb-frontends/lgdt3306a.c struct lgdt3306a_state *state = fe->demodulator_priv; fe 1024 drivers/media/dvb-frontends/lgdt3306a.c if (fe->ops.tuner_ops.set_params) { fe 1025 drivers/media/dvb-frontends/lgdt3306a.c ret = fe->ops.tuner_ops.set_params(fe); fe 1026 drivers/media/dvb-frontends/lgdt3306a.c if (fe->ops.i2c_gate_ctrl) fe 1027 drivers/media/dvb-frontends/lgdt3306a.c fe->ops.i2c_gate_ctrl(fe, 0); fe 1078 drivers/media/dvb-frontends/lgdt3306a.c static int lgdt3306a_get_frontend(struct dvb_frontend *fe, fe 1081 drivers/media/dvb-frontends/lgdt3306a.c struct lgdt3306a_state *state = fe->demodulator_priv; fe 1091 drivers/media/dvb-frontends/lgdt3306a.c static enum dvbfe_algo lgdt3306a_get_frontend_algo(struct dvb_frontend *fe) fe 1596 drivers/media/dvb-frontends/lgdt3306a.c static int lgdt3306a_read_status(struct dvb_frontend *fe, fe 1599 drivers/media/dvb-frontends/lgdt3306a.c struct lgdt3306a_state *state = fe->demodulator_priv; fe 1603 drivers/media/dvb-frontends/lgdt3306a.c if (fe->ops.tuner_ops.get_rf_strength) { fe 1604 drivers/media/dvb-frontends/lgdt3306a.c ret = fe->ops.tuner_ops.get_rf_strength(fe, &strength); fe 1645 drivers/media/dvb-frontends/lgdt3306a.c static int lgdt3306a_read_snr(struct dvb_frontend *fe, u16 *snr) fe 1647 drivers/media/dvb-frontends/lgdt3306a.c struct lgdt3306a_state *state = fe->demodulator_priv; fe 1656 drivers/media/dvb-frontends/lgdt3306a.c static int lgdt3306a_read_signal_strength(struct dvb_frontend *fe, fe 1662 drivers/media/dvb-frontends/lgdt3306a.c struct lgdt3306a_state *state = fe->demodulator_priv; fe 1692 drivers/media/dvb-frontends/lgdt3306a.c ret = fe->ops.read_snr(fe, &snr); fe 1717 drivers/media/dvb-frontends/lgdt3306a.c static int lgdt3306a_read_ber(struct dvb_frontend *fe, u32 *ber) fe 1719 drivers/media/dvb-frontends/lgdt3306a.c struct lgdt3306a_state *state = fe->demodulator_priv; fe 1736 drivers/media/dvb-frontends/lgdt3306a.c static int lgdt3306a_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 1738 drivers/media/dvb-frontends/lgdt3306a.c struct lgdt3306a_state *state = fe->demodulator_priv; fe 1751 drivers/media/dvb-frontends/lgdt3306a.c static int lgdt3306a_tune(struct dvb_frontend *fe, bool re_tune, fe 1756 drivers/media/dvb-frontends/lgdt3306a.c struct lgdt3306a_state *state = fe->demodulator_priv; fe 1762 drivers/media/dvb-frontends/lgdt3306a.c ret = lgdt3306a_set_parameters(fe); fe 1767 drivers/media/dvb-frontends/lgdt3306a.c ret = lgdt3306a_read_status(fe, status); fe 1772 drivers/media/dvb-frontends/lgdt3306a.c static int lgdt3306a_get_tune_settings(struct dvb_frontend *fe, fe 1781 drivers/media/dvb-frontends/lgdt3306a.c static enum dvbfe_search lgdt3306a_search(struct dvb_frontend *fe) fe 1787 drivers/media/dvb-frontends/lgdt3306a.c ret = lgdt3306a_set_parameters(fe); fe 1791 drivers/media/dvb-frontends/lgdt3306a.c ret = lgdt3306a_read_status(fe, &status); fe 1806 drivers/media/dvb-frontends/lgdt3306a.c static void lgdt3306a_release(struct dvb_frontend *fe) fe 1808 drivers/media/dvb-frontends/lgdt3306a.c struct lgdt3306a_state *state = fe->demodulator_priv; fe 2199 drivers/media/dvb-frontends/lgdt3306a.c struct dvb_frontend *fe; fe 2210 drivers/media/dvb-frontends/lgdt3306a.c fe = lgdt3306a_attach(config, client->adapter); fe 2211 drivers/media/dvb-frontends/lgdt3306a.c if (fe == NULL) { fe 2216 drivers/media/dvb-frontends/lgdt3306a.c i2c_set_clientdata(client, fe->demodulator_priv); fe 2217 drivers/media/dvb-frontends/lgdt3306a.c state = fe->demodulator_priv; fe 2234 drivers/media/dvb-frontends/lgdt3306a.c fe->ops.i2c_gate_ctrl = NULL; fe 2236 drivers/media/dvb-frontends/lgdt3306a.c *config->fe = fe; fe 52 drivers/media/dvb-frontends/lgdt3306a.h struct dvb_frontend **fe; fe 179 drivers/media/dvb-frontends/lgdt330x.c static int lgdt330x_init(struct dvb_frontend *fe) fe 181 drivers/media/dvb-frontends/lgdt330x.c struct lgdt330x_state *state = fe->demodulator_priv; fe 182 drivers/media/dvb-frontends/lgdt330x.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 300 drivers/media/dvb-frontends/lgdt330x.c static int lgdt330x_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 302 drivers/media/dvb-frontends/lgdt330x.c struct lgdt330x_state *state = fe->demodulator_priv; fe 309 drivers/media/dvb-frontends/lgdt330x.c static int lgdt330x_set_parameters(struct dvb_frontend *fe) fe 311 drivers/media/dvb-frontends/lgdt330x.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 312 drivers/media/dvb-frontends/lgdt330x.c struct lgdt330x_state *state = fe->demodulator_priv; fe 356 drivers/media/dvb-frontends/lgdt330x.c state->config.pll_rf_set(fe, 1); fe 373 drivers/media/dvb-frontends/lgdt330x.c state->config.pll_rf_set(fe, 0); fe 390 drivers/media/dvb-frontends/lgdt330x.c state->config.pll_rf_set(fe, 0); fe 420 drivers/media/dvb-frontends/lgdt330x.c state->config.set_ts_params(fe, 0); fe 425 drivers/media/dvb-frontends/lgdt330x.c if (fe->ops.tuner_ops.set_params) { fe 426 drivers/media/dvb-frontends/lgdt330x.c fe->ops.tuner_ops.set_params(fe); fe 427 drivers/media/dvb-frontends/lgdt330x.c if (fe->ops.i2c_gate_ctrl) fe 428 drivers/media/dvb-frontends/lgdt330x.c fe->ops.i2c_gate_ctrl(fe, 0); fe 442 drivers/media/dvb-frontends/lgdt330x.c static int lgdt330x_get_frontend(struct dvb_frontend *fe, fe 445 drivers/media/dvb-frontends/lgdt330x.c struct lgdt330x_state *state = fe->demodulator_priv; fe 492 drivers/media/dvb-frontends/lgdt330x.c static int lgdt3302_read_snr(struct dvb_frontend *fe) fe 494 drivers/media/dvb-frontends/lgdt330x.c struct lgdt330x_state *state = fe->demodulator_priv; fe 539 drivers/media/dvb-frontends/lgdt330x.c static int lgdt3303_read_snr(struct dvb_frontend *fe) fe 541 drivers/media/dvb-frontends/lgdt330x.c struct lgdt330x_state *state = fe->demodulator_priv; fe 584 drivers/media/dvb-frontends/lgdt330x.c static int lgdt330x_read_snr(struct dvb_frontend *fe, u16 *snr) fe 586 drivers/media/dvb-frontends/lgdt330x.c struct lgdt330x_state *state = fe->demodulator_priv; fe 593 drivers/media/dvb-frontends/lgdt330x.c static int lgdt330x_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 600 drivers/media/dvb-frontends/lgdt330x.c struct lgdt330x_state *state = fe->demodulator_priv; fe 604 drivers/media/dvb-frontends/lgdt330x.c ret = fe->ops.read_snr(fe, &snr); fe 618 drivers/media/dvb-frontends/lgdt330x.c static int lgdt3302_read_status(struct dvb_frontend *fe, fe 621 drivers/media/dvb-frontends/lgdt330x.c struct lgdt330x_state *state = fe->demodulator_priv; fe 622 drivers/media/dvb-frontends/lgdt330x.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 692 drivers/media/dvb-frontends/lgdt330x.c err = lgdt3302_read_snr(fe); fe 721 drivers/media/dvb-frontends/lgdt330x.c static int lgdt3303_read_status(struct dvb_frontend *fe, fe 724 drivers/media/dvb-frontends/lgdt330x.c struct lgdt330x_state *state = fe->demodulator_priv; fe 725 drivers/media/dvb-frontends/lgdt330x.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 798 drivers/media/dvb-frontends/lgdt330x.c err = lgdt3303_read_snr(fe); fe 828 drivers/media/dvb-frontends/lgdt330x.c lgdt330x_get_tune_settings(struct dvb_frontend *fe, fe 838 drivers/media/dvb-frontends/lgdt330x.c static void lgdt330x_release(struct dvb_frontend *fe) fe 840 drivers/media/dvb-frontends/lgdt330x.c struct lgdt330x_state *state = fe->demodulator_priv; fe 38 drivers/media/dvb-frontends/lgdt330x.h int (*pll_rf_set) (struct dvb_frontend* fe, int index); fe 39 drivers/media/dvb-frontends/lgdt330x.h int (*set_ts_params)(struct dvb_frontend* fe, int is_punctured); fe 220 drivers/media/dvb-frontends/lgs8gl5.c lgs8gl5_init(struct dvb_frontend *fe) fe 222 drivers/media/dvb-frontends/lgs8gl5.c struct lgs8gl5_state *state = fe->demodulator_priv; fe 240 drivers/media/dvb-frontends/lgs8gl5.c lgs8gl5_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 242 drivers/media/dvb-frontends/lgs8gl5.c struct lgs8gl5_state *state = fe->demodulator_priv; fe 262 drivers/media/dvb-frontends/lgs8gl5.c lgs8gl5_read_ber(struct dvb_frontend *fe, u32 *ber) fe 271 drivers/media/dvb-frontends/lgs8gl5.c lgs8gl5_read_signal_strength(struct dvb_frontend *fe, u16 *signal_strength) fe 273 drivers/media/dvb-frontends/lgs8gl5.c struct lgs8gl5_state *state = fe->demodulator_priv; fe 282 drivers/media/dvb-frontends/lgs8gl5.c lgs8gl5_read_snr(struct dvb_frontend *fe, u16 *snr) fe 284 drivers/media/dvb-frontends/lgs8gl5.c struct lgs8gl5_state *state = fe->demodulator_priv; fe 293 drivers/media/dvb-frontends/lgs8gl5.c lgs8gl5_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 302 drivers/media/dvb-frontends/lgs8gl5.c lgs8gl5_set_frontend(struct dvb_frontend *fe) fe 304 drivers/media/dvb-frontends/lgs8gl5.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 305 drivers/media/dvb-frontends/lgs8gl5.c struct lgs8gl5_state *state = fe->demodulator_priv; fe 312 drivers/media/dvb-frontends/lgs8gl5.c if (fe->ops.tuner_ops.set_params) { fe 313 drivers/media/dvb-frontends/lgs8gl5.c fe->ops.tuner_ops.set_params(fe); fe 314 drivers/media/dvb-frontends/lgs8gl5.c if (fe->ops.i2c_gate_ctrl) fe 315 drivers/media/dvb-frontends/lgs8gl5.c fe->ops.i2c_gate_ctrl(fe, 0); fe 327 drivers/media/dvb-frontends/lgs8gl5.c lgs8gl5_get_frontend(struct dvb_frontend *fe, fe 330 drivers/media/dvb-frontends/lgs8gl5.c struct lgs8gl5_state *state = fe->demodulator_priv; fe 349 drivers/media/dvb-frontends/lgs8gl5.c lgs8gl5_get_tune_settings(struct dvb_frontend *fe, fe 360 drivers/media/dvb-frontends/lgs8gl5.c lgs8gl5_release(struct dvb_frontend *fe) fe 362 drivers/media/dvb-frontends/lgs8gl5.c struct lgs8gl5_state *state = fe->demodulator_priv; fe 610 drivers/media/dvb-frontends/lgs8gxx.c static int lgs8gxx_init(struct dvb_frontend *fe) fe 613 drivers/media/dvb-frontends/lgs8gxx.c (struct lgs8gxx_state *)fe->demodulator_priv; fe 640 drivers/media/dvb-frontends/lgs8gxx.c static void lgs8gxx_release(struct dvb_frontend *fe) fe 642 drivers/media/dvb-frontends/lgs8gxx.c struct lgs8gxx_state *state = fe->demodulator_priv; fe 649 drivers/media/dvb-frontends/lgs8gxx.c static int lgs8gxx_write(struct dvb_frontend *fe, const u8 buf[], int len) fe 651 drivers/media/dvb-frontends/lgs8gxx.c struct lgs8gxx_state *priv = fe->demodulator_priv; fe 659 drivers/media/dvb-frontends/lgs8gxx.c static int lgs8gxx_set_fe(struct dvb_frontend *fe) fe 661 drivers/media/dvb-frontends/lgs8gxx.c struct dtv_frontend_properties *fe_params = &fe->dtv_property_cache; fe 662 drivers/media/dvb-frontends/lgs8gxx.c struct lgs8gxx_state *priv = fe->demodulator_priv; fe 667 drivers/media/dvb-frontends/lgs8gxx.c if (fe->ops.tuner_ops.set_params) { fe 668 drivers/media/dvb-frontends/lgs8gxx.c fe->ops.tuner_ops.set_params(fe); fe 669 drivers/media/dvb-frontends/lgs8gxx.c if (fe->ops.i2c_gate_ctrl) fe 670 drivers/media/dvb-frontends/lgs8gxx.c fe->ops.i2c_gate_ctrl(fe, 0); fe 701 drivers/media/dvb-frontends/lgs8gxx.c int lgs8gxx_get_tune_settings(struct dvb_frontend *fe, fe 711 drivers/media/dvb-frontends/lgs8gxx.c static int lgs8gxx_read_status(struct dvb_frontend *fe, fe 714 drivers/media/dvb-frontends/lgs8gxx.c struct lgs8gxx_state *priv = fe->demodulator_priv; fe 851 drivers/media/dvb-frontends/lgs8gxx.c static int lgs8gxx_read_signal_strength(struct dvb_frontend *fe, u16 *signal) fe 853 drivers/media/dvb-frontends/lgs8gxx.c struct lgs8gxx_state *priv = fe->demodulator_priv; fe 863 drivers/media/dvb-frontends/lgs8gxx.c static int lgs8gxx_read_snr(struct dvb_frontend *fe, u16 *snr) fe 865 drivers/media/dvb-frontends/lgs8gxx.c struct lgs8gxx_state *priv = fe->demodulator_priv; fe 881 drivers/media/dvb-frontends/lgs8gxx.c static int lgs8gxx_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 921 drivers/media/dvb-frontends/lgs8gxx.c static int lgs8gxx_read_ber(struct dvb_frontend *fe, u32 *ber) fe 923 drivers/media/dvb-frontends/lgs8gxx.c struct lgs8gxx_state *priv = fe->demodulator_priv; fe 961 drivers/media/dvb-frontends/lgs8gxx.c static int lgs8gxx_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 963 drivers/media/dvb-frontends/lgs8gxx.c struct lgs8gxx_state *priv = fe->demodulator_priv; fe 27 drivers/media/dvb-frontends/lnbh24.h extern struct dvb_frontend *lnbh24_attach(struct dvb_frontend *fe, fe 31 drivers/media/dvb-frontends/lnbh24.h static inline struct dvb_frontend *lnbh24_attach(struct dvb_frontend *fe, fe 81 drivers/media/dvb-frontends/lnbh25.c static int lnbh25_set_voltage(struct dvb_frontend *fe, fe 87 drivers/media/dvb-frontends/lnbh25.c struct lnbh25_priv *priv = fe->sec_priv; fe 134 drivers/media/dvb-frontends/lnbh25.c static void lnbh25_release(struct dvb_frontend *fe) fe 136 drivers/media/dvb-frontends/lnbh25.c struct lnbh25_priv *priv = fe->sec_priv; fe 139 drivers/media/dvb-frontends/lnbh25.c lnbh25_set_voltage(fe, SEC_VOLTAGE_OFF); fe 140 drivers/media/dvb-frontends/lnbh25.c kfree(fe->sec_priv); fe 141 drivers/media/dvb-frontends/lnbh25.c fe->sec_priv = NULL; fe 144 drivers/media/dvb-frontends/lnbh25.c struct dvb_frontend *lnbh25_attach(struct dvb_frontend *fe, fe 159 drivers/media/dvb-frontends/lnbh25.c fe->sec_priv = priv; fe 160 drivers/media/dvb-frontends/lnbh25.c if (lnbh25_set_voltage(fe, SEC_VOLTAGE_OFF)) { fe 165 drivers/media/dvb-frontends/lnbh25.c fe->sec_priv = NULL; fe 169 drivers/media/dvb-frontends/lnbh25.c fe->ops.release_sec = lnbh25_release; fe 170 drivers/media/dvb-frontends/lnbh25.c fe->ops.set_voltage = lnbh25_set_voltage; fe 174 drivers/media/dvb-frontends/lnbh25.c return fe; fe 32 drivers/media/dvb-frontends/lnbh25.h struct dvb_frontend *fe, fe 37 drivers/media/dvb-frontends/lnbh25.h struct dvb_frontend *fe, fe 78 drivers/media/dvb-frontends/lnbh29.c static int lnbh29_set_voltage(struct dvb_frontend *fe, fe 81 drivers/media/dvb-frontends/lnbh29.c struct lnbh29_priv *priv = fe->sec_priv; fe 125 drivers/media/dvb-frontends/lnbh29.c static void lnbh29_release(struct dvb_frontend *fe) fe 127 drivers/media/dvb-frontends/lnbh29.c lnbh29_set_voltage(fe, SEC_VOLTAGE_OFF); fe 128 drivers/media/dvb-frontends/lnbh29.c kfree(fe->sec_priv); fe 129 drivers/media/dvb-frontends/lnbh29.c fe->sec_priv = NULL; fe 132 drivers/media/dvb-frontends/lnbh29.c struct dvb_frontend *lnbh29_attach(struct dvb_frontend *fe, fe 146 drivers/media/dvb-frontends/lnbh29.c fe->sec_priv = priv; fe 148 drivers/media/dvb-frontends/lnbh29.c if (lnbh29_set_voltage(fe, SEC_VOLTAGE_OFF)) { fe 152 drivers/media/dvb-frontends/lnbh29.c fe->sec_priv = NULL; fe 156 drivers/media/dvb-frontends/lnbh29.c fe->ops.release_sec = lnbh29_release; fe 157 drivers/media/dvb-frontends/lnbh29.c fe->ops.set_voltage = lnbh29_set_voltage; fe 162 drivers/media/dvb-frontends/lnbh29.c return fe; fe 23 drivers/media/dvb-frontends/lnbh29.h struct dvb_frontend *lnbh29_attach(struct dvb_frontend *fe, fe 27 drivers/media/dvb-frontends/lnbh29.h static inline struct dvb_frontend *lnbh29_attach(struct dvb_frontend *fe, fe 30 drivers/media/dvb-frontends/lnbp21.c static int lnbp21_set_voltage(struct dvb_frontend *fe, fe 33 drivers/media/dvb-frontends/lnbp21.c struct lnbp21 *lnbp21 = (struct lnbp21 *) fe->sec_priv; fe 59 drivers/media/dvb-frontends/lnbp21.c static int lnbp21_enable_high_lnb_voltage(struct dvb_frontend *fe, long arg) fe 61 drivers/media/dvb-frontends/lnbp21.c struct lnbp21 *lnbp21 = (struct lnbp21 *) fe->sec_priv; fe 77 drivers/media/dvb-frontends/lnbp21.c static int lnbp21_set_tone(struct dvb_frontend *fe, fe 80 drivers/media/dvb-frontends/lnbp21.c struct lnbp21 *lnbp21 = (struct lnbp21 *) fe->sec_priv; fe 102 drivers/media/dvb-frontends/lnbp21.c static void lnbp21_release(struct dvb_frontend *fe) fe 105 drivers/media/dvb-frontends/lnbp21.c lnbp21_set_voltage(fe, SEC_VOLTAGE_OFF); fe 108 drivers/media/dvb-frontends/lnbp21.c kfree(fe->sec_priv); fe 109 drivers/media/dvb-frontends/lnbp21.c fe->sec_priv = NULL; fe 112 drivers/media/dvb-frontends/lnbp21.c static struct dvb_frontend *lnbx2x_attach(struct dvb_frontend *fe, fe 124 drivers/media/dvb-frontends/lnbp21.c fe->sec_priv = lnbp21; fe 133 drivers/media/dvb-frontends/lnbp21.c if (lnbp21_set_voltage(fe, SEC_VOLTAGE_OFF)) { fe 139 drivers/media/dvb-frontends/lnbp21.c fe->ops.release_sec = lnbp21_release; fe 142 drivers/media/dvb-frontends/lnbp21.c fe->ops.set_voltage = lnbp21_set_voltage; fe 143 drivers/media/dvb-frontends/lnbp21.c fe->ops.enable_high_lnb_voltage = lnbp21_enable_high_lnb_voltage; fe 145 drivers/media/dvb-frontends/lnbp21.c fe->ops.set_tone = lnbp21_set_tone; fe 148 drivers/media/dvb-frontends/lnbp21.c return fe; fe 151 drivers/media/dvb-frontends/lnbp21.c struct dvb_frontend *lnbh24_attach(struct dvb_frontend *fe, fe 155 drivers/media/dvb-frontends/lnbp21.c return lnbx2x_attach(fe, i2c, override_set, override_clear, fe 160 drivers/media/dvb-frontends/lnbp21.c struct dvb_frontend *lnbp21_attach(struct dvb_frontend *fe, fe 164 drivers/media/dvb-frontends/lnbp21.c return lnbx2x_attach(fe, i2c, override_set, override_clear, fe 44 drivers/media/dvb-frontends/lnbp21.h extern struct dvb_frontend *lnbp21_attach(struct dvb_frontend *fe, fe 48 drivers/media/dvb-frontends/lnbp21.h static inline struct dvb_frontend *lnbp21_attach(struct dvb_frontend *fe, fe 34 drivers/media/dvb-frontends/lnbp22.c static int lnbp22_set_voltage(struct dvb_frontend *fe, fe 37 drivers/media/dvb-frontends/lnbp22.c struct lnbp22 *lnbp22 = (struct lnbp22 *)fe->sec_priv; fe 66 drivers/media/dvb-frontends/lnbp22.c static int lnbp22_enable_high_lnb_voltage(struct dvb_frontend *fe, long arg) fe 68 drivers/media/dvb-frontends/lnbp22.c struct lnbp22 *lnbp22 = (struct lnbp22 *) fe->sec_priv; fe 85 drivers/media/dvb-frontends/lnbp22.c static void lnbp22_release(struct dvb_frontend *fe) fe 89 drivers/media/dvb-frontends/lnbp22.c lnbp22_set_voltage(fe, SEC_VOLTAGE_OFF); fe 92 drivers/media/dvb-frontends/lnbp22.c kfree(fe->sec_priv); fe 93 drivers/media/dvb-frontends/lnbp22.c fe->sec_priv = NULL; fe 96 drivers/media/dvb-frontends/lnbp22.c struct dvb_frontend *lnbp22_attach(struct dvb_frontend *fe, fe 109 drivers/media/dvb-frontends/lnbp22.c fe->sec_priv = lnbp22; fe 112 drivers/media/dvb-frontends/lnbp22.c if (lnbp22_set_voltage(fe, SEC_VOLTAGE_OFF)) { fe 115 drivers/media/dvb-frontends/lnbp22.c fe->sec_priv = NULL; fe 120 drivers/media/dvb-frontends/lnbp22.c fe->ops.release_sec = lnbp22_release; fe 123 drivers/media/dvb-frontends/lnbp22.c fe->ops.set_voltage = lnbp22_set_voltage; fe 124 drivers/media/dvb-frontends/lnbp22.c fe->ops.enable_high_lnb_voltage = lnbp22_enable_high_lnb_voltage; fe 126 drivers/media/dvb-frontends/lnbp22.c return fe; fe 28 drivers/media/dvb-frontends/lnbp22.h extern struct dvb_frontend *lnbp22_attach(struct dvb_frontend *fe, fe 31 drivers/media/dvb-frontends/lnbp22.h static inline struct dvb_frontend *lnbp22_attach(struct dvb_frontend *fe, fe 70 drivers/media/dvb-frontends/m88ds3103.c int m88ds3103_get_agc_pwm(struct dvb_frontend *fe, u8 *_agc_pwm) fe 72 drivers/media/dvb-frontends/m88ds3103.c struct m88ds3103_dev *dev = fe->demodulator_priv; fe 83 drivers/media/dvb-frontends/m88ds3103.c static int m88ds3103_read_status(struct dvb_frontend *fe, fe 86 drivers/media/dvb-frontends/m88ds3103.c struct m88ds3103_dev *dev = fe->demodulator_priv; fe 88 drivers/media/dvb-frontends/m88ds3103.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 291 drivers/media/dvb-frontends/m88ds3103.c static int m88ds3103_set_frontend(struct dvb_frontend *fe) fe 293 drivers/media/dvb-frontends/m88ds3103.c struct m88ds3103_dev *dev = fe->demodulator_priv; fe 295 drivers/media/dvb-frontends/m88ds3103.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 330 drivers/media/dvb-frontends/m88ds3103.c if (fe->ops.tuner_ops.set_params) { fe 331 drivers/media/dvb-frontends/m88ds3103.c ret = fe->ops.tuner_ops.set_params(fe); fe 336 drivers/media/dvb-frontends/m88ds3103.c if (fe->ops.tuner_ops.get_frequency) { fe 337 drivers/media/dvb-frontends/m88ds3103.c ret = fe->ops.tuner_ops.get_frequency(fe, &tuner_frequency_khz); fe 609 drivers/media/dvb-frontends/m88ds3103.c static int m88ds3103_init(struct dvb_frontend *fe) fe 611 drivers/media/dvb-frontends/m88ds3103.c struct m88ds3103_dev *dev = fe->demodulator_priv; fe 613 drivers/media/dvb-frontends/m88ds3103.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 727 drivers/media/dvb-frontends/m88ds3103.c static int m88ds3103_sleep(struct dvb_frontend *fe) fe 729 drivers/media/dvb-frontends/m88ds3103.c struct m88ds3103_dev *dev = fe->demodulator_priv; fe 765 drivers/media/dvb-frontends/m88ds3103.c static int m88ds3103_get_frontend(struct dvb_frontend *fe, fe 768 drivers/media/dvb-frontends/m88ds3103.c struct m88ds3103_dev *dev = fe->demodulator_priv; fe 934 drivers/media/dvb-frontends/m88ds3103.c static int m88ds3103_read_snr(struct dvb_frontend *fe, u16 *snr) fe 936 drivers/media/dvb-frontends/m88ds3103.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 946 drivers/media/dvb-frontends/m88ds3103.c static int m88ds3103_read_ber(struct dvb_frontend *fe, u32 *ber) fe 948 drivers/media/dvb-frontends/m88ds3103.c struct m88ds3103_dev *dev = fe->demodulator_priv; fe 955 drivers/media/dvb-frontends/m88ds3103.c static int m88ds3103_set_tone(struct dvb_frontend *fe, fe 958 drivers/media/dvb-frontends/m88ds3103.c struct m88ds3103_dev *dev = fe->demodulator_priv; fe 1001 drivers/media/dvb-frontends/m88ds3103.c static int m88ds3103_set_voltage(struct dvb_frontend *fe, fe 1004 drivers/media/dvb-frontends/m88ds3103.c struct m88ds3103_dev *dev = fe->demodulator_priv; fe 1051 drivers/media/dvb-frontends/m88ds3103.c static int m88ds3103_diseqc_send_master_cmd(struct dvb_frontend *fe, fe 1054 drivers/media/dvb-frontends/m88ds3103.c struct m88ds3103_dev *dev = fe->demodulator_priv; fe 1130 drivers/media/dvb-frontends/m88ds3103.c static int m88ds3103_diseqc_send_burst(struct dvb_frontend *fe, fe 1133 drivers/media/dvb-frontends/m88ds3103.c struct m88ds3103_dev *dev = fe->demodulator_priv; fe 1209 drivers/media/dvb-frontends/m88ds3103.c static int m88ds3103_get_tune_settings(struct dvb_frontend *fe, fe 1217 drivers/media/dvb-frontends/m88ds3103.c static void m88ds3103_release(struct dvb_frontend *fe) fe 1219 drivers/media/dvb-frontends/m88ds3103.c struct m88ds3103_dev *dev = fe->demodulator_priv; fe 1340 drivers/media/dvb-frontends/m88ds3103.c return &dev->fe; fe 1461 drivers/media/dvb-frontends/m88ds3103.c memcpy(&dev->fe.ops, &m88ds3103_ops, sizeof(struct dvb_frontend_ops)); fe 1463 drivers/media/dvb-frontends/m88ds3103.c strscpy(dev->fe.ops.info.name, "Montage Technology M88RS6000", fe 1464 drivers/media/dvb-frontends/m88ds3103.c sizeof(dev->fe.ops.info.name)); fe 1466 drivers/media/dvb-frontends/m88ds3103.c dev->fe.ops.release = NULL; fe 1467 drivers/media/dvb-frontends/m88ds3103.c dev->fe.demodulator_priv = dev; fe 145 drivers/media/dvb-frontends/m88ds3103.h extern int m88ds3103_get_agc_pwm(struct dvb_frontend *fe, u8 *_agc_pwm); fe 30 drivers/media/dvb-frontends/m88ds3103_priv.h struct dvb_frontend fe; fe 101 drivers/media/dvb-frontends/m88rs2000.c static u32 m88rs2000_get_mclk(struct dvb_frontend *fe) fe 103 drivers/media/dvb-frontends/m88rs2000.c struct m88rs2000_state *state = fe->demodulator_priv; fe 119 drivers/media/dvb-frontends/m88rs2000.c static int m88rs2000_set_carrieroffset(struct dvb_frontend *fe, s16 offset) fe 121 drivers/media/dvb-frontends/m88rs2000.c struct m88rs2000_state *state = fe->demodulator_priv; fe 127 drivers/media/dvb-frontends/m88rs2000.c mclk = m88rs2000_get_mclk(fe); fe 147 drivers/media/dvb-frontends/m88rs2000.c static int m88rs2000_set_symbolrate(struct dvb_frontend *fe, u32 srate) fe 149 drivers/media/dvb-frontends/m88rs2000.c struct m88rs2000_state *state = fe->demodulator_priv; fe 158 drivers/media/dvb-frontends/m88rs2000.c mclk = m88rs2000_get_mclk(fe); fe 193 drivers/media/dvb-frontends/m88rs2000.c static int m88rs2000_send_diseqc_msg(struct dvb_frontend *fe, fe 196 drivers/media/dvb-frontends/m88rs2000.c struct m88rs2000_state *state = fe->demodulator_priv; fe 237 drivers/media/dvb-frontends/m88rs2000.c static int m88rs2000_send_diseqc_burst(struct dvb_frontend *fe, fe 240 drivers/media/dvb-frontends/m88rs2000.c struct m88rs2000_state *state = fe->demodulator_priv; fe 255 drivers/media/dvb-frontends/m88rs2000.c static int m88rs2000_set_tone(struct dvb_frontend *fe, fe 258 drivers/media/dvb-frontends/m88rs2000.c struct m88rs2000_state *state = fe->demodulator_priv; fe 404 drivers/media/dvb-frontends/m88rs2000.c static int m88rs2000_set_voltage(struct dvb_frontend *fe, fe 407 drivers/media/dvb-frontends/m88rs2000.c struct m88rs2000_state *state = fe->demodulator_priv; fe 430 drivers/media/dvb-frontends/m88rs2000.c static int m88rs2000_init(struct dvb_frontend *fe) fe 432 drivers/media/dvb-frontends/m88rs2000.c struct m88rs2000_state *state = fe->demodulator_priv; fe 446 drivers/media/dvb-frontends/m88rs2000.c static int m88rs2000_sleep(struct dvb_frontend *fe) fe 448 drivers/media/dvb-frontends/m88rs2000.c struct m88rs2000_state *state = fe->demodulator_priv; fe 455 drivers/media/dvb-frontends/m88rs2000.c static int m88rs2000_read_status(struct dvb_frontend *fe, fe 458 drivers/media/dvb-frontends/m88rs2000.c struct m88rs2000_state *state = fe->demodulator_priv; fe 467 drivers/media/dvb-frontends/m88rs2000.c state->config->set_ts_params(fe, CALL_IS_READ); fe 472 drivers/media/dvb-frontends/m88rs2000.c static int m88rs2000_read_ber(struct dvb_frontend *fe, u32 *ber) fe 474 drivers/media/dvb-frontends/m88rs2000.c struct m88rs2000_state *state = fe->demodulator_priv; fe 498 drivers/media/dvb-frontends/m88rs2000.c static int m88rs2000_read_signal_strength(struct dvb_frontend *fe, fe 501 drivers/media/dvb-frontends/m88rs2000.c if (fe->ops.tuner_ops.get_rf_strength) fe 502 drivers/media/dvb-frontends/m88rs2000.c fe->ops.tuner_ops.get_rf_strength(fe, strength); fe 507 drivers/media/dvb-frontends/m88rs2000.c static int m88rs2000_read_snr(struct dvb_frontend *fe, u16 *snr) fe 509 drivers/media/dvb-frontends/m88rs2000.c struct m88rs2000_state *state = fe->demodulator_priv; fe 516 drivers/media/dvb-frontends/m88rs2000.c static int m88rs2000_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 518 drivers/media/dvb-frontends/m88rs2000.c struct m88rs2000_state *state = fe->demodulator_priv; fe 596 drivers/media/dvb-frontends/m88rs2000.c static int m88rs2000_set_frontend(struct dvb_frontend *fe) fe 598 drivers/media/dvb-frontends/m88rs2000.c struct m88rs2000_state *state = fe->demodulator_priv; fe 599 drivers/media/dvb-frontends/m88rs2000.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 615 drivers/media/dvb-frontends/m88rs2000.c if (fe->ops.tuner_ops.set_params) fe 616 drivers/media/dvb-frontends/m88rs2000.c ret = fe->ops.tuner_ops.set_params(fe); fe 621 drivers/media/dvb-frontends/m88rs2000.c if (fe->ops.tuner_ops.get_frequency) { fe 622 drivers/media/dvb-frontends/m88rs2000.c ret = fe->ops.tuner_ops.get_frequency(fe, &tuner_freq); fe 639 drivers/media/dvb-frontends/m88rs2000.c ret |= m88rs2000_set_carrieroffset(fe, offset); fe 665 drivers/media/dvb-frontends/m88rs2000.c ret = m88rs2000_set_symbolrate(fe, c->symbol_rate); fe 701 drivers/media/dvb-frontends/m88rs2000.c static int m88rs2000_get_frontend(struct dvb_frontend *fe, fe 704 drivers/media/dvb-frontends/m88rs2000.c struct m88rs2000_state *state = fe->demodulator_priv; fe 712 drivers/media/dvb-frontends/m88rs2000.c static int m88rs2000_get_tune_settings(struct dvb_frontend *fe, fe 715 drivers/media/dvb-frontends/m88rs2000.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 728 drivers/media/dvb-frontends/m88rs2000.c static int m88rs2000_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 730 drivers/media/dvb-frontends/m88rs2000.c struct m88rs2000_state *state = fe->demodulator_priv; fe 740 drivers/media/dvb-frontends/m88rs2000.c static void m88rs2000_release(struct dvb_frontend *fe) fe 742 drivers/media/dvb-frontends/m88rs2000.c struct m88rs2000_state *state = fe->demodulator_priv; fe 571 drivers/media/dvb-frontends/mb86a16.c static int mb86a16_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 574 drivers/media/dvb-frontends/mb86a16.c struct mb86a16_state *state = fe->demodulator_priv; fe 1500 drivers/media/dvb-frontends/mb86a16.c static int mb86a16_send_diseqc_msg(struct dvb_frontend *fe, fe 1503 drivers/media/dvb-frontends/mb86a16.c struct mb86a16_state *state = fe->demodulator_priv; fe 1541 drivers/media/dvb-frontends/mb86a16.c static int mb86a16_send_diseqc_burst(struct dvb_frontend *fe, fe 1544 drivers/media/dvb-frontends/mb86a16.c struct mb86a16_state *state = fe->demodulator_priv; fe 1570 drivers/media/dvb-frontends/mb86a16.c static int mb86a16_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) fe 1572 drivers/media/dvb-frontends/mb86a16.c struct mb86a16_state *state = fe->demodulator_priv; fe 1603 drivers/media/dvb-frontends/mb86a16.c static enum dvbfe_search mb86a16_search(struct dvb_frontend *fe) fe 1605 drivers/media/dvb-frontends/mb86a16.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1606 drivers/media/dvb-frontends/mb86a16.c struct mb86a16_state *state = fe->demodulator_priv; fe 1620 drivers/media/dvb-frontends/mb86a16.c static void mb86a16_release(struct dvb_frontend *fe) fe 1622 drivers/media/dvb-frontends/mb86a16.c struct mb86a16_state *state = fe->demodulator_priv; fe 1626 drivers/media/dvb-frontends/mb86a16.c static int mb86a16_init(struct dvb_frontend *fe) fe 1631 drivers/media/dvb-frontends/mb86a16.c static int mb86a16_sleep(struct dvb_frontend *fe) fe 1636 drivers/media/dvb-frontends/mb86a16.c static int mb86a16_read_ber(struct dvb_frontend *fe, u32 *ber) fe 1641 drivers/media/dvb-frontends/mb86a16.c struct mb86a16_state *state = fe->demodulator_priv; fe 1703 drivers/media/dvb-frontends/mb86a16.c static int mb86a16_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 1706 drivers/media/dvb-frontends/mb86a16.c struct mb86a16_state *state = fe->demodulator_priv; fe 1750 drivers/media/dvb-frontends/mb86a16.c static int mb86a16_read_snr(struct dvb_frontend *fe, u16 *snr) fe 1752 drivers/media/dvb-frontends/mb86a16.c struct mb86a16_state *state = fe->demodulator_priv; fe 1776 drivers/media/dvb-frontends/mb86a16.c static int mb86a16_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 1779 drivers/media/dvb-frontends/mb86a16.c struct mb86a16_state *state = fe->demodulator_priv; fe 1790 drivers/media/dvb-frontends/mb86a16.c static enum dvbfe_algo mb86a16_frontend_algo(struct dvb_frontend *fe) fe 19 drivers/media/dvb-frontends/mb86a16.h int (*set_voltage)(struct dvb_frontend *fe, fe 281 drivers/media/dvb-frontends/mb86a20s.c static int mb86a20s_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 283 drivers/media/dvb-frontends/mb86a20s.c struct mb86a20s_state *state = fe->demodulator_priv; fe 318 drivers/media/dvb-frontends/mb86a20s.c static int mb86a20s_read_signal_strength(struct dvb_frontend *fe) fe 320 drivers/media/dvb-frontends/mb86a20s.c struct mb86a20s_state *state = fe->demodulator_priv; fe 321 drivers/media/dvb-frontends/mb86a20s.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 497 drivers/media/dvb-frontends/mb86a20s.c static void mb86a20s_reset_frontend_cache(struct dvb_frontend *fe) fe 499 drivers/media/dvb-frontends/mb86a20s.c struct mb86a20s_state *state = fe->demodulator_priv; fe 500 drivers/media/dvb-frontends/mb86a20s.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 542 drivers/media/dvb-frontends/mb86a20s.c static void mb86a20s_layer_bitrate(struct dvb_frontend *fe, u32 layer, fe 547 drivers/media/dvb-frontends/mb86a20s.c struct mb86a20s_state *state = fe->demodulator_priv; fe 624 drivers/media/dvb-frontends/mb86a20s.c static int mb86a20s_get_frontend(struct dvb_frontend *fe) fe 626 drivers/media/dvb-frontends/mb86a20s.c struct mb86a20s_state *state = fe->demodulator_priv; fe 627 drivers/media/dvb-frontends/mb86a20s.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 633 drivers/media/dvb-frontends/mb86a20s.c mb86a20s_reset_frontend_cache(fe); fe 679 drivers/media/dvb-frontends/mb86a20s.c mb86a20s_layer_bitrate(fe, layer, c->layer[layer].modulation, fe 736 drivers/media/dvb-frontends/mb86a20s.c static int mb86a20s_reset_counters(struct dvb_frontend *fe) fe 738 drivers/media/dvb-frontends/mb86a20s.c struct mb86a20s_state *state = fe->demodulator_priv; fe 739 drivers/media/dvb-frontends/mb86a20s.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 800 drivers/media/dvb-frontends/mb86a20s.c static int mb86a20s_get_pre_ber(struct dvb_frontend *fe, fe 804 drivers/media/dvb-frontends/mb86a20s.c struct mb86a20s_state *state = fe->demodulator_priv; fe 933 drivers/media/dvb-frontends/mb86a20s.c static int mb86a20s_get_post_ber(struct dvb_frontend *fe, fe 937 drivers/media/dvb-frontends/mb86a20s.c struct mb86a20s_state *state = fe->demodulator_priv; fe 1061 drivers/media/dvb-frontends/mb86a20s.c static int mb86a20s_get_blk_error(struct dvb_frontend *fe, fe 1065 drivers/media/dvb-frontends/mb86a20s.c struct mb86a20s_state *state = fe->demodulator_priv; fe 1383 drivers/media/dvb-frontends/mb86a20s.c static int mb86a20s_get_main_CNR(struct dvb_frontend *fe) fe 1385 drivers/media/dvb-frontends/mb86a20s.c struct mb86a20s_state *state = fe->demodulator_priv; fe 1386 drivers/media/dvb-frontends/mb86a20s.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1430 drivers/media/dvb-frontends/mb86a20s.c static int mb86a20s_get_blk_error_layer_CNR(struct dvb_frontend *fe) fe 1432 drivers/media/dvb-frontends/mb86a20s.c struct mb86a20s_state *state = fe->demodulator_priv; fe 1433 drivers/media/dvb-frontends/mb86a20s.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1532 drivers/media/dvb-frontends/mb86a20s.c static void mb86a20s_stats_not_ready(struct dvb_frontend *fe) fe 1534 drivers/media/dvb-frontends/mb86a20s.c struct mb86a20s_state *state = fe->demodulator_priv; fe 1535 drivers/media/dvb-frontends/mb86a20s.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1570 drivers/media/dvb-frontends/mb86a20s.c static int mb86a20s_get_stats(struct dvb_frontend *fe, int status_nr) fe 1572 drivers/media/dvb-frontends/mb86a20s.c struct mb86a20s_state *state = fe->demodulator_priv; fe 1573 drivers/media/dvb-frontends/mb86a20s.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1585 drivers/media/dvb-frontends/mb86a20s.c mb86a20s_get_main_CNR(fe); fe 1588 drivers/media/dvb-frontends/mb86a20s.c mb86a20s_get_blk_error_layer_CNR(fe); fe 1604 drivers/media/dvb-frontends/mb86a20s.c rc = mb86a20s_get_pre_ber(fe, layer, fe 1626 drivers/media/dvb-frontends/mb86a20s.c rc = mb86a20s_get_post_ber(fe, layer, fe 1648 drivers/media/dvb-frontends/mb86a20s.c rc = mb86a20s_get_blk_error(fe, layer, fe 1752 drivers/media/dvb-frontends/mb86a20s.c static int mb86a20s_initfe(struct dvb_frontend *fe) fe 1754 drivers/media/dvb-frontends/mb86a20s.c struct mb86a20s_state *state = fe->demodulator_priv; fe 1762 drivers/media/dvb-frontends/mb86a20s.c if (fe->ops.i2c_gate_ctrl) fe 1763 drivers/media/dvb-frontends/mb86a20s.c fe->ops.i2c_gate_ctrl(fe, 0); fe 1796 drivers/media/dvb-frontends/mb86a20s.c if (fe->ops.tuner_ops.get_if_frequency) fe 1797 drivers/media/dvb-frontends/mb86a20s.c fe->ops.tuner_ops.get_if_frequency(fe, &state->if_freq); fe 1854 drivers/media/dvb-frontends/mb86a20s.c if (fe->ops.i2c_gate_ctrl) fe 1855 drivers/media/dvb-frontends/mb86a20s.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1868 drivers/media/dvb-frontends/mb86a20s.c static int mb86a20s_set_frontend(struct dvb_frontend *fe) fe 1870 drivers/media/dvb-frontends/mb86a20s.c struct mb86a20s_state *state = fe->demodulator_priv; fe 1871 drivers/media/dvb-frontends/mb86a20s.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1903 drivers/media/dvb-frontends/mb86a20s.c if (fe->ops.i2c_gate_ctrl) fe 1904 drivers/media/dvb-frontends/mb86a20s.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1905 drivers/media/dvb-frontends/mb86a20s.c fe->ops.tuner_ops.set_params(fe); fe 1907 drivers/media/dvb-frontends/mb86a20s.c if (fe->ops.tuner_ops.get_if_frequency) fe 1908 drivers/media/dvb-frontends/mb86a20s.c fe->ops.tuner_ops.get_if_frequency(fe, &if_freq); fe 1927 drivers/media/dvb-frontends/mb86a20s.c mb86a20s_initfe(fe); fe 1929 drivers/media/dvb-frontends/mb86a20s.c if (fe->ops.i2c_gate_ctrl) fe 1930 drivers/media/dvb-frontends/mb86a20s.c fe->ops.i2c_gate_ctrl(fe, 0); fe 1933 drivers/media/dvb-frontends/mb86a20s.c mb86a20s_reset_counters(fe); fe 1934 drivers/media/dvb-frontends/mb86a20s.c mb86a20s_stats_not_ready(fe); fe 1936 drivers/media/dvb-frontends/mb86a20s.c if (fe->ops.i2c_gate_ctrl) fe 1937 drivers/media/dvb-frontends/mb86a20s.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1942 drivers/media/dvb-frontends/mb86a20s.c static int mb86a20s_read_status_and_stats(struct dvb_frontend *fe, fe 1945 drivers/media/dvb-frontends/mb86a20s.c struct mb86a20s_state *state = fe->demodulator_priv; fe 1950 drivers/media/dvb-frontends/mb86a20s.c if (fe->ops.i2c_gate_ctrl) fe 1951 drivers/media/dvb-frontends/mb86a20s.c fe->ops.i2c_gate_ctrl(fe, 0); fe 1954 drivers/media/dvb-frontends/mb86a20s.c status_nr = mb86a20s_read_status(fe, status); fe 1956 drivers/media/dvb-frontends/mb86a20s.c mb86a20s_stats_not_ready(fe); fe 1957 drivers/media/dvb-frontends/mb86a20s.c mb86a20s_reset_frontend_cache(fe); fe 1967 drivers/media/dvb-frontends/mb86a20s.c rc = mb86a20s_read_signal_strength(fe); fe 1971 drivers/media/dvb-frontends/mb86a20s.c mb86a20s_stats_not_ready(fe); fe 1972 drivers/media/dvb-frontends/mb86a20s.c mb86a20s_reset_frontend_cache(fe); fe 1980 drivers/media/dvb-frontends/mb86a20s.c rc = mb86a20s_get_frontend(fe); fe 1989 drivers/media/dvb-frontends/mb86a20s.c rc = mb86a20s_get_stats(fe, status_nr); fe 2001 drivers/media/dvb-frontends/mb86a20s.c mb86a20s_stats_not_ready(fe); fe 2004 drivers/media/dvb-frontends/mb86a20s.c if (fe->ops.i2c_gate_ctrl) fe 2005 drivers/media/dvb-frontends/mb86a20s.c fe->ops.i2c_gate_ctrl(fe, 1); fe 2010 drivers/media/dvb-frontends/mb86a20s.c static int mb86a20s_read_signal_strength_from_cache(struct dvb_frontend *fe, fe 2013 drivers/media/dvb-frontends/mb86a20s.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 2021 drivers/media/dvb-frontends/mb86a20s.c static int mb86a20s_tune(struct dvb_frontend *fe, fe 2027 drivers/media/dvb-frontends/mb86a20s.c struct mb86a20s_state *state = fe->demodulator_priv; fe 2033 drivers/media/dvb-frontends/mb86a20s.c rc = mb86a20s_set_frontend(fe); fe 2036 drivers/media/dvb-frontends/mb86a20s.c mb86a20s_read_status_and_stats(fe, status); fe 2041 drivers/media/dvb-frontends/mb86a20s.c static void mb86a20s_release(struct dvb_frontend *fe) fe 2043 drivers/media/dvb-frontends/mb86a20s.c struct mb86a20s_state *state = fe->demodulator_priv; fe 2050 drivers/media/dvb-frontends/mb86a20s.c static enum dvbfe_algo mb86a20s_get_frontend_algo(struct dvb_frontend *fe) fe 189 drivers/media/dvb-frontends/mn88443x.c struct dvb_frontend fe; fe 549 drivers/media/dvb-frontends/mn88443x.c static int mn88443x_sleep(struct dvb_frontend *fe) fe 551 drivers/media/dvb-frontends/mn88443x.c struct mn88443x_priv *chip = fe->demodulator_priv; fe 559 drivers/media/dvb-frontends/mn88443x.c static int mn88443x_set_frontend(struct dvb_frontend *fe) fe 561 drivers/media/dvb-frontends/mn88443x.c struct mn88443x_priv *chip = fe->demodulator_priv; fe 562 drivers/media/dvb-frontends/mn88443x.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 599 drivers/media/dvb-frontends/mn88443x.c if (fe->ops.tuner_ops.set_params) { fe 600 drivers/media/dvb-frontends/mn88443x.c if (fe->ops.i2c_gate_ctrl) fe 601 drivers/media/dvb-frontends/mn88443x.c fe->ops.i2c_gate_ctrl(fe, 1); fe 602 drivers/media/dvb-frontends/mn88443x.c fe->ops.tuner_ops.set_params(fe); fe 603 drivers/media/dvb-frontends/mn88443x.c if (fe->ops.i2c_gate_ctrl) fe 604 drivers/media/dvb-frontends/mn88443x.c fe->ops.i2c_gate_ctrl(fe, 0); fe 610 drivers/media/dvb-frontends/mn88443x.c static int mn88443x_get_tune_settings(struct dvb_frontend *fe, fe 613 drivers/media/dvb-frontends/mn88443x.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 628 drivers/media/dvb-frontends/mn88443x.c static int mn88443x_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 630 drivers/media/dvb-frontends/mn88443x.c struct mn88443x_priv *chip = fe->demodulator_priv; fe 631 drivers/media/dvb-frontends/mn88443x.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 713 drivers/media/dvb-frontends/mn88443x.c *conf->fe = &chip->fe; fe 737 drivers/media/dvb-frontends/mn88443x.c memcpy(&chip->fe.ops, &mn88443x_ops, sizeof(mn88443x_ops)); fe 738 drivers/media/dvb-frontends/mn88443x.c chip->fe.demodulator_priv = chip; fe 24 drivers/media/dvb-frontends/mn88443x.h struct dvb_frontend **fe; fe 10 drivers/media/dvb-frontends/mn88472.c static int mn88472_get_tune_settings(struct dvb_frontend *fe, fe 17 drivers/media/dvb-frontends/mn88472.c static int mn88472_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 19 drivers/media/dvb-frontends/mn88472.c struct i2c_client *client = fe->demodulator_priv; fe 21 drivers/media/dvb-frontends/mn88472.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 199 drivers/media/dvb-frontends/mn88472.c static int mn88472_set_frontend(struct dvb_frontend *fe) fe 201 drivers/media/dvb-frontends/mn88472.c struct i2c_client *client = fe->demodulator_priv; fe 203 drivers/media/dvb-frontends/mn88472.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 282 drivers/media/dvb-frontends/mn88472.c if (fe->ops.tuner_ops.set_params) { fe 283 drivers/media/dvb-frontends/mn88472.c ret = fe->ops.tuner_ops.set_params(fe); fe 288 drivers/media/dvb-frontends/mn88472.c if (fe->ops.tuner_ops.get_if_frequency) { fe 289 drivers/media/dvb-frontends/mn88472.c ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); fe 394 drivers/media/dvb-frontends/mn88472.c static int mn88472_init(struct dvb_frontend *fe) fe 396 drivers/media/dvb-frontends/mn88472.c struct i2c_client *client = fe->demodulator_priv; fe 504 drivers/media/dvb-frontends/mn88472.c static int mn88472_sleep(struct dvb_frontend *fe) fe 506 drivers/media/dvb-frontends/mn88472.c struct i2c_client *client = fe->demodulator_priv; fe 572 drivers/media/dvb-frontends/mn88472.c return &dev->fe; fe 659 drivers/media/dvb-frontends/mn88472.c memcpy(&dev->fe.ops, &mn88472_ops, sizeof(struct dvb_frontend_ops)); fe 660 drivers/media/dvb-frontends/mn88472.c dev->fe.demodulator_priv = client; fe 661 drivers/media/dvb-frontends/mn88472.c *pdata->fe = &dev->fe; fe 665 drivers/media/dvb-frontends/mn88472.c c = &dev->fe.dtv_property_cache; fe 46 drivers/media/dvb-frontends/mn88472.h struct dvb_frontend **fe; fe 22 drivers/media/dvb-frontends/mn88472_priv.h struct dvb_frontend fe; fe 10 drivers/media/dvb-frontends/mn88473.c static int mn88473_get_tune_settings(struct dvb_frontend *fe, fe 17 drivers/media/dvb-frontends/mn88473.c static int mn88473_set_frontend(struct dvb_frontend *fe) fe 19 drivers/media/dvb-frontends/mn88473.c struct i2c_client *client = fe->demodulator_priv; fe 21 drivers/media/dvb-frontends/mn88473.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 85 drivers/media/dvb-frontends/mn88473.c if (fe->ops.tuner_ops.set_params) { fe 86 drivers/media/dvb-frontends/mn88473.c ret = fe->ops.tuner_ops.set_params(fe); fe 91 drivers/media/dvb-frontends/mn88473.c if (fe->ops.tuner_ops.get_if_frequency) { fe 92 drivers/media/dvb-frontends/mn88473.c ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); fe 237 drivers/media/dvb-frontends/mn88473.c static int mn88473_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 239 drivers/media/dvb-frontends/mn88473.c struct i2c_client *client = fe->demodulator_priv; fe 241 drivers/media/dvb-frontends/mn88473.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 459 drivers/media/dvb-frontends/mn88473.c static int mn88473_init(struct dvb_frontend *fe) fe 461 drivers/media/dvb-frontends/mn88473.c struct i2c_client *client = fe->demodulator_priv; fe 463 drivers/media/dvb-frontends/mn88473.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 552 drivers/media/dvb-frontends/mn88473.c static int mn88473_sleep(struct dvb_frontend *fe) fe 554 drivers/media/dvb-frontends/mn88473.c struct i2c_client *client = fe->demodulator_priv; fe 624 drivers/media/dvb-frontends/mn88473.c if (config->fe == NULL) { fe 706 drivers/media/dvb-frontends/mn88473.c *config->fe = &dev->frontend; fe 32 drivers/media/dvb-frontends/mn88473.h struct dvb_frontend **fe; fe 236 drivers/media/dvb-frontends/mt312.c static int mt312_initfe(struct dvb_frontend *fe) fe 238 drivers/media/dvb-frontends/mt312.c struct mt312_state *state = fe->demodulator_priv; fe 336 drivers/media/dvb-frontends/mt312.c static int mt312_send_master_cmd(struct dvb_frontend *fe, fe 339 drivers/media/dvb-frontends/mt312.c struct mt312_state *state = fe->demodulator_priv; fe 373 drivers/media/dvb-frontends/mt312.c static int mt312_send_burst(struct dvb_frontend *fe, fe 376 drivers/media/dvb-frontends/mt312.c struct mt312_state *state = fe->demodulator_priv; fe 397 drivers/media/dvb-frontends/mt312.c static int mt312_set_tone(struct dvb_frontend *fe, fe 400 drivers/media/dvb-frontends/mt312.c struct mt312_state *state = fe->demodulator_priv; fe 421 drivers/media/dvb-frontends/mt312.c static int mt312_set_voltage(struct dvb_frontend *fe, fe 424 drivers/media/dvb-frontends/mt312.c struct mt312_state *state = fe->demodulator_priv; fe 438 drivers/media/dvb-frontends/mt312.c static int mt312_read_status(struct dvb_frontend *fe, enum fe_status *s) fe 440 drivers/media/dvb-frontends/mt312.c struct mt312_state *state = fe->demodulator_priv; fe 467 drivers/media/dvb-frontends/mt312.c static int mt312_read_ber(struct dvb_frontend *fe, u32 *ber) fe 469 drivers/media/dvb-frontends/mt312.c struct mt312_state *state = fe->demodulator_priv; fe 482 drivers/media/dvb-frontends/mt312.c static int mt312_read_signal_strength(struct dvb_frontend *fe, fe 485 drivers/media/dvb-frontends/mt312.c struct mt312_state *state = fe->demodulator_priv; fe 505 drivers/media/dvb-frontends/mt312.c static int mt312_read_snr(struct dvb_frontend *fe, u16 *snr) fe 507 drivers/media/dvb-frontends/mt312.c struct mt312_state *state = fe->demodulator_priv; fe 520 drivers/media/dvb-frontends/mt312.c static int mt312_read_ucblocks(struct dvb_frontend *fe, u32 *ubc) fe 522 drivers/media/dvb-frontends/mt312.c struct mt312_state *state = fe->demodulator_priv; fe 535 drivers/media/dvb-frontends/mt312.c static int mt312_set_frontend(struct dvb_frontend *fe) fe 537 drivers/media/dvb-frontends/mt312.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 538 drivers/media/dvb-frontends/mt312.c struct mt312_state *state = fe->demodulator_priv; fe 549 drivers/media/dvb-frontends/mt312.c if ((p->frequency < fe->ops.info.frequency_min_hz / kHz) fe 550 drivers/media/dvb-frontends/mt312.c || (p->frequency > fe->ops.info.frequency_max_hz / kHz)) fe 557 drivers/media/dvb-frontends/mt312.c if ((p->symbol_rate < fe->ops.info.symbol_rate_min) fe 558 drivers/media/dvb-frontends/mt312.c || (p->symbol_rate > fe->ops.info.symbol_rate_max)) fe 583 drivers/media/dvb-frontends/mt312.c ret = mt312_initfe(fe); fe 591 drivers/media/dvb-frontends/mt312.c ret = mt312_initfe(fe); fe 606 drivers/media/dvb-frontends/mt312.c if (fe->ops.tuner_ops.set_params) { fe 607 drivers/media/dvb-frontends/mt312.c fe->ops.tuner_ops.set_params(fe); fe 608 drivers/media/dvb-frontends/mt312.c if (fe->ops.i2c_gate_ctrl) fe 609 drivers/media/dvb-frontends/mt312.c fe->ops.i2c_gate_ctrl(fe, 0); fe 642 drivers/media/dvb-frontends/mt312.c static int mt312_get_frontend(struct dvb_frontend *fe, fe 645 drivers/media/dvb-frontends/mt312.c struct mt312_state *state = fe->demodulator_priv; fe 663 drivers/media/dvb-frontends/mt312.c static int mt312_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 665 drivers/media/dvb-frontends/mt312.c struct mt312_state *state = fe->demodulator_priv; fe 692 drivers/media/dvb-frontends/mt312.c static int mt312_sleep(struct dvb_frontend *fe) fe 694 drivers/media/dvb-frontends/mt312.c struct mt312_state *state = fe->demodulator_priv; fe 727 drivers/media/dvb-frontends/mt312.c static int mt312_get_tune_settings(struct dvb_frontend *fe, fe 736 drivers/media/dvb-frontends/mt312.c static void mt312_release(struct dvb_frontend *fe) fe 738 drivers/media/dvb-frontends/mt312.c struct mt312_state *state = fe->demodulator_priv; fe 44 drivers/media/dvb-frontends/mt352.c static int mt352_single_write(struct dvb_frontend *fe, u8 reg, u8 val) fe 46 drivers/media/dvb-frontends/mt352.c struct mt352_state* state = fe->demodulator_priv; fe 58 drivers/media/dvb-frontends/mt352.c static int _mt352_write(struct dvb_frontend* fe, const u8 ibuf[], int ilen) fe 62 drivers/media/dvb-frontends/mt352.c if ((err = mt352_single_write(fe,ibuf[0]+i,ibuf[i+1]))) fe 91 drivers/media/dvb-frontends/mt352.c static int mt352_sleep(struct dvb_frontend* fe) fe 95 drivers/media/dvb-frontends/mt352.c _mt352_write(fe, mt352_softdown, sizeof(mt352_softdown)); fe 155 drivers/media/dvb-frontends/mt352.c static int mt352_set_parameters(struct dvb_frontend *fe) fe 157 drivers/media/dvb-frontends/mt352.c struct dtv_frontend_properties *op = &fe->dtv_property_cache; fe 158 drivers/media/dvb-frontends/mt352.c struct mt352_state* state = fe->demodulator_priv; fe 281 drivers/media/dvb-frontends/mt352.c if (fe->ops.tuner_ops.set_params) { fe 282 drivers/media/dvb-frontends/mt352.c fe->ops.tuner_ops.set_params(fe); fe 283 drivers/media/dvb-frontends/mt352.c if (fe->ops.i2c_gate_ctrl) fe 284 drivers/media/dvb-frontends/mt352.c fe->ops.i2c_gate_ctrl(fe, 0); fe 287 drivers/media/dvb-frontends/mt352.c _mt352_write(fe, buf, 8); fe 288 drivers/media/dvb-frontends/mt352.c _mt352_write(fe, fsm_go, 2); fe 290 drivers/media/dvb-frontends/mt352.c if (fe->ops.tuner_ops.calc_regs) { fe 291 drivers/media/dvb-frontends/mt352.c fe->ops.tuner_ops.calc_regs(fe, buf+8, 5); fe 293 drivers/media/dvb-frontends/mt352.c _mt352_write(fe, buf, sizeof(buf)); fe 294 drivers/media/dvb-frontends/mt352.c _mt352_write(fe, tuner_go, 2); fe 301 drivers/media/dvb-frontends/mt352.c static int mt352_get_parameters(struct dvb_frontend* fe, fe 304 drivers/media/dvb-frontends/mt352.c struct mt352_state* state = fe->demodulator_priv; fe 407 drivers/media/dvb-frontends/mt352.c static int mt352_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 409 drivers/media/dvb-frontends/mt352.c struct mt352_state* state = fe->demodulator_priv; fe 450 drivers/media/dvb-frontends/mt352.c static int mt352_read_ber(struct dvb_frontend* fe, u32* ber) fe 452 drivers/media/dvb-frontends/mt352.c struct mt352_state* state = fe->demodulator_priv; fe 461 drivers/media/dvb-frontends/mt352.c static int mt352_read_signal_strength(struct dvb_frontend* fe, u16* strength) fe 463 drivers/media/dvb-frontends/mt352.c struct mt352_state* state = fe->demodulator_priv; fe 474 drivers/media/dvb-frontends/mt352.c static int mt352_read_snr(struct dvb_frontend* fe, u16* snr) fe 476 drivers/media/dvb-frontends/mt352.c struct mt352_state* state = fe->demodulator_priv; fe 484 drivers/media/dvb-frontends/mt352.c static int mt352_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) fe 486 drivers/media/dvb-frontends/mt352.c struct mt352_state* state = fe->demodulator_priv; fe 494 drivers/media/dvb-frontends/mt352.c static int mt352_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings* fe_tune_settings) fe 503 drivers/media/dvb-frontends/mt352.c static int mt352_init(struct dvb_frontend* fe) fe 505 drivers/media/dvb-frontends/mt352.c struct mt352_state* state = fe->demodulator_priv; fe 515 drivers/media/dvb-frontends/mt352.c _mt352_write(fe, mt352_reset_attach, sizeof(mt352_reset_attach)); fe 516 drivers/media/dvb-frontends/mt352.c return state->config.demod_init(fe); fe 522 drivers/media/dvb-frontends/mt352.c static void mt352_release(struct dvb_frontend* fe) fe 524 drivers/media/dvb-frontends/mt352.c struct mt352_state* state = fe->demodulator_priv; fe 37 drivers/media/dvb-frontends/mt352.h int (*demod_init)(struct dvb_frontend* fe); fe 52 drivers/media/dvb-frontends/mt352.h static inline int mt352_write(struct dvb_frontend *fe, const u8 buf[], int len) { fe 54 drivers/media/dvb-frontends/mt352.h if (fe->ops.write) fe 55 drivers/media/dvb-frontends/mt352.h r = fe->ops.write(fe, buf, len); fe 84 drivers/media/dvb-frontends/mxl5xx.c struct dvb_frontend fe; fe 343 drivers/media/dvb-frontends/mxl5xx.c static int init(struct dvb_frontend *fe) fe 345 drivers/media/dvb-frontends/mxl5xx.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 364 drivers/media/dvb-frontends/mxl5xx.c static void release(struct dvb_frontend *fe) fe 366 drivers/media/dvb-frontends/mxl5xx.c struct mxl *state = fe->demodulator_priv; fe 378 drivers/media/dvb-frontends/mxl5xx.c static enum dvbfe_algo get_algo(struct dvb_frontend *fe) fe 428 drivers/media/dvb-frontends/mxl5xx.c static int send_master_cmd(struct dvb_frontend *fe, fe 436 drivers/media/dvb-frontends/mxl5xx.c static int set_parameters(struct dvb_frontend *fe) fe 438 drivers/media/dvb-frontends/mxl5xx.c struct mxl *state = fe->demodulator_priv; fe 439 drivers/media/dvb-frontends/mxl5xx.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 502 drivers/media/dvb-frontends/mxl5xx.c static int sleep(struct dvb_frontend *fe) fe 504 drivers/media/dvb-frontends/mxl5xx.c struct mxl *state = fe->demodulator_priv; fe 522 drivers/media/dvb-frontends/mxl5xx.c static int read_snr(struct dvb_frontend *fe) fe 524 drivers/media/dvb-frontends/mxl5xx.c struct mxl *state = fe->demodulator_priv; fe 527 drivers/media/dvb-frontends/mxl5xx.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 543 drivers/media/dvb-frontends/mxl5xx.c static int read_ber(struct dvb_frontend *fe) fe 545 drivers/media/dvb-frontends/mxl5xx.c struct mxl *state = fe->demodulator_priv; fe 546 drivers/media/dvb-frontends/mxl5xx.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 599 drivers/media/dvb-frontends/mxl5xx.c static int read_signal_strength(struct dvb_frontend *fe) fe 601 drivers/media/dvb-frontends/mxl5xx.c struct mxl *state = fe->demodulator_priv; fe 602 drivers/media/dvb-frontends/mxl5xx.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 620 drivers/media/dvb-frontends/mxl5xx.c static int read_status(struct dvb_frontend *fe, enum fe_status *status) fe 622 drivers/media/dvb-frontends/mxl5xx.c struct mxl *state = fe->demodulator_priv; fe 623 drivers/media/dvb-frontends/mxl5xx.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 639 drivers/media/dvb-frontends/mxl5xx.c read_signal_strength(fe); fe 642 drivers/media/dvb-frontends/mxl5xx.c read_snr(fe); fe 647 drivers/media/dvb-frontends/mxl5xx.c read_ber(fe); fe 658 drivers/media/dvb-frontends/mxl5xx.c static int tune(struct dvb_frontend *fe, bool re_tune, fe 662 drivers/media/dvb-frontends/mxl5xx.c struct mxl *state = fe->demodulator_priv; fe 667 drivers/media/dvb-frontends/mxl5xx.c r = set_parameters(fe); fe 673 drivers/media/dvb-frontends/mxl5xx.c return read_status(fe, status); fe 689 drivers/media/dvb-frontends/mxl5xx.c static int get_frontend(struct dvb_frontend *fe, fe 692 drivers/media/dvb-frontends/mxl5xx.c struct mxl *state = fe->demodulator_priv; fe 776 drivers/media/dvb-frontends/mxl5xx.c static int set_input(struct dvb_frontend *fe, int input) fe 778 drivers/media/dvb-frontends/mxl5xx.c struct mxl *state = fe->demodulator_priv; fe 1879 drivers/media/dvb-frontends/mxl5xx.c state->fe.ops = mxl_ops; fe 1883 drivers/media/dvb-frontends/mxl5xx.c state->fe.demodulator_priv = state; fe 1887 drivers/media/dvb-frontends/mxl5xx.c return &state->fe; fe 407 drivers/media/dvb-frontends/nxt200x.c static int nxt2002_load_firmware (struct dvb_frontend* fe, const struct firmware *fw) fe 410 drivers/media/dvb-frontends/nxt200x.c struct nxt200x_state* state = fe->demodulator_priv; fe 474 drivers/media/dvb-frontends/nxt200x.c static int nxt2004_load_firmware (struct dvb_frontend* fe, const struct firmware *fw) fe 477 drivers/media/dvb-frontends/nxt200x.c struct nxt200x_state* state = fe->demodulator_priv; fe 525 drivers/media/dvb-frontends/nxt200x.c static int nxt200x_setup_frontend_parameters(struct dvb_frontend *fe) fe 527 drivers/media/dvb-frontends/nxt200x.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 528 drivers/media/dvb-frontends/nxt200x.c struct nxt200x_state* state = fe->demodulator_priv; fe 549 drivers/media/dvb-frontends/nxt200x.c state->config->set_ts_params(fe, 1); fe 554 drivers/media/dvb-frontends/nxt200x.c state->config->set_ts_params(fe, 0); fe 561 drivers/media/dvb-frontends/nxt200x.c if (fe->ops.tuner_ops.calc_regs) { fe 563 drivers/media/dvb-frontends/nxt200x.c fe->ops.tuner_ops.calc_regs(fe, buf, 5); fe 769 drivers/media/dvb-frontends/nxt200x.c static int nxt200x_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 771 drivers/media/dvb-frontends/nxt200x.c struct nxt200x_state* state = fe->demodulator_priv; fe 786 drivers/media/dvb-frontends/nxt200x.c static int nxt200x_read_ber(struct dvb_frontend* fe, u32* ber) fe 788 drivers/media/dvb-frontends/nxt200x.c struct nxt200x_state* state = fe->demodulator_priv; fe 798 drivers/media/dvb-frontends/nxt200x.c static int nxt200x_read_signal_strength(struct dvb_frontend* fe, u16* strength) fe 800 drivers/media/dvb-frontends/nxt200x.c struct nxt200x_state* state = fe->demodulator_priv; fe 817 drivers/media/dvb-frontends/nxt200x.c static int nxt200x_read_snr(struct dvb_frontend* fe, u16* snr) fe 820 drivers/media/dvb-frontends/nxt200x.c struct nxt200x_state* state = fe->demodulator_priv; fe 851 drivers/media/dvb-frontends/nxt200x.c static int nxt200x_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) fe 853 drivers/media/dvb-frontends/nxt200x.c struct nxt200x_state* state = fe->demodulator_priv; fe 862 drivers/media/dvb-frontends/nxt200x.c static int nxt200x_sleep(struct dvb_frontend* fe) fe 867 drivers/media/dvb-frontends/nxt200x.c static int nxt2002_init(struct dvb_frontend* fe) fe 869 drivers/media/dvb-frontends/nxt200x.c struct nxt200x_state* state = fe->demodulator_priv; fe 886 drivers/media/dvb-frontends/nxt200x.c ret = nxt2002_load_firmware(fe, fw); fe 930 drivers/media/dvb-frontends/nxt200x.c static int nxt2004_init(struct dvb_frontend* fe) fe 932 drivers/media/dvb-frontends/nxt200x.c struct nxt200x_state* state = fe->demodulator_priv; fe 953 drivers/media/dvb-frontends/nxt200x.c ret = nxt2004_load_firmware(fe, fw); fe 1102 drivers/media/dvb-frontends/nxt200x.c static int nxt200x_init(struct dvb_frontend* fe) fe 1104 drivers/media/dvb-frontends/nxt200x.c struct nxt200x_state* state = fe->demodulator_priv; fe 1110 drivers/media/dvb-frontends/nxt200x.c ret = nxt2002_init(fe); fe 1113 drivers/media/dvb-frontends/nxt200x.c ret = nxt2004_init(fe); fe 1124 drivers/media/dvb-frontends/nxt200x.c static int nxt200x_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings* fesettings) fe 1132 drivers/media/dvb-frontends/nxt200x.c static void nxt200x_release(struct dvb_frontend* fe) fe 1134 drivers/media/dvb-frontends/nxt200x.c struct nxt200x_state* state = fe->demodulator_priv; fe 28 drivers/media/dvb-frontends/nxt200x.h int (*set_ts_params)(struct dvb_frontend* fe, int is_punctured); fe 173 drivers/media/dvb-frontends/nxt6000.c static void nxt6000_setup(struct dvb_frontend* fe) fe 175 drivers/media/dvb-frontends/nxt6000.c struct nxt6000_state* state = fe->demodulator_priv; fe 214 drivers/media/dvb-frontends/nxt6000.c nxt6000_readreg(fe, RS_COR_STAT)); fe 216 drivers/media/dvb-frontends/nxt6000.c nxt6000_readreg(fe, VIT_SYNC_STATUS)); fe 218 drivers/media/dvb-frontends/nxt6000.c nxt6000_readreg(fe, OFDM_COR_STAT)); fe 220 drivers/media/dvb-frontends/nxt6000.c nxt6000_readreg(fe, OFDM_SYR_STAT)); fe 222 drivers/media/dvb-frontends/nxt6000.c nxt6000_readreg(fe, OFDM_TPS_RCVD_1)); fe 224 drivers/media/dvb-frontends/nxt6000.c nxt6000_readreg(fe, OFDM_TPS_RCVD_2)); fe 226 drivers/media/dvb-frontends/nxt6000.c nxt6000_readreg(fe, OFDM_TPS_RCVD_3)); fe 228 drivers/media/dvb-frontends/nxt6000.c nxt6000_readreg(fe, OFDM_TPS_RCVD_4)); fe 230 drivers/media/dvb-frontends/nxt6000.c nxt6000_readreg(fe, OFDM_TPS_RESERVED_1)); fe 232 drivers/media/dvb-frontends/nxt6000.c nxt6000_readreg(fe, OFDM_TPS_RESERVED_2)); fe 427 drivers/media/dvb-frontends/nxt6000.c static int nxt6000_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 430 drivers/media/dvb-frontends/nxt6000.c struct nxt6000_state* state = fe->demodulator_priv; fe 457 drivers/media/dvb-frontends/nxt6000.c static int nxt6000_init(struct dvb_frontend* fe) fe 459 drivers/media/dvb-frontends/nxt6000.c struct nxt6000_state* state = fe->demodulator_priv; fe 462 drivers/media/dvb-frontends/nxt6000.c nxt6000_setup(fe); fe 467 drivers/media/dvb-frontends/nxt6000.c static int nxt6000_set_frontend(struct dvb_frontend *fe) fe 469 drivers/media/dvb-frontends/nxt6000.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 470 drivers/media/dvb-frontends/nxt6000.c struct nxt6000_state* state = fe->demodulator_priv; fe 473 drivers/media/dvb-frontends/nxt6000.c if (fe->ops.tuner_ops.set_params) { fe 474 drivers/media/dvb-frontends/nxt6000.c fe->ops.tuner_ops.set_params(fe); fe 475 drivers/media/dvb-frontends/nxt6000.c if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); fe 498 drivers/media/dvb-frontends/nxt6000.c static void nxt6000_release(struct dvb_frontend* fe) fe 500 drivers/media/dvb-frontends/nxt6000.c struct nxt6000_state* state = fe->demodulator_priv; fe 504 drivers/media/dvb-frontends/nxt6000.c static int nxt6000_read_snr(struct dvb_frontend* fe, u16* snr) fe 506 drivers/media/dvb-frontends/nxt6000.c struct nxt6000_state* state = fe->demodulator_priv; fe 513 drivers/media/dvb-frontends/nxt6000.c static int nxt6000_read_ber(struct dvb_frontend* fe, u32* ber) fe 515 drivers/media/dvb-frontends/nxt6000.c struct nxt6000_state* state = fe->demodulator_priv; fe 527 drivers/media/dvb-frontends/nxt6000.c static int nxt6000_read_signal_strength(struct dvb_frontend* fe, u16* signal_strength) fe 529 drivers/media/dvb-frontends/nxt6000.c struct nxt6000_state* state = fe->demodulator_priv; fe 538 drivers/media/dvb-frontends/nxt6000.c static int nxt6000_fe_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings *tune) fe 544 drivers/media/dvb-frontends/nxt6000.c static int nxt6000_i2c_gate_ctrl(struct dvb_frontend* fe, int enable) fe 546 drivers/media/dvb-frontends/nxt6000.c struct nxt6000_state* state = fe->demodulator_priv; fe 117 drivers/media/dvb-frontends/or51132.c static int or51132_load_firmware (struct dvb_frontend* fe, const struct firmware *fw) fe 119 drivers/media/dvb-frontends/or51132.c struct or51132_state* state = fe->demodulator_priv; fe 197 drivers/media/dvb-frontends/or51132.c static int or51132_init(struct dvb_frontend* fe) fe 202 drivers/media/dvb-frontends/or51132.c static int or51132_read_ber(struct dvb_frontend* fe, u32* ber) fe 208 drivers/media/dvb-frontends/or51132.c static int or51132_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) fe 214 drivers/media/dvb-frontends/or51132.c static int or51132_sleep(struct dvb_frontend* fe) fe 219 drivers/media/dvb-frontends/or51132.c static int or51132_setmode(struct dvb_frontend* fe) fe 221 drivers/media/dvb-frontends/or51132.c struct or51132_state* state = fe->demodulator_priv; fe 294 drivers/media/dvb-frontends/or51132.c static int or51132_set_parameters(struct dvb_frontend *fe) fe 296 drivers/media/dvb-frontends/or51132.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 298 drivers/media/dvb-frontends/or51132.c struct or51132_state* state = fe->demodulator_priv; fe 333 drivers/media/dvb-frontends/or51132.c ret = or51132_load_firmware(fe, fw); fe 340 drivers/media/dvb-frontends/or51132.c state->config->set_ts_params(fe, clock_mode); fe 345 drivers/media/dvb-frontends/or51132.c or51132_setmode(fe); fe 348 drivers/media/dvb-frontends/or51132.c if (fe->ops.tuner_ops.set_params) { fe 349 drivers/media/dvb-frontends/or51132.c fe->ops.tuner_ops.set_params(fe); fe 350 drivers/media/dvb-frontends/or51132.c if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); fe 354 drivers/media/dvb-frontends/or51132.c or51132_setmode(fe); fe 361 drivers/media/dvb-frontends/or51132.c static int or51132_get_parameters(struct dvb_frontend* fe, fe 364 drivers/media/dvb-frontends/or51132.c struct or51132_state* state = fe->demodulator_priv; fe 401 drivers/media/dvb-frontends/or51132.c static int or51132_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 403 drivers/media/dvb-frontends/or51132.c struct or51132_state* state = fe->demodulator_priv; fe 458 drivers/media/dvb-frontends/or51132.c static int or51132_read_snr(struct dvb_frontend* fe, u16* snr) fe 460 drivers/media/dvb-frontends/or51132.c struct or51132_state* state = fe->demodulator_priv; fe 510 drivers/media/dvb-frontends/or51132.c static int or51132_read_signal_strength(struct dvb_frontend* fe, u16* strength) fe 515 drivers/media/dvb-frontends/or51132.c struct or51132_state* state = (struct or51132_state*) fe->demodulator_priv; fe 519 drivers/media/dvb-frontends/or51132.c ret = fe->ops.read_snr(fe, &snr); fe 532 drivers/media/dvb-frontends/or51132.c static int or51132_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings* fe_tune_settings) fe 541 drivers/media/dvb-frontends/or51132.c static void or51132_release(struct dvb_frontend* fe) fe 543 drivers/media/dvb-frontends/or51132.c struct or51132_state* state = fe->demodulator_priv; fe 20 drivers/media/dvb-frontends/or51132.h int (*set_ts_params)(struct dvb_frontend* fe, int is_punctured); fe 93 drivers/media/dvb-frontends/or51211.c static int or51211_load_firmware (struct dvb_frontend* fe, fe 96 drivers/media/dvb-frontends/or51211.c struct or51211_state* state = fe->demodulator_priv; fe 120 drivers/media/dvb-frontends/or51211.c state->config->reset(fe); fe 152 drivers/media/dvb-frontends/or51211.c static int or51211_setmode(struct dvb_frontend* fe, int mode) fe 154 drivers/media/dvb-frontends/or51211.c struct or51211_state* state = fe->demodulator_priv; fe 157 drivers/media/dvb-frontends/or51211.c state->config->setmode(fe, mode); fe 205 drivers/media/dvb-frontends/or51211.c static int or51211_set_parameters(struct dvb_frontend *fe) fe 207 drivers/media/dvb-frontends/or51211.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 208 drivers/media/dvb-frontends/or51211.c struct or51211_state* state = fe->demodulator_priv; fe 212 drivers/media/dvb-frontends/or51211.c if (fe->ops.tuner_ops.set_params) { fe 213 drivers/media/dvb-frontends/or51211.c fe->ops.tuner_ops.set_params(fe); fe 214 drivers/media/dvb-frontends/or51211.c if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); fe 218 drivers/media/dvb-frontends/or51211.c or51211_setmode(fe,0); fe 226 drivers/media/dvb-frontends/or51211.c static int or51211_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 228 drivers/media/dvb-frontends/or51211.c struct or51211_state* state = fe->demodulator_priv; fe 281 drivers/media/dvb-frontends/or51211.c static int or51211_read_snr(struct dvb_frontend* fe, u16* snr) fe 283 drivers/media/dvb-frontends/or51211.c struct or51211_state* state = fe->demodulator_priv; fe 310 drivers/media/dvb-frontends/or51211.c static int or51211_read_signal_strength(struct dvb_frontend* fe, u16* strength) fe 315 drivers/media/dvb-frontends/or51211.c struct or51211_state* state = (struct or51211_state*)fe->demodulator_priv; fe 319 drivers/media/dvb-frontends/or51211.c ret = fe->ops.read_snr(fe, &snr); fe 332 drivers/media/dvb-frontends/or51211.c static int or51211_read_ber(struct dvb_frontend* fe, u32* ber) fe 338 drivers/media/dvb-frontends/or51211.c static int or51211_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) fe 344 drivers/media/dvb-frontends/or51211.c static int or51211_sleep(struct dvb_frontend* fe) fe 349 drivers/media/dvb-frontends/or51211.c static int or51211_init(struct dvb_frontend* fe) fe 351 drivers/media/dvb-frontends/or51211.c struct or51211_state* state = fe->demodulator_priv; fe 362 drivers/media/dvb-frontends/or51211.c ret = config->request_firmware(fe, &fw, fe 370 drivers/media/dvb-frontends/or51211.c ret = or51211_load_firmware(fe, fw); fe 480 drivers/media/dvb-frontends/or51211.c static int or51211_get_tune_settings(struct dvb_frontend* fe, fe 489 drivers/media/dvb-frontends/or51211.c static void or51211_release(struct dvb_frontend* fe) fe 491 drivers/media/dvb-frontends/or51211.c struct or51211_state* state = fe->demodulator_priv; fe 492 drivers/media/dvb-frontends/or51211.c state->config->sleep(fe); fe 20 drivers/media/dvb-frontends/or51211.h int (*request_firmware)(struct dvb_frontend* fe, const struct firmware **fw, char* name); fe 21 drivers/media/dvb-frontends/or51211.h void (*setmode)(struct dvb_frontend * fe, int mode); fe 22 drivers/media/dvb-frontends/or51211.h void (*reset)(struct dvb_frontend * fe); fe 23 drivers/media/dvb-frontends/or51211.h void (*sleep)(struct dvb_frontend * fe); fe 47 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_init(struct dvb_frontend *fe) fe 49 drivers/media/dvb-frontends/rtl2830.c struct i2c_client *client = fe->demodulator_priv; fe 51 drivers/media/dvb-frontends/rtl2830.c struct dtv_frontend_properties *c = &dev->fe.dtv_property_cache; fe 137 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_sleep(struct dvb_frontend *fe) fe 139 drivers/media/dvb-frontends/rtl2830.c struct i2c_client *client = fe->demodulator_priv; fe 148 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_get_tune_settings(struct dvb_frontend *fe, fe 152 drivers/media/dvb-frontends/rtl2830.c s->step_size = fe->ops.info.frequency_stepsize_hz * 2; fe 153 drivers/media/dvb-frontends/rtl2830.c s->max_drift = (fe->ops.info.frequency_stepsize_hz * 2) + 1; fe 158 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_set_frontend(struct dvb_frontend *fe) fe 160 drivers/media/dvb-frontends/rtl2830.c struct i2c_client *client = fe->demodulator_priv; fe 162 drivers/media/dvb-frontends/rtl2830.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 195 drivers/media/dvb-frontends/rtl2830.c if (fe->ops.tuner_ops.set_params) fe 196 drivers/media/dvb-frontends/rtl2830.c fe->ops.tuner_ops.set_params(fe); fe 219 drivers/media/dvb-frontends/rtl2830.c if (fe->ops.tuner_ops.get_if_frequency) fe 220 drivers/media/dvb-frontends/rtl2830.c ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); fe 268 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_get_frontend(struct dvb_frontend *fe, fe 271 drivers/media/dvb-frontends/rtl2830.c struct i2c_client *client = fe->demodulator_priv; fe 381 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 383 drivers/media/dvb-frontends/rtl2830.c struct i2c_client *client = fe->demodulator_priv; fe 385 drivers/media/dvb-frontends/rtl2830.c struct dtv_frontend_properties *c = &dev->fe.dtv_property_cache; fe 499 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_read_snr(struct dvb_frontend *fe, u16 *snr) fe 501 drivers/media/dvb-frontends/rtl2830.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 511 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_read_ber(struct dvb_frontend *fe, u32 *ber) fe 513 drivers/media/dvb-frontends/rtl2830.c struct i2c_client *client = fe->demodulator_priv; fe 522 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 529 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 531 drivers/media/dvb-frontends/rtl2830.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 577 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_pid_filter_ctrl(struct dvb_frontend *fe, int onoff) fe 579 drivers/media/dvb-frontends/rtl2830.c struct i2c_client *client = fe->demodulator_priv; fe 601 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_pid_filter(struct dvb_frontend *fe, u8 index, u16 pid, int onoff) fe 603 drivers/media/dvb-frontends/rtl2830.c struct i2c_client *client = fe->demodulator_priv; fe 674 drivers/media/dvb-frontends/rtl2830.c return &dev->fe; fe 847 drivers/media/dvb-frontends/rtl2830.c memcpy(&dev->fe.ops, &rtl2830_ops, sizeof(dev->fe.ops)); fe 848 drivers/media/dvb-frontends/rtl2830.c dev->fe.demodulator_priv = client; fe 24 drivers/media/dvb-frontends/rtl2830_priv.h struct dvb_frontend fe; fe 211 drivers/media/dvb-frontends/rtl2832.c static int rtl2832_set_if(struct dvb_frontend *fe, u32 if_freq) fe 213 drivers/media/dvb-frontends/rtl2832.c struct rtl2832_dev *dev = fe->demodulator_priv; fe 245 drivers/media/dvb-frontends/rtl2832.c static int rtl2832_init(struct dvb_frontend *fe) fe 247 drivers/media/dvb-frontends/rtl2832.c struct rtl2832_dev *dev = fe->demodulator_priv; fe 249 drivers/media/dvb-frontends/rtl2832.c struct dtv_frontend_properties *c = &dev->fe.dtv_property_cache; fe 369 drivers/media/dvb-frontends/rtl2832.c static int rtl2832_sleep(struct dvb_frontend *fe) fe 371 drivers/media/dvb-frontends/rtl2832.c struct rtl2832_dev *dev = fe->demodulator_priv; fe 390 drivers/media/dvb-frontends/rtl2832.c static int rtl2832_get_tune_settings(struct dvb_frontend *fe, fe 393 drivers/media/dvb-frontends/rtl2832.c struct rtl2832_dev *dev = fe->demodulator_priv; fe 398 drivers/media/dvb-frontends/rtl2832.c s->step_size = fe->ops.info.frequency_stepsize_hz * 2; fe 399 drivers/media/dvb-frontends/rtl2832.c s->max_drift = (fe->ops.info.frequency_stepsize_hz * 2) + 1; fe 403 drivers/media/dvb-frontends/rtl2832.c static int rtl2832_set_frontend(struct dvb_frontend *fe) fe 405 drivers/media/dvb-frontends/rtl2832.c struct rtl2832_dev *dev = fe->demodulator_priv; fe 407 drivers/media/dvb-frontends/rtl2832.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 441 drivers/media/dvb-frontends/rtl2832.c if (fe->ops.tuner_ops.set_params) fe 442 drivers/media/dvb-frontends/rtl2832.c fe->ops.tuner_ops.set_params(fe); fe 445 drivers/media/dvb-frontends/rtl2832.c if (fe->ops.tuner_ops.get_if_frequency) { fe 448 drivers/media/dvb-frontends/rtl2832.c ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_freq); fe 452 drivers/media/dvb-frontends/rtl2832.c ret = rtl2832_set_if(fe, if_freq); fe 524 drivers/media/dvb-frontends/rtl2832.c static int rtl2832_get_frontend(struct dvb_frontend *fe, fe 527 drivers/media/dvb-frontends/rtl2832.c struct rtl2832_dev *dev = fe->demodulator_priv; fe 637 drivers/media/dvb-frontends/rtl2832.c static int rtl2832_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 639 drivers/media/dvb-frontends/rtl2832.c struct rtl2832_dev *dev = fe->demodulator_priv; fe 641 drivers/media/dvb-frontends/rtl2832.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 754 drivers/media/dvb-frontends/rtl2832.c static int rtl2832_read_snr(struct dvb_frontend *fe, u16 *snr) fe 756 drivers/media/dvb-frontends/rtl2832.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 767 drivers/media/dvb-frontends/rtl2832.c static int rtl2832_read_ber(struct dvb_frontend *fe, u32 *ber) fe 769 drivers/media/dvb-frontends/rtl2832.c struct rtl2832_dev *dev = fe->demodulator_priv; fe 885 drivers/media/dvb-frontends/rtl2832.c return &dev->fe; fe 945 drivers/media/dvb-frontends/rtl2832.c static int rtl2832_pid_filter_ctrl(struct dvb_frontend *fe, int onoff) fe 947 drivers/media/dvb-frontends/rtl2832.c struct rtl2832_dev *dev = fe->demodulator_priv; fe 973 drivers/media/dvb-frontends/rtl2832.c static int rtl2832_pid_filter(struct dvb_frontend *fe, u8 index, u16 pid, fe 976 drivers/media/dvb-frontends/rtl2832.c struct rtl2832_dev *dev = fe->demodulator_priv; fe 1090 drivers/media/dvb-frontends/rtl2832.c memcpy(&dev->fe.ops, &rtl2832_ops, sizeof(struct dvb_frontend_ops)); fe 1091 drivers/media/dvb-frontends/rtl2832.c dev->fe.demodulator_priv = dev; fe 26 drivers/media/dvb-frontends/rtl2832_priv.h struct dvb_frontend fe; fe 485 drivers/media/dvb-frontends/rtl2832_sdr.c struct dvb_frontend *fe = pdata->dvb_frontend; fe 511 drivers/media/dvb-frontends/rtl2832_sdr.c if (fe->ops.tuner_ops.get_if_frequency) fe 512 drivers/media/dvb-frontends/rtl2832_sdr.c ret = fe->ops.tuner_ops.get_if_frequency(fe, &f_if); fe 775 drivers/media/dvb-frontends/rtl2832_sdr.c struct dvb_frontend *fe = pdata->dvb_frontend; fe 776 drivers/media/dvb-frontends/rtl2832_sdr.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 809 drivers/media/dvb-frontends/rtl2832_sdr.c if (fe->ops.tuner_ops.set_params) fe 810 drivers/media/dvb-frontends/rtl2832_sdr.c fe->ops.tuner_ops.set_params(fe); fe 820 drivers/media/dvb-frontends/rtl2832_sdr.c struct dvb_frontend *fe = pdata->dvb_frontend; fe 824 drivers/media/dvb-frontends/rtl2832_sdr.c if (fe->ops.tuner_ops.init) fe 825 drivers/media/dvb-frontends/rtl2832_sdr.c fe->ops.tuner_ops.init(fe); fe 834 drivers/media/dvb-frontends/rtl2832_sdr.c struct dvb_frontend *fe = pdata->dvb_frontend; fe 838 drivers/media/dvb-frontends/rtl2832_sdr.c if (fe->ops.tuner_ops.sleep) fe 839 drivers/media/dvb-frontends/rtl2832_sdr.c fe->ops.tuner_ops.sleep(fe); fe 1250 drivers/media/dvb-frontends/rtl2832_sdr.c struct dvb_frontend *fe = pdata->dvb_frontend; fe 1251 drivers/media/dvb-frontends/rtl2832_sdr.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1279 drivers/media/dvb-frontends/rtl2832_sdr.c if (fe->ops.tuner_ops.set_params) fe 1280 drivers/media/dvb-frontends/rtl2832_sdr.c ret = fe->ops.tuner_ops.set_params(fe); fe 337 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_softreset(struct dvb_frontend *fe) fe 339 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 353 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_set_if_freq(struct dvb_frontend *fe, int KHz) fe 355 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 378 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_set_spectralinversion(struct dvb_frontend *fe, int inverted) fe 380 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 390 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_enable_modulation(struct dvb_frontend *fe, fe 393 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 401 drivers/media/dvb-frontends/s5h1409.c s5h1409_set_if_freq(fe, S5H1409_VSB_IF_FREQ); fe 409 drivers/media/dvb-frontends/s5h1409.c s5h1409_set_if_freq(fe, S5H1409_QAM_IF_FREQ); fe 419 drivers/media/dvb-frontends/s5h1409.c s5h1409_softreset(fe); fe 424 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 426 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 436 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_set_gpio(struct dvb_frontend *fe, int enable) fe 438 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 450 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_sleep(struct dvb_frontend *fe, int enable) fe 452 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 459 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_register_reset(struct dvb_frontend *fe) fe 461 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 468 drivers/media/dvb-frontends/s5h1409.c static void s5h1409_set_qam_amhum_mode(struct dvb_frontend *fe) fe 470 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 521 drivers/media/dvb-frontends/s5h1409.c static void s5h1409_set_qam_amhum_mode_legacy(struct dvb_frontend *fe) fe 523 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 553 drivers/media/dvb-frontends/s5h1409.c static void s5h1409_set_qam_interleave_mode(struct dvb_frontend *fe) fe 555 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 591 drivers/media/dvb-frontends/s5h1409.c static void s5h1409_set_qam_interleave_mode_legacy(struct dvb_frontend *fe) fe 593 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 622 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_set_frontend(struct dvb_frontend *fe) fe 624 drivers/media/dvb-frontends/s5h1409.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 625 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 629 drivers/media/dvb-frontends/s5h1409.c s5h1409_softreset(fe); fe 633 drivers/media/dvb-frontends/s5h1409.c s5h1409_enable_modulation(fe, p->modulation); fe 635 drivers/media/dvb-frontends/s5h1409.c if (fe->ops.tuner_ops.set_params) { fe 636 drivers/media/dvb-frontends/s5h1409.c if (fe->ops.i2c_gate_ctrl) fe 637 drivers/media/dvb-frontends/s5h1409.c fe->ops.i2c_gate_ctrl(fe, 1); fe 638 drivers/media/dvb-frontends/s5h1409.c fe->ops.tuner_ops.set_params(fe); fe 639 drivers/media/dvb-frontends/s5h1409.c if (fe->ops.i2c_gate_ctrl) fe 640 drivers/media/dvb-frontends/s5h1409.c fe->ops.i2c_gate_ctrl(fe, 0); fe 645 drivers/media/dvb-frontends/s5h1409.c s5h1409_softreset(fe); fe 653 drivers/media/dvb-frontends/s5h1409.c s5h1409_set_qam_interleave_mode(fe); fe 654 drivers/media/dvb-frontends/s5h1409.c s5h1409_set_qam_amhum_mode(fe); fe 656 drivers/media/dvb-frontends/s5h1409.c s5h1409_set_qam_amhum_mode_legacy(fe); fe 657 drivers/media/dvb-frontends/s5h1409.c s5h1409_set_qam_interleave_mode_legacy(fe); fe 664 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_set_mpeg_timing(struct dvb_frontend *fe, int mode) fe 666 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 696 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_init(struct dvb_frontend *fe) fe 700 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 703 drivers/media/dvb-frontends/s5h1409.c s5h1409_sleep(fe, 0); fe 704 drivers/media/dvb-frontends/s5h1409.c s5h1409_register_reset(fe); fe 734 drivers/media/dvb-frontends/s5h1409.c s5h1409_set_spectralinversion(fe, state->config->inversion); fe 735 drivers/media/dvb-frontends/s5h1409.c s5h1409_set_if_freq(fe, state->if_freq); fe 736 drivers/media/dvb-frontends/s5h1409.c s5h1409_set_gpio(fe, state->config->gpio); fe 737 drivers/media/dvb-frontends/s5h1409.c s5h1409_set_mpeg_timing(fe, state->config->mpeg_timing); fe 738 drivers/media/dvb-frontends/s5h1409.c s5h1409_softreset(fe); fe 741 drivers/media/dvb-frontends/s5h1409.c s5h1409_i2c_gate_ctrl(fe, 0); fe 746 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 748 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 760 drivers/media/dvb-frontends/s5h1409.c s5h1409_set_qam_interleave_mode(fe); fe 761 drivers/media/dvb-frontends/s5h1409.c s5h1409_set_qam_amhum_mode(fe); fe 779 drivers/media/dvb-frontends/s5h1409.c if (fe->ops.tuner_ops.get_status) { fe 780 drivers/media/dvb-frontends/s5h1409.c if (fe->ops.i2c_gate_ctrl) fe 781 drivers/media/dvb-frontends/s5h1409.c fe->ops.i2c_gate_ctrl(fe, 1); fe 783 drivers/media/dvb-frontends/s5h1409.c fe->ops.tuner_ops.get_status(fe, &tuner_status); fe 785 drivers/media/dvb-frontends/s5h1409.c if (fe->ops.i2c_gate_ctrl) fe 786 drivers/media/dvb-frontends/s5h1409.c fe->ops.i2c_gate_ctrl(fe, 0); fe 798 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_qam256_lookup_snr(struct dvb_frontend *fe, u16 *snr, u16 v) fe 813 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_qam64_lookup_snr(struct dvb_frontend *fe, u16 *snr, u16 v) fe 828 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_vsb_lookup_snr(struct dvb_frontend *fe, u16 *snr, u16 v) fe 844 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_read_snr(struct dvb_frontend *fe, u16 *snr) fe 846 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 853 drivers/media/dvb-frontends/s5h1409.c return s5h1409_qam64_lookup_snr(fe, snr, reg); fe 856 drivers/media/dvb-frontends/s5h1409.c return s5h1409_qam256_lookup_snr(fe, snr, reg); fe 859 drivers/media/dvb-frontends/s5h1409.c return s5h1409_vsb_lookup_snr(fe, snr, reg); fe 867 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_read_signal_strength(struct dvb_frontend *fe, fe 879 drivers/media/dvb-frontends/s5h1409.c int ret = s5h1409_read_snr(fe, &snr); fe 902 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 904 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 911 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_read_ber(struct dvb_frontend *fe, u32 *ber) fe 913 drivers/media/dvb-frontends/s5h1409.c return s5h1409_read_ucblocks(fe, ber); fe 916 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_get_frontend(struct dvb_frontend *fe, fe 919 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 927 drivers/media/dvb-frontends/s5h1409.c static int s5h1409_get_tune_settings(struct dvb_frontend *fe, fe 934 drivers/media/dvb-frontends/s5h1409.c static void s5h1409_release(struct dvb_frontend *fe) fe 936 drivers/media/dvb-frontends/s5h1409.c struct s5h1409_state *state = fe->demodulator_priv; fe 365 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_softreset(struct dvb_frontend *fe) fe 367 drivers/media/dvb-frontends/s5h1411.c struct s5h1411_state *state = fe->demodulator_priv; fe 376 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_set_if_freq(struct dvb_frontend *fe, int KHz) fe 378 drivers/media/dvb-frontends/s5h1411.c struct s5h1411_state *state = fe->demodulator_priv; fe 415 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_set_mpeg_timing(struct dvb_frontend *fe, int mode) fe 417 drivers/media/dvb-frontends/s5h1411.c struct s5h1411_state *state = fe->demodulator_priv; fe 445 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_set_spectralinversion(struct dvb_frontend *fe, int inversion) fe 447 drivers/media/dvb-frontends/s5h1411.c struct s5h1411_state *state = fe->demodulator_priv; fe 460 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_set_serialmode(struct dvb_frontend *fe, int serial) fe 462 drivers/media/dvb-frontends/s5h1411.c struct s5h1411_state *state = fe->demodulator_priv; fe 474 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_enable_modulation(struct dvb_frontend *fe, fe 477 drivers/media/dvb-frontends/s5h1411.c struct s5h1411_state *state = fe->demodulator_priv; fe 490 drivers/media/dvb-frontends/s5h1411.c s5h1411_set_if_freq(fe, state->config->vsb_if); fe 499 drivers/media/dvb-frontends/s5h1411.c s5h1411_set_if_freq(fe, state->config->qam_if); fe 512 drivers/media/dvb-frontends/s5h1411.c s5h1411_softreset(fe); fe 517 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 519 drivers/media/dvb-frontends/s5h1411.c struct s5h1411_state *state = fe->demodulator_priv; fe 529 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_set_gpio(struct dvb_frontend *fe, int enable) fe 531 drivers/media/dvb-frontends/s5h1411.c struct s5h1411_state *state = fe->demodulator_priv; fe 545 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_set_powerstate(struct dvb_frontend *fe, int enable) fe 547 drivers/media/dvb-frontends/s5h1411.c struct s5h1411_state *state = fe->demodulator_priv; fe 555 drivers/media/dvb-frontends/s5h1411.c s5h1411_softreset(fe); fe 561 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_sleep(struct dvb_frontend *fe) fe 563 drivers/media/dvb-frontends/s5h1411.c return s5h1411_set_powerstate(fe, 1); fe 566 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_register_reset(struct dvb_frontend *fe) fe 568 drivers/media/dvb-frontends/s5h1411.c struct s5h1411_state *state = fe->demodulator_priv; fe 576 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_set_frontend(struct dvb_frontend *fe) fe 578 drivers/media/dvb-frontends/s5h1411.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 579 drivers/media/dvb-frontends/s5h1411.c struct s5h1411_state *state = fe->demodulator_priv; fe 583 drivers/media/dvb-frontends/s5h1411.c s5h1411_softreset(fe); fe 587 drivers/media/dvb-frontends/s5h1411.c s5h1411_enable_modulation(fe, p->modulation); fe 589 drivers/media/dvb-frontends/s5h1411.c if (fe->ops.tuner_ops.set_params) { fe 590 drivers/media/dvb-frontends/s5h1411.c if (fe->ops.i2c_gate_ctrl) fe 591 drivers/media/dvb-frontends/s5h1411.c fe->ops.i2c_gate_ctrl(fe, 1); fe 593 drivers/media/dvb-frontends/s5h1411.c fe->ops.tuner_ops.set_params(fe); fe 595 drivers/media/dvb-frontends/s5h1411.c if (fe->ops.i2c_gate_ctrl) fe 596 drivers/media/dvb-frontends/s5h1411.c fe->ops.i2c_gate_ctrl(fe, 0); fe 601 drivers/media/dvb-frontends/s5h1411.c s5h1411_softreset(fe); fe 608 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_init(struct dvb_frontend *fe) fe 610 drivers/media/dvb-frontends/s5h1411.c struct s5h1411_state *state = fe->demodulator_priv; fe 615 drivers/media/dvb-frontends/s5h1411.c s5h1411_set_powerstate(fe, 0); fe 616 drivers/media/dvb-frontends/s5h1411.c s5h1411_register_reset(fe); fe 633 drivers/media/dvb-frontends/s5h1411.c s5h1411_set_serialmode(fe, 1); fe 636 drivers/media/dvb-frontends/s5h1411.c s5h1411_set_serialmode(fe, 0); fe 638 drivers/media/dvb-frontends/s5h1411.c s5h1411_set_spectralinversion(fe, state->config->inversion); fe 639 drivers/media/dvb-frontends/s5h1411.c s5h1411_set_if_freq(fe, state->config->vsb_if); fe 640 drivers/media/dvb-frontends/s5h1411.c s5h1411_set_gpio(fe, state->config->gpio); fe 641 drivers/media/dvb-frontends/s5h1411.c s5h1411_set_mpeg_timing(fe, state->config->mpeg_timing); fe 642 drivers/media/dvb-frontends/s5h1411.c s5h1411_softreset(fe); fe 645 drivers/media/dvb-frontends/s5h1411.c s5h1411_i2c_gate_ctrl(fe, 0); fe 650 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 652 drivers/media/dvb-frontends/s5h1411.c struct s5h1411_state *state = fe->demodulator_priv; fe 693 drivers/media/dvb-frontends/s5h1411.c if (fe->ops.tuner_ops.get_status) { fe 694 drivers/media/dvb-frontends/s5h1411.c if (fe->ops.i2c_gate_ctrl) fe 695 drivers/media/dvb-frontends/s5h1411.c fe->ops.i2c_gate_ctrl(fe, 1); fe 697 drivers/media/dvb-frontends/s5h1411.c fe->ops.tuner_ops.get_status(fe, &tuner_status); fe 699 drivers/media/dvb-frontends/s5h1411.c if (fe->ops.i2c_gate_ctrl) fe 700 drivers/media/dvb-frontends/s5h1411.c fe->ops.i2c_gate_ctrl(fe, 0); fe 712 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_qam256_lookup_snr(struct dvb_frontend *fe, u16 *snr, u16 v) fe 727 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_qam64_lookup_snr(struct dvb_frontend *fe, u16 *snr, u16 v) fe 742 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_vsb_lookup_snr(struct dvb_frontend *fe, u16 *snr, u16 v) fe 758 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_read_snr(struct dvb_frontend *fe, u16 *snr) fe 760 drivers/media/dvb-frontends/s5h1411.c struct s5h1411_state *state = fe->demodulator_priv; fe 767 drivers/media/dvb-frontends/s5h1411.c return s5h1411_qam64_lookup_snr(fe, snr, reg); fe 770 drivers/media/dvb-frontends/s5h1411.c return s5h1411_qam256_lookup_snr(fe, snr, reg); fe 774 drivers/media/dvb-frontends/s5h1411.c return s5h1411_vsb_lookup_snr(fe, snr, reg); fe 782 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_read_signal_strength(struct dvb_frontend *fe, fe 794 drivers/media/dvb-frontends/s5h1411.c int ret = s5h1411_read_snr(fe, &snr); fe 817 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 819 drivers/media/dvb-frontends/s5h1411.c struct s5h1411_state *state = fe->demodulator_priv; fe 826 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_read_ber(struct dvb_frontend *fe, u32 *ber) fe 828 drivers/media/dvb-frontends/s5h1411.c return s5h1411_read_ucblocks(fe, ber); fe 831 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_get_frontend(struct dvb_frontend *fe, fe 834 drivers/media/dvb-frontends/s5h1411.c struct s5h1411_state *state = fe->demodulator_priv; fe 842 drivers/media/dvb-frontends/s5h1411.c static int s5h1411_get_tune_settings(struct dvb_frontend *fe, fe 849 drivers/media/dvb-frontends/s5h1411.c static void s5h1411_release(struct dvb_frontend *fe) fe 851 drivers/media/dvb-frontends/s5h1411.c struct s5h1411_state *state = fe->demodulator_priv; fe 52 drivers/media/dvb-frontends/s5h1420.c static int s5h1420_get_tune_settings(struct dvb_frontend* fe, fe 113 drivers/media/dvb-frontends/s5h1420.c static int s5h1420_set_voltage(struct dvb_frontend *fe, fe 116 drivers/media/dvb-frontends/s5h1420.c struct s5h1420_state* state = fe->demodulator_priv; fe 139 drivers/media/dvb-frontends/s5h1420.c static int s5h1420_set_tone(struct dvb_frontend *fe, fe 142 drivers/media/dvb-frontends/s5h1420.c struct s5h1420_state* state = fe->demodulator_priv; fe 161 drivers/media/dvb-frontends/s5h1420.c static int s5h1420_send_master_cmd (struct dvb_frontend* fe, fe 164 drivers/media/dvb-frontends/s5h1420.c struct s5h1420_state* state = fe->demodulator_priv; fe 206 drivers/media/dvb-frontends/s5h1420.c static int s5h1420_recv_slave_reply (struct dvb_frontend* fe, fe 209 drivers/media/dvb-frontends/s5h1420.c struct s5h1420_state* state = fe->demodulator_priv; fe 261 drivers/media/dvb-frontends/s5h1420.c static int s5h1420_send_burst(struct dvb_frontend *fe, fe 264 drivers/media/dvb-frontends/s5h1420.c struct s5h1420_state* state = fe->demodulator_priv; fe 320 drivers/media/dvb-frontends/s5h1420.c static int s5h1420_read_status(struct dvb_frontend *fe, fe 323 drivers/media/dvb-frontends/s5h1420.c struct s5h1420_state* state = fe->demodulator_priv; fe 421 drivers/media/dvb-frontends/s5h1420.c static int s5h1420_read_ber(struct dvb_frontend* fe, u32* ber) fe 423 drivers/media/dvb-frontends/s5h1420.c struct s5h1420_state* state = fe->demodulator_priv; fe 433 drivers/media/dvb-frontends/s5h1420.c static int s5h1420_read_signal_strength(struct dvb_frontend* fe, u16* strength) fe 435 drivers/media/dvb-frontends/s5h1420.c struct s5h1420_state* state = fe->demodulator_priv; fe 444 drivers/media/dvb-frontends/s5h1420.c static int s5h1420_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) fe 446 drivers/media/dvb-frontends/s5h1420.c struct s5h1420_state* state = fe->demodulator_priv; fe 628 drivers/media/dvb-frontends/s5h1420.c static int s5h1420_set_frontend(struct dvb_frontend *fe) fe 630 drivers/media/dvb-frontends/s5h1420.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 631 drivers/media/dvb-frontends/s5h1420.c struct s5h1420_state* state = fe->demodulator_priv; fe 638 drivers/media/dvb-frontends/s5h1420.c s5h1420_get_tune_settings(fe, &fesettings); fe 646 drivers/media/dvb-frontends/s5h1420.c if (fe->ops.tuner_ops.set_params) { fe 647 drivers/media/dvb-frontends/s5h1420.c fe->ops.tuner_ops.set_params(fe); fe 648 drivers/media/dvb-frontends/s5h1420.c if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); fe 650 drivers/media/dvb-frontends/s5h1420.c if (fe->ops.tuner_ops.get_frequency) { fe 652 drivers/media/dvb-frontends/s5h1420.c fe->ops.tuner_ops.get_frequency(fe, &tmp); fe 653 drivers/media/dvb-frontends/s5h1420.c if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); fe 722 drivers/media/dvb-frontends/s5h1420.c if (fe->ops.tuner_ops.set_params) { fe 723 drivers/media/dvb-frontends/s5h1420.c fe->ops.tuner_ops.set_params(fe); fe 724 drivers/media/dvb-frontends/s5h1420.c if (fe->ops.i2c_gate_ctrl) fe 725 drivers/media/dvb-frontends/s5h1420.c fe->ops.i2c_gate_ctrl(fe, 0); fe 745 drivers/media/dvb-frontends/s5h1420.c static int s5h1420_get_frontend(struct dvb_frontend* fe, fe 748 drivers/media/dvb-frontends/s5h1420.c struct s5h1420_state* state = fe->demodulator_priv; fe 758 drivers/media/dvb-frontends/s5h1420.c static int s5h1420_get_tune_settings(struct dvb_frontend* fe, fe 761 drivers/media/dvb-frontends/s5h1420.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 791 drivers/media/dvb-frontends/s5h1420.c static int s5h1420_i2c_gate_ctrl(struct dvb_frontend* fe, int enable) fe 793 drivers/media/dvb-frontends/s5h1420.c struct s5h1420_state* state = fe->demodulator_priv; fe 801 drivers/media/dvb-frontends/s5h1420.c static int s5h1420_init (struct dvb_frontend* fe) fe 803 drivers/media/dvb-frontends/s5h1420.c struct s5h1420_state* state = fe->demodulator_priv; fe 814 drivers/media/dvb-frontends/s5h1420.c static int s5h1420_sleep(struct dvb_frontend* fe) fe 816 drivers/media/dvb-frontends/s5h1420.c struct s5h1420_state* state = fe->demodulator_priv; fe 821 drivers/media/dvb-frontends/s5h1420.c static void s5h1420_release(struct dvb_frontend* fe) fe 823 drivers/media/dvb-frontends/s5h1420.c struct s5h1420_state* state = fe->demodulator_priv; fe 862 drivers/media/dvb-frontends/s5h1420.c struct i2c_adapter *s5h1420_get_tuner_i2c_adapter(struct dvb_frontend *fe) fe 864 drivers/media/dvb-frontends/s5h1420.c struct s5h1420_state *state = fe->demodulator_priv; fe 32 drivers/media/dvb-frontends/s5h1420.h extern struct i2c_adapter *s5h1420_get_tuner_i2c_adapter(struct dvb_frontend *fe); fe 41 drivers/media/dvb-frontends/s5h1420.h static inline struct i2c_adapter *s5h1420_get_tuner_i2c_adapter(struct dvb_frontend *fe) fe 78 drivers/media/dvb-frontends/s5h1432.c static int s5h1432_sleep(struct dvb_frontend *fe) fe 83 drivers/media/dvb-frontends/s5h1432.c static int s5h1432_set_channel_bandwidth(struct dvb_frontend *fe, fe 86 drivers/media/dvb-frontends/s5h1432.c struct s5h1432_state *state = fe->demodulator_priv; fe 110 drivers/media/dvb-frontends/s5h1432.c static int s5h1432_set_IF(struct dvb_frontend *fe, u32 ifFreqHz) fe 112 drivers/media/dvb-frontends/s5h1432.c struct s5h1432_state *state = fe->demodulator_priv; fe 168 drivers/media/dvb-frontends/s5h1432.c static int s5h1432_set_frontend(struct dvb_frontend *fe) fe 170 drivers/media/dvb-frontends/s5h1432.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 172 drivers/media/dvb-frontends/s5h1432.c struct s5h1432_state *state = fe->demodulator_priv; fe 178 drivers/media/dvb-frontends/s5h1432.c fe->ops.tuner_ops.set_params(fe); fe 180 drivers/media/dvb-frontends/s5h1432.c s5h1432_set_channel_bandwidth(fe, dvb_bandwidth); fe 184 drivers/media/dvb-frontends/s5h1432.c s5h1432_set_IF(fe, IF_FREQ_4_MHZ); fe 188 drivers/media/dvb-frontends/s5h1432.c s5h1432_set_IF(fe, IF_FREQ_4_MHZ); fe 192 drivers/media/dvb-frontends/s5h1432.c s5h1432_set_IF(fe, IF_FREQ_4_MHZ); fe 204 drivers/media/dvb-frontends/s5h1432.c s5h1432_set_channel_bandwidth(fe, dvb_bandwidth); fe 208 drivers/media/dvb-frontends/s5h1432.c s5h1432_set_IF(fe, IF_FREQ_4_MHZ); fe 212 drivers/media/dvb-frontends/s5h1432.c s5h1432_set_IF(fe, IF_FREQ_4_MHZ); fe 216 drivers/media/dvb-frontends/s5h1432.c s5h1432_set_IF(fe, IF_FREQ_4_MHZ); fe 235 drivers/media/dvb-frontends/s5h1432.c static int s5h1432_init(struct dvb_frontend *fe) fe 237 drivers/media/dvb-frontends/s5h1432.c struct s5h1432_state *state = fe->demodulator_priv; fe 292 drivers/media/dvb-frontends/s5h1432.c static int s5h1432_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 297 drivers/media/dvb-frontends/s5h1432.c static int s5h1432_read_signal_strength(struct dvb_frontend *fe, fe 303 drivers/media/dvb-frontends/s5h1432.c static int s5h1432_read_snr(struct dvb_frontend *fe, u16 *snr) fe 308 drivers/media/dvb-frontends/s5h1432.c static int s5h1432_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 314 drivers/media/dvb-frontends/s5h1432.c static int s5h1432_read_ber(struct dvb_frontend *fe, u32 *ber) fe 319 drivers/media/dvb-frontends/s5h1432.c static int s5h1432_get_tune_settings(struct dvb_frontend *fe, fe 325 drivers/media/dvb-frontends/s5h1432.c static void s5h1432_release(struct dvb_frontend *fe) fe 327 drivers/media/dvb-frontends/s5h1432.c struct s5h1432_state *state = fe->demodulator_priv; fe 257 drivers/media/dvb-frontends/s921.c static int s921_pll_tune(struct dvb_frontend *fe) fe 259 drivers/media/dvb-frontends/s921.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 260 drivers/media/dvb-frontends/s921.c struct s921_state *state = fe->demodulator_priv; fe 329 drivers/media/dvb-frontends/s921.c static int s921_initfe(struct dvb_frontend *fe) fe 331 drivers/media/dvb-frontends/s921.c struct s921_state *state = fe->demodulator_priv; fe 343 drivers/media/dvb-frontends/s921.c static int s921_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 345 drivers/media/dvb-frontends/s921.c struct s921_state *state = fe->demodulator_priv; fe 382 drivers/media/dvb-frontends/s921.c static int s921_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 385 drivers/media/dvb-frontends/s921.c struct s921_state *state = fe->demodulator_priv; fe 389 drivers/media/dvb-frontends/s921.c rc = s921_read_status(fe, &status); fe 409 drivers/media/dvb-frontends/s921.c static int s921_set_frontend(struct dvb_frontend *fe) fe 411 drivers/media/dvb-frontends/s921.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 412 drivers/media/dvb-frontends/s921.c struct s921_state *state = fe->demodulator_priv; fe 419 drivers/media/dvb-frontends/s921.c rc = s921_pll_tune(fe); fe 428 drivers/media/dvb-frontends/s921.c static int s921_get_frontend(struct dvb_frontend *fe, fe 431 drivers/media/dvb-frontends/s921.c struct s921_state *state = fe->demodulator_priv; fe 440 drivers/media/dvb-frontends/s921.c static int s921_tune(struct dvb_frontend *fe, fe 451 drivers/media/dvb-frontends/s921.c rc = s921_set_frontend(fe); fe 454 drivers/media/dvb-frontends/s921.c s921_read_status(fe, status); fe 459 drivers/media/dvb-frontends/s921.c static enum dvbfe_algo s921_get_algo(struct dvb_frontend *fe) fe 464 drivers/media/dvb-frontends/s921.c static void s921_release(struct dvb_frontend *fe) fe 466 drivers/media/dvb-frontends/s921.c struct s921_state *state = fe->demodulator_priv; fe 31 drivers/media/dvb-frontends/s921.h s921_get_tuner_i2c_adapter(struct dvb_frontend *fe) fe 39 drivers/media/dvb-frontends/si2165.c struct dvb_frontend fe; fe 194 drivers/media/dvb-frontends/si2165.c static int si2165_get_tune_settings(struct dvb_frontend *fe, fe 524 drivers/media/dvb-frontends/si2165.c static int si2165_init(struct dvb_frontend *fe) fe 527 drivers/media/dvb-frontends/si2165.c struct si2165_state *state = fe->demodulator_priv; fe 528 drivers/media/dvb-frontends/si2165.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 639 drivers/media/dvb-frontends/si2165.c c = &state->fe.dtv_property_cache; fe 652 drivers/media/dvb-frontends/si2165.c static int si2165_sleep(struct dvb_frontend *fe) fe 655 drivers/media/dvb-frontends/si2165.c struct si2165_state *state = fe->demodulator_priv; fe 668 drivers/media/dvb-frontends/si2165.c static int si2165_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 673 drivers/media/dvb-frontends/si2165.c struct si2165_state *state = fe->demodulator_priv; fe 674 drivers/media/dvb-frontends/si2165.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 799 drivers/media/dvb-frontends/si2165.c static int si2165_read_snr(struct dvb_frontend *fe, u16 *snr) fe 801 drivers/media/dvb-frontends/si2165.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 810 drivers/media/dvb-frontends/si2165.c static int si2165_read_ber(struct dvb_frontend *fe, u32 *ber) fe 812 drivers/media/dvb-frontends/si2165.c struct si2165_state *state = fe->demodulator_priv; fe 813 drivers/media/dvb-frontends/si2165.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 845 drivers/media/dvb-frontends/si2165.c struct dvb_frontend *fe = &state->fe; fe 851 drivers/media/dvb-frontends/si2165.c if (!fe->ops.tuner_ops.get_if_frequency) { fe 860 drivers/media/dvb-frontends/si2165.c fe->ops.tuner_ops.get_if_frequency(fe, &IF); fe 898 drivers/media/dvb-frontends/si2165.c static int si2165_set_frontend_dvbt(struct dvb_frontend *fe) fe 901 drivers/media/dvb-frontends/si2165.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 902 drivers/media/dvb-frontends/si2165.c struct si2165_state *state = fe->demodulator_priv; fe 966 drivers/media/dvb-frontends/si2165.c static int si2165_set_frontend_dvbc(struct dvb_frontend *fe) fe 968 drivers/media/dvb-frontends/si2165.c struct si2165_state *state = fe->demodulator_priv; fe 970 drivers/media/dvb-frontends/si2165.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1033 drivers/media/dvb-frontends/si2165.c static int si2165_set_frontend(struct dvb_frontend *fe) fe 1035 drivers/media/dvb-frontends/si2165.c struct si2165_state *state = fe->demodulator_priv; fe 1036 drivers/media/dvb-frontends/si2165.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1048 drivers/media/dvb-frontends/si2165.c ret = si2165_set_frontend_dvbt(fe); fe 1053 drivers/media/dvb-frontends/si2165.c ret = si2165_set_frontend_dvbc(fe); fe 1066 drivers/media/dvb-frontends/si2165.c if (fe->ops.tuner_ops.set_params) fe 1067 drivers/media/dvb-frontends/si2165.c fe->ops.tuner_ops.set_params(fe); fe 1193 drivers/media/dvb-frontends/si2165.c memcpy(&state->fe.ops, &si2165_ops, fe 1195 drivers/media/dvb-frontends/si2165.c state->fe.ops.release = NULL; fe 1196 drivers/media/dvb-frontends/si2165.c state->fe.demodulator_priv = state; fe 1249 drivers/media/dvb-frontends/si2165.c strlcat(state->fe.ops.info.name, chip_name, fe 1250 drivers/media/dvb-frontends/si2165.c sizeof(state->fe.ops.info.name)); fe 1254 drivers/media/dvb-frontends/si2165.c state->fe.ops.delsys[n++] = SYS_DVBT; fe 1255 drivers/media/dvb-frontends/si2165.c strlcat(state->fe.ops.info.name, " DVB-T", fe 1256 drivers/media/dvb-frontends/si2165.c sizeof(state->fe.ops.info.name)); fe 1259 drivers/media/dvb-frontends/si2165.c state->fe.ops.delsys[n++] = SYS_DVBC_ANNEX_A; fe 1260 drivers/media/dvb-frontends/si2165.c strlcat(state->fe.ops.info.name, " DVB-C", fe 1261 drivers/media/dvb-frontends/si2165.c sizeof(state->fe.ops.info.name)); fe 1265 drivers/media/dvb-frontends/si2165.c *pdata->fe = &state->fe; fe 30 drivers/media/dvb-frontends/si2165.h struct dvb_frontend **fe; fe 83 drivers/media/dvb-frontends/si2168.c static int si2168_ts_bus_ctrl(struct dvb_frontend *fe, int acquire) fe 85 drivers/media/dvb-frontends/si2168.c struct i2c_client *client = fe->demodulator_priv; fe 114 drivers/media/dvb-frontends/si2168.c static int si2168_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 116 drivers/media/dvb-frontends/si2168.c struct i2c_client *client = fe->demodulator_priv; fe 118 drivers/media/dvb-frontends/si2168.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 230 drivers/media/dvb-frontends/si2168.c static int si2168_set_frontend(struct dvb_frontend *fe) fe 232 drivers/media/dvb-frontends/si2168.c struct i2c_client *client = fe->demodulator_priv; fe 234 drivers/media/dvb-frontends/si2168.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 286 drivers/media/dvb-frontends/si2168.c if (fe->ops.tuner_ops.set_params) { fe 287 drivers/media/dvb-frontends/si2168.c ret = fe->ops.tuner_ops.set_params(fe); fe 398 drivers/media/dvb-frontends/si2168.c ret = si2168_ts_bus_ctrl(fe, 1); fe 408 drivers/media/dvb-frontends/si2168.c static int si2168_init(struct dvb_frontend *fe) fe 410 drivers/media/dvb-frontends/si2168.c struct i2c_client *client = fe->demodulator_priv; fe 412 drivers/media/dvb-frontends/si2168.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 525 drivers/media/dvb-frontends/si2168.c ret = si2168_ts_bus_ctrl(fe, 1); fe 551 drivers/media/dvb-frontends/si2168.c static int si2168_sleep(struct dvb_frontend *fe) fe 553 drivers/media/dvb-frontends/si2168.c struct i2c_client *client = fe->demodulator_priv; fe 563 drivers/media/dvb-frontends/si2168.c ret = si2168_ts_bus_ctrl(fe, 0); fe 582 drivers/media/dvb-frontends/si2168.c static int si2168_get_tune_settings(struct dvb_frontend *fe, fe 744 drivers/media/dvb-frontends/si2168.c memcpy(&dev->fe.ops, &si2168_ops, sizeof(struct dvb_frontend_ops)); fe 745 drivers/media/dvb-frontends/si2168.c dev->fe.demodulator_priv = client; fe 747 drivers/media/dvb-frontends/si2168.c *config->fe = &dev->fe; fe 776 drivers/media/dvb-frontends/si2168.c dev->fe.ops.release = NULL; fe 777 drivers/media/dvb-frontends/si2168.c dev->fe.demodulator_priv = NULL; fe 21 drivers/media/dvb-frontends/si2168.h struct dvb_frontend **fe; fe 27 drivers/media/dvb-frontends/si2168_priv.h struct dvb_frontend fe; fe 269 drivers/media/dvb-frontends/si21xx.c static int si21_write(struct dvb_frontend *fe, const u8 buf[], int len) fe 271 drivers/media/dvb-frontends/si21xx.c struct si21xx_state *state = fe->demodulator_priv; fe 349 drivers/media/dvb-frontends/si21xx.c static int si21xx_set_symbolrate(struct dvb_frontend *fe, u32 srate) fe 351 drivers/media/dvb-frontends/si21xx.c struct si21xx_state *state = fe->demodulator_priv; fe 378 drivers/media/dvb-frontends/si21xx.c static int si21xx_send_diseqc_msg(struct dvb_frontend *fe, fe 381 drivers/media/dvb-frontends/si21xx.c struct si21xx_state *state = fe->demodulator_priv; fe 407 drivers/media/dvb-frontends/si21xx.c static int si21xx_send_diseqc_burst(struct dvb_frontend *fe, fe 410 drivers/media/dvb-frontends/si21xx.c struct si21xx_state *state = fe->demodulator_priv; fe 432 drivers/media/dvb-frontends/si21xx.c static int si21xx_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) fe 434 drivers/media/dvb-frontends/si21xx.c struct si21xx_state *state = fe->demodulator_priv; fe 452 drivers/media/dvb-frontends/si21xx.c static int si21xx_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage volt) fe 454 drivers/media/dvb-frontends/si21xx.c struct si21xx_state *state = fe->demodulator_priv; fe 476 drivers/media/dvb-frontends/si21xx.c static int si21xx_init(struct dvb_frontend *fe) fe 478 drivers/media/dvb-frontends/si21xx.c struct si21xx_state *state = fe->demodulator_priv; fe 534 drivers/media/dvb-frontends/si21xx.c static int si21_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 536 drivers/media/dvb-frontends/si21xx.c struct si21xx_state *state = fe->demodulator_priv; fe 572 drivers/media/dvb-frontends/si21xx.c static int si21_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 574 drivers/media/dvb-frontends/si21xx.c struct si21xx_state *state = fe->demodulator_priv; fe 592 drivers/media/dvb-frontends/si21xx.c static int si21_read_ber(struct dvb_frontend *fe, u32 *ber) fe 594 drivers/media/dvb-frontends/si21xx.c struct si21xx_state *state = fe->demodulator_priv; fe 607 drivers/media/dvb-frontends/si21xx.c static int si21_read_snr(struct dvb_frontend *fe, u16 *snr) fe 609 drivers/media/dvb-frontends/si21xx.c struct si21xx_state *state = fe->demodulator_priv; fe 621 drivers/media/dvb-frontends/si21xx.c static int si21_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 623 drivers/media/dvb-frontends/si21xx.c struct si21xx_state *state = fe->demodulator_priv; fe 638 drivers/media/dvb-frontends/si21xx.c static int si21xx_setacquire(struct dvb_frontend *fe, int symbrate, fe 642 drivers/media/dvb-frontends/si21xx.c struct si21xx_state *state = fe->demodulator_priv; fe 658 drivers/media/dvb-frontends/si21xx.c si21xx_set_symbolrate(fe, symbrate); fe 691 drivers/media/dvb-frontends/si21xx.c static int si21xx_set_frontend(struct dvb_frontend *fe) fe 693 drivers/media/dvb-frontends/si21xx.c struct si21xx_state *state = fe->demodulator_priv; fe 694 drivers/media/dvb-frontends/si21xx.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 835 drivers/media/dvb-frontends/si21xx.c si21xx_setacquire(fe, c->symbol_rate, c->fec_inner); fe 840 drivers/media/dvb-frontends/si21xx.c static int si21xx_sleep(struct dvb_frontend *fe) fe 842 drivers/media/dvb-frontends/si21xx.c struct si21xx_state *state = fe->demodulator_priv; fe 855 drivers/media/dvb-frontends/si21xx.c static void si21xx_release(struct dvb_frontend *fe) fe 857 drivers/media/dvb-frontends/si21xx.c struct si21xx_state *state = fe->demodulator_priv; fe 28 drivers/media/dvb-frontends/si21xx.h static inline int si21xx_writeregister(struct dvb_frontend *fe, u8 reg, u8 val) fe 32 drivers/media/dvb-frontends/si21xx.h if (fe->ops.write) fe 33 drivers/media/dvb-frontends/si21xx.h r = fe->ops.write(fe, buf, 2); fe 235 drivers/media/dvb-frontends/sp8870.c static int sp8870_set_frontend_parameters(struct dvb_frontend *fe) fe 237 drivers/media/dvb-frontends/sp8870.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 238 drivers/media/dvb-frontends/sp8870.c struct sp8870_state* state = fe->demodulator_priv; fe 249 drivers/media/dvb-frontends/sp8870.c if (fe->ops.tuner_ops.set_params) { fe 250 drivers/media/dvb-frontends/sp8870.c fe->ops.tuner_ops.set_params(fe); fe 251 drivers/media/dvb-frontends/sp8870.c if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); fe 293 drivers/media/dvb-frontends/sp8870.c static int sp8870_init (struct dvb_frontend* fe) fe 295 drivers/media/dvb-frontends/sp8870.c struct sp8870_state* state = fe->demodulator_priv; fe 307 drivers/media/dvb-frontends/sp8870.c if (state->config->request_firmware(fe, &fw, SP8870_DEFAULT_FIRMWARE)) { fe 342 drivers/media/dvb-frontends/sp8870.c static int sp8870_read_status(struct dvb_frontend *fe, fe 345 drivers/media/dvb-frontends/sp8870.c struct sp8870_state* state = fe->demodulator_priv; fe 369 drivers/media/dvb-frontends/sp8870.c static int sp8870_read_ber (struct dvb_frontend* fe, u32 * ber) fe 371 drivers/media/dvb-frontends/sp8870.c struct sp8870_state* state = fe->demodulator_priv; fe 396 drivers/media/dvb-frontends/sp8870.c static int sp8870_read_signal_strength(struct dvb_frontend* fe, u16 * signal) fe 398 drivers/media/dvb-frontends/sp8870.c struct sp8870_state* state = fe->demodulator_priv; fe 422 drivers/media/dvb-frontends/sp8870.c static int sp8870_read_uncorrected_blocks (struct dvb_frontend* fe, u32* ublocks) fe 424 drivers/media/dvb-frontends/sp8870.c struct sp8870_state* state = fe->demodulator_priv; fe 451 drivers/media/dvb-frontends/sp8870.c static int sp8870_set_frontend(struct dvb_frontend *fe) fe 453 drivers/media/dvb-frontends/sp8870.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 454 drivers/media/dvb-frontends/sp8870.c struct sp8870_state* state = fe->demodulator_priv; fe 472 drivers/media/dvb-frontends/sp8870.c err = sp8870_set_frontend_parameters(fe); fe 510 drivers/media/dvb-frontends/sp8870.c static int sp8870_sleep(struct dvb_frontend* fe) fe 512 drivers/media/dvb-frontends/sp8870.c struct sp8870_state* state = fe->demodulator_priv; fe 518 drivers/media/dvb-frontends/sp8870.c static int sp8870_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings* fesettings) fe 526 drivers/media/dvb-frontends/sp8870.c static int sp8870_i2c_gate_ctrl(struct dvb_frontend* fe, int enable) fe 528 drivers/media/dvb-frontends/sp8870.c struct sp8870_state* state = fe->demodulator_priv; fe 537 drivers/media/dvb-frontends/sp8870.c static void sp8870_release(struct dvb_frontend* fe) fe 539 drivers/media/dvb-frontends/sp8870.c struct sp8870_state* state = fe->demodulator_priv; fe 22 drivers/media/dvb-frontends/sp8870.h int (*request_firmware)(struct dvb_frontend* fe, const struct firmware **fw, char* name); fe 137 drivers/media/dvb-frontends/sp887x.c static int sp887x_initial_setup (struct dvb_frontend* fe, const struct firmware *fw) fe 139 drivers/media/dvb-frontends/sp887x.c struct sp887x_state* state = fe->demodulator_priv; fe 349 drivers/media/dvb-frontends/sp887x.c static int sp887x_setup_frontend_parameters(struct dvb_frontend *fe) fe 351 drivers/media/dvb-frontends/sp887x.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 352 drivers/media/dvb-frontends/sp887x.c struct sp887x_state* state = fe->demodulator_priv; fe 368 drivers/media/dvb-frontends/sp887x.c if (fe->ops.tuner_ops.set_params) { fe 369 drivers/media/dvb-frontends/sp887x.c fe->ops.tuner_ops.set_params(fe); fe 370 drivers/media/dvb-frontends/sp887x.c if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); fe 372 drivers/media/dvb-frontends/sp887x.c if (fe->ops.tuner_ops.get_frequency) { fe 373 drivers/media/dvb-frontends/sp887x.c fe->ops.tuner_ops.get_frequency(fe, &actual_freq); fe 374 drivers/media/dvb-frontends/sp887x.c if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); fe 419 drivers/media/dvb-frontends/sp887x.c static int sp887x_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 421 drivers/media/dvb-frontends/sp887x.c struct sp887x_state* state = fe->demodulator_priv; fe 453 drivers/media/dvb-frontends/sp887x.c static int sp887x_read_ber(struct dvb_frontend* fe, u32* ber) fe 455 drivers/media/dvb-frontends/sp887x.c struct sp887x_state* state = fe->demodulator_priv; fe 467 drivers/media/dvb-frontends/sp887x.c static int sp887x_read_signal_strength(struct dvb_frontend* fe, u16* strength) fe 469 drivers/media/dvb-frontends/sp887x.c struct sp887x_state* state = fe->demodulator_priv; fe 478 drivers/media/dvb-frontends/sp887x.c static int sp887x_read_snr(struct dvb_frontend* fe, u16* snr) fe 480 drivers/media/dvb-frontends/sp887x.c struct sp887x_state* state = fe->demodulator_priv; fe 488 drivers/media/dvb-frontends/sp887x.c static int sp887x_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) fe 490 drivers/media/dvb-frontends/sp887x.c struct sp887x_state* state = fe->demodulator_priv; fe 499 drivers/media/dvb-frontends/sp887x.c static int sp887x_i2c_gate_ctrl(struct dvb_frontend* fe, int enable) fe 501 drivers/media/dvb-frontends/sp887x.c struct sp887x_state* state = fe->demodulator_priv; fe 510 drivers/media/dvb-frontends/sp887x.c static int sp887x_sleep(struct dvb_frontend* fe) fe 512 drivers/media/dvb-frontends/sp887x.c struct sp887x_state* state = fe->demodulator_priv; fe 520 drivers/media/dvb-frontends/sp887x.c static int sp887x_init(struct dvb_frontend* fe) fe 522 drivers/media/dvb-frontends/sp887x.c struct sp887x_state* state = fe->demodulator_priv; fe 529 drivers/media/dvb-frontends/sp887x.c ret = state->config->request_firmware(fe, &fw, SP887X_DEFAULT_FIRMWARE); fe 535 drivers/media/dvb-frontends/sp887x.c ret = sp887x_initial_setup(fe, fw); fe 551 drivers/media/dvb-frontends/sp887x.c static int sp887x_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings* fesettings) fe 559 drivers/media/dvb-frontends/sp887x.c static void sp887x_release(struct dvb_frontend* fe) fe 561 drivers/media/dvb-frontends/sp887x.c struct sp887x_state* state = fe->demodulator_priv; fe 18 drivers/media/dvb-frontends/sp887x.h int (*request_firmware)(struct dvb_frontend* fe, const struct firmware **fw, char* name); fe 593 drivers/media/dvb-frontends/stb0899_drv.c static void stb0899_detach(struct dvb_frontend *fe) fe 595 drivers/media/dvb-frontends/stb0899_drv.c struct stb0899_state *state = fe->demodulator_priv; fe 601 drivers/media/dvb-frontends/stb0899_drv.c static void stb0899_release(struct dvb_frontend *fe) fe 603 drivers/media/dvb-frontends/stb0899_drv.c struct stb0899_state *state = fe->demodulator_priv; fe 686 drivers/media/dvb-frontends/stb0899_drv.c static int stb0899_send_diseqc_msg(struct dvb_frontend *fe, struct dvb_diseqc_master_cmd *cmd) fe 688 drivers/media/dvb-frontends/stb0899_drv.c struct stb0899_state *state = fe->demodulator_priv; fe 729 drivers/media/dvb-frontends/stb0899_drv.c static int stb0899_recv_slave_reply(struct dvb_frontend *fe, struct dvb_diseqc_slave_reply *reply) fe 731 drivers/media/dvb-frontends/stb0899_drv.c struct stb0899_state *state = fe->demodulator_priv; fe 777 drivers/media/dvb-frontends/stb0899_drv.c static int stb0899_send_diseqc_burst(struct dvb_frontend *fe, fe 780 drivers/media/dvb-frontends/stb0899_drv.c struct stb0899_state *state = fe->demodulator_priv; fe 845 drivers/media/dvb-frontends/stb0899_drv.c static int stb0899_sleep(struct dvb_frontend *fe) fe 847 drivers/media/dvb-frontends/stb0899_drv.c struct stb0899_state *state = fe->demodulator_priv; fe 858 drivers/media/dvb-frontends/stb0899_drv.c static int stb0899_wakeup(struct dvb_frontend *fe) fe 861 drivers/media/dvb-frontends/stb0899_drv.c struct stb0899_state *state = fe->demodulator_priv; fe 877 drivers/media/dvb-frontends/stb0899_drv.c static int stb0899_init(struct dvb_frontend *fe) fe 880 drivers/media/dvb-frontends/stb0899_drv.c struct stb0899_state *state = fe->demodulator_priv; fe 948 drivers/media/dvb-frontends/stb0899_drv.c static int stb0899_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 950 drivers/media/dvb-frontends/stb0899_drv.c struct stb0899_state *state = fe->demodulator_priv; fe 992 drivers/media/dvb-frontends/stb0899_drv.c static int stb0899_read_snr(struct dvb_frontend *fe, u16 *snr) fe 994 drivers/media/dvb-frontends/stb0899_drv.c struct stb0899_state *state = fe->demodulator_priv; fe 1049 drivers/media/dvb-frontends/stb0899_drv.c static int stb0899_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 1051 drivers/media/dvb-frontends/stb0899_drv.c struct stb0899_state *state = fe->demodulator_priv; fe 1120 drivers/media/dvb-frontends/stb0899_drv.c static int stb0899_read_ber(struct dvb_frontend *fe, u32 *ber) fe 1122 drivers/media/dvb-frontends/stb0899_drv.c struct stb0899_state *state = fe->demodulator_priv; fe 1164 drivers/media/dvb-frontends/stb0899_drv.c static int stb0899_set_voltage(struct dvb_frontend *fe, fe 1167 drivers/media/dvb-frontends/stb0899_drv.c struct stb0899_state *state = fe->demodulator_priv; fe 1192 drivers/media/dvb-frontends/stb0899_drv.c static int stb0899_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) fe 1194 drivers/media/dvb-frontends/stb0899_drv.c struct stb0899_state *state = fe->demodulator_priv; fe 1222 drivers/media/dvb-frontends/stb0899_drv.c int stb0899_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 1225 drivers/media/dvb-frontends/stb0899_drv.c struct stb0899_state *state = fe->demodulator_priv; fe 1415 drivers/media/dvb-frontends/stb0899_drv.c static enum dvbfe_search stb0899_search(struct dvb_frontend *fe) fe 1417 drivers/media/dvb-frontends/stb0899_drv.c struct stb0899_state *state = fe->demodulator_priv; fe 1421 drivers/media/dvb-frontends/stb0899_drv.c struct dtv_frontend_properties *props = &fe->dtv_property_cache; fe 1444 drivers/media/dvb-frontends/stb0899_drv.c state->config->tuner_set_rfsiggain(fe, gain); fe 1472 drivers/media/dvb-frontends/stb0899_drv.c state->config->tuner_set_bandwidth(fe, (13 * (stb0899_carr_width(state) + SearchRange)) / 10); fe 1474 drivers/media/dvb-frontends/stb0899_drv.c state->config->tuner_get_bandwidth(fe, &internal->tuner_bw); fe 1511 drivers/media/dvb-frontends/stb0899_drv.c state->config->tuner_set_bandwidth(fe, (stb0899_carr_width(state) + SearchRange)); fe 1513 drivers/media/dvb-frontends/stb0899_drv.c state->config->tuner_get_bandwidth(fe, &internal->tuner_bw); fe 1553 drivers/media/dvb-frontends/stb0899_drv.c static int stb0899_get_frontend(struct dvb_frontend *fe, fe 1556 drivers/media/dvb-frontends/stb0899_drv.c struct stb0899_state *state = fe->demodulator_priv; fe 1566 drivers/media/dvb-frontends/stb0899_drv.c static enum dvbfe_algo stb0899_frontend_algo(struct dvb_frontend *fe) fe 125 drivers/media/dvb-frontends/stb0899_drv.h int (*tuner_set_frequency)(struct dvb_frontend *fe, u32 frequency); fe 126 drivers/media/dvb-frontends/stb0899_drv.h int (*tuner_get_frequency)(struct dvb_frontend *fe, u32 *frequency); fe 127 drivers/media/dvb-frontends/stb0899_drv.h int (*tuner_set_bandwidth)(struct dvb_frontend *fe, u32 bandwidth); fe 128 drivers/media/dvb-frontends/stb0899_drv.h int (*tuner_get_bandwidth)(struct dvb_frontend *fe, u32 *bandwidth); fe 129 drivers/media/dvb-frontends/stb0899_drv.h int (*tuner_set_rfsiggain)(struct dvb_frontend *fe, u32 rf_gain); fe 240 drivers/media/dvb-frontends/stb0899_priv.h extern int stb0899_i2c_gate_ctrl(struct dvb_frontend *fe, int enable); fe 31 drivers/media/dvb-frontends/stb6000.c static void stb6000_release(struct dvb_frontend *fe) fe 33 drivers/media/dvb-frontends/stb6000.c kfree(fe->tuner_priv); fe 34 drivers/media/dvb-frontends/stb6000.c fe->tuner_priv = NULL; fe 37 drivers/media/dvb-frontends/stb6000.c static int stb6000_sleep(struct dvb_frontend *fe) fe 39 drivers/media/dvb-frontends/stb6000.c struct stb6000_priv *priv = fe->tuner_priv; fe 51 drivers/media/dvb-frontends/stb6000.c if (fe->ops.i2c_gate_ctrl) fe 52 drivers/media/dvb-frontends/stb6000.c fe->ops.i2c_gate_ctrl(fe, 1); fe 58 drivers/media/dvb-frontends/stb6000.c if (fe->ops.i2c_gate_ctrl) fe 59 drivers/media/dvb-frontends/stb6000.c fe->ops.i2c_gate_ctrl(fe, 0); fe 64 drivers/media/dvb-frontends/stb6000.c static int stb6000_set_params(struct dvb_frontend *fe) fe 66 drivers/media/dvb-frontends/stb6000.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 67 drivers/media/dvb-frontends/stb6000.c struct stb6000_priv *priv = fe->tuner_priv; fe 132 drivers/media/dvb-frontends/stb6000.c if (fe->ops.i2c_gate_ctrl) fe 133 drivers/media/dvb-frontends/stb6000.c fe->ops.i2c_gate_ctrl(fe, 1); fe 140 drivers/media/dvb-frontends/stb6000.c if (fe->ops.i2c_gate_ctrl) fe 141 drivers/media/dvb-frontends/stb6000.c fe->ops.i2c_gate_ctrl(fe, 0); fe 150 drivers/media/dvb-frontends/stb6000.c if (fe->ops.i2c_gate_ctrl) fe 151 drivers/media/dvb-frontends/stb6000.c fe->ops.i2c_gate_ctrl(fe, 1); fe 158 drivers/media/dvb-frontends/stb6000.c if (fe->ops.i2c_gate_ctrl) fe 159 drivers/media/dvb-frontends/stb6000.c fe->ops.i2c_gate_ctrl(fe, 0); fe 168 drivers/media/dvb-frontends/stb6000.c static int stb6000_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 170 drivers/media/dvb-frontends/stb6000.c struct stb6000_priv *priv = fe->tuner_priv; fe 187 drivers/media/dvb-frontends/stb6000.c struct dvb_frontend *stb6000_attach(struct dvb_frontend *fe, int addr, fe 210 drivers/media/dvb-frontends/stb6000.c if (fe->ops.i2c_gate_ctrl) fe 211 drivers/media/dvb-frontends/stb6000.c fe->ops.i2c_gate_ctrl(fe, 1); fe 215 drivers/media/dvb-frontends/stb6000.c if (fe->ops.i2c_gate_ctrl) fe 216 drivers/media/dvb-frontends/stb6000.c fe->ops.i2c_gate_ctrl(fe, 0); fe 228 drivers/media/dvb-frontends/stb6000.c memcpy(&fe->ops.tuner_ops, &stb6000_tuner_ops, fe 231 drivers/media/dvb-frontends/stb6000.c fe->tuner_priv = priv; fe 233 drivers/media/dvb-frontends/stb6000.c return fe; fe 26 drivers/media/dvb-frontends/stb6000.h extern struct dvb_frontend *stb6000_attach(struct dvb_frontend *fe, int addr, fe 29 drivers/media/dvb-frontends/stb6000.h static inline struct dvb_frontend *stb6000_attach(struct dvb_frontend *fe, fe 52 drivers/media/dvb-frontends/stb6100.c static void stb6100_release(struct dvb_frontend *fe); fe 228 drivers/media/dvb-frontends/stb6100.c static int stb6100_get_status(struct dvb_frontend *fe, u32 *status) fe 231 drivers/media/dvb-frontends/stb6100.c struct stb6100_state *state = fe->tuner_priv; fe 241 drivers/media/dvb-frontends/stb6100.c static int stb6100_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) fe 246 drivers/media/dvb-frontends/stb6100.c struct stb6100_state *state = fe->tuner_priv; fe 260 drivers/media/dvb-frontends/stb6100.c static int stb6100_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth) fe 264 drivers/media/dvb-frontends/stb6100.c struct stb6100_state *state = fe->tuner_priv; fe 298 drivers/media/dvb-frontends/stb6100.c static int stb6100_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 303 drivers/media/dvb-frontends/stb6100.c struct stb6100_state *state = fe->tuner_priv; fe 324 drivers/media/dvb-frontends/stb6100.c static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency) fe 328 drivers/media/dvb-frontends/stb6100.c struct stb6100_state *state = fe->tuner_priv; fe 329 drivers/media/dvb-frontends/stb6100.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 337 drivers/media/dvb-frontends/stb6100.c if (fe->ops.get_frontend) { fe 339 drivers/media/dvb-frontends/stb6100.c fe->ops.get_frontend(fe, p); fe 480 drivers/media/dvb-frontends/stb6100.c static int stb6100_sleep(struct dvb_frontend *fe) fe 486 drivers/media/dvb-frontends/stb6100.c static int stb6100_init(struct dvb_frontend *fe) fe 488 drivers/media/dvb-frontends/stb6100.c struct stb6100_state *state = fe->tuner_priv; fe 502 drivers/media/dvb-frontends/stb6100.c static int stb6100_set_params(struct dvb_frontend *fe) fe 504 drivers/media/dvb-frontends/stb6100.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 507 drivers/media/dvb-frontends/stb6100.c stb6100_set_frequency(fe, c->frequency); fe 510 drivers/media/dvb-frontends/stb6100.c stb6100_set_bandwidth(fe, c->bandwidth_hz); fe 531 drivers/media/dvb-frontends/stb6100.c struct dvb_frontend *stb6100_attach(struct dvb_frontend *fe, fe 543 drivers/media/dvb-frontends/stb6100.c state->frontend = fe; fe 545 drivers/media/dvb-frontends/stb6100.c fe->tuner_priv = state; fe 546 drivers/media/dvb-frontends/stb6100.c fe->ops.tuner_ops = stb6100_ops; fe 549 drivers/media/dvb-frontends/stb6100.c return fe; fe 552 drivers/media/dvb-frontends/stb6100.c static void stb6100_release(struct dvb_frontend *fe) fe 554 drivers/media/dvb-frontends/stb6100.c struct stb6100_state *state = fe->tuner_priv; fe 556 drivers/media/dvb-frontends/stb6100.c fe->tuner_priv = NULL; fe 86 drivers/media/dvb-frontends/stb6100.h extern struct dvb_frontend *stb6100_attach(struct dvb_frontend *fe, fe 92 drivers/media/dvb-frontends/stb6100.h static inline struct dvb_frontend *stb6100_attach(struct dvb_frontend *fe, fe 13 drivers/media/dvb-frontends/stb6100_cfg.h static int stb6100_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 15 drivers/media/dvb-frontends/stb6100_cfg.h struct dvb_frontend_ops *frontend_ops = &fe->ops; fe 20 drivers/media/dvb-frontends/stb6100_cfg.h err = tuner_ops->get_frequency(fe, frequency); fe 29 drivers/media/dvb-frontends/stb6100_cfg.h static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency) fe 31 drivers/media/dvb-frontends/stb6100_cfg.h struct dvb_frontend_ops *frontend_ops = &fe->ops; fe 33 drivers/media/dvb-frontends/stb6100_cfg.h struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 41 drivers/media/dvb-frontends/stb6100_cfg.h err = tuner_ops->set_params(fe); fe 51 drivers/media/dvb-frontends/stb6100_cfg.h static int stb6100_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) fe 53 drivers/media/dvb-frontends/stb6100_cfg.h struct dvb_frontend_ops *frontend_ops = &fe->ops; fe 58 drivers/media/dvb-frontends/stb6100_cfg.h err = tuner_ops->get_bandwidth(fe, bandwidth); fe 67 drivers/media/dvb-frontends/stb6100_cfg.h static int stb6100_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth) fe 69 drivers/media/dvb-frontends/stb6100_cfg.h struct dvb_frontend_ops *frontend_ops = &fe->ops; fe 71 drivers/media/dvb-frontends/stb6100_cfg.h struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 79 drivers/media/dvb-frontends/stb6100_cfg.h err = tuner_ops->set_params(fe); fe 11 drivers/media/dvb-frontends/stb6100_proc.h static int stb6100_get_freq(struct dvb_frontend *fe, u32 *frequency) fe 13 drivers/media/dvb-frontends/stb6100_proc.h struct dvb_frontend_ops *frontend_ops = &fe->ops; fe 19 drivers/media/dvb-frontends/stb6100_proc.h frontend_ops->i2c_gate_ctrl(fe, 1); fe 21 drivers/media/dvb-frontends/stb6100_proc.h err = tuner_ops->get_frequency(fe, frequency); fe 28 drivers/media/dvb-frontends/stb6100_proc.h frontend_ops->i2c_gate_ctrl(fe, 0); fe 34 drivers/media/dvb-frontends/stb6100_proc.h static int stb6100_set_freq(struct dvb_frontend *fe, u32 frequency) fe 36 drivers/media/dvb-frontends/stb6100_proc.h struct dvb_frontend_ops *frontend_ops = &fe->ops; fe 38 drivers/media/dvb-frontends/stb6100_proc.h struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 47 drivers/media/dvb-frontends/stb6100_proc.h frontend_ops->i2c_gate_ctrl(fe, 1); fe 49 drivers/media/dvb-frontends/stb6100_proc.h err = tuner_ops->set_params(fe); fe 57 drivers/media/dvb-frontends/stb6100_proc.h frontend_ops->i2c_gate_ctrl(fe, 0); fe 64 drivers/media/dvb-frontends/stb6100_proc.h static int stb6100_get_bandw(struct dvb_frontend *fe, u32 *bandwidth) fe 66 drivers/media/dvb-frontends/stb6100_proc.h struct dvb_frontend_ops *frontend_ops = &fe->ops; fe 72 drivers/media/dvb-frontends/stb6100_proc.h frontend_ops->i2c_gate_ctrl(fe, 1); fe 74 drivers/media/dvb-frontends/stb6100_proc.h err = tuner_ops->get_bandwidth(fe, bandwidth); fe 81 drivers/media/dvb-frontends/stb6100_proc.h frontend_ops->i2c_gate_ctrl(fe, 0); fe 87 drivers/media/dvb-frontends/stb6100_proc.h static int stb6100_set_bandw(struct dvb_frontend *fe, u32 bandwidth) fe 89 drivers/media/dvb-frontends/stb6100_proc.h struct dvb_frontend_ops *frontend_ops = &fe->ops; fe 91 drivers/media/dvb-frontends/stb6100_proc.h struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 100 drivers/media/dvb-frontends/stb6100_proc.h frontend_ops->i2c_gate_ctrl(fe, 1); fe 102 drivers/media/dvb-frontends/stb6100_proc.h err = tuner_ops->set_params(fe); fe 110 drivers/media/dvb-frontends/stb6100_proc.h frontend_ops->i2c_gate_ctrl(fe, 0); fe 71 drivers/media/dvb-frontends/stv0288.c static int stv0288_write(struct dvb_frontend *fe, const u8 buf[], int len) fe 73 drivers/media/dvb-frontends/stv0288.c struct stv0288_state *state = fe->demodulator_priv; fe 109 drivers/media/dvb-frontends/stv0288.c static int stv0288_set_symbolrate(struct dvb_frontend *fe, u32 srate) fe 111 drivers/media/dvb-frontends/stv0288.c struct stv0288_state *state = fe->demodulator_priv; fe 143 drivers/media/dvb-frontends/stv0288.c static int stv0288_send_diseqc_msg(struct dvb_frontend *fe, fe 146 drivers/media/dvb-frontends/stv0288.c struct stv0288_state *state = fe->demodulator_priv; fe 164 drivers/media/dvb-frontends/stv0288.c static int stv0288_send_diseqc_burst(struct dvb_frontend *fe, fe 167 drivers/media/dvb-frontends/stv0288.c struct stv0288_state *state = fe->demodulator_priv; fe 184 drivers/media/dvb-frontends/stv0288.c static int stv0288_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) fe 186 drivers/media/dvb-frontends/stv0288.c struct stv0288_state *state = fe->demodulator_priv; fe 314 drivers/media/dvb-frontends/stv0288.c static int stv0288_set_voltage(struct dvb_frontend *fe, fe 324 drivers/media/dvb-frontends/stv0288.c static int stv0288_init(struct dvb_frontend *fe) fe 326 drivers/media/dvb-frontends/stv0288.c struct stv0288_state *state = fe->demodulator_priv; fe 353 drivers/media/dvb-frontends/stv0288.c static int stv0288_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 355 drivers/media/dvb-frontends/stv0288.c struct stv0288_state *state = fe->demodulator_priv; fe 376 drivers/media/dvb-frontends/stv0288.c static int stv0288_read_ber(struct dvb_frontend *fe, u32 *ber) fe 378 drivers/media/dvb-frontends/stv0288.c struct stv0288_state *state = fe->demodulator_priv; fe 390 drivers/media/dvb-frontends/stv0288.c static int stv0288_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 392 drivers/media/dvb-frontends/stv0288.c struct stv0288_state *state = fe->demodulator_priv; fe 403 drivers/media/dvb-frontends/stv0288.c static int stv0288_sleep(struct dvb_frontend *fe) fe 405 drivers/media/dvb-frontends/stv0288.c struct stv0288_state *state = fe->demodulator_priv; fe 412 drivers/media/dvb-frontends/stv0288.c static int stv0288_read_snr(struct dvb_frontend *fe, u16 *snr) fe 414 drivers/media/dvb-frontends/stv0288.c struct stv0288_state *state = fe->demodulator_priv; fe 425 drivers/media/dvb-frontends/stv0288.c static int stv0288_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 427 drivers/media/dvb-frontends/stv0288.c struct stv0288_state *state = fe->demodulator_priv; fe 438 drivers/media/dvb-frontends/stv0288.c static int stv0288_set_frontend(struct dvb_frontend *fe) fe 440 drivers/media/dvb-frontends/stv0288.c struct stv0288_state *state = fe->demodulator_priv; fe 441 drivers/media/dvb-frontends/stv0288.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 456 drivers/media/dvb-frontends/stv0288.c state->config->set_ts_params(fe, 0); fe 459 drivers/media/dvb-frontends/stv0288.c if (fe->ops.tuner_ops.set_params) { fe 460 drivers/media/dvb-frontends/stv0288.c fe->ops.tuner_ops.set_params(fe); fe 461 drivers/media/dvb-frontends/stv0288.c if (fe->ops.i2c_gate_ctrl) fe 462 drivers/media/dvb-frontends/stv0288.c fe->ops.i2c_gate_ctrl(fe, 0); fe 466 drivers/media/dvb-frontends/stv0288.c stv0288_set_symbolrate(fe, c->symbol_rate); fe 500 drivers/media/dvb-frontends/stv0288.c static int stv0288_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 502 drivers/media/dvb-frontends/stv0288.c struct stv0288_state *state = fe->demodulator_priv; fe 514 drivers/media/dvb-frontends/stv0288.c static void stv0288_release(struct dvb_frontend *fe) fe 516 drivers/media/dvb-frontends/stv0288.c struct stv0288_state *state = fe->demodulator_priv; fe 30 drivers/media/dvb-frontends/stv0288.h int (*set_ts_params)(struct dvb_frontend *fe, int is_punctured); fe 45 drivers/media/dvb-frontends/stv0288.h static inline int stv0288_writereg(struct dvb_frontend *fe, u8 reg, u8 val) fe 49 drivers/media/dvb-frontends/stv0288.h if (fe->ops.write) fe 50 drivers/media/dvb-frontends/stv0288.h r = fe->ops.write(fe, buf, 2); fe 282 drivers/media/dvb-frontends/stv0297.c static int stv0297_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 284 drivers/media/dvb-frontends/stv0297.c struct stv0297_state *state = fe->demodulator_priv; fe 294 drivers/media/dvb-frontends/stv0297.c static int stv0297_init(struct dvb_frontend *fe) fe 296 drivers/media/dvb-frontends/stv0297.c struct stv0297_state *state = fe->demodulator_priv; fe 309 drivers/media/dvb-frontends/stv0297.c static int stv0297_sleep(struct dvb_frontend *fe) fe 311 drivers/media/dvb-frontends/stv0297.c struct stv0297_state *state = fe->demodulator_priv; fe 318 drivers/media/dvb-frontends/stv0297.c static int stv0297_read_status(struct dvb_frontend *fe, fe 321 drivers/media/dvb-frontends/stv0297.c struct stv0297_state *state = fe->demodulator_priv; fe 332 drivers/media/dvb-frontends/stv0297.c static int stv0297_read_ber(struct dvb_frontend *fe, u32 * ber) fe 334 drivers/media/dvb-frontends/stv0297.c struct stv0297_state *state = fe->demodulator_priv; fe 349 drivers/media/dvb-frontends/stv0297.c static int stv0297_read_signal_strength(struct dvb_frontend *fe, u16 * strength) fe 351 drivers/media/dvb-frontends/stv0297.c struct stv0297_state *state = fe->demodulator_priv; fe 372 drivers/media/dvb-frontends/stv0297.c static int stv0297_read_snr(struct dvb_frontend *fe, u16 * snr) fe 374 drivers/media/dvb-frontends/stv0297.c struct stv0297_state *state = fe->demodulator_priv; fe 383 drivers/media/dvb-frontends/stv0297.c static int stv0297_read_ucblocks(struct dvb_frontend *fe, u32 * ucblocks) fe 385 drivers/media/dvb-frontends/stv0297.c struct stv0297_state *state = fe->demodulator_priv; fe 398 drivers/media/dvb-frontends/stv0297.c static int stv0297_set_frontend(struct dvb_frontend *fe) fe 400 drivers/media/dvb-frontends/stv0297.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 401 drivers/media/dvb-frontends/stv0297.c struct stv0297_state *state = fe->demodulator_priv; fe 447 drivers/media/dvb-frontends/stv0297.c stv0297_init(fe); fe 448 drivers/media/dvb-frontends/stv0297.c if (fe->ops.tuner_ops.set_params) { fe 449 drivers/media/dvb-frontends/stv0297.c fe->ops.tuner_ops.set_params(fe); fe 450 drivers/media/dvb-frontends/stv0297.c if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); fe 606 drivers/media/dvb-frontends/stv0297.c static int stv0297_get_frontend(struct dvb_frontend *fe, fe 609 drivers/media/dvb-frontends/stv0297.c struct stv0297_state *state = fe->demodulator_priv; fe 643 drivers/media/dvb-frontends/stv0297.c static void stv0297_release(struct dvb_frontend *fe) fe 645 drivers/media/dvb-frontends/stv0297.c struct stv0297_state *state = fe->demodulator_priv; fe 85 drivers/media/dvb-frontends/stv0299.c static int stv0299_write(struct dvb_frontend* fe, const u8 buf[], int len) fe 87 drivers/media/dvb-frontends/stv0299.c struct stv0299_state* state = fe->demodulator_priv; fe 213 drivers/media/dvb-frontends/stv0299.c static int stv0299_set_symbolrate (struct dvb_frontend* fe, u32 srate) fe 215 drivers/media/dvb-frontends/stv0299.c struct stv0299_state* state = fe->demodulator_priv; fe 228 drivers/media/dvb-frontends/stv0299.c return state->config->set_symbol_rate(fe, srate, ratio); fe 263 drivers/media/dvb-frontends/stv0299.c static int stv0299_send_diseqc_msg (struct dvb_frontend* fe, fe 266 drivers/media/dvb-frontends/stv0299.c struct stv0299_state* state = fe->demodulator_priv; fe 294 drivers/media/dvb-frontends/stv0299.c static int stv0299_send_diseqc_burst(struct dvb_frontend *fe, fe 297 drivers/media/dvb-frontends/stv0299.c struct stv0299_state* state = fe->demodulator_priv; fe 322 drivers/media/dvb-frontends/stv0299.c static int stv0299_set_tone(struct dvb_frontend *fe, fe 325 drivers/media/dvb-frontends/stv0299.c struct stv0299_state* state = fe->demodulator_priv; fe 345 drivers/media/dvb-frontends/stv0299.c static int stv0299_set_voltage(struct dvb_frontend *fe, fe 348 drivers/media/dvb-frontends/stv0299.c struct stv0299_state* state = fe->demodulator_priv; fe 391 drivers/media/dvb-frontends/stv0299.c static int stv0299_send_legacy_dish_cmd (struct dvb_frontend* fe, unsigned long cmd) fe 393 drivers/media/dvb-frontends/stv0299.c struct stv0299_state* state = fe->demodulator_priv; fe 436 drivers/media/dvb-frontends/stv0299.c __func__, fe->dvb->num); fe 445 drivers/media/dvb-frontends/stv0299.c static int stv0299_init (struct dvb_frontend* fe) fe 447 drivers/media/dvb-frontends/stv0299.c struct stv0299_state* state = fe->demodulator_priv; fe 472 drivers/media/dvb-frontends/stv0299.c static int stv0299_read_status(struct dvb_frontend *fe, fe 475 drivers/media/dvb-frontends/stv0299.c struct stv0299_state* state = fe->demodulator_priv; fe 501 drivers/media/dvb-frontends/stv0299.c static int stv0299_read_ber(struct dvb_frontend* fe, u32* ber) fe 503 drivers/media/dvb-frontends/stv0299.c struct stv0299_state* state = fe->demodulator_priv; fe 513 drivers/media/dvb-frontends/stv0299.c static int stv0299_read_signal_strength(struct dvb_frontend* fe, u16* strength) fe 515 drivers/media/dvb-frontends/stv0299.c struct stv0299_state* state = fe->demodulator_priv; fe 530 drivers/media/dvb-frontends/stv0299.c static int stv0299_read_snr(struct dvb_frontend* fe, u16* snr) fe 532 drivers/media/dvb-frontends/stv0299.c struct stv0299_state* state = fe->demodulator_priv; fe 542 drivers/media/dvb-frontends/stv0299.c static int stv0299_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) fe 544 drivers/media/dvb-frontends/stv0299.c struct stv0299_state* state = fe->demodulator_priv; fe 556 drivers/media/dvb-frontends/stv0299.c static int stv0299_set_frontend(struct dvb_frontend *fe) fe 558 drivers/media/dvb-frontends/stv0299.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 559 drivers/media/dvb-frontends/stv0299.c struct stv0299_state* state = fe->demodulator_priv; fe 564 drivers/media/dvb-frontends/stv0299.c state->config->set_ts_params(fe, 0); fe 576 drivers/media/dvb-frontends/stv0299.c if (fe->ops.tuner_ops.set_params) { fe 577 drivers/media/dvb-frontends/stv0299.c fe->ops.tuner_ops.set_params(fe); fe 578 drivers/media/dvb-frontends/stv0299.c if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); fe 582 drivers/media/dvb-frontends/stv0299.c stv0299_set_symbolrate(fe, p->symbol_rate); fe 593 drivers/media/dvb-frontends/stv0299.c static int stv0299_get_frontend(struct dvb_frontend *fe, fe 596 drivers/media/dvb-frontends/stv0299.c struct stv0299_state* state = fe->demodulator_priv; fe 619 drivers/media/dvb-frontends/stv0299.c static int stv0299_sleep(struct dvb_frontend* fe) fe 621 drivers/media/dvb-frontends/stv0299.c struct stv0299_state* state = fe->demodulator_priv; fe 629 drivers/media/dvb-frontends/stv0299.c static int stv0299_i2c_gate_ctrl(struct dvb_frontend* fe, int enable) fe 631 drivers/media/dvb-frontends/stv0299.c struct stv0299_state* state = fe->demodulator_priv; fe 642 drivers/media/dvb-frontends/stv0299.c static int stv0299_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings* fesettings) fe 644 drivers/media/dvb-frontends/stv0299.c struct stv0299_state* state = fe->demodulator_priv; fe 645 drivers/media/dvb-frontends/stv0299.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 658 drivers/media/dvb-frontends/stv0299.c static void stv0299_release(struct dvb_frontend* fe) fe 660 drivers/media/dvb-frontends/stv0299.c struct stv0299_state* state = fe->demodulator_priv; fe 80 drivers/media/dvb-frontends/stv0299.h int (*set_symbol_rate)(struct dvb_frontend *fe, u32 srate, u32 ratio); fe 83 drivers/media/dvb-frontends/stv0299.h int (*set_ts_params)(struct dvb_frontend *fe, int is_punctured); fe 98 drivers/media/dvb-frontends/stv0299.h static inline int stv0299_writereg(struct dvb_frontend *fe, u8 reg, u8 val) { fe 101 drivers/media/dvb-frontends/stv0299.h if (fe->ops.write) fe 102 drivers/media/dvb-frontends/stv0299.h r = fe->ops.write(fe, buf, 2); fe 79 drivers/media/dvb-frontends/stv0367.c struct dvb_frontend fe; fe 323 drivers/media/dvb-frontends/stv0367.c if (state->auto_if_khz && state->fe.ops.tuner_ops.get_if_frequency) { fe 324 drivers/media/dvb-frontends/stv0367.c state->fe.ops.tuner_ops.get_if_frequency(&state->fe, ifkhz); fe 332 drivers/media/dvb-frontends/stv0367.c static int stv0367ter_gate_ctrl(struct dvb_frontend *fe, int enable) fe 334 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 352 drivers/media/dvb-frontends/stv0367.c static u32 stv0367_get_tuner_freq(struct dvb_frontend *fe) fe 354 drivers/media/dvb-frontends/stv0367.c struct dvb_frontend_ops *frontend_ops = &fe->ops; fe 362 drivers/media/dvb-frontends/stv0367.c err = tuner_ops->get_frequency(fe, &freq); fe 943 drivers/media/dvb-frontends/stv0367.c static int stv0367ter_standby(struct dvb_frontend *fe, u8 standby_on) fe 945 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 962 drivers/media/dvb-frontends/stv0367.c static int stv0367ter_sleep(struct dvb_frontend *fe) fe 964 drivers/media/dvb-frontends/stv0367.c return stv0367ter_standby(fe, 1); fe 967 drivers/media/dvb-frontends/stv0367.c static int stv0367ter_init(struct dvb_frontend *fe) fe 969 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 995 drivers/media/dvb-frontends/stv0367.c static int stv0367ter_algo(struct dvb_frontend *fe) fe 997 drivers/media/dvb-frontends/stv0367.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 998 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 1222 drivers/media/dvb-frontends/stv0367.c static int stv0367ter_set_frontend(struct dvb_frontend *fe) fe 1224 drivers/media/dvb-frontends/stv0367.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1225 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 1233 drivers/media/dvb-frontends/stv0367.c stv0367ter_init(fe); fe 1235 drivers/media/dvb-frontends/stv0367.c if (fe->ops.tuner_ops.set_params) { fe 1236 drivers/media/dvb-frontends/stv0367.c if (state->use_i2c_gatectrl && fe->ops.i2c_gate_ctrl) fe 1237 drivers/media/dvb-frontends/stv0367.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1238 drivers/media/dvb-frontends/stv0367.c fe->ops.tuner_ops.set_params(fe); fe 1239 drivers/media/dvb-frontends/stv0367.c if (state->use_i2c_gatectrl && fe->ops.i2c_gate_ctrl) fe 1240 drivers/media/dvb-frontends/stv0367.c fe->ops.i2c_gate_ctrl(fe, 0); fe 1305 drivers/media/dvb-frontends/stv0367.c stv0367ter_algo(fe); fe 1321 drivers/media/dvb-frontends/stv0367.c static int stv0367ter_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 1323 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 1343 drivers/media/dvb-frontends/stv0367.c static int stv0367ter_get_frontend(struct dvb_frontend *fe, fe 1346 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 1351 drivers/media/dvb-frontends/stv0367.c p->frequency = stv0367_get_tuner_freq(fe); fe 1434 drivers/media/dvb-frontends/stv0367.c static u32 stv0367ter_snr_readreg(struct dvb_frontend *fe) fe 1436 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 1455 drivers/media/dvb-frontends/stv0367.c static int stv0367ter_read_snr(struct dvb_frontend *fe, u16 *snr) fe 1457 drivers/media/dvb-frontends/stv0367.c u32 snrval = stv0367ter_snr_readreg(fe); fe 1465 drivers/media/dvb-frontends/stv0367.c static int stv0367ter_status(struct dvb_frontend *fe) fe 1468 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 1494 drivers/media/dvb-frontends/stv0367.c static int stv0367ter_read_status(struct dvb_frontend *fe, fe 1497 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 1512 drivers/media/dvb-frontends/stv0367.c static int stv0367ter_read_ber(struct dvb_frontend *fe, u32 *ber) fe 1514 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 1662 drivers/media/dvb-frontends/stv0367.c static int stv0367_get_tune_settings(struct dvb_frontend *fe, fe 1673 drivers/media/dvb-frontends/stv0367.c static void stv0367_release(struct dvb_frontend *fe) fe 1675 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 1730 drivers/media/dvb-frontends/stv0367.c state->fe.ops = stv0367ter_ops; fe 1731 drivers/media/dvb-frontends/stv0367.c state->fe.demodulator_priv = state; fe 1746 drivers/media/dvb-frontends/stv0367.c return &state->fe; fe 1755 drivers/media/dvb-frontends/stv0367.c static int stv0367cab_gate_ctrl(struct dvb_frontend *fe, int enable) fe 1757 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 1766 drivers/media/dvb-frontends/stv0367.c static u32 stv0367cab_get_mclk(struct dvb_frontend *fe, u32 ExtClk_Hz) fe 1768 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 1798 drivers/media/dvb-frontends/stv0367.c static u32 stv0367cab_get_adc_freq(struct dvb_frontend *fe, u32 ExtClk_Hz) fe 1802 drivers/media/dvb-frontends/stv0367.c ADCClk_Hz = stv0367cab_get_mclk(fe, ExtClk_Hz); fe 2206 drivers/media/dvb-frontends/stv0367.c static int stv0367cab_read_status(struct dvb_frontend *fe, fe 2209 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 2240 drivers/media/dvb-frontends/stv0367.c static int stv0367cab_standby(struct dvb_frontend *fe, u8 standby_on) fe 2242 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 2269 drivers/media/dvb-frontends/stv0367.c static int stv0367cab_sleep(struct dvb_frontend *fe) fe 2271 drivers/media/dvb-frontends/stv0367.c return stv0367cab_standby(fe, 1); fe 2274 drivers/media/dvb-frontends/stv0367.c static int stv0367cab_init(struct dvb_frontend *fe) fe 2276 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 2319 drivers/media/dvb-frontends/stv0367.c cab_state->mclk = stv0367cab_get_mclk(fe, state->config->xtal); fe 2320 drivers/media/dvb-frontends/stv0367.c cab_state->adc_clk = stv0367cab_get_adc_freq(fe, state->config->xtal); fe 2426 drivers/media/dvb-frontends/stv0367.c tuner_lock = stv0367cab_tuner_get_status(fe); fe 2540 drivers/media/dvb-frontends/stv0367.c static int stv0367cab_set_frontend(struct dvb_frontend *fe) fe 2542 drivers/media/dvb-frontends/stv0367.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 2543 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 2573 drivers/media/dvb-frontends/stv0367.c stv0367cab_init(fe); fe 2576 drivers/media/dvb-frontends/stv0367.c if (fe->ops.tuner_ops.set_params) { fe 2577 drivers/media/dvb-frontends/stv0367.c if (state->use_i2c_gatectrl && fe->ops.i2c_gate_ctrl) fe 2578 drivers/media/dvb-frontends/stv0367.c fe->ops.i2c_gate_ctrl(fe, 1); fe 2579 drivers/media/dvb-frontends/stv0367.c fe->ops.tuner_ops.set_params(fe); fe 2580 drivers/media/dvb-frontends/stv0367.c if (state->use_i2c_gatectrl && fe->ops.i2c_gate_ctrl) fe 2581 drivers/media/dvb-frontends/stv0367.c fe->ops.i2c_gate_ctrl(fe, 0); fe 2599 drivers/media/dvb-frontends/stv0367.c static int stv0367cab_get_frontend(struct dvb_frontend *fe, fe 2602 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 2634 drivers/media/dvb-frontends/stv0367.c p->frequency = stv0367_get_tuner_freq(fe); fe 2666 drivers/media/dvb-frontends/stv0367.c static int stv0367cab_read_ber(struct dvb_frontend *fe, u32 *ber) fe 2668 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 2719 drivers/media/dvb-frontends/stv0367.c static int stv0367cab_read_strength(struct dvb_frontend *fe, u16 *strength) fe 2721 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 2737 drivers/media/dvb-frontends/stv0367.c static int stv0367cab_snr_power(struct dvb_frontend *fe) fe 2739 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 2765 drivers/media/dvb-frontends/stv0367.c static int stv0367cab_snr_readreg(struct dvb_frontend *fe, int avgdiv) fe 2767 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 2782 drivers/media/dvb-frontends/stv0367.c static int stv0367cab_read_snr(struct dvb_frontend *fe, u16 *snr) fe 2784 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 2789 drivers/media/dvb-frontends/stv0367.c power = stv0367cab_snr_power(fe); fe 2790 drivers/media/dvb-frontends/stv0367.c regval = stv0367cab_snr_readreg(fe, 1); fe 2837 drivers/media/dvb-frontends/stv0367.c static int stv0367cab_read_ucblcks(struct dvb_frontend *fe, u32 *ucblocks) fe 2839 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 2903 drivers/media/dvb-frontends/stv0367.c state->fe.ops = stv0367cab_ops; fe 2904 drivers/media/dvb-frontends/stv0367.c state->fe.demodulator_priv = state; fe 2919 drivers/media/dvb-frontends/stv0367.c return &state->fe; fe 2989 drivers/media/dvb-frontends/stv0367.c state->cab_state->mclk = stv0367cab_get_mclk(&state->fe, fe 2991 drivers/media/dvb-frontends/stv0367.c state->cab_state->adc_clk = stv0367cab_get_adc_freq(&state->fe, fe 2997 drivers/media/dvb-frontends/stv0367.c static int stv0367ddb_set_frontend(struct dvb_frontend *fe) fe 2999 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 3001 drivers/media/dvb-frontends/stv0367.c switch (fe->dtv_property_cache.delivery_system) { fe 3006 drivers/media/dvb-frontends/stv0367.c return stv0367ter_set_frontend(fe); fe 3012 drivers/media/dvb-frontends/stv0367.c if (fe->dtv_property_cache.symbol_rate == 0) { fe 3017 drivers/media/dvb-frontends/stv0367.c return stv0367cab_set_frontend(fe); fe 3025 drivers/media/dvb-frontends/stv0367.c static void stv0367ddb_read_signal_strength(struct dvb_frontend *fe) fe 3027 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 3028 drivers/media/dvb-frontends/stv0367.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 3044 drivers/media/dvb-frontends/stv0367.c static void stv0367ddb_read_snr(struct dvb_frontend *fe) fe 3046 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 3047 drivers/media/dvb-frontends/stv0367.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 3053 drivers/media/dvb-frontends/stv0367.c snrval = stv0367ter_snr_readreg(fe); fe 3056 drivers/media/dvb-frontends/stv0367.c cab_pwr = stv0367cab_snr_power(fe); fe 3057 drivers/media/dvb-frontends/stv0367.c regval = stv0367cab_snr_readreg(fe, 0); fe 3077 drivers/media/dvb-frontends/stv0367.c static void stv0367ddb_read_ucblocks(struct dvb_frontend *fe) fe 3079 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 3080 drivers/media/dvb-frontends/stv0367.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 3085 drivers/media/dvb-frontends/stv0367.c stv0367ter_read_ucblocks(fe, &ucblocks); fe 3088 drivers/media/dvb-frontends/stv0367.c stv0367cab_read_ucblcks(fe, &ucblocks); fe 3099 drivers/media/dvb-frontends/stv0367.c static int stv0367ddb_read_status(struct dvb_frontend *fe, fe 3102 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 3103 drivers/media/dvb-frontends/stv0367.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 3108 drivers/media/dvb-frontends/stv0367.c ret = stv0367ter_read_status(fe, status); fe 3111 drivers/media/dvb-frontends/stv0367.c ret = stv0367cab_read_status(fe, status); fe 3121 drivers/media/dvb-frontends/stv0367.c stv0367ddb_read_signal_strength(fe); fe 3125 drivers/media/dvb-frontends/stv0367.c stv0367ddb_read_snr(fe); fe 3131 drivers/media/dvb-frontends/stv0367.c stv0367ddb_read_ucblocks(fe); fe 3138 drivers/media/dvb-frontends/stv0367.c static int stv0367ddb_get_frontend(struct dvb_frontend *fe, fe 3141 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 3145 drivers/media/dvb-frontends/stv0367.c return stv0367ter_get_frontend(fe, p); fe 3147 drivers/media/dvb-frontends/stv0367.c return stv0367cab_get_frontend(fe, p); fe 3155 drivers/media/dvb-frontends/stv0367.c static int stv0367ddb_sleep(struct dvb_frontend *fe) fe 3157 drivers/media/dvb-frontends/stv0367.c struct stv0367_state *state = fe->demodulator_priv; fe 3162 drivers/media/dvb-frontends/stv0367.c return stv0367ter_sleep(fe); fe 3165 drivers/media/dvb-frontends/stv0367.c return stv0367cab_sleep(fe); fe 3176 drivers/media/dvb-frontends/stv0367.c struct dtv_frontend_properties *p = &state->fe.dtv_property_cache; fe 3316 drivers/media/dvb-frontends/stv0367.c state->fe.ops = stv0367ddb_ops; fe 3317 drivers/media/dvb-frontends/stv0367.c state->fe.demodulator_priv = state; fe 3334 drivers/media/dvb-frontends/stv0367.c state->fe.ops.info.name, state->chip_id, fe 3339 drivers/media/dvb-frontends/stv0367.c return &state->fe; fe 41 drivers/media/dvb-frontends/stv0900.h int (*set_ts_params)(struct dvb_frontend *fe, int is_punctured); fe 43 drivers/media/dvb-frontends/stv0900.h void (*set_lock_led)(struct dvb_frontend *fe, int offon); fe 347 drivers/media/dvb-frontends/stv0900_core.c static int stv0900_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 349 drivers/media/dvb-frontends/stv0900_core.c struct stv0900_state *state = fe->demodulator_priv; fe 507 drivers/media/dvb-frontends/stv0900_core.c void stv0900_set_tuner(struct dvb_frontend *fe, u32 frequency, fe 513 drivers/media/dvb-frontends/stv0900_core.c frontend_ops = &fe->ops; fe 517 drivers/media/dvb-frontends/stv0900_core.c if ((tuner_ops->set_frequency(fe, frequency)) < 0) fe 525 drivers/media/dvb-frontends/stv0900_core.c if ((tuner_ops->set_bandwidth(fe, bandwidth)) < 0) fe 533 drivers/media/dvb-frontends/stv0900_core.c void stv0900_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth) fe 538 drivers/media/dvb-frontends/stv0900_core.c frontend_ops = &fe->ops; fe 542 drivers/media/dvb-frontends/stv0900_core.c if ((tuner_ops->set_bandwidth(fe, bandwidth)) < 0) fe 639 drivers/media/dvb-frontends/stv0900_core.c static int stv0900_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 641 drivers/media/dvb-frontends/stv0900_core.c struct stv0900_state *state = fe->demodulator_priv; fe 658 drivers/media/dvb-frontends/stv0900_core.c static s32 stv0900_carr_get_quality(struct dvb_frontend *fe, fe 661 drivers/media/dvb-frontends/stv0900_core.c struct stv0900_state *state = fe->demodulator_priv; fe 675 drivers/media/dvb-frontends/stv0900_core.c if (stv0900_get_standard(fe, demod) == STV0900_DVBS2_STANDARD) { fe 725 drivers/media/dvb-frontends/stv0900_core.c static int stv0900_read_ucblocks(struct dvb_frontend *fe, u32 * ucblocks) fe 727 drivers/media/dvb-frontends/stv0900_core.c struct stv0900_state *state = fe->demodulator_priv; fe 734 drivers/media/dvb-frontends/stv0900_core.c if (stv0900_get_standard(fe, demod) == STV0900_DVBS2_STANDARD) { fe 752 drivers/media/dvb-frontends/stv0900_core.c static int stv0900_read_snr(struct dvb_frontend *fe, u16 *snr) fe 754 drivers/media/dvb-frontends/stv0900_core.c s32 snrlcl = stv0900_carr_get_quality(fe, fe 815 drivers/media/dvb-frontends/stv0900_core.c static int stv0900_read_ber(struct dvb_frontend *fe, u32 *ber) fe 817 drivers/media/dvb-frontends/stv0900_core.c struct stv0900_state *state = fe->demodulator_priv; fe 951 drivers/media/dvb-frontends/stv0900_core.c static enum dvbfe_algo stv0900_frontend_algo(struct dvb_frontend *fe) fe 1331 drivers/media/dvb-frontends/stv0900_core.c static enum fe_stv0900_error stv0900_init_internal(struct dvb_frontend *fe, fe 1334 drivers/media/dvb-frontends/stv0900_core.c struct stv0900_state *state = fe->demodulator_priv; fe 1562 drivers/media/dvb-frontends/stv0900_core.c static enum dvbfe_search stv0900_search(struct dvb_frontend *fe) fe 1564 drivers/media/dvb-frontends/stv0900_core.c struct stv0900_state *state = fe->demodulator_priv; fe 1567 drivers/media/dvb-frontends/stv0900_core.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1580 drivers/media/dvb-frontends/stv0900_core.c state->config->set_ts_params(fe, 0); fe 1604 drivers/media/dvb-frontends/stv0900_core.c if ((stv0900_algo(fe) == STV0900_RANGEOK) && fe 1640 drivers/media/dvb-frontends/stv0900_core.c static int stv0900_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 1642 drivers/media/dvb-frontends/stv0900_core.c struct stv0900_state *state = fe->demodulator_priv; fe 1653 drivers/media/dvb-frontends/stv0900_core.c state->config->set_lock_led(fe, 1); fe 1657 drivers/media/dvb-frontends/stv0900_core.c state->config->set_lock_led(fe, 0); fe 1664 drivers/media/dvb-frontends/stv0900_core.c static int stv0900_stop_ts(struct dvb_frontend *fe, int stop_ts) fe 1667 drivers/media/dvb-frontends/stv0900_core.c struct stv0900_state *state = fe->demodulator_priv; fe 1679 drivers/media/dvb-frontends/stv0900_core.c static int stv0900_diseqc_init(struct dvb_frontend *fe) fe 1681 drivers/media/dvb-frontends/stv0900_core.c struct stv0900_state *state = fe->demodulator_priv; fe 1692 drivers/media/dvb-frontends/stv0900_core.c static int stv0900_init(struct dvb_frontend *fe) fe 1696 drivers/media/dvb-frontends/stv0900_core.c stv0900_stop_ts(fe, 1); fe 1697 drivers/media/dvb-frontends/stv0900_core.c stv0900_diseqc_init(fe); fe 1725 drivers/media/dvb-frontends/stv0900_core.c static int stv0900_send_master_cmd(struct dvb_frontend *fe, fe 1728 drivers/media/dvb-frontends/stv0900_core.c struct stv0900_state *state = fe->demodulator_priv; fe 1736 drivers/media/dvb-frontends/stv0900_core.c static int stv0900_send_burst(struct dvb_frontend *fe, fe 1739 drivers/media/dvb-frontends/stv0900_core.c struct stv0900_state *state = fe->demodulator_priv; fe 1761 drivers/media/dvb-frontends/stv0900_core.c static int stv0900_recv_slave_reply(struct dvb_frontend *fe, fe 1764 drivers/media/dvb-frontends/stv0900_core.c struct stv0900_state *state = fe->demodulator_priv; fe 1786 drivers/media/dvb-frontends/stv0900_core.c static int stv0900_set_tone(struct dvb_frontend *fe, fe 1789 drivers/media/dvb-frontends/stv0900_core.c struct stv0900_state *state = fe->demodulator_priv; fe 1819 drivers/media/dvb-frontends/stv0900_core.c static void stv0900_release(struct dvb_frontend *fe) fe 1821 drivers/media/dvb-frontends/stv0900_core.c struct stv0900_state *state = fe->demodulator_priv; fe 1826 drivers/media/dvb-frontends/stv0900_core.c state->config->set_lock_led(fe, 0); fe 1839 drivers/media/dvb-frontends/stv0900_core.c static int stv0900_sleep(struct dvb_frontend *fe) fe 1841 drivers/media/dvb-frontends/stv0900_core.c struct stv0900_state *state = fe->demodulator_priv; fe 1846 drivers/media/dvb-frontends/stv0900_core.c state->config->set_lock_led(fe, 0); fe 1851 drivers/media/dvb-frontends/stv0900_core.c static int stv0900_get_frontend(struct dvb_frontend *fe, fe 1854 drivers/media/dvb-frontends/stv0900_core.c struct stv0900_state *state = fe->demodulator_priv; fe 356 drivers/media/dvb-frontends/stv0900_priv.h extern enum fe_stv0900_signal_type stv0900_algo(struct dvb_frontend *fe); fe 358 drivers/media/dvb-frontends/stv0900_priv.h extern void stv0900_set_tuner(struct dvb_frontend *fe, u32 frequency, fe 360 drivers/media/dvb-frontends/stv0900_priv.h extern void stv0900_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth); fe 383 drivers/media/dvb-frontends/stv0900_priv.h fe_stv0900_tracking_standard stv0900_get_standard(struct dvb_frontend *fe, fe 501 drivers/media/dvb-frontends/stv0900_sw.c static int stv0900_get_demod_cold_lock(struct dvb_frontend *fe, fe 504 drivers/media/dvb-frontends/stv0900_sw.c struct stv0900_state *state = fe->demodulator_priv; fe 599 drivers/media/dvb-frontends/stv0900_sw.c stv0900_set_tuner(fe, tuner_freq, intp->bw[d]); fe 807 drivers/media/dvb-frontends/stv0900_sw.c static void stv0900_track_optimization(struct dvb_frontend *fe) fe 809 drivers/media/dvb-frontends/stv0900_sw.c struct stv0900_state *state = fe->demodulator_priv; fe 975 drivers/media/dvb-frontends/stv0900_sw.c stv0900_set_bandwidth(fe, fe 1096 drivers/media/dvb-frontends/stv0900_sw.c enum fe_stv0900_tracking_standard stv0900_get_standard(struct dvb_frontend *fe, fe 1099 drivers/media/dvb-frontends/stv0900_sw.c struct stv0900_state *state = fe->demodulator_priv; fe 1150 drivers/media/dvb-frontends/stv0900_sw.c static u32 stv0900_get_tuner_freq(struct dvb_frontend *fe) fe 1156 drivers/media/dvb-frontends/stv0900_sw.c frontend_ops = &fe->ops; fe 1160 drivers/media/dvb-frontends/stv0900_sw.c if ((tuner_ops->get_frequency(fe, &freq)) < 0) fe 1171 drivers/media/dvb-frontends/stv0900_sw.c fe_stv0900_signal_type stv0900_get_signal_params(struct dvb_frontend *fe) fe 1173 drivers/media/dvb-frontends/stv0900_sw.c struct stv0900_state *state = fe->demodulator_priv; fe 1198 drivers/media/dvb-frontends/stv0900_sw.c result->standard = stv0900_get_standard(fe, d); fe 1202 drivers/media/dvb-frontends/stv0900_sw.c result->frequency = stv0900_get_tuner_freq(fe); fe 1246 drivers/media/dvb-frontends/stv0900_sw.c intp->freq[d] = stv0900_get_tuner_freq(fe); fe 1264 drivers/media/dvb-frontends/stv0900_sw.c fe_stv0900_signal_type stv0900_dvbs1_acq_workaround(struct dvb_frontend *fe) fe 1266 drivers/media/dvb-frontends/stv0900_sw.c struct stv0900_state *state = fe->demodulator_priv; fe 1299 drivers/media/dvb-frontends/stv0900_sw.c signal_type = stv0900_get_signal_params(fe); fe 1300 drivers/media/dvb-frontends/stv0900_sw.c stv0900_track_optimization(fe); fe 1311 drivers/media/dvb-frontends/stv0900_sw.c signal_type = stv0900_get_signal_params(fe); fe 1312 drivers/media/dvb-frontends/stv0900_sw.c stv0900_track_optimization(fe); fe 1385 drivers/media/dvb-frontends/stv0900_sw.c static u32 stv0900_search_srate_coarse(struct dvb_frontend *fe) fe 1387 drivers/media/dvb-frontends/stv0900_sw.c struct stv0900_state *state = fe->demodulator_priv; fe 1492 drivers/media/dvb-frontends/stv0900_sw.c stv0900_set_tuner(fe, tuner_freq, fe 1505 drivers/media/dvb-frontends/stv0900_sw.c static u32 stv0900_search_srate_fine(struct dvb_frontend *fe) fe 1507 drivers/media/dvb-frontends/stv0900_sw.c struct stv0900_state *state = fe->demodulator_priv; fe 1583 drivers/media/dvb-frontends/stv0900_sw.c static int stv0900_blind_search_algo(struct dvb_frontend *fe) fe 1585 drivers/media/dvb-frontends/stv0900_sw.c struct stv0900_state *state = fe->demodulator_priv; fe 1650 drivers/media/dvb-frontends/stv0900_sw.c if (stv0900_search_srate_coarse(fe) != 0) { fe 1651 drivers/media/dvb-frontends/stv0900_sw.c coarse_srate = stv0900_search_srate_fine(fe); fe 1804 drivers/media/dvb-frontends/stv0900_sw.c enum fe_stv0900_signal_type stv0900_algo(struct dvb_frontend *fe) fe 1806 drivers/media/dvb-frontends/stv0900_sw.c struct stv0900_state *state = fe->demodulator_priv; fe 1893 drivers/media/dvb-frontends/stv0900_sw.c stv0900_set_tuner(fe, intp->freq[demod], intp->bw[demod]); fe 1937 drivers/media/dvb-frontends/stv0900_sw.c lock = stv0900_blind_search_algo(fe); fe 1939 drivers/media/dvb-frontends/stv0900_sw.c lock = stv0900_get_demod_cold_lock(fe, demod_timeout); fe 1951 drivers/media/dvb-frontends/stv0900_sw.c signal_type = stv0900_get_signal_params(fe); fe 1954 drivers/media/dvb-frontends/stv0900_sw.c stv0900_track_optimization(fe); fe 1956 drivers/media/dvb-frontends/stv0900_sw.c if ((stv0900_get_standard(fe, 0) == fe 1958 drivers/media/dvb-frontends/stv0900_sw.c (stv0900_get_standard(fe, 1) == fe 2011 drivers/media/dvb-frontends/stv0900_sw.c signal_type = stv0900_dvbs1_acq_workaround(fe); fe 1680 drivers/media/dvb-frontends/stv090x.c struct dvb_frontend *fe = &state->frontend; fe 1798 drivers/media/dvb-frontends/stv090x.c if (state->config->tuner_set_frequency(fe, freq) < 0) fe 1803 drivers/media/dvb-frontends/stv090x.c if (state->config->tuner_set_bandwidth(fe, state->tuner_bw) < 0) fe 1816 drivers/media/dvb-frontends/stv090x.c if (state->config->tuner_get_status(fe, ®) < 0) fe 2129 drivers/media/dvb-frontends/stv090x.c struct dvb_frontend *fe = &state->frontend; fe 2188 drivers/media/dvb-frontends/stv090x.c if (state->config->tuner_set_frequency(fe, freq) < 0) fe 2193 drivers/media/dvb-frontends/stv090x.c if (state->config->tuner_set_bandwidth(fe, state->tuner_bw) < 0) fe 2206 drivers/media/dvb-frontends/stv090x.c if (state->config->tuner_get_status(fe, ®) < 0) fe 2585 drivers/media/dvb-frontends/stv090x.c struct dvb_frontend *fe = &state->frontend; fe 2608 drivers/media/dvb-frontends/stv090x.c if (state->config->tuner_get_frequency(fe, &state->frequency) < 0) fe 2636 drivers/media/dvb-frontends/stv090x.c if (state->config->tuner_get_frequency(fe, &state->frequency) < 0) fe 2836 drivers/media/dvb-frontends/stv090x.c struct dvb_frontend *fe = &state->frontend; fe 3019 drivers/media/dvb-frontends/stv090x.c if (state->config->tuner_set_bandwidth(fe, state->tuner_bw) < 0) fe 3164 drivers/media/dvb-frontends/stv090x.c struct dvb_frontend *fe = &state->frontend; fe 3257 drivers/media/dvb-frontends/stv090x.c if (state->config->tuner_set_bbgain(fe, reg) < 0) fe 3262 drivers/media/dvb-frontends/stv090x.c if (state->config->tuner_set_frequency(fe, state->frequency) < 0) fe 3267 drivers/media/dvb-frontends/stv090x.c if (state->config->tuner_set_bandwidth(fe, state->tuner_bw) < 0) fe 3279 drivers/media/dvb-frontends/stv090x.c if (state->config->tuner_get_status(fe, ®) < 0) fe 3463 drivers/media/dvb-frontends/stv090x.c static enum dvbfe_search stv090x_search(struct dvb_frontend *fe) fe 3465 drivers/media/dvb-frontends/stv090x.c struct stv090x_state *state = fe->demodulator_priv; fe 3466 drivers/media/dvb-frontends/stv090x.c struct dtv_frontend_properties *props = &fe->dtv_property_cache; fe 3512 drivers/media/dvb-frontends/stv090x.c static int stv090x_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 3514 drivers/media/dvb-frontends/stv090x.c struct stv090x_state *state = fe->demodulator_priv; fe 3564 drivers/media/dvb-frontends/stv090x.c static int stv090x_read_per(struct dvb_frontend *fe, u32 *per) fe 3566 drivers/media/dvb-frontends/stv090x.c struct stv090x_state *state = fe->demodulator_priv; fe 3572 drivers/media/dvb-frontends/stv090x.c stv090x_read_status(fe, &status); fe 3651 drivers/media/dvb-frontends/stv090x.c static int stv090x_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 3653 drivers/media/dvb-frontends/stv090x.c struct stv090x_state *state = fe->demodulator_priv; fe 3675 drivers/media/dvb-frontends/stv090x.c static int stv090x_read_cnr(struct dvb_frontend *fe, u16 *cnr) fe 3677 drivers/media/dvb-frontends/stv090x.c struct stv090x_state *state = fe->demodulator_priv; fe 3738 drivers/media/dvb-frontends/stv090x.c static int stv090x_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) fe 3740 drivers/media/dvb-frontends/stv090x.c struct stv090x_state *state = fe->demodulator_priv; fe 3772 drivers/media/dvb-frontends/stv090x.c static enum dvbfe_algo stv090x_frontend_algo(struct dvb_frontend *fe) fe 3777 drivers/media/dvb-frontends/stv090x.c static int stv090x_send_diseqc_msg(struct dvb_frontend *fe, struct dvb_diseqc_master_cmd *cmd) fe 3779 drivers/media/dvb-frontends/stv090x.c struct stv090x_state *state = fe->demodulator_priv; fe 3828 drivers/media/dvb-frontends/stv090x.c static int stv090x_send_diseqc_burst(struct dvb_frontend *fe, fe 3831 drivers/media/dvb-frontends/stv090x.c struct stv090x_state *state = fe->demodulator_priv; fe 3886 drivers/media/dvb-frontends/stv090x.c static int stv090x_recv_slave_reply(struct dvb_frontend *fe, struct dvb_diseqc_slave_reply *reply) fe 3888 drivers/media/dvb-frontends/stv090x.c struct stv090x_state *state = fe->demodulator_priv; fe 3907 drivers/media/dvb-frontends/stv090x.c static int stv090x_sleep(struct dvb_frontend *fe) fe 3909 drivers/media/dvb-frontends/stv090x.c struct stv090x_state *state = fe->demodulator_priv; fe 3917 drivers/media/dvb-frontends/stv090x.c if (state->config->tuner_sleep(fe) < 0) fe 4043 drivers/media/dvb-frontends/stv090x.c static int stv090x_wakeup(struct dvb_frontend *fe) fe 4045 drivers/media/dvb-frontends/stv090x.c struct stv090x_state *state = fe->demodulator_priv; fe 4140 drivers/media/dvb-frontends/stv090x.c static void stv090x_release(struct dvb_frontend *fe) fe 4142 drivers/media/dvb-frontends/stv090x.c struct stv090x_state *state = fe->demodulator_priv; fe 4685 drivers/media/dvb-frontends/stv090x.c static int stv090x_init(struct dvb_frontend *fe) fe 4687 drivers/media/dvb-frontends/stv090x.c struct stv090x_state *state = fe->demodulator_priv; fe 4699 drivers/media/dvb-frontends/stv090x.c if (config->tuner_init(fe) < 0) fe 4714 drivers/media/dvb-frontends/stv090x.c if (stv090x_wakeup(fe) < 0) { fe 4735 drivers/media/dvb-frontends/stv090x.c if (config->tuner_set_mode(fe, TUNER_WAKE) < 0) fe 4740 drivers/media/dvb-frontends/stv090x.c if (config->tuner_init(fe) < 0) fe 4764 drivers/media/dvb-frontends/stv090x.c static int stv090x_setup(struct dvb_frontend *fe) fe 4766 drivers/media/dvb-frontends/stv090x.c struct stv090x_state *state = fe->demodulator_priv; fe 4879 drivers/media/dvb-frontends/stv090x.c static int stv090x_set_gpio(struct dvb_frontend *fe, u8 gpio, u8 dir, fe 4882 drivers/media/dvb-frontends/stv090x.c struct stv090x_state *state = fe->demodulator_priv; fe 81 drivers/media/dvb-frontends/stv090x.h int (*tuner_init)(struct dvb_frontend *fe); fe 82 drivers/media/dvb-frontends/stv090x.h int (*tuner_sleep)(struct dvb_frontend *fe); fe 83 drivers/media/dvb-frontends/stv090x.h int (*tuner_set_mode)(struct dvb_frontend *fe, enum tuner_mode mode); fe 84 drivers/media/dvb-frontends/stv090x.h int (*tuner_set_frequency)(struct dvb_frontend *fe, u32 frequency); fe 85 drivers/media/dvb-frontends/stv090x.h int (*tuner_get_frequency)(struct dvb_frontend *fe, u32 *frequency); fe 86 drivers/media/dvb-frontends/stv090x.h int (*tuner_set_bandwidth)(struct dvb_frontend *fe, u32 bandwidth); fe 87 drivers/media/dvb-frontends/stv090x.h int (*tuner_get_bandwidth)(struct dvb_frontend *fe, u32 *bandwidth); fe 88 drivers/media/dvb-frontends/stv090x.h int (*tuner_set_bbgain)(struct dvb_frontend *fe, u32 gain); fe 89 drivers/media/dvb-frontends/stv090x.h int (*tuner_get_bbgain)(struct dvb_frontend *fe, u32 *gain); fe 90 drivers/media/dvb-frontends/stv090x.h int (*tuner_set_refclk)(struct dvb_frontend *fe, u32 refclk); fe 91 drivers/media/dvb-frontends/stv090x.h int (*tuner_get_status)(struct dvb_frontend *fe, u32 *status); fe 92 drivers/media/dvb-frontends/stv090x.h void (*tuner_i2c_lock)(struct dvb_frontend *fe, int lock); fe 95 drivers/media/dvb-frontends/stv090x.h int (*set_gpio)(struct dvb_frontend *fe, u8 gpio, u8 dir, u8 value, fe 92 drivers/media/dvb-frontends/stv0910.c struct dvb_frontend fe; fe 1232 drivers/media/dvb-frontends/stv0910.c static int gate_ctrl(struct dvb_frontend *fe, int enable) fe 1234 drivers/media/dvb-frontends/stv0910.c struct stv *state = fe->demodulator_priv; fe 1273 drivers/media/dvb-frontends/stv0910.c static void release(struct dvb_frontend *fe) fe 1275 drivers/media/dvb-frontends/stv0910.c struct stv *state = fe->demodulator_priv; fe 1285 drivers/media/dvb-frontends/stv0910.c static int set_parameters(struct dvb_frontend *fe) fe 1288 drivers/media/dvb-frontends/stv0910.c struct stv *state = fe->demodulator_priv; fe 1289 drivers/media/dvb-frontends/stv0910.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1292 drivers/media/dvb-frontends/stv0910.c if (fe->ops.tuner_ops.set_params) fe 1293 drivers/media/dvb-frontends/stv0910.c fe->ops.tuner_ops.set_params(fe); fe 1320 drivers/media/dvb-frontends/stv0910.c static int read_snr(struct dvb_frontend *fe) fe 1322 drivers/media/dvb-frontends/stv0910.c struct stv *state = fe->demodulator_priv; fe 1323 drivers/media/dvb-frontends/stv0910.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1336 drivers/media/dvb-frontends/stv0910.c static int read_ber(struct dvb_frontend *fe) fe 1338 drivers/media/dvb-frontends/stv0910.c struct stv *state = fe->demodulator_priv; fe 1339 drivers/media/dvb-frontends/stv0910.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1352 drivers/media/dvb-frontends/stv0910.c static void read_signal_strength(struct dvb_frontend *fe) fe 1354 drivers/media/dvb-frontends/stv0910.c struct stv *state = fe->demodulator_priv; fe 1355 drivers/media/dvb-frontends/stv0910.c struct dtv_frontend_properties *p = &state->fe.dtv_property_cache; fe 1379 drivers/media/dvb-frontends/stv0910.c static int read_status(struct dvb_frontend *fe, enum fe_status *status) fe 1381 drivers/media/dvb-frontends/stv0910.c struct stv *state = fe->demodulator_priv; fe 1382 drivers/media/dvb-frontends/stv0910.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1531 drivers/media/dvb-frontends/stv0910.c read_signal_strength(fe); fe 1535 drivers/media/dvb-frontends/stv0910.c read_snr(fe); fe 1541 drivers/media/dvb-frontends/stv0910.c read_ber(fe); fe 1550 drivers/media/dvb-frontends/stv0910.c static int get_frontend(struct dvb_frontend *fe, fe 1553 drivers/media/dvb-frontends/stv0910.c struct stv *state = fe->demodulator_priv; fe 1616 drivers/media/dvb-frontends/stv0910.c static int tune(struct dvb_frontend *fe, bool re_tune, fe 1620 drivers/media/dvb-frontends/stv0910.c struct stv *state = fe->demodulator_priv; fe 1624 drivers/media/dvb-frontends/stv0910.c r = set_parameters(fe); fe 1630 drivers/media/dvb-frontends/stv0910.c r = read_status(fe, status); fe 1641 drivers/media/dvb-frontends/stv0910.c static enum dvbfe_algo get_algo(struct dvb_frontend *fe) fe 1646 drivers/media/dvb-frontends/stv0910.c static int set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) fe 1648 drivers/media/dvb-frontends/stv0910.c struct stv *state = fe->demodulator_priv; fe 1677 drivers/media/dvb-frontends/stv0910.c static int send_master_cmd(struct dvb_frontend *fe, fe 1680 drivers/media/dvb-frontends/stv0910.c struct stv *state = fe->demodulator_priv; fe 1694 drivers/media/dvb-frontends/stv0910.c static int send_burst(struct dvb_frontend *fe, enum fe_sec_mini_cmd burst) fe 1696 drivers/media/dvb-frontends/stv0910.c struct stv *state = fe->demodulator_priv; fe 1716 drivers/media/dvb-frontends/stv0910.c static int sleep(struct dvb_frontend *fe) fe 1718 drivers/media/dvb-frontends/stv0910.c struct stv *state = fe->demodulator_priv; fe 1764 drivers/media/dvb-frontends/stv0910.c struct dtv_frontend_properties *p = &state->fe.dtv_property_cache; fe 1824 drivers/media/dvb-frontends/stv0910.c state->fe.ops = stv0910_ops; fe 1825 drivers/media/dvb-frontends/stv0910.c state->fe.demodulator_priv = state; fe 1829 drivers/media/dvb-frontends/stv0910.c state->fe.ops.info.name, cfg->adr, dev_name(&i2c->dev)); fe 1833 drivers/media/dvb-frontends/stv0910.c return &state->fe; fe 48 drivers/media/dvb-frontends/stv6110.c static void stv6110_release(struct dvb_frontend *fe) fe 50 drivers/media/dvb-frontends/stv6110.c kfree(fe->tuner_priv); fe 51 drivers/media/dvb-frontends/stv6110.c fe->tuner_priv = NULL; fe 54 drivers/media/dvb-frontends/stv6110.c static int stv6110_write_regs(struct dvb_frontend *fe, u8 buf[], fe 57 drivers/media/dvb-frontends/stv6110.c struct stv6110_priv *priv = fe->tuner_priv; fe 82 drivers/media/dvb-frontends/stv6110.c if (fe->ops.i2c_gate_ctrl) fe 83 drivers/media/dvb-frontends/stv6110.c fe->ops.i2c_gate_ctrl(fe, 1); fe 89 drivers/media/dvb-frontends/stv6110.c if (fe->ops.i2c_gate_ctrl) fe 90 drivers/media/dvb-frontends/stv6110.c fe->ops.i2c_gate_ctrl(fe, 0); fe 95 drivers/media/dvb-frontends/stv6110.c static int stv6110_read_regs(struct dvb_frontend *fe, u8 regs[], fe 98 drivers/media/dvb-frontends/stv6110.c struct stv6110_priv *priv = fe->tuner_priv; fe 115 drivers/media/dvb-frontends/stv6110.c if (fe->ops.i2c_gate_ctrl) fe 116 drivers/media/dvb-frontends/stv6110.c fe->ops.i2c_gate_ctrl(fe, 1); fe 122 drivers/media/dvb-frontends/stv6110.c if (fe->ops.i2c_gate_ctrl) fe 123 drivers/media/dvb-frontends/stv6110.c fe->ops.i2c_gate_ctrl(fe, 0); fe 130 drivers/media/dvb-frontends/stv6110.c static int stv6110_read_reg(struct dvb_frontend *fe, int start) fe 133 drivers/media/dvb-frontends/stv6110.c stv6110_read_regs(fe, buf, start, 1); fe 138 drivers/media/dvb-frontends/stv6110.c static int stv6110_sleep(struct dvb_frontend *fe) fe 141 drivers/media/dvb-frontends/stv6110.c stv6110_write_regs(fe, reg, 0, 1); fe 165 drivers/media/dvb-frontends/stv6110.c static int stv6110_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth) fe 167 drivers/media/dvb-frontends/stv6110.c struct stv6110_priv *priv = fe->tuner_priv; fe 182 drivers/media/dvb-frontends/stv6110.c stv6110_write_regs(fe, &priv->regs[RSTV6110_CTRL3], RSTV6110_CTRL3, 1); fe 185 drivers/media/dvb-frontends/stv6110.c stv6110_write_regs(fe, &priv->regs[RSTV6110_STAT1], RSTV6110_STAT1, 1); fe 190 drivers/media/dvb-frontends/stv6110.c ret = ((stv6110_read_reg(fe, RSTV6110_STAT1)) & 0x02); fe 197 drivers/media/dvb-frontends/stv6110.c stv6110_write_regs(fe, &priv->regs[RSTV6110_CTRL3], RSTV6110_CTRL3, 1); fe 201 drivers/media/dvb-frontends/stv6110.c static int stv6110_init(struct dvb_frontend *fe) fe 203 drivers/media/dvb-frontends/stv6110.c struct stv6110_priv *priv = fe->tuner_priv; fe 216 drivers/media/dvb-frontends/stv6110.c stv6110_write_regs(fe, &priv->regs[RSTV6110_CTRL1], RSTV6110_CTRL1, 8); fe 218 drivers/media/dvb-frontends/stv6110.c stv6110_set_bandwidth(fe, 72000000); fe 223 drivers/media/dvb-frontends/stv6110.c static int stv6110_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 225 drivers/media/dvb-frontends/stv6110.c struct stv6110_priv *priv = fe->tuner_priv; fe 229 drivers/media/dvb-frontends/stv6110.c stv6110_read_regs(fe, regs, 0, 8); fe 248 drivers/media/dvb-frontends/stv6110.c static int stv6110_set_frequency(struct dvb_frontend *fe, u32 frequency) fe 250 drivers/media/dvb-frontends/stv6110.c struct stv6110_priv *priv = fe->tuner_priv; fe 315 drivers/media/dvb-frontends/stv6110.c stv6110_write_regs(fe, &priv->regs[RSTV6110_CTRL1], fe 321 drivers/media/dvb-frontends/stv6110.c ret = ((stv6110_read_reg(fe, RSTV6110_STAT1)) & 0x04); fe 326 drivers/media/dvb-frontends/stv6110.c ret = stv6110_read_reg(fe, RSTV6110_STAT1); fe 327 drivers/media/dvb-frontends/stv6110.c stv6110_get_frequency(fe, &result_freq); fe 336 drivers/media/dvb-frontends/stv6110.c static int stv6110_set_params(struct dvb_frontend *fe) fe 338 drivers/media/dvb-frontends/stv6110.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 341 drivers/media/dvb-frontends/stv6110.c stv6110_set_frequency(fe, c->frequency); fe 342 drivers/media/dvb-frontends/stv6110.c stv6110_set_bandwidth(fe, bandwidth); fe 347 drivers/media/dvb-frontends/stv6110.c static int stv6110_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) fe 349 drivers/media/dvb-frontends/stv6110.c struct stv6110_priv *priv = fe->tuner_priv; fe 352 drivers/media/dvb-frontends/stv6110.c stv6110_read_regs(fe, regs, 0, 8); fe 379 drivers/media/dvb-frontends/stv6110.c struct dvb_frontend *stv6110_attach(struct dvb_frontend *fe, fe 400 drivers/media/dvb-frontends/stv6110.c if (fe->ops.i2c_gate_ctrl) fe 401 drivers/media/dvb-frontends/stv6110.c fe->ops.i2c_gate_ctrl(fe, 1); fe 405 drivers/media/dvb-frontends/stv6110.c if (fe->ops.i2c_gate_ctrl) fe 406 drivers/media/dvb-frontends/stv6110.c fe->ops.i2c_gate_ctrl(fe, 0); fe 423 drivers/media/dvb-frontends/stv6110.c memcpy(&fe->ops.tuner_ops, &stv6110_tuner_ops, fe 425 drivers/media/dvb-frontends/stv6110.c fe->tuner_priv = priv; fe 428 drivers/media/dvb-frontends/stv6110.c return fe; fe 35 drivers/media/dvb-frontends/stv6110.h extern struct dvb_frontend *stv6110_attach(struct dvb_frontend *fe, fe 39 drivers/media/dvb-frontends/stv6110.h static inline struct dvb_frontend *stv6110_attach(struct dvb_frontend *fe, fe 93 drivers/media/dvb-frontends/stv6110x.c static int stv6110x_init(struct dvb_frontend *fe) fe 95 drivers/media/dvb-frontends/stv6110x.c struct stv6110x_state *stv6110x = fe->tuner_priv; fe 108 drivers/media/dvb-frontends/stv6110x.c static int stv6110x_set_frequency(struct dvb_frontend *fe, u32 frequency) fe 110 drivers/media/dvb-frontends/stv6110x.c struct stv6110x_state *stv6110x = fe->tuner_priv; fe 169 drivers/media/dvb-frontends/stv6110x.c static int stv6110x_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 171 drivers/media/dvb-frontends/stv6110x.c struct stv6110x_state *stv6110x = fe->tuner_priv; fe 187 drivers/media/dvb-frontends/stv6110x.c static int stv6110x_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth) fe 189 drivers/media/dvb-frontends/stv6110x.c struct stv6110x_state *stv6110x = fe->tuner_priv; fe 221 drivers/media/dvb-frontends/stv6110x.c static int stv6110x_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) fe 223 drivers/media/dvb-frontends/stv6110x.c struct stv6110x_state *stv6110x = fe->tuner_priv; fe 231 drivers/media/dvb-frontends/stv6110x.c static int stv6110x_set_refclock(struct dvb_frontend *fe, u32 refclock) fe 233 drivers/media/dvb-frontends/stv6110x.c struct stv6110x_state *stv6110x = fe->tuner_priv; fe 257 drivers/media/dvb-frontends/stv6110x.c static int stv6110x_get_bbgain(struct dvb_frontend *fe, u32 *gain) fe 259 drivers/media/dvb-frontends/stv6110x.c struct stv6110x_state *stv6110x = fe->tuner_priv; fe 267 drivers/media/dvb-frontends/stv6110x.c static int stv6110x_set_bbgain(struct dvb_frontend *fe, u32 gain) fe 269 drivers/media/dvb-frontends/stv6110x.c struct stv6110x_state *stv6110x = fe->tuner_priv; fe 277 drivers/media/dvb-frontends/stv6110x.c static int stv6110x_set_mode(struct dvb_frontend *fe, enum tuner_mode mode) fe 279 drivers/media/dvb-frontends/stv6110x.c struct stv6110x_state *stv6110x = fe->tuner_priv; fe 305 drivers/media/dvb-frontends/stv6110x.c static int stv6110x_sleep(struct dvb_frontend *fe) fe 307 drivers/media/dvb-frontends/stv6110x.c if (fe->tuner_priv) fe 308 drivers/media/dvb-frontends/stv6110x.c return stv6110x_set_mode(fe, TUNER_SLEEP); fe 313 drivers/media/dvb-frontends/stv6110x.c static int stv6110x_get_status(struct dvb_frontend *fe, u32 *status) fe 315 drivers/media/dvb-frontends/stv6110x.c struct stv6110x_state *stv6110x = fe->tuner_priv; fe 328 drivers/media/dvb-frontends/stv6110x.c static void stv6110x_release(struct dvb_frontend *fe) fe 330 drivers/media/dvb-frontends/stv6110x.c struct stv6110x_state *stv6110x = fe->tuner_priv; fe 332 drivers/media/dvb-frontends/stv6110x.c fe->tuner_priv = NULL; fe 447 drivers/media/dvb-frontends/stv6110x.c const struct stv6110x_devctl *stv6110x_attach(struct dvb_frontend *fe, fe 457 drivers/media/dvb-frontends/stv6110x.c stv6110x->frontend = fe; fe 466 drivers/media/dvb-frontends/stv6110x.c fe->tuner_priv = stv6110x; fe 467 drivers/media/dvb-frontends/stv6110x.c fe->ops.tuner_ops = stv6110x_ops; fe 33 drivers/media/dvb-frontends/stv6110x.h int (*tuner_init) (struct dvb_frontend *fe); fe 34 drivers/media/dvb-frontends/stv6110x.h int (*tuner_sleep) (struct dvb_frontend *fe); fe 35 drivers/media/dvb-frontends/stv6110x.h int (*tuner_set_mode) (struct dvb_frontend *fe, enum tuner_mode mode); fe 36 drivers/media/dvb-frontends/stv6110x.h int (*tuner_set_frequency) (struct dvb_frontend *fe, u32 frequency); fe 37 drivers/media/dvb-frontends/stv6110x.h int (*tuner_get_frequency) (struct dvb_frontend *fe, u32 *frequency); fe 38 drivers/media/dvb-frontends/stv6110x.h int (*tuner_set_bandwidth) (struct dvb_frontend *fe, u32 bandwidth); fe 39 drivers/media/dvb-frontends/stv6110x.h int (*tuner_get_bandwidth) (struct dvb_frontend *fe, u32 *bandwidth); fe 40 drivers/media/dvb-frontends/stv6110x.h int (*tuner_set_bbgain) (struct dvb_frontend *fe, u32 gain); fe 41 drivers/media/dvb-frontends/stv6110x.h int (*tuner_get_bbgain) (struct dvb_frontend *fe, u32 *gain); fe 42 drivers/media/dvb-frontends/stv6110x.h int (*tuner_set_refclk) (struct dvb_frontend *fe, u32 refclk); fe 43 drivers/media/dvb-frontends/stv6110x.h int (*tuner_get_status) (struct dvb_frontend *fe, u32 *status); fe 49 drivers/media/dvb-frontends/stv6110x.h extern const struct stv6110x_devctl *stv6110x_attach(struct dvb_frontend *fe, fe 54 drivers/media/dvb-frontends/stv6110x.h static inline const struct stv6110x_devctl *stv6110x_attach(struct dvb_frontend *fe, fe 417 drivers/media/dvb-frontends/stv6111.c static void release(struct dvb_frontend *fe) fe 419 drivers/media/dvb-frontends/stv6111.c kfree(fe->tuner_priv); fe 420 drivers/media/dvb-frontends/stv6111.c fe->tuner_priv = NULL; fe 423 drivers/media/dvb-frontends/stv6111.c static int set_bandwidth(struct dvb_frontend *fe, u32 cutoff_frequency) fe 425 drivers/media/dvb-frontends/stv6111.c struct stv *state = fe->tuner_priv; fe 438 drivers/media/dvb-frontends/stv6111.c if (fe->ops.i2c_gate_ctrl) fe 439 drivers/media/dvb-frontends/stv6111.c stat = fe->ops.i2c_gate_ctrl(fe, 1); fe 444 drivers/media/dvb-frontends/stv6111.c if (fe->ops.i2c_gate_ctrl && !stat) fe 445 drivers/media/dvb-frontends/stv6111.c fe->ops.i2c_gate_ctrl(fe, 0); fe 519 drivers/media/dvb-frontends/stv6111.c static int set_params(struct dvb_frontend *fe) fe 521 drivers/media/dvb-frontends/stv6111.c struct stv *state = fe->tuner_priv; fe 522 drivers/media/dvb-frontends/stv6111.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 532 drivers/media/dvb-frontends/stv6111.c if (fe->ops.i2c_gate_ctrl) fe 533 drivers/media/dvb-frontends/stv6111.c stat = fe->ops.i2c_gate_ctrl(fe, 1); fe 536 drivers/media/dvb-frontends/stv6111.c if (fe->ops.i2c_gate_ctrl && !stat) fe 537 drivers/media/dvb-frontends/stv6111.c fe->ops.i2c_gate_ctrl(fe, 0); fe 574 drivers/media/dvb-frontends/stv6111.c static int get_rf_strength(struct dvb_frontend *fe, u16 *st) fe 576 drivers/media/dvb-frontends/stv6111.c struct stv *state = fe->tuner_priv; fe 585 drivers/media/dvb-frontends/stv6111.c if (fe->ops.i2c_gate_ctrl) fe 586 drivers/media/dvb-frontends/stv6111.c stat = fe->ops.i2c_gate_ctrl(fe, 1); fe 593 drivers/media/dvb-frontends/stv6111.c if (fe->ops.i2c_gate_ctrl && !stat) fe 594 drivers/media/dvb-frontends/stv6111.c fe->ops.i2c_gate_ctrl(fe, 0); fe 658 drivers/media/dvb-frontends/stv6111.c struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe, fe 670 drivers/media/dvb-frontends/stv6111.c memcpy(&fe->ops.tuner_ops, &tuner_ops, sizeof(struct dvb_tuner_ops)); fe 673 drivers/media/dvb-frontends/stv6111.c if (fe->ops.i2c_gate_ctrl) fe 674 drivers/media/dvb-frontends/stv6111.c gatestat = fe->ops.i2c_gate_ctrl(fe, 1); fe 677 drivers/media/dvb-frontends/stv6111.c if (fe->ops.i2c_gate_ctrl && !gatestat) fe 678 drivers/media/dvb-frontends/stv6111.c fe->ops.i2c_gate_ctrl(fe, 0); fe 683 drivers/media/dvb-frontends/stv6111.c fe->tuner_priv = state; fe 684 drivers/media/dvb-frontends/stv6111.c return fe; fe 22 drivers/media/dvb-frontends/stv6111.h struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe, fe 27 drivers/media/dvb-frontends/stv6111.h static inline struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe, fe 33 drivers/media/dvb-frontends/tc90522.c struct dvb_frontend fe; fe 98 drivers/media/dvb-frontends/tc90522.c static int tc90522s_set_tsid(struct dvb_frontend *fe) fe 105 drivers/media/dvb-frontends/tc90522.c set_tsid[0].val = (fe->dtv_property_cache.stream_id & 0xff00) >> 8; fe 106 drivers/media/dvb-frontends/tc90522.c set_tsid[1].val = fe->dtv_property_cache.stream_id & 0xff; fe 107 drivers/media/dvb-frontends/tc90522.c return reg_write(fe->demodulator_priv, set_tsid, ARRAY_SIZE(set_tsid)); fe 110 drivers/media/dvb-frontends/tc90522.c static int tc90522t_set_layers(struct dvb_frontend *fe) fe 115 drivers/media/dvb-frontends/tc90522.c laysel = ~fe->dtv_property_cache.isdbt_layer_enabled & 0x07; fe 119 drivers/media/dvb-frontends/tc90522.c return reg_write(fe->demodulator_priv, &rv, 1); fe 124 drivers/media/dvb-frontends/tc90522.c static int tc90522s_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 130 drivers/media/dvb-frontends/tc90522.c state = fe->demodulator_priv; fe 152 drivers/media/dvb-frontends/tc90522.c static int tc90522t_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 158 drivers/media/dvb-frontends/tc90522.c state = fe->demodulator_priv; fe 195 drivers/media/dvb-frontends/tc90522.c static int tc90522s_get_frontend(struct dvb_frontend *fe, fe 205 drivers/media/dvb-frontends/tc90522.c state = fe->demodulator_priv; fe 244 drivers/media/dvb-frontends/tc90522.c if (fe->ops.tuner_ops.get_rf_strength) { fe 247 drivers/media/dvb-frontends/tc90522.c fe->ops.tuner_ops.get_rf_strength(fe, &dummy); fe 330 drivers/media/dvb-frontends/tc90522.c static int tc90522t_get_frontend(struct dvb_frontend *fe, fe 340 drivers/media/dvb-frontends/tc90522.c state = fe->demodulator_priv; fe 402 drivers/media/dvb-frontends/tc90522.c if (fe->ops.tuner_ops.get_rf_strength) { fe 405 drivers/media/dvb-frontends/tc90522.c fe->ops.tuner_ops.get_rf_strength(fe, &dummy); fe 477 drivers/media/dvb-frontends/tc90522.c static int tc90522_set_frontend(struct dvb_frontend *fe) fe 482 drivers/media/dvb-frontends/tc90522.c state = fe->demodulator_priv; fe 484 drivers/media/dvb-frontends/tc90522.c if (fe->ops.tuner_ops.set_params) fe 485 drivers/media/dvb-frontends/tc90522.c ret = fe->ops.tuner_ops.set_params(fe); fe 491 drivers/media/dvb-frontends/tc90522.c if (fe->ops.delsys[0] == SYS_ISDBS) { fe 492 drivers/media/dvb-frontends/tc90522.c ret = tc90522s_set_tsid(fe); fe 497 drivers/media/dvb-frontends/tc90522.c ret = tc90522t_set_layers(fe); fe 509 drivers/media/dvb-frontends/tc90522.c __func__, fe->dvb->num, fe->id); fe 513 drivers/media/dvb-frontends/tc90522.c static int tc90522_get_tune_settings(struct dvb_frontend *fe, fe 516 drivers/media/dvb-frontends/tc90522.c if (fe->ops.delsys[0] == SYS_ISDBS) { fe 528 drivers/media/dvb-frontends/tc90522.c static int tc90522_set_if_agc(struct dvb_frontend *fe, bool on) fe 545 drivers/media/dvb-frontends/tc90522.c state = fe->demodulator_priv; fe 546 drivers/media/dvb-frontends/tc90522.c if (fe->ops.delsys[0] == SYS_ISDBS) { fe 565 drivers/media/dvb-frontends/tc90522.c static int tc90522_sleep(struct dvb_frontend *fe) fe 570 drivers/media/dvb-frontends/tc90522.c state = fe->demodulator_priv; fe 571 drivers/media/dvb-frontends/tc90522.c if (fe->ops.delsys[0] == SYS_ISDBS) fe 575 drivers/media/dvb-frontends/tc90522.c if (ret == 0 && fe->ops.set_lna && fe 576 drivers/media/dvb-frontends/tc90522.c fe->dtv_property_cache.lna == LNA_AUTO) { fe 577 drivers/media/dvb-frontends/tc90522.c fe->dtv_property_cache.lna = 0; fe 578 drivers/media/dvb-frontends/tc90522.c ret = fe->ops.set_lna(fe); fe 579 drivers/media/dvb-frontends/tc90522.c fe->dtv_property_cache.lna = LNA_AUTO; fe 585 drivers/media/dvb-frontends/tc90522.c __func__, fe->dvb->num, fe->id); fe 592 drivers/media/dvb-frontends/tc90522.c static int tc90522_init(struct dvb_frontend *fe) fe 603 drivers/media/dvb-frontends/tc90522.c state = fe->demodulator_priv; fe 604 drivers/media/dvb-frontends/tc90522.c if (fe->ops.delsys[0] == SYS_ISDBS) fe 608 drivers/media/dvb-frontends/tc90522.c if (ret == 0 && fe->ops.set_lna && fe 609 drivers/media/dvb-frontends/tc90522.c fe->dtv_property_cache.lna == LNA_AUTO) { fe 610 drivers/media/dvb-frontends/tc90522.c fe->dtv_property_cache.lna = 1; fe 611 drivers/media/dvb-frontends/tc90522.c ret = fe->ops.set_lna(fe); fe 612 drivers/media/dvb-frontends/tc90522.c fe->dtv_property_cache.lna = LNA_AUTO; fe 618 drivers/media/dvb-frontends/tc90522.c __func__, fe->dvb->num, fe->id); fe 623 drivers/media/dvb-frontends/tc90522.c if (fe->dtv_property_cache.isdbt_layer_enabled == 0) fe 624 drivers/media/dvb-frontends/tc90522.c fe->dtv_property_cache.isdbt_layer_enabled = 7; fe 625 drivers/media/dvb-frontends/tc90522.c return tc90522_set_if_agc(fe, true); fe 775 drivers/media/dvb-frontends/tc90522.c cfg->fe = state->cfg.fe = &state->fe; fe 777 drivers/media/dvb-frontends/tc90522.c memcpy(&state->fe.ops, ops, sizeof(*ops)); fe 778 drivers/media/dvb-frontends/tc90522.c state->fe.demodulator_priv = state; fe 27 drivers/media/dvb-frontends/tc90522.h struct dvb_frontend *fe; fe 189 drivers/media/dvb-frontends/tda10021.c static int tda10021_init (struct dvb_frontend *fe) fe 191 drivers/media/dvb-frontends/tda10021.c struct tda10021_state* state = fe->demodulator_priv; fe 194 drivers/media/dvb-frontends/tda10021.c dprintk("DVB: TDA10021(%d): init chip\n", fe->adapter->num); fe 218 drivers/media/dvb-frontends/tda10021.c static int tda10021_set_parameters(struct dvb_frontend *fe) fe 220 drivers/media/dvb-frontends/tda10021.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 225 drivers/media/dvb-frontends/tda10021.c struct tda10021_state* state = fe->demodulator_priv; fe 271 drivers/media/dvb-frontends/tda10021.c if (fe->ops.tuner_ops.set_params) { fe 272 drivers/media/dvb-frontends/tda10021.c fe->ops.tuner_ops.set_params(fe); fe 273 drivers/media/dvb-frontends/tda10021.c if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); fe 298 drivers/media/dvb-frontends/tda10021.c static int tda10021_read_status(struct dvb_frontend *fe, fe 301 drivers/media/dvb-frontends/tda10021.c struct tda10021_state* state = fe->demodulator_priv; fe 324 drivers/media/dvb-frontends/tda10021.c static int tda10021_read_ber(struct dvb_frontend* fe, u32* ber) fe 326 drivers/media/dvb-frontends/tda10021.c struct tda10021_state* state = fe->demodulator_priv; fe 338 drivers/media/dvb-frontends/tda10021.c static int tda10021_read_signal_strength(struct dvb_frontend* fe, u16* strength) fe 340 drivers/media/dvb-frontends/tda10021.c struct tda10021_state* state = fe->demodulator_priv; fe 352 drivers/media/dvb-frontends/tda10021.c static int tda10021_read_snr(struct dvb_frontend* fe, u16* snr) fe 354 drivers/media/dvb-frontends/tda10021.c struct tda10021_state* state = fe->demodulator_priv; fe 362 drivers/media/dvb-frontends/tda10021.c static int tda10021_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) fe 364 drivers/media/dvb-frontends/tda10021.c struct tda10021_state* state = fe->demodulator_priv; fe 377 drivers/media/dvb-frontends/tda10021.c static int tda10021_get_frontend(struct dvb_frontend *fe, fe 380 drivers/media/dvb-frontends/tda10021.c struct tda10021_state* state = fe->demodulator_priv; fe 406 drivers/media/dvb-frontends/tda10021.c static int tda10021_i2c_gate_ctrl(struct dvb_frontend* fe, int enable) fe 408 drivers/media/dvb-frontends/tda10021.c struct tda10021_state* state = fe->demodulator_priv; fe 418 drivers/media/dvb-frontends/tda10021.c static int tda10021_sleep(struct dvb_frontend* fe) fe 420 drivers/media/dvb-frontends/tda10021.c struct tda10021_state* state = fe->demodulator_priv; fe 428 drivers/media/dvb-frontends/tda10021.c static void tda10021_release(struct dvb_frontend* fe) fe 430 drivers/media/dvb-frontends/tda10021.c struct tda10021_state* state = fe->demodulator_priv; fe 217 drivers/media/dvb-frontends/tda10023.c static int tda10023_init (struct dvb_frontend *fe) fe 219 drivers/media/dvb-frontends/tda10023.c struct tda10023_state* state = fe->demodulator_priv; fe 271 drivers/media/dvb-frontends/tda10023.c dprintk("DVB: TDA10023(%d): init chip\n", fe->dvb->num); fe 291 drivers/media/dvb-frontends/tda10023.c static int tda10023_set_parameters(struct dvb_frontend *fe) fe 293 drivers/media/dvb-frontends/tda10023.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 297 drivers/media/dvb-frontends/tda10023.c struct tda10023_state* state = fe->demodulator_priv; fe 338 drivers/media/dvb-frontends/tda10023.c if (fe->ops.tuner_ops.set_params) { fe 339 drivers/media/dvb-frontends/tda10023.c fe->ops.tuner_ops.set_params(fe); fe 340 drivers/media/dvb-frontends/tda10023.c if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); fe 365 drivers/media/dvb-frontends/tda10023.c static int tda10023_read_status(struct dvb_frontend *fe, fe 368 drivers/media/dvb-frontends/tda10023.c struct tda10023_state* state = fe->demodulator_priv; fe 391 drivers/media/dvb-frontends/tda10023.c static int tda10023_read_ber(struct dvb_frontend* fe, u32* ber) fe 393 drivers/media/dvb-frontends/tda10023.c struct tda10023_state* state = fe->demodulator_priv; fe 404 drivers/media/dvb-frontends/tda10023.c static int tda10023_read_signal_strength(struct dvb_frontend* fe, u16* strength) fe 406 drivers/media/dvb-frontends/tda10023.c struct tda10023_state* state = fe->demodulator_priv; fe 420 drivers/media/dvb-frontends/tda10023.c static int tda10023_read_snr(struct dvb_frontend* fe, u16* snr) fe 422 drivers/media/dvb-frontends/tda10023.c struct tda10023_state* state = fe->demodulator_priv; fe 429 drivers/media/dvb-frontends/tda10023.c static int tda10023_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) fe 431 drivers/media/dvb-frontends/tda10023.c struct tda10023_state* state = fe->demodulator_priv; fe 446 drivers/media/dvb-frontends/tda10023.c static int tda10023_get_frontend(struct dvb_frontend *fe, fe 449 drivers/media/dvb-frontends/tda10023.c struct tda10023_state* state = fe->demodulator_priv; fe 477 drivers/media/dvb-frontends/tda10023.c static int tda10023_sleep(struct dvb_frontend* fe) fe 479 drivers/media/dvb-frontends/tda10023.c struct tda10023_state* state = fe->demodulator_priv; fe 487 drivers/media/dvb-frontends/tda10023.c static int tda10023_i2c_gate_ctrl(struct dvb_frontend* fe, int enable) fe 489 drivers/media/dvb-frontends/tda10023.c struct tda10023_state* state = fe->demodulator_priv; fe 499 drivers/media/dvb-frontends/tda10023.c static void tda10023_release(struct dvb_frontend* fe) fe 501 drivers/media/dvb-frontends/tda10023.c struct tda10023_state* state = fe->demodulator_priv; fe 291 drivers/media/dvb-frontends/tda10048.c static int tda10048_set_phy2(struct dvb_frontend *fe, u32 sample_freq_hz, fe 294 drivers/media/dvb-frontends/tda10048.c struct tda10048_state *state = fe->demodulator_priv; fe 327 drivers/media/dvb-frontends/tda10048.c static int tda10048_set_wref(struct dvb_frontend *fe, u32 sample_freq_hz, fe 330 drivers/media/dvb-frontends/tda10048.c struct tda10048_state *state = fe->demodulator_priv; fe 357 drivers/media/dvb-frontends/tda10048.c static int tda10048_set_invwref(struct dvb_frontend *fe, u32 sample_freq_hz, fe 360 drivers/media/dvb-frontends/tda10048.c struct tda10048_state *state = fe->demodulator_priv; fe 383 drivers/media/dvb-frontends/tda10048.c static int tda10048_set_bandwidth(struct dvb_frontend *fe, fe 386 drivers/media/dvb-frontends/tda10048.c struct tda10048_state *state = fe->demodulator_priv; fe 394 drivers/media/dvb-frontends/tda10048.c tda10048_set_wref(fe, state->sample_freq, bw); fe 395 drivers/media/dvb-frontends/tda10048.c tda10048_set_invwref(fe, state->sample_freq, bw); fe 407 drivers/media/dvb-frontends/tda10048.c static int tda10048_set_if(struct dvb_frontend *fe, u32 bw) fe 409 drivers/media/dvb-frontends/tda10048.c struct tda10048_state *state = fe->demodulator_priv; fe 460 drivers/media/dvb-frontends/tda10048.c tda10048_set_phy2(fe, state->sample_freq, state->freq_if_hz); fe 465 drivers/media/dvb-frontends/tda10048.c static int tda10048_firmware_upload(struct dvb_frontend *fe) fe 467 drivers/media/dvb-frontends/tda10048.c struct tda10048_state *state = fe->demodulator_priv; fe 560 drivers/media/dvb-frontends/tda10048.c static int tda10048_set_inversion(struct dvb_frontend *fe, int inversion) fe 562 drivers/media/dvb-frontends/tda10048.c struct tda10048_state *state = fe->demodulator_priv; fe 676 drivers/media/dvb-frontends/tda10048.c static int tda10048_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 678 drivers/media/dvb-frontends/tda10048.c struct tda10048_state *state = fe->demodulator_priv; fe 693 drivers/media/dvb-frontends/tda10048.c static int tda10048_output_mode(struct dvb_frontend *fe, int serial) fe 695 drivers/media/dvb-frontends/tda10048.c struct tda10048_state *state = fe->demodulator_priv; fe 715 drivers/media/dvb-frontends/tda10048.c static int tda10048_set_frontend(struct dvb_frontend *fe) fe 717 drivers/media/dvb-frontends/tda10048.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 718 drivers/media/dvb-frontends/tda10048.c struct tda10048_state *state = fe->demodulator_priv; fe 724 drivers/media/dvb-frontends/tda10048.c tda10048_set_if(fe, p->bandwidth_hz); fe 725 drivers/media/dvb-frontends/tda10048.c tda10048_set_bandwidth(fe, p->bandwidth_hz); fe 728 drivers/media/dvb-frontends/tda10048.c if (fe->ops.tuner_ops.set_params) { fe 730 drivers/media/dvb-frontends/tda10048.c if (fe->ops.i2c_gate_ctrl) fe 731 drivers/media/dvb-frontends/tda10048.c fe->ops.i2c_gate_ctrl(fe, 1); fe 733 drivers/media/dvb-frontends/tda10048.c fe->ops.tuner_ops.set_params(fe); fe 735 drivers/media/dvb-frontends/tda10048.c if (fe->ops.i2c_gate_ctrl) fe 736 drivers/media/dvb-frontends/tda10048.c fe->ops.i2c_gate_ctrl(fe, 0); fe 748 drivers/media/dvb-frontends/tda10048.c static int tda10048_init(struct dvb_frontend *fe) fe 750 drivers/media/dvb-frontends/tda10048.c struct tda10048_state *state = fe->demodulator_priv; fe 765 drivers/media/dvb-frontends/tda10048.c ret = tda10048_firmware_upload(fe); fe 768 drivers/media/dvb-frontends/tda10048.c tda10048_output_mode(fe, config->output_mode); fe 771 drivers/media/dvb-frontends/tda10048.c tda10048_set_inversion(fe, config->inversion); fe 774 drivers/media/dvb-frontends/tda10048.c tda10048_set_if(fe, 8000000); fe 775 drivers/media/dvb-frontends/tda10048.c tda10048_set_bandwidth(fe, 8000000); fe 778 drivers/media/dvb-frontends/tda10048.c tda10048_i2c_gate_ctrl(fe, 0); fe 783 drivers/media/dvb-frontends/tda10048.c static int tda10048_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 785 drivers/media/dvb-frontends/tda10048.c struct tda10048_state *state = fe->demodulator_priv; fe 809 drivers/media/dvb-frontends/tda10048.c static int tda10048_read_ber(struct dvb_frontend *fe, u32 *ber) fe 811 drivers/media/dvb-frontends/tda10048.c struct tda10048_state *state = fe->demodulator_priv; fe 837 drivers/media/dvb-frontends/tda10048.c static int tda10048_read_signal_strength(struct dvb_frontend *fe, fe 840 drivers/media/dvb-frontends/tda10048.c struct tda10048_state *state = fe->demodulator_priv; fe 984 drivers/media/dvb-frontends/tda10048.c static int tda10048_read_snr(struct dvb_frontend *fe, u16 *snr) fe 986 drivers/media/dvb-frontends/tda10048.c struct tda10048_state *state = fe->demodulator_priv; fe 1004 drivers/media/dvb-frontends/tda10048.c static int tda10048_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 1006 drivers/media/dvb-frontends/tda10048.c struct tda10048_state *state = fe->demodulator_priv; fe 1019 drivers/media/dvb-frontends/tda10048.c static int tda10048_get_frontend(struct dvb_frontend *fe, fe 1022 drivers/media/dvb-frontends/tda10048.c struct tda10048_state *state = fe->demodulator_priv; fe 1032 drivers/media/dvb-frontends/tda10048.c static int tda10048_get_tune_settings(struct dvb_frontend *fe, fe 1039 drivers/media/dvb-frontends/tda10048.c static void tda10048_release(struct dvb_frontend *fe) fe 1041 drivers/media/dvb-frontends/tda10048.c struct tda10048_state *state = fe->demodulator_priv; fe 1046 drivers/media/dvb-frontends/tda10048.c static void tda10048_establish_defaults(struct dvb_frontend *fe) fe 1048 drivers/media/dvb-frontends/tda10048.c struct tda10048_state *state = fe->demodulator_priv; fe 378 drivers/media/dvb-frontends/tda1004x.c static int tda10045_fwupload(struct dvb_frontend* fe) fe 380 drivers/media/dvb-frontends/tda1004x.c struct tda1004x_state* state = fe->demodulator_priv; fe 390 drivers/media/dvb-frontends/tda1004x.c ret = state->config->request_firmware(fe, &fw, TDA10045_DEFAULT_FIRMWARE); fe 418 drivers/media/dvb-frontends/tda1004x.c static void tda10046_init_plls(struct dvb_frontend* fe) fe 420 drivers/media/dvb-frontends/tda1004x.c struct tda1004x_state* state = fe->demodulator_priv; fe 472 drivers/media/dvb-frontends/tda1004x.c static int tda10046_fwupload(struct dvb_frontend* fe) fe 474 drivers/media/dvb-frontends/tda1004x.c struct tda1004x_state* state = fe->demodulator_priv; fe 497 drivers/media/dvb-frontends/tda1004x.c tda10046_init_plls(fe); fe 530 drivers/media/dvb-frontends/tda1004x.c ret = state->config->request_firmware(fe, &fw, TDA10046_DEFAULT_FIRMWARE); fe 533 drivers/media/dvb-frontends/tda1004x.c ret = state->config->request_firmware(fe, &fw, TDA10045_DEFAULT_FIRMWARE); fe 592 drivers/media/dvb-frontends/tda1004x.c static int tda1004x_write(struct dvb_frontend* fe, const u8 buf[], int len) fe 594 drivers/media/dvb-frontends/tda1004x.c struct tda1004x_state* state = fe->demodulator_priv; fe 602 drivers/media/dvb-frontends/tda1004x.c static int tda10045_init(struct dvb_frontend* fe) fe 604 drivers/media/dvb-frontends/tda1004x.c struct tda1004x_state* state = fe->demodulator_priv; fe 608 drivers/media/dvb-frontends/tda1004x.c if (tda10045_fwupload(fe)) { fe 633 drivers/media/dvb-frontends/tda1004x.c static int tda10046_init(struct dvb_frontend* fe) fe 635 drivers/media/dvb-frontends/tda1004x.c struct tda1004x_state* state = fe->demodulator_priv; fe 638 drivers/media/dvb-frontends/tda1004x.c if (tda10046_fwupload(fe)) { fe 691 drivers/media/dvb-frontends/tda1004x.c static int tda1004x_set_fe(struct dvb_frontend *fe) fe 693 drivers/media/dvb-frontends/tda1004x.c struct dtv_frontend_properties *fe_params = &fe->dtv_property_cache; fe 694 drivers/media/dvb-frontends/tda1004x.c struct tda1004x_state* state = fe->demodulator_priv; fe 711 drivers/media/dvb-frontends/tda1004x.c if (fe->ops.tuner_ops.set_params) { fe 712 drivers/media/dvb-frontends/tda1004x.c fe->ops.tuner_ops.set_params(fe); fe 713 drivers/media/dvb-frontends/tda1004x.c if (fe->ops.i2c_gate_ctrl) fe 714 drivers/media/dvb-frontends/tda1004x.c fe->ops.i2c_gate_ctrl(fe, 0); fe 889 drivers/media/dvb-frontends/tda1004x.c static int tda1004x_get_fe(struct dvb_frontend *fe, fe 892 drivers/media/dvb-frontends/tda1004x.c struct tda1004x_state* state = fe->demodulator_priv; fe 1004 drivers/media/dvb-frontends/tda1004x.c static int tda1004x_read_status(struct dvb_frontend *fe, fe 1007 drivers/media/dvb-frontends/tda1004x.c struct tda1004x_state* state = fe->demodulator_priv; fe 1075 drivers/media/dvb-frontends/tda1004x.c static int tda1004x_read_signal_strength(struct dvb_frontend* fe, u16 * signal) fe 1077 drivers/media/dvb-frontends/tda1004x.c struct tda1004x_state* state = fe->demodulator_priv; fe 1104 drivers/media/dvb-frontends/tda1004x.c static int tda1004x_read_snr(struct dvb_frontend* fe, u16 * snr) fe 1106 drivers/media/dvb-frontends/tda1004x.c struct tda1004x_state* state = fe->demodulator_priv; fe 1122 drivers/media/dvb-frontends/tda1004x.c static int tda1004x_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) fe 1124 drivers/media/dvb-frontends/tda1004x.c struct tda1004x_state* state = fe->demodulator_priv; fe 1159 drivers/media/dvb-frontends/tda1004x.c static int tda1004x_read_ber(struct dvb_frontend* fe, u32* ber) fe 1161 drivers/media/dvb-frontends/tda1004x.c struct tda1004x_state* state = fe->demodulator_priv; fe 1182 drivers/media/dvb-frontends/tda1004x.c static int tda1004x_sleep(struct dvb_frontend* fe) fe 1184 drivers/media/dvb-frontends/tda1004x.c struct tda1004x_state* state = fe->demodulator_priv; fe 1209 drivers/media/dvb-frontends/tda1004x.c static int tda1004x_i2c_gate_ctrl(struct dvb_frontend* fe, int enable) fe 1211 drivers/media/dvb-frontends/tda1004x.c struct tda1004x_state* state = fe->demodulator_priv; fe 1220 drivers/media/dvb-frontends/tda1004x.c static int tda1004x_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings* fesettings) fe 1229 drivers/media/dvb-frontends/tda1004x.c static void tda1004x_release(struct dvb_frontend* fe) fe 1231 drivers/media/dvb-frontends/tda1004x.c struct tda1004x_state *state = fe->demodulator_priv; fe 90 drivers/media/dvb-frontends/tda1004x.h int (*request_firmware)(struct dvb_frontend* fe, const struct firmware **fw, char* name); fe 128 drivers/media/dvb-frontends/tda1004x.h static inline int tda1004x_writereg(struct dvb_frontend *fe, u8 reg, u8 val) { fe 131 drivers/media/dvb-frontends/tda1004x.h if (fe->ops.write) fe 132 drivers/media/dvb-frontends/tda1004x.h r = fe->ops.write(fe, buf, 2); fe 88 drivers/media/dvb-frontends/tda10071.c static int tda10071_set_tone(struct dvb_frontend *fe, fe 91 drivers/media/dvb-frontends/tda10071.c struct tda10071_dev *dev = fe->demodulator_priv; fe 133 drivers/media/dvb-frontends/tda10071.c static int tda10071_set_voltage(struct dvb_frontend *fe, fe 136 drivers/media/dvb-frontends/tda10071.c struct tda10071_dev *dev = fe->demodulator_priv; fe 179 drivers/media/dvb-frontends/tda10071.c static int tda10071_diseqc_send_master_cmd(struct dvb_frontend *fe, fe 182 drivers/media/dvb-frontends/tda10071.c struct tda10071_dev *dev = fe->demodulator_priv; fe 239 drivers/media/dvb-frontends/tda10071.c static int tda10071_diseqc_recv_slave_reply(struct dvb_frontend *fe, fe 242 drivers/media/dvb-frontends/tda10071.c struct tda10071_dev *dev = fe->demodulator_priv; fe 299 drivers/media/dvb-frontends/tda10071.c static int tda10071_diseqc_send_burst(struct dvb_frontend *fe, fe 302 drivers/media/dvb-frontends/tda10071.c struct tda10071_dev *dev = fe->demodulator_priv; fe 363 drivers/media/dvb-frontends/tda10071.c static int tda10071_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 365 drivers/media/dvb-frontends/tda10071.c struct tda10071_dev *dev = fe->demodulator_priv; fe 367 drivers/media/dvb-frontends/tda10071.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 500 drivers/media/dvb-frontends/tda10071.c static int tda10071_read_snr(struct dvb_frontend *fe, u16 *snr) fe 502 drivers/media/dvb-frontends/tda10071.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 511 drivers/media/dvb-frontends/tda10071.c static int tda10071_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 513 drivers/media/dvb-frontends/tda10071.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 527 drivers/media/dvb-frontends/tda10071.c static int tda10071_read_ber(struct dvb_frontend *fe, u32 *ber) fe 529 drivers/media/dvb-frontends/tda10071.c struct tda10071_dev *dev = fe->demodulator_priv; fe 535 drivers/media/dvb-frontends/tda10071.c static int tda10071_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 537 drivers/media/dvb-frontends/tda10071.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 546 drivers/media/dvb-frontends/tda10071.c static int tda10071_set_frontend(struct dvb_frontend *fe) fe 548 drivers/media/dvb-frontends/tda10071.c struct tda10071_dev *dev = fe->demodulator_priv; fe 551 drivers/media/dvb-frontends/tda10071.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 691 drivers/media/dvb-frontends/tda10071.c static int tda10071_get_frontend(struct dvb_frontend *fe, fe 694 drivers/media/dvb-frontends/tda10071.c struct tda10071_dev *dev = fe->demodulator_priv; fe 749 drivers/media/dvb-frontends/tda10071.c static int tda10071_init(struct dvb_frontend *fe) fe 751 drivers/media/dvb-frontends/tda10071.c struct tda10071_dev *dev = fe->demodulator_priv; fe 753 drivers/media/dvb-frontends/tda10071.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1037 drivers/media/dvb-frontends/tda10071.c static int tda10071_sleep(struct dvb_frontend *fe) fe 1039 drivers/media/dvb-frontends/tda10071.c struct tda10071_dev *dev = fe->demodulator_priv; fe 1082 drivers/media/dvb-frontends/tda10071.c static int tda10071_get_tune_settings(struct dvb_frontend *fe, fe 1144 drivers/media/dvb-frontends/tda10071.c return &dev->fe; fe 1207 drivers/media/dvb-frontends/tda10071.c memcpy(&dev->fe.ops, &tda10071_ops, sizeof(struct dvb_frontend_ops)); fe 1208 drivers/media/dvb-frontends/tda10071.c dev->fe.demodulator_priv = dev; fe 17 drivers/media/dvb-frontends/tda10071_priv.h struct dvb_frontend fe; fe 93 drivers/media/dvb-frontends/tda10086.c static int tda10086_init(struct dvb_frontend* fe) fe 95 drivers/media/dvb-frontends/tda10086.c struct tda10086_state* state = fe->demodulator_priv; fe 175 drivers/media/dvb-frontends/tda10086.c static int tda10086_set_tone(struct dvb_frontend *fe, fe 178 drivers/media/dvb-frontends/tda10086.c struct tda10086_state* state = fe->demodulator_priv; fe 199 drivers/media/dvb-frontends/tda10086.c static int tda10086_send_master_cmd (struct dvb_frontend* fe, fe 202 drivers/media/dvb-frontends/tda10086.c struct tda10086_state* state = fe->demodulator_priv; fe 229 drivers/media/dvb-frontends/tda10086.c static int tda10086_send_burst(struct dvb_frontend *fe, fe 232 drivers/media/dvb-frontends/tda10086.c struct tda10086_state* state = fe->demodulator_priv; fe 401 drivers/media/dvb-frontends/tda10086.c static int tda10086_set_frontend(struct dvb_frontend *fe) fe 403 drivers/media/dvb-frontends/tda10086.c struct dtv_frontend_properties *fe_params = &fe->dtv_property_cache; fe 404 drivers/media/dvb-frontends/tda10086.c struct tda10086_state *state = fe->demodulator_priv; fe 416 drivers/media/dvb-frontends/tda10086.c if (fe->ops.tuner_ops.set_params) { fe 417 drivers/media/dvb-frontends/tda10086.c fe->ops.tuner_ops.set_params(fe); fe 418 drivers/media/dvb-frontends/tda10086.c if (fe->ops.i2c_gate_ctrl) fe 419 drivers/media/dvb-frontends/tda10086.c fe->ops.i2c_gate_ctrl(fe, 0); fe 421 drivers/media/dvb-frontends/tda10086.c if (fe->ops.tuner_ops.get_frequency) fe 422 drivers/media/dvb-frontends/tda10086.c fe->ops.tuner_ops.get_frequency(fe, &freq); fe 423 drivers/media/dvb-frontends/tda10086.c if (fe->ops.i2c_gate_ctrl) fe 424 drivers/media/dvb-frontends/tda10086.c fe->ops.i2c_gate_ctrl(fe, 0); fe 449 drivers/media/dvb-frontends/tda10086.c static int tda10086_get_frontend(struct dvb_frontend *fe, fe 452 drivers/media/dvb-frontends/tda10086.c struct tda10086_state* state = fe->demodulator_priv; fe 543 drivers/media/dvb-frontends/tda10086.c static int tda10086_read_status(struct dvb_frontend *fe, fe 546 drivers/media/dvb-frontends/tda10086.c struct tda10086_state* state = fe->demodulator_priv; fe 573 drivers/media/dvb-frontends/tda10086.c static int tda10086_read_signal_strength(struct dvb_frontend* fe, u16 * signal) fe 575 drivers/media/dvb-frontends/tda10086.c struct tda10086_state* state = fe->demodulator_priv; fe 586 drivers/media/dvb-frontends/tda10086.c static int tda10086_read_snr(struct dvb_frontend* fe, u16 * snr) fe 588 drivers/media/dvb-frontends/tda10086.c struct tda10086_state* state = fe->demodulator_priv; fe 599 drivers/media/dvb-frontends/tda10086.c static int tda10086_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) fe 601 drivers/media/dvb-frontends/tda10086.c struct tda10086_state* state = fe->demodulator_priv; fe 615 drivers/media/dvb-frontends/tda10086.c static int tda10086_read_ber(struct dvb_frontend* fe, u32* ber) fe 617 drivers/media/dvb-frontends/tda10086.c struct tda10086_state* state = fe->demodulator_priv; fe 630 drivers/media/dvb-frontends/tda10086.c static int tda10086_sleep(struct dvb_frontend* fe) fe 632 drivers/media/dvb-frontends/tda10086.c struct tda10086_state* state = fe->demodulator_priv; fe 641 drivers/media/dvb-frontends/tda10086.c static int tda10086_i2c_gate_ctrl(struct dvb_frontend* fe, int enable) fe 643 drivers/media/dvb-frontends/tda10086.c struct tda10086_state* state = fe->demodulator_priv; fe 656 drivers/media/dvb-frontends/tda10086.c static int tda10086_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings* fesettings) fe 658 drivers/media/dvb-frontends/tda10086.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 689 drivers/media/dvb-frontends/tda10086.c static void tda10086_release(struct dvb_frontend* fe) fe 691 drivers/media/dvb-frontends/tda10086.c struct tda10086_state *state = fe->demodulator_priv; fe 692 drivers/media/dvb-frontends/tda10086.c tda10086_sleep(fe); fe 1097 drivers/media/dvb-frontends/tda18271c2dd.c static int sleep(struct dvb_frontend *fe) fe 1099 drivers/media/dvb-frontends/tda18271c2dd.c struct tda_state *state = fe->tuner_priv; fe 1105 drivers/media/dvb-frontends/tda18271c2dd.c static int init(struct dvb_frontend *fe) fe 1110 drivers/media/dvb-frontends/tda18271c2dd.c static void release(struct dvb_frontend *fe) fe 1112 drivers/media/dvb-frontends/tda18271c2dd.c kfree(fe->tuner_priv); fe 1113 drivers/media/dvb-frontends/tda18271c2dd.c fe->tuner_priv = NULL; fe 1117 drivers/media/dvb-frontends/tda18271c2dd.c static int set_params(struct dvb_frontend *fe) fe 1119 drivers/media/dvb-frontends/tda18271c2dd.c struct tda_state *state = fe->tuner_priv; fe 1122 drivers/media/dvb-frontends/tda18271c2dd.c u32 bw = fe->dtv_property_cache.bandwidth_hz; fe 1123 drivers/media/dvb-frontends/tda18271c2dd.c u32 delsys = fe->dtv_property_cache.delivery_system; fe 1125 drivers/media/dvb-frontends/tda18271c2dd.c state->m_Frequency = fe->dtv_property_cache.frequency; fe 1185 drivers/media/dvb-frontends/tda18271c2dd.c static int get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 1187 drivers/media/dvb-frontends/tda18271c2dd.c struct tda_state *state = fe->tuner_priv; fe 1193 drivers/media/dvb-frontends/tda18271c2dd.c static int get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) fe 1216 drivers/media/dvb-frontends/tda18271c2dd.c struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe, fe 1225 drivers/media/dvb-frontends/tda18271c2dd.c fe->tuner_priv = state; fe 1228 drivers/media/dvb-frontends/tda18271c2dd.c memcpy(&fe->ops.tuner_ops, &tuner_ops, sizeof(struct dvb_tuner_ops)); fe 1232 drivers/media/dvb-frontends/tda18271c2dd.c return fe; fe 6 drivers/media/dvb-frontends/tda18271c2dd.h struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe, fe 9 drivers/media/dvb-frontends/tda18271c2dd.h static inline struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe, fe 17 drivers/media/dvb-frontends/tda665x.c struct dvb_frontend *fe; fe 57 drivers/media/dvb-frontends/tda665x.c static int tda665x_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 59 drivers/media/dvb-frontends/tda665x.c struct tda665x_state *state = fe->tuner_priv; fe 66 drivers/media/dvb-frontends/tda665x.c static int tda665x_get_status(struct dvb_frontend *fe, u32 *status) fe 68 drivers/media/dvb-frontends/tda665x.c struct tda665x_state *state = fe->tuner_priv; fe 89 drivers/media/dvb-frontends/tda665x.c static int tda665x_set_frequency(struct dvb_frontend *fe, fe 92 drivers/media/dvb-frontends/tda665x.c struct tda665x_state *state = fe->tuner_priv; fe 160 drivers/media/dvb-frontends/tda665x.c err = tda665x_get_status(fe, &status); fe 179 drivers/media/dvb-frontends/tda665x.c static int tda665x_set_params(struct dvb_frontend *fe) fe 181 drivers/media/dvb-frontends/tda665x.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 183 drivers/media/dvb-frontends/tda665x.c tda665x_set_frequency(fe, c->frequency); fe 188 drivers/media/dvb-frontends/tda665x.c static void tda665x_release(struct dvb_frontend *fe) fe 190 drivers/media/dvb-frontends/tda665x.c struct tda665x_state *state = fe->tuner_priv; fe 192 drivers/media/dvb-frontends/tda665x.c fe->tuner_priv = NULL; fe 203 drivers/media/dvb-frontends/tda665x.c struct dvb_frontend *tda665x_attach(struct dvb_frontend *fe, fe 216 drivers/media/dvb-frontends/tda665x.c state->fe = fe; fe 217 drivers/media/dvb-frontends/tda665x.c fe->tuner_priv = state; fe 218 drivers/media/dvb-frontends/tda665x.c fe->ops.tuner_ops = tda665x_ops; fe 219 drivers/media/dvb-frontends/tda665x.c info = &fe->ops.tuner_ops.info; fe 228 drivers/media/dvb-frontends/tda665x.c return fe; fe 24 drivers/media/dvb-frontends/tda665x.h extern struct dvb_frontend *tda665x_attach(struct dvb_frontend *fe, fe 30 drivers/media/dvb-frontends/tda665x.h static inline struct dvb_frontend *tda665x_attach(struct dvb_frontend *fe, fe 219 drivers/media/dvb-frontends/tda8083.c static int tda8083_send_diseqc_msg(struct dvb_frontend *fe, fe 222 drivers/media/dvb-frontends/tda8083.c struct tda8083_state* state = fe->demodulator_priv; fe 237 drivers/media/dvb-frontends/tda8083.c static int tda8083_read_status(struct dvb_frontend *fe, fe 240 drivers/media/dvb-frontends/tda8083.c struct tda8083_state* state = fe->demodulator_priv; fe 268 drivers/media/dvb-frontends/tda8083.c static int tda8083_read_ber(struct dvb_frontend* fe, u32* ber) fe 270 drivers/media/dvb-frontends/tda8083.c struct tda8083_state* state = fe->demodulator_priv; fe 282 drivers/media/dvb-frontends/tda8083.c static int tda8083_read_signal_strength(struct dvb_frontend* fe, u16* strength) fe 284 drivers/media/dvb-frontends/tda8083.c struct tda8083_state* state = fe->demodulator_priv; fe 292 drivers/media/dvb-frontends/tda8083.c static int tda8083_read_snr(struct dvb_frontend* fe, u16* snr) fe 294 drivers/media/dvb-frontends/tda8083.c struct tda8083_state* state = fe->demodulator_priv; fe 302 drivers/media/dvb-frontends/tda8083.c static int tda8083_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) fe 304 drivers/media/dvb-frontends/tda8083.c struct tda8083_state* state = fe->demodulator_priv; fe 313 drivers/media/dvb-frontends/tda8083.c static int tda8083_set_frontend(struct dvb_frontend *fe) fe 315 drivers/media/dvb-frontends/tda8083.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 316 drivers/media/dvb-frontends/tda8083.c struct tda8083_state* state = fe->demodulator_priv; fe 318 drivers/media/dvb-frontends/tda8083.c if (fe->ops.tuner_ops.set_params) { fe 319 drivers/media/dvb-frontends/tda8083.c fe->ops.tuner_ops.set_params(fe); fe 320 drivers/media/dvb-frontends/tda8083.c if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); fe 333 drivers/media/dvb-frontends/tda8083.c static int tda8083_get_frontend(struct dvb_frontend *fe, fe 336 drivers/media/dvb-frontends/tda8083.c struct tda8083_state* state = fe->demodulator_priv; fe 348 drivers/media/dvb-frontends/tda8083.c static int tda8083_sleep(struct dvb_frontend* fe) fe 350 drivers/media/dvb-frontends/tda8083.c struct tda8083_state* state = fe->demodulator_priv; fe 356 drivers/media/dvb-frontends/tda8083.c static int tda8083_init(struct dvb_frontend* fe) fe 358 drivers/media/dvb-frontends/tda8083.c struct tda8083_state* state = fe->demodulator_priv; fe 370 drivers/media/dvb-frontends/tda8083.c static int tda8083_diseqc_send_burst(struct dvb_frontend *fe, fe 373 drivers/media/dvb-frontends/tda8083.c struct tda8083_state* state = fe->demodulator_priv; fe 382 drivers/media/dvb-frontends/tda8083.c static int tda8083_diseqc_set_tone(struct dvb_frontend *fe, fe 385 drivers/media/dvb-frontends/tda8083.c struct tda8083_state* state = fe->demodulator_priv; fe 394 drivers/media/dvb-frontends/tda8083.c static int tda8083_diseqc_set_voltage(struct dvb_frontend *fe, fe 397 drivers/media/dvb-frontends/tda8083.c struct tda8083_state* state = fe->demodulator_priv; fe 406 drivers/media/dvb-frontends/tda8083.c static void tda8083_release(struct dvb_frontend* fe) fe 408 drivers/media/dvb-frontends/tda8083.c struct tda8083_state* state = fe->demodulator_priv; fe 18 drivers/media/dvb-frontends/tda8261.c struct dvb_frontend *fe; fe 51 drivers/media/dvb-frontends/tda8261.c static int tda8261_get_status(struct dvb_frontend *fe, u32 *status) fe 53 drivers/media/dvb-frontends/tda8261.c struct tda8261_state *state = fe->tuner_priv; fe 74 drivers/media/dvb-frontends/tda8261.c static int tda8261_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 76 drivers/media/dvb-frontends/tda8261.c struct tda8261_state *state = fe->tuner_priv; fe 83 drivers/media/dvb-frontends/tda8261.c static int tda8261_set_params(struct dvb_frontend *fe) fe 85 drivers/media/dvb-frontends/tda8261.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 86 drivers/media/dvb-frontends/tda8261.c struct tda8261_state *state = fe->tuner_priv; fe 128 drivers/media/dvb-frontends/tda8261.c if ((err = tda8261_get_status(fe, &status)) < 0) { fe 143 drivers/media/dvb-frontends/tda8261.c static void tda8261_release(struct dvb_frontend *fe) fe 145 drivers/media/dvb-frontends/tda8261.c struct tda8261_state *state = fe->tuner_priv; fe 147 drivers/media/dvb-frontends/tda8261.c fe->tuner_priv = NULL; fe 165 drivers/media/dvb-frontends/tda8261.c struct dvb_frontend *tda8261_attach(struct dvb_frontend *fe, fe 176 drivers/media/dvb-frontends/tda8261.c state->fe = fe; fe 177 drivers/media/dvb-frontends/tda8261.c fe->tuner_priv = state; fe 178 drivers/media/dvb-frontends/tda8261.c fe->ops.tuner_ops = tda8261_ops; fe 180 drivers/media/dvb-frontends/tda8261.c fe->ops.tuner_ops.info.frequency_step_hz = div_tab[config->step_size] * kHz; fe 184 drivers/media/dvb-frontends/tda8261.c return fe; fe 27 drivers/media/dvb-frontends/tda8261.h extern struct dvb_frontend *tda8261_attach(struct dvb_frontend *fe, fe 33 drivers/media/dvb-frontends/tda8261.h static inline struct dvb_frontend *tda8261_attach(struct dvb_frontend *fe, fe 8 drivers/media/dvb-frontends/tda8261_cfg.h static int tda8261_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 10 drivers/media/dvb-frontends/tda8261_cfg.h struct dvb_frontend_ops *frontend_ops = &fe->ops; fe 15 drivers/media/dvb-frontends/tda8261_cfg.h err = tuner_ops->get_frequency(fe, frequency); fe 25 drivers/media/dvb-frontends/tda8261_cfg.h static int tda8261_set_frequency(struct dvb_frontend *fe, u32 frequency) fe 27 drivers/media/dvb-frontends/tda8261_cfg.h struct dvb_frontend_ops *frontend_ops = &fe->ops; fe 29 drivers/media/dvb-frontends/tda8261_cfg.h struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 33 drivers/media/dvb-frontends/tda8261_cfg.h err = tuner_ops->set_params(fe); fe 43 drivers/media/dvb-frontends/tda8261_cfg.h static int tda8261_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) fe 31 drivers/media/dvb-frontends/tda826x.c static void tda826x_release(struct dvb_frontend *fe) fe 33 drivers/media/dvb-frontends/tda826x.c kfree(fe->tuner_priv); fe 34 drivers/media/dvb-frontends/tda826x.c fe->tuner_priv = NULL; fe 37 drivers/media/dvb-frontends/tda826x.c static int tda826x_sleep(struct dvb_frontend *fe) fe 39 drivers/media/dvb-frontends/tda826x.c struct tda826x_priv *priv = fe->tuner_priv; fe 49 drivers/media/dvb-frontends/tda826x.c if (fe->ops.i2c_gate_ctrl) fe 50 drivers/media/dvb-frontends/tda826x.c fe->ops.i2c_gate_ctrl(fe, 1); fe 54 drivers/media/dvb-frontends/tda826x.c if (fe->ops.i2c_gate_ctrl) fe 55 drivers/media/dvb-frontends/tda826x.c fe->ops.i2c_gate_ctrl(fe, 0); fe 60 drivers/media/dvb-frontends/tda826x.c static int tda826x_set_params(struct dvb_frontend *fe) fe 62 drivers/media/dvb-frontends/tda826x.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 63 drivers/media/dvb-frontends/tda826x.c struct tda826x_priv *priv = fe->tuner_priv; fe 98 drivers/media/dvb-frontends/tda826x.c if (fe->ops.i2c_gate_ctrl) fe 99 drivers/media/dvb-frontends/tda826x.c fe->ops.i2c_gate_ctrl(fe, 1); fe 103 drivers/media/dvb-frontends/tda826x.c if (fe->ops.i2c_gate_ctrl) fe 104 drivers/media/dvb-frontends/tda826x.c fe->ops.i2c_gate_ctrl(fe, 0); fe 111 drivers/media/dvb-frontends/tda826x.c static int tda826x_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 113 drivers/media/dvb-frontends/tda826x.c struct tda826x_priv *priv = fe->tuner_priv; fe 130 drivers/media/dvb-frontends/tda826x.c struct dvb_frontend *tda826x_attach(struct dvb_frontend *fe, int addr, struct i2c_adapter *i2c, int has_loopthrough) fe 142 drivers/media/dvb-frontends/tda826x.c if (fe->ops.i2c_gate_ctrl) fe 143 drivers/media/dvb-frontends/tda826x.c fe->ops.i2c_gate_ctrl(fe, 1); fe 145 drivers/media/dvb-frontends/tda826x.c if (fe->ops.i2c_gate_ctrl) fe 146 drivers/media/dvb-frontends/tda826x.c fe->ops.i2c_gate_ctrl(fe, 0); fe 161 drivers/media/dvb-frontends/tda826x.c memcpy(&fe->ops.tuner_ops, &tda826x_tuner_ops, sizeof(struct dvb_tuner_ops)); fe 163 drivers/media/dvb-frontends/tda826x.c fe->tuner_priv = priv; fe 165 drivers/media/dvb-frontends/tda826x.c return fe; fe 27 drivers/media/dvb-frontends/tda826x.h extern struct dvb_frontend* tda826x_attach(struct dvb_frontend *fe, int addr, fe 31 drivers/media/dvb-frontends/tda826x.h static inline struct dvb_frontend* tda826x_attach(struct dvb_frontend *fe, fe 15 drivers/media/dvb-frontends/tdhd1.h static int alps_tdhd1_204_request_firmware(struct dvb_frontend *fe, const struct firmware **fw, char *name); fe 27 drivers/media/dvb-frontends/tdhd1.h static int alps_tdhd1_204a_tuner_set_params(struct dvb_frontend *fe) fe 29 drivers/media/dvb-frontends/tdhd1.h struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 30 drivers/media/dvb-frontends/tdhd1.h struct i2c_adapter *i2c = fe->tuner_priv; fe 50 drivers/media/dvb-frontends/tdhd1.h if (fe->ops.i2c_gate_ctrl) fe 51 drivers/media/dvb-frontends/tdhd1.h fe->ops.i2c_gate_ctrl(fe, 1); fe 23 drivers/media/dvb-frontends/ts2020.c struct dvb_frontend *fe; fe 25 drivers/media/dvb-frontends/ts2020.c int (*get_agc_pwm)(struct dvb_frontend *fe, u8 *_agc_pwm); fe 47 drivers/media/dvb-frontends/ts2020.c static void ts2020_release(struct dvb_frontend *fe) fe 49 drivers/media/dvb-frontends/ts2020.c struct ts2020_priv *priv = fe->tuner_priv; fe 57 drivers/media/dvb-frontends/ts2020.c static int ts2020_sleep(struct dvb_frontend *fe) fe 59 drivers/media/dvb-frontends/ts2020.c struct ts2020_priv *priv = fe->tuner_priv; fe 78 drivers/media/dvb-frontends/ts2020.c static int ts2020_init(struct dvb_frontend *fe) fe 80 drivers/media/dvb-frontends/ts2020.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 81 drivers/media/dvb-frontends/ts2020.c struct ts2020_priv *priv = fe->tuner_priv; fe 152 drivers/media/dvb-frontends/ts2020.c static int ts2020_tuner_gate_ctrl(struct dvb_frontend *fe, u8 offset) fe 154 drivers/media/dvb-frontends/ts2020.c struct ts2020_priv *priv = fe->tuner_priv; fe 164 drivers/media/dvb-frontends/ts2020.c static int ts2020_set_tuner_rf(struct dvb_frontend *fe) fe 166 drivers/media/dvb-frontends/ts2020.c struct ts2020_priv *dev = fe->tuner_priv; fe 183 drivers/media/dvb-frontends/ts2020.c ret = ts2020_tuner_gate_ctrl(fe, 0x08); fe 188 drivers/media/dvb-frontends/ts2020.c static int ts2020_set_params(struct dvb_frontend *fe) fe 190 drivers/media/dvb-frontends/ts2020.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 191 drivers/media/dvb-frontends/ts2020.c struct ts2020_priv *priv = fe->tuner_priv; fe 245 drivers/media/dvb-frontends/ts2020.c ret |= ts2020_tuner_gate_ctrl(fe, 0x10); fe 249 drivers/media/dvb-frontends/ts2020.c ret |= ts2020_tuner_gate_ctrl(fe, 0x08); fe 253 drivers/media/dvb-frontends/ts2020.c ret |= ts2020_set_tuner_rf(fe); fe 257 drivers/media/dvb-frontends/ts2020.c ret |= ts2020_tuner_gate_ctrl(fe, 0x04); fe 305 drivers/media/dvb-frontends/ts2020.c ret |= ts2020_tuner_gate_ctrl(fe, 0x04); fe 307 drivers/media/dvb-frontends/ts2020.c ret |= ts2020_tuner_gate_ctrl(fe, 0x01); fe 314 drivers/media/dvb-frontends/ts2020.c static int ts2020_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 316 drivers/media/dvb-frontends/ts2020.c struct ts2020_priv *priv = fe->tuner_priv; fe 322 drivers/media/dvb-frontends/ts2020.c static int ts2020_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 336 drivers/media/dvb-frontends/ts2020.c static int ts2020_read_tuner_gain(struct dvb_frontend *fe, unsigned v_agc, fe 339 drivers/media/dvb-frontends/ts2020.c struct ts2020_priv *priv = fe->tuner_priv; fe 396 drivers/media/dvb-frontends/ts2020.c static int ts2020_get_tuner_gain(struct dvb_frontend *fe, __s64 *_gain) fe 398 drivers/media/dvb-frontends/ts2020.c struct ts2020_priv *priv = fe->tuner_priv; fe 404 drivers/media/dvb-frontends/ts2020.c ret = priv->get_agc_pwm(fe, &agc_pwm); fe 421 drivers/media/dvb-frontends/ts2020.c return ts2020_read_tuner_gain(fe, v_agc, _gain); fe 432 drivers/media/dvb-frontends/ts2020.c struct dtv_frontend_properties *c = &priv->fe->dtv_property_cache; fe 437 drivers/media/dvb-frontends/ts2020.c ret = ts2020_get_tuner_gain(priv->fe, &c->strength.stat[0].svalue); fe 453 drivers/media/dvb-frontends/ts2020.c static int ts2020_read_signal_strength(struct dvb_frontend *fe, fe 456 drivers/media/dvb-frontends/ts2020.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 457 drivers/media/dvb-frontends/ts2020.c struct ts2020_priv *priv = fe->tuner_priv; fe 504 drivers/media/dvb-frontends/ts2020.c struct dvb_frontend *ts2020_attach(struct dvb_frontend *fe, fe 515 drivers/media/dvb-frontends/ts2020.c pdata.fe = fe; fe 526 drivers/media/dvb-frontends/ts2020.c return fe; fe 540 drivers/media/dvb-frontends/ts2020.c if (dev->fe->ops.i2c_gate_ctrl) fe 541 drivers/media/dvb-frontends/ts2020.c dev->fe->ops.i2c_gate_ctrl(dev->fe, 1); fe 548 drivers/media/dvb-frontends/ts2020.c if (dev->fe->ops.i2c_gate_ctrl) fe 549 drivers/media/dvb-frontends/ts2020.c dev->fe->ops.i2c_gate_ctrl(dev->fe, 0); fe 557 drivers/media/dvb-frontends/ts2020.c struct dvb_frontend *fe = pdata->fe; fe 590 drivers/media/dvb-frontends/ts2020.c dev->fe = fe; fe 592 drivers/media/dvb-frontends/ts2020.c fe->tuner_priv = dev; fe 683 drivers/media/dvb-frontends/ts2020.c memcpy(&fe->ops.tuner_ops, &ts2020_tuner_ops, fe 686 drivers/media/dvb-frontends/ts2020.c fe->ops.tuner_ops.release = NULL; fe 44 drivers/media/dvb-frontends/ts2020.h struct dvb_frontend *fe; fe 54 drivers/media/dvb-frontends/ts2020.h int (*get_agc_pwm)(struct dvb_frontend *fe, u8 *_agc_pwm); fe 60 drivers/media/dvb-frontends/ts2020.h struct dvb_frontend *fe, fe 65 drivers/media/dvb-frontends/ts2020.h struct dvb_frontend *fe, fe 33 drivers/media/dvb-frontends/tua6100.c static void tua6100_release(struct dvb_frontend *fe) fe 35 drivers/media/dvb-frontends/tua6100.c kfree(fe->tuner_priv); fe 36 drivers/media/dvb-frontends/tua6100.c fe->tuner_priv = NULL; fe 39 drivers/media/dvb-frontends/tua6100.c static int tua6100_sleep(struct dvb_frontend *fe) fe 41 drivers/media/dvb-frontends/tua6100.c struct tua6100_priv *priv = fe->tuner_priv; fe 46 drivers/media/dvb-frontends/tua6100.c if (fe->ops.i2c_gate_ctrl) fe 47 drivers/media/dvb-frontends/tua6100.c fe->ops.i2c_gate_ctrl(fe, 1); fe 51 drivers/media/dvb-frontends/tua6100.c if (fe->ops.i2c_gate_ctrl) fe 52 drivers/media/dvb-frontends/tua6100.c fe->ops.i2c_gate_ctrl(fe, 0); fe 57 drivers/media/dvb-frontends/tua6100.c static int tua6100_set_params(struct dvb_frontend *fe) fe 59 drivers/media/dvb-frontends/tua6100.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 60 drivers/media/dvb-frontends/tua6100.c struct tua6100_priv *priv = fe->tuner_priv; fe 119 drivers/media/dvb-frontends/tua6100.c if (fe->ops.i2c_gate_ctrl) fe 120 drivers/media/dvb-frontends/tua6100.c fe->ops.i2c_gate_ctrl(fe, 1); fe 124 drivers/media/dvb-frontends/tua6100.c if (fe->ops.i2c_gate_ctrl) fe 125 drivers/media/dvb-frontends/tua6100.c fe->ops.i2c_gate_ctrl(fe, 1); fe 129 drivers/media/dvb-frontends/tua6100.c if (fe->ops.i2c_gate_ctrl) fe 130 drivers/media/dvb-frontends/tua6100.c fe->ops.i2c_gate_ctrl(fe, 1); fe 134 drivers/media/dvb-frontends/tua6100.c if (fe->ops.i2c_gate_ctrl) fe 135 drivers/media/dvb-frontends/tua6100.c fe->ops.i2c_gate_ctrl(fe, 0); fe 140 drivers/media/dvb-frontends/tua6100.c static int tua6100_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 142 drivers/media/dvb-frontends/tua6100.c struct tua6100_priv *priv = fe->tuner_priv; fe 160 drivers/media/dvb-frontends/tua6100.c struct dvb_frontend *tua6100_attach(struct dvb_frontend *fe, int addr, struct i2c_adapter *i2c) fe 169 drivers/media/dvb-frontends/tua6100.c if (fe->ops.i2c_gate_ctrl) fe 170 drivers/media/dvb-frontends/tua6100.c fe->ops.i2c_gate_ctrl(fe, 1); fe 172 drivers/media/dvb-frontends/tua6100.c if (fe->ops.i2c_gate_ctrl) fe 173 drivers/media/dvb-frontends/tua6100.c fe->ops.i2c_gate_ctrl(fe, 0); fe 185 drivers/media/dvb-frontends/tua6100.c memcpy(&fe->ops.tuner_ops, &tua6100_tuner_ops, sizeof(struct dvb_tuner_ops)); fe 186 drivers/media/dvb-frontends/tua6100.c fe->tuner_priv = priv; fe 187 drivers/media/dvb-frontends/tua6100.c return fe; fe 26 drivers/media/dvb-frontends/tua6100.h extern struct dvb_frontend *tua6100_attach(struct dvb_frontend *fe, int addr, struct i2c_adapter *i2c); fe 28 drivers/media/dvb-frontends/tua6100.h static inline struct dvb_frontend* tua6100_attach(struct dvb_frontend *fe, int addr, struct i2c_adapter *i2c) fe 180 drivers/media/dvb-frontends/ves1820.c static int ves1820_init(struct dvb_frontend* fe) fe 182 drivers/media/dvb-frontends/ves1820.c struct ves1820_state* state = fe->demodulator_priv; fe 197 drivers/media/dvb-frontends/ves1820.c static int ves1820_set_parameters(struct dvb_frontend *fe) fe 199 drivers/media/dvb-frontends/ves1820.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 200 drivers/media/dvb-frontends/ves1820.c struct ves1820_state* state = fe->demodulator_priv; fe 211 drivers/media/dvb-frontends/ves1820.c if (fe->ops.tuner_ops.set_params) { fe 212 drivers/media/dvb-frontends/ves1820.c fe->ops.tuner_ops.set_params(fe); fe 213 drivers/media/dvb-frontends/ves1820.c if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); fe 229 drivers/media/dvb-frontends/ves1820.c static int ves1820_read_status(struct dvb_frontend *fe, fe 232 drivers/media/dvb-frontends/ves1820.c struct ves1820_state* state = fe->demodulator_priv; fe 256 drivers/media/dvb-frontends/ves1820.c static int ves1820_read_ber(struct dvb_frontend* fe, u32* ber) fe 258 drivers/media/dvb-frontends/ves1820.c struct ves1820_state* state = fe->demodulator_priv; fe 268 drivers/media/dvb-frontends/ves1820.c static int ves1820_read_signal_strength(struct dvb_frontend* fe, u16* strength) fe 270 drivers/media/dvb-frontends/ves1820.c struct ves1820_state* state = fe->demodulator_priv; fe 278 drivers/media/dvb-frontends/ves1820.c static int ves1820_read_snr(struct dvb_frontend* fe, u16* snr) fe 280 drivers/media/dvb-frontends/ves1820.c struct ves1820_state* state = fe->demodulator_priv; fe 288 drivers/media/dvb-frontends/ves1820.c static int ves1820_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) fe 290 drivers/media/dvb-frontends/ves1820.c struct ves1820_state* state = fe->demodulator_priv; fe 303 drivers/media/dvb-frontends/ves1820.c static int ves1820_get_frontend(struct dvb_frontend *fe, fe 306 drivers/media/dvb-frontends/ves1820.c struct ves1820_state* state = fe->demodulator_priv; fe 335 drivers/media/dvb-frontends/ves1820.c static int ves1820_sleep(struct dvb_frontend* fe) fe 337 drivers/media/dvb-frontends/ves1820.c struct ves1820_state* state = fe->demodulator_priv; fe 345 drivers/media/dvb-frontends/ves1820.c static int ves1820_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings* fesettings) fe 354 drivers/media/dvb-frontends/ves1820.c static void ves1820_release(struct dvb_frontend* fe) fe 356 drivers/media/dvb-frontends/ves1820.c struct ves1820_state* state = fe->demodulator_priv; fe 252 drivers/media/dvb-frontends/ves1x93.c static int ves1x93_init (struct dvb_frontend* fe) fe 254 drivers/media/dvb-frontends/ves1x93.c struct ves1x93_state* state = fe->demodulator_priv; fe 272 drivers/media/dvb-frontends/ves1x93.c static int ves1x93_set_voltage(struct dvb_frontend *fe, fe 275 drivers/media/dvb-frontends/ves1x93.c struct ves1x93_state* state = fe->demodulator_priv; fe 289 drivers/media/dvb-frontends/ves1x93.c static int ves1x93_read_status(struct dvb_frontend *fe, fe 292 drivers/media/dvb-frontends/ves1x93.c struct ves1x93_state* state = fe->demodulator_priv; fe 331 drivers/media/dvb-frontends/ves1x93.c static int ves1x93_read_ber(struct dvb_frontend* fe, u32* ber) fe 333 drivers/media/dvb-frontends/ves1x93.c struct ves1x93_state* state = fe->demodulator_priv; fe 343 drivers/media/dvb-frontends/ves1x93.c static int ves1x93_read_signal_strength(struct dvb_frontend* fe, u16* strength) fe 345 drivers/media/dvb-frontends/ves1x93.c struct ves1x93_state* state = fe->demodulator_priv; fe 353 drivers/media/dvb-frontends/ves1x93.c static int ves1x93_read_snr(struct dvb_frontend* fe, u16* snr) fe 355 drivers/media/dvb-frontends/ves1x93.c struct ves1x93_state* state = fe->demodulator_priv; fe 363 drivers/media/dvb-frontends/ves1x93.c static int ves1x93_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) fe 365 drivers/media/dvb-frontends/ves1x93.c struct ves1x93_state* state = fe->demodulator_priv; fe 378 drivers/media/dvb-frontends/ves1x93.c static int ves1x93_set_frontend(struct dvb_frontend *fe) fe 380 drivers/media/dvb-frontends/ves1x93.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 381 drivers/media/dvb-frontends/ves1x93.c struct ves1x93_state* state = fe->demodulator_priv; fe 383 drivers/media/dvb-frontends/ves1x93.c if (fe->ops.tuner_ops.set_params) { fe 384 drivers/media/dvb-frontends/ves1x93.c fe->ops.tuner_ops.set_params(fe); fe 385 drivers/media/dvb-frontends/ves1x93.c if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); fe 396 drivers/media/dvb-frontends/ves1x93.c static int ves1x93_get_frontend(struct dvb_frontend *fe, fe 399 drivers/media/dvb-frontends/ves1x93.c struct ves1x93_state* state = fe->demodulator_priv; fe 420 drivers/media/dvb-frontends/ves1x93.c static int ves1x93_sleep(struct dvb_frontend* fe) fe 422 drivers/media/dvb-frontends/ves1x93.c struct ves1x93_state* state = fe->demodulator_priv; fe 427 drivers/media/dvb-frontends/ves1x93.c static void ves1x93_release(struct dvb_frontend* fe) fe 429 drivers/media/dvb-frontends/ves1x93.c struct ves1x93_state* state = fe->demodulator_priv; fe 433 drivers/media/dvb-frontends/ves1x93.c static int ves1x93_i2c_gate_ctrl(struct dvb_frontend* fe, int enable) fe 435 drivers/media/dvb-frontends/ves1x93.c struct ves1x93_state* state = fe->demodulator_priv; fe 12 drivers/media/dvb-frontends/z0194a.h static int sharp_z0194a_set_symbol_rate(struct dvb_frontend *fe, fe 31 drivers/media/dvb-frontends/z0194a.h stv0299_writereg(fe, 0x13, aclk); fe 32 drivers/media/dvb-frontends/z0194a.h stv0299_writereg(fe, 0x14, bclk); fe 33 drivers/media/dvb-frontends/z0194a.h stv0299_writereg(fe, 0x1f, (ratio >> 16) & 0xff); fe 34 drivers/media/dvb-frontends/z0194a.h stv0299_writereg(fe, 0x20, (ratio >> 8) & 0xff); fe 35 drivers/media/dvb-frontends/z0194a.h stv0299_writereg(fe, 0x21, (ratio) & 0xf0); fe 37 drivers/media/dvb-frontends/zd1301_demod.c static int zd1301_demod_set_frontend(struct dvb_frontend *fe) fe 39 drivers/media/dvb-frontends/zd1301_demod.c struct zd1301_demod_dev *dev = fe->demodulator_priv; fe 41 drivers/media/dvb-frontends/zd1301_demod.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 50 drivers/media/dvb-frontends/zd1301_demod.c if (fe->ops.tuner_ops.set_params && fe 51 drivers/media/dvb-frontends/zd1301_demod.c fe->ops.tuner_ops.get_if_frequency) { fe 52 drivers/media/dvb-frontends/zd1301_demod.c ret = fe->ops.tuner_ops.set_params(fe); fe 55 drivers/media/dvb-frontends/zd1301_demod.c ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); fe 145 drivers/media/dvb-frontends/zd1301_demod.c static int zd1301_demod_sleep(struct dvb_frontend *fe) fe 147 drivers/media/dvb-frontends/zd1301_demod.c struct zd1301_demod_dev *dev = fe->demodulator_priv; fe 178 drivers/media/dvb-frontends/zd1301_demod.c static int zd1301_demod_init(struct dvb_frontend *fe) fe 180 drivers/media/dvb-frontends/zd1301_demod.c struct zd1301_demod_dev *dev = fe->demodulator_priv; fe 211 drivers/media/dvb-frontends/zd1301_demod.c static int zd1301_demod_get_tune_settings(struct dvb_frontend *fe, fe 214 drivers/media/dvb-frontends/zd1301_demod.c struct zd1301_demod_dev *dev = fe->demodulator_priv; fe 225 drivers/media/dvb-frontends/zd1301_demod.c static int zd1301_demod_read_status(struct dvb_frontend *fe, fe 228 drivers/media/dvb-frontends/zd1301_demod.c struct zd1301_demod_dev *dev = fe->demodulator_priv; fe 125 drivers/media/dvb-frontends/zl10036.c static void zl10036_release(struct dvb_frontend *fe) fe 127 drivers/media/dvb-frontends/zl10036.c struct zl10036_state *state = fe->tuner_priv; fe 129 drivers/media/dvb-frontends/zl10036.c fe->tuner_priv = NULL; fe 133 drivers/media/dvb-frontends/zl10036.c static int zl10036_sleep(struct dvb_frontend *fe) fe 135 drivers/media/dvb-frontends/zl10036.c struct zl10036_state *state = fe->tuner_priv; fe 141 drivers/media/dvb-frontends/zl10036.c if (fe->ops.i2c_gate_ctrl) fe 142 drivers/media/dvb-frontends/zl10036.c fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ fe 146 drivers/media/dvb-frontends/zl10036.c if (fe->ops.i2c_gate_ctrl) fe 147 drivers/media/dvb-frontends/zl10036.c fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ fe 294 drivers/media/dvb-frontends/zl10036.c static int zl10036_set_params(struct dvb_frontend *fe) fe 296 drivers/media/dvb-frontends/zl10036.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 297 drivers/media/dvb-frontends/zl10036.c struct zl10036_state *state = fe->tuner_priv; fe 306 drivers/media/dvb-frontends/zl10036.c if ((frequency < fe->ops.info.frequency_min_hz / kHz) fe 307 drivers/media/dvb-frontends/zl10036.c || (frequency > fe->ops.info.frequency_max_hz / kHz)) fe 335 drivers/media/dvb-frontends/zl10036.c if (fe->ops.i2c_gate_ctrl) fe 336 drivers/media/dvb-frontends/zl10036.c fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ fe 364 drivers/media/dvb-frontends/zl10036.c if (fe->ops.i2c_gate_ctrl) fe 365 drivers/media/dvb-frontends/zl10036.c fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ fe 370 drivers/media/dvb-frontends/zl10036.c static int zl10036_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 372 drivers/media/dvb-frontends/zl10036.c struct zl10036_state *state = fe->tuner_priv; fe 414 drivers/media/dvb-frontends/zl10036.c static int zl10036_init(struct dvb_frontend *fe) fe 416 drivers/media/dvb-frontends/zl10036.c struct zl10036_state *state = fe->tuner_priv; fe 419 drivers/media/dvb-frontends/zl10036.c if (fe->ops.i2c_gate_ctrl) fe 420 drivers/media/dvb-frontends/zl10036.c fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ fe 429 drivers/media/dvb-frontends/zl10036.c if (fe->ops.i2c_gate_ctrl) fe 430 drivers/media/dvb-frontends/zl10036.c fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ fe 448 drivers/media/dvb-frontends/zl10036.c struct dvb_frontend *zl10036_attach(struct dvb_frontend *fe, fe 467 drivers/media/dvb-frontends/zl10036.c if (fe->ops.i2c_gate_ctrl) fe 468 drivers/media/dvb-frontends/zl10036.c fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ fe 483 drivers/media/dvb-frontends/zl10036.c if (fe->ops.i2c_gate_ctrl) fe 484 drivers/media/dvb-frontends/zl10036.c fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ fe 486 drivers/media/dvb-frontends/zl10036.c fe->tuner_priv = state; fe 488 drivers/media/dvb-frontends/zl10036.c memcpy(&fe->ops.tuner_ops, &zl10036_tuner_ops, fe 491 drivers/media/dvb-frontends/zl10036.c __func__, fe->ops.tuner_ops.info.name, config->tuner_address); fe 493 drivers/media/dvb-frontends/zl10036.c return fe; fe 29 drivers/media/dvb-frontends/zl10036.h extern struct dvb_frontend *zl10036_attach(struct dvb_frontend *fe, fe 32 drivers/media/dvb-frontends/zl10036.h static inline struct dvb_frontend *zl10036_attach(struct dvb_frontend *fe, fe 132 drivers/media/dvb-frontends/zl10039.c static int zl10039_init(struct dvb_frontend *fe) fe 134 drivers/media/dvb-frontends/zl10039.c struct zl10039_state *state = fe->tuner_priv; fe 138 drivers/media/dvb-frontends/zl10039.c if (fe->ops.i2c_gate_ctrl) fe 139 drivers/media/dvb-frontends/zl10039.c fe->ops.i2c_gate_ctrl(fe, 1); fe 151 drivers/media/dvb-frontends/zl10039.c if (fe->ops.i2c_gate_ctrl) fe 152 drivers/media/dvb-frontends/zl10039.c fe->ops.i2c_gate_ctrl(fe, 0); fe 157 drivers/media/dvb-frontends/zl10039.c static int zl10039_sleep(struct dvb_frontend *fe) fe 159 drivers/media/dvb-frontends/zl10039.c struct zl10039_state *state = fe->tuner_priv; fe 163 drivers/media/dvb-frontends/zl10039.c if (fe->ops.i2c_gate_ctrl) fe 164 drivers/media/dvb-frontends/zl10039.c fe->ops.i2c_gate_ctrl(fe, 1); fe 170 drivers/media/dvb-frontends/zl10039.c if (fe->ops.i2c_gate_ctrl) fe 171 drivers/media/dvb-frontends/zl10039.c fe->ops.i2c_gate_ctrl(fe, 0); fe 176 drivers/media/dvb-frontends/zl10039.c static int zl10039_set_params(struct dvb_frontend *fe) fe 178 drivers/media/dvb-frontends/zl10039.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 179 drivers/media/dvb-frontends/zl10039.c struct zl10039_state *state = fe->tuner_priv; fe 211 drivers/media/dvb-frontends/zl10039.c if (fe->ops.i2c_gate_ctrl) fe 212 drivers/media/dvb-frontends/zl10039.c fe->ops.i2c_gate_ctrl(fe, 1); fe 227 drivers/media/dvb-frontends/zl10039.c if (fe->ops.i2c_gate_ctrl) fe 228 drivers/media/dvb-frontends/zl10039.c fe->ops.i2c_gate_ctrl(fe, 0); fe 235 drivers/media/dvb-frontends/zl10039.c static void zl10039_release(struct dvb_frontend *fe) fe 237 drivers/media/dvb-frontends/zl10039.c struct zl10039_state *state = fe->tuner_priv; fe 241 drivers/media/dvb-frontends/zl10039.c fe->tuner_priv = NULL; fe 251 drivers/media/dvb-frontends/zl10039.c struct dvb_frontend *zl10039_attach(struct dvb_frontend *fe, fe 265 drivers/media/dvb-frontends/zl10039.c if (fe->ops.i2c_gate_ctrl) fe 266 drivers/media/dvb-frontends/zl10039.c fe->ops.i2c_gate_ctrl(fe, 1); fe 270 drivers/media/dvb-frontends/zl10039.c if (fe->ops.i2c_gate_ctrl) fe 271 drivers/media/dvb-frontends/zl10039.c fe->ops.i2c_gate_ctrl(fe, 0); fe 275 drivers/media/dvb-frontends/zl10039.c if (fe->ops.i2c_gate_ctrl) fe 276 drivers/media/dvb-frontends/zl10039.c fe->ops.i2c_gate_ctrl(fe, 0); fe 281 drivers/media/dvb-frontends/zl10039.c strscpy(fe->ops.tuner_ops.info.name, fe 283 drivers/media/dvb-frontends/zl10039.c sizeof(fe->ops.tuner_ops.info.name)); fe 290 drivers/media/dvb-frontends/zl10039.c memcpy(&fe->ops.tuner_ops, &zl10039_ops, sizeof(struct dvb_tuner_ops)); fe 291 drivers/media/dvb-frontends/zl10039.c fe->tuner_priv = state; fe 293 drivers/media/dvb-frontends/zl10039.c return fe; fe 13 drivers/media/dvb-frontends/zl10039.h struct dvb_frontend *zl10039_attach(struct dvb_frontend *fe, fe 17 drivers/media/dvb-frontends/zl10039.h static inline struct dvb_frontend *zl10039_attach(struct dvb_frontend *fe, fe 39 drivers/media/dvb-frontends/zl10353.c static int zl10353_single_write(struct dvb_frontend *fe, u8 reg, u8 val) fe 41 drivers/media/dvb-frontends/zl10353.c struct zl10353_state *state = fe->demodulator_priv; fe 53 drivers/media/dvb-frontends/zl10353.c static int zl10353_write(struct dvb_frontend *fe, const u8 ibuf[], int ilen) fe 57 drivers/media/dvb-frontends/zl10353.c if ((err = zl10353_single_write(fe, ibuf[0] + i, ibuf[i + 1]))) fe 86 drivers/media/dvb-frontends/zl10353.c static void zl10353_dump_regs(struct dvb_frontend *fe) fe 88 drivers/media/dvb-frontends/zl10353.c struct zl10353_state *state = fe->demodulator_priv; fe 110 drivers/media/dvb-frontends/zl10353.c static void zl10353_calc_nominal_rate(struct dvb_frontend *fe, fe 114 drivers/media/dvb-frontends/zl10353.c struct zl10353_state *state = fe->demodulator_priv; fe 130 drivers/media/dvb-frontends/zl10353.c static void zl10353_calc_input_freq(struct dvb_frontend *fe, fe 133 drivers/media/dvb-frontends/zl10353.c struct zl10353_state *state = fe->demodulator_priv; fe 158 drivers/media/dvb-frontends/zl10353.c static int zl10353_sleep(struct dvb_frontend *fe) fe 162 drivers/media/dvb-frontends/zl10353.c zl10353_write(fe, zl10353_softdown, sizeof(zl10353_softdown)); fe 166 drivers/media/dvb-frontends/zl10353.c static int zl10353_set_parameters(struct dvb_frontend *fe) fe 168 drivers/media/dvb-frontends/zl10353.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 169 drivers/media/dvb-frontends/zl10353.c struct zl10353_state *state = fe->demodulator_priv; fe 176 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, RESET, 0x80); fe 178 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, 0xEA, 0x01); fe 180 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, 0xEA, 0x00); fe 182 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, AGC_TARGET, 0x28); fe 188 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, ACQ_CTL, acq_ctl); fe 193 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, MCLK_RATIO, 0x97); fe 194 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, 0x64, 0x34); fe 195 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, 0xcc, 0xdd); fe 198 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, MCLK_RATIO, 0x86); fe 199 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, 0x64, 0x35); fe 200 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, 0xcc, 0x73); fe 206 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, MCLK_RATIO, 0x75); fe 207 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, 0x64, 0x36); fe 208 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, 0xcc, 0x73); fe 211 drivers/media/dvb-frontends/zl10353.c zl10353_calc_nominal_rate(fe, c->bandwidth_hz, &nominal_rate); fe 212 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, TRL_NOMINAL_RATE_1, msb(nominal_rate)); fe 213 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, TRL_NOMINAL_RATE_0, lsb(nominal_rate)); fe 216 drivers/media/dvb-frontends/zl10353.c zl10353_calc_input_freq(fe, &input_freq); fe 217 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, INPUT_FREQ_1, msb(input_freq)); fe 218 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, INPUT_FREQ_0, lsb(input_freq)); fe 325 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, TPS_GIVEN_1, msb(tps)); fe 326 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, TPS_GIVEN_0, lsb(tps)); fe 328 drivers/media/dvb-frontends/zl10353.c if (fe->ops.i2c_gate_ctrl) fe 329 drivers/media/dvb-frontends/zl10353.c fe->ops.i2c_gate_ctrl(fe, 0); fe 337 drivers/media/dvb-frontends/zl10353.c if (fe->ops.tuner_ops.set_params) { fe 338 drivers/media/dvb-frontends/zl10353.c fe->ops.tuner_ops.set_params(fe); fe 339 drivers/media/dvb-frontends/zl10353.c if (fe->ops.i2c_gate_ctrl) fe 340 drivers/media/dvb-frontends/zl10353.c fe->ops.i2c_gate_ctrl(fe, 0); fe 342 drivers/media/dvb-frontends/zl10353.c } else if (fe->ops.tuner_ops.calc_regs) { fe 343 drivers/media/dvb-frontends/zl10353.c fe->ops.tuner_ops.calc_regs(fe, pllbuf + 1, 5); fe 345 drivers/media/dvb-frontends/zl10353.c zl10353_write(fe, pllbuf, sizeof(pllbuf)); fe 348 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, 0x5F, 0x13); fe 351 drivers/media/dvb-frontends/zl10353.c if (state->config.no_tuner || fe->ops.tuner_ops.calc_regs == NULL) fe 352 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, FSM_GO, 0x01); fe 354 drivers/media/dvb-frontends/zl10353.c zl10353_single_write(fe, TUNER_GO, 0x01); fe 359 drivers/media/dvb-frontends/zl10353.c static int zl10353_get_parameters(struct dvb_frontend *fe, fe 362 drivers/media/dvb-frontends/zl10353.c struct zl10353_state *state = fe->demodulator_priv; fe 450 drivers/media/dvb-frontends/zl10353.c static int zl10353_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 452 drivers/media/dvb-frontends/zl10353.c struct zl10353_state *state = fe->demodulator_priv; fe 481 drivers/media/dvb-frontends/zl10353.c static int zl10353_read_ber(struct dvb_frontend *fe, u32 *ber) fe 483 drivers/media/dvb-frontends/zl10353.c struct zl10353_state *state = fe->demodulator_priv; fe 492 drivers/media/dvb-frontends/zl10353.c static int zl10353_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 494 drivers/media/dvb-frontends/zl10353.c struct zl10353_state *state = fe->demodulator_priv; fe 504 drivers/media/dvb-frontends/zl10353.c static int zl10353_read_snr(struct dvb_frontend *fe, u16 *snr) fe 506 drivers/media/dvb-frontends/zl10353.c struct zl10353_state *state = fe->demodulator_priv; fe 510 drivers/media/dvb-frontends/zl10353.c zl10353_dump_regs(fe); fe 518 drivers/media/dvb-frontends/zl10353.c static int zl10353_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 520 drivers/media/dvb-frontends/zl10353.c struct zl10353_state *state = fe->demodulator_priv; fe 532 drivers/media/dvb-frontends/zl10353.c static int zl10353_get_tune_settings(struct dvb_frontend *fe, fe 543 drivers/media/dvb-frontends/zl10353.c static int zl10353_init(struct dvb_frontend *fe) fe 545 drivers/media/dvb-frontends/zl10353.c struct zl10353_state *state = fe->demodulator_priv; fe 549 drivers/media/dvb-frontends/zl10353.c zl10353_dump_regs(fe); fe 560 drivers/media/dvb-frontends/zl10353.c zl10353_write(fe, zl10353_reset_attach, fe 563 drivers/media/dvb-frontends/zl10353.c zl10353_dump_regs(fe); fe 569 drivers/media/dvb-frontends/zl10353.c static int zl10353_i2c_gate_ctrl(struct dvb_frontend* fe, int enable) fe 571 drivers/media/dvb-frontends/zl10353.c struct zl10353_state *state = fe->demodulator_priv; fe 583 drivers/media/dvb-frontends/zl10353.c return zl10353_single_write(fe, 0x62, val); fe 586 drivers/media/dvb-frontends/zl10353.c static void zl10353_release(struct dvb_frontend *fe) fe 588 drivers/media/dvb-frontends/zl10353.c struct zl10353_state *state = fe->demodulator_priv; fe 383 drivers/media/firewire/firedtv-avc.c if (fdtv->fe.dtv_property_cache.delivery_system == SYS_DVBS2) { fe 384 drivers/media/firewire/firedtv-avc.c switch (fdtv->fe.dtv_property_cache.modulation) { fe 390 drivers/media/firewire/firedtv-avc.c switch (fdtv->fe.dtv_property_cache.rolloff) { fe 398 drivers/media/firewire/firedtv-avc.c switch (fdtv->fe.dtv_property_cache.pilot) { fe 207 drivers/media/firewire/firedtv-dvb.c err = dvb_register_frontend(&fdtv->adapter, &fdtv->fe); fe 237 drivers/media/firewire/firedtv-dvb.c dvb_unregister_frontend(&fdtv->fe); fe 19 drivers/media/firewire/firedtv-fe.c static int fdtv_dvb_init(struct dvb_frontend *fe) fe 21 drivers/media/firewire/firedtv-fe.c struct firedtv *fdtv = fe->sec_priv; fe 38 drivers/media/firewire/firedtv-fe.c static int fdtv_sleep(struct dvb_frontend *fe) fe 40 drivers/media/firewire/firedtv-fe.c struct firedtv *fdtv = fe->sec_priv; fe 50 drivers/media/firewire/firedtv-fe.c static int fdtv_diseqc_send_master_cmd(struct dvb_frontend *fe, fe 53 drivers/media/firewire/firedtv-fe.c struct firedtv *fdtv = fe->sec_priv; fe 59 drivers/media/firewire/firedtv-fe.c static int fdtv_diseqc_send_burst(struct dvb_frontend *fe, fe 65 drivers/media/firewire/firedtv-fe.c static int fdtv_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) fe 67 drivers/media/firewire/firedtv-fe.c struct firedtv *fdtv = fe->sec_priv; fe 73 drivers/media/firewire/firedtv-fe.c static int fdtv_set_voltage(struct dvb_frontend *fe, fe 76 drivers/media/firewire/firedtv-fe.c struct firedtv *fdtv = fe->sec_priv; fe 82 drivers/media/firewire/firedtv-fe.c static int fdtv_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 84 drivers/media/firewire/firedtv-fe.c struct firedtv *fdtv = fe->sec_priv; fe 98 drivers/media/firewire/firedtv-fe.c static int fdtv_read_ber(struct dvb_frontend *fe, u32 *ber) fe 100 drivers/media/firewire/firedtv-fe.c struct firedtv *fdtv = fe->sec_priv; fe 110 drivers/media/firewire/firedtv-fe.c static int fdtv_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 112 drivers/media/firewire/firedtv-fe.c struct firedtv *fdtv = fe->sec_priv; fe 122 drivers/media/firewire/firedtv-fe.c static int fdtv_read_snr(struct dvb_frontend *fe, u16 *snr) fe 124 drivers/media/firewire/firedtv-fe.c struct firedtv *fdtv = fe->sec_priv; fe 135 drivers/media/firewire/firedtv-fe.c static int fdtv_read_uncorrected_blocks(struct dvb_frontend *fe, u32 *ucblocks) fe 140 drivers/media/firewire/firedtv-fe.c static int fdtv_set_frontend(struct dvb_frontend *fe) fe 142 drivers/media/firewire/firedtv-fe.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 143 drivers/media/firewire/firedtv-fe.c struct firedtv *fdtv = fe->sec_priv; fe 150 drivers/media/firewire/firedtv-fe.c struct dvb_frontend_ops *ops = &fdtv->fe.ops; fe 248 drivers/media/firewire/firedtv-fe.c fdtv->fe.dvb = &fdtv->adapter; fe 249 drivers/media/firewire/firedtv-fe.c fdtv->fe.sec_priv = fdtv; fe 81 drivers/media/firewire/firedtv.h struct dvb_frontend fe; fe 642 drivers/media/i2c/video-i2c.c struct v4l2_frmivalenum *fe) fe 647 drivers/media/i2c/video-i2c.c if (fe->index >= data->chip->num_frame_intervals) fe 650 drivers/media/i2c/video-i2c.c if (fe->width != size->width || fe->height != size->height) fe 653 drivers/media/i2c/video-i2c.c fe->type = V4L2_FRMIVAL_TYPE_DISCRETE; fe 654 drivers/media/i2c/video-i2c.c fe->discrete = data->chip->frame_intervals[fe->index]; fe 1344 drivers/media/pci/bt8xx/dst.c static int dst_set_voltage(struct dvb_frontend *fe, fe 1347 drivers/media/pci/bt8xx/dst.c static int dst_write_tuna(struct dvb_frontend *fe) fe 1349 drivers/media/pci/bt8xx/dst.c struct dst_state *state = fe->demodulator_priv; fe 1358 drivers/media/pci/bt8xx/dst.c dst_set_voltage(fe, SEC_VOLTAGE_13); fe 1418 drivers/media/pci/bt8xx/dst.c static int dst_set_diseqc(struct dvb_frontend *fe, struct dvb_diseqc_master_cmd *cmd) fe 1420 drivers/media/pci/bt8xx/dst.c struct dst_state *state = fe->demodulator_priv; fe 1435 drivers/media/pci/bt8xx/dst.c static int dst_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage voltage) fe 1438 drivers/media/pci/bt8xx/dst.c struct dst_state *state = fe->demodulator_priv; fe 1469 drivers/media/pci/bt8xx/dst.c static int dst_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) fe 1471 drivers/media/pci/bt8xx/dst.c struct dst_state *state = fe->demodulator_priv; fe 1494 drivers/media/pci/bt8xx/dst.c static int dst_send_burst(struct dvb_frontend *fe, enum fe_sec_mini_cmd minicmd) fe 1496 drivers/media/pci/bt8xx/dst.c struct dst_state *state = fe->demodulator_priv; fe 1513 drivers/media/pci/bt8xx/dst.c static int bt8xx_dst_init(struct dvb_frontend *fe) fe 1515 drivers/media/pci/bt8xx/dst.c struct dst_state *state = fe->demodulator_priv; fe 1544 drivers/media/pci/bt8xx/dst.c static int dst_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 1546 drivers/media/pci/bt8xx/dst.c struct dst_state *state = fe->demodulator_priv; fe 1558 drivers/media/pci/bt8xx/dst.c static int dst_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 1560 drivers/media/pci/bt8xx/dst.c struct dst_state *state = fe->demodulator_priv; fe 1568 drivers/media/pci/bt8xx/dst.c static int dst_read_snr(struct dvb_frontend *fe, u16 *snr) fe 1570 drivers/media/pci/bt8xx/dst.c struct dst_state *state = fe->demodulator_priv; fe 1578 drivers/media/pci/bt8xx/dst.c static int dst_set_frontend(struct dvb_frontend *fe) fe 1580 drivers/media/pci/bt8xx/dst.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1582 drivers/media/pci/bt8xx/dst.c struct dst_state *state = fe->demodulator_priv; fe 1605 drivers/media/pci/bt8xx/dst.c retval = dst_write_tuna(fe); fe 1611 drivers/media/pci/bt8xx/dst.c static int dst_tune_frontend(struct dvb_frontend* fe, fe 1617 drivers/media/pci/bt8xx/dst.c struct dst_state *state = fe->demodulator_priv; fe 1618 drivers/media/pci/bt8xx/dst.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1639 drivers/media/pci/bt8xx/dst.c dst_write_tuna(fe); fe 1643 drivers/media/pci/bt8xx/dst.c dst_read_status(fe, status); fe 1649 drivers/media/pci/bt8xx/dst.c static enum dvbfe_algo dst_get_tuning_algo(struct dvb_frontend *fe) fe 1654 drivers/media/pci/bt8xx/dst.c static int dst_get_frontend(struct dvb_frontend *fe, fe 1657 drivers/media/pci/bt8xx/dst.c struct dst_state *state = fe->demodulator_priv; fe 1676 drivers/media/pci/bt8xx/dst.c static void bt8xx_dst_release(struct dvb_frontend *fe) fe 1678 drivers/media/pci/bt8xx/dst.c struct dst_state *state = fe->demodulator_priv; fe 121 drivers/media/pci/bt8xx/dvb-bt8xx.c static int thomson_dtt7579_demod_init(struct dvb_frontend* fe) fe 130 drivers/media/pci/bt8xx/dvb-bt8xx.c mt352_write(fe, mt352_clock_config, sizeof(mt352_clock_config)); fe 132 drivers/media/pci/bt8xx/dvb-bt8xx.c mt352_write(fe, mt352_reset, sizeof(mt352_reset)); fe 133 drivers/media/pci/bt8xx/dvb-bt8xx.c mt352_write(fe, mt352_adc_ctl_1_cfg, sizeof(mt352_adc_ctl_1_cfg)); fe 135 drivers/media/pci/bt8xx/dvb-bt8xx.c mt352_write(fe, mt352_agc_cfg, sizeof(mt352_agc_cfg)); fe 136 drivers/media/pci/bt8xx/dvb-bt8xx.c mt352_write(fe, mt352_gpp_ctl_cfg, sizeof(mt352_gpp_ctl_cfg)); fe 137 drivers/media/pci/bt8xx/dvb-bt8xx.c mt352_write(fe, mt352_capt_range_cfg, sizeof(mt352_capt_range_cfg)); fe 142 drivers/media/pci/bt8xx/dvb-bt8xx.c static int thomson_dtt7579_tuner_calc_regs(struct dvb_frontend *fe, u8* pllbuf, int buf_len) fe 144 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 186 drivers/media/pci/bt8xx/dvb-bt8xx.c static int cx24108_tuner_set_params(struct dvb_frontend *fe) fe 188 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 227 drivers/media/pci/bt8xx/dvb-bt8xx.c cx24110_pll_write(fe,band); fe 230 drivers/media/pci/bt8xx/dvb-bt8xx.c cx24110_pll_write(fe,0x500c0000); fe 231 drivers/media/pci/bt8xx/dvb-bt8xx.c cx24110_pll_write(fe,0x83f1f800); fe 232 drivers/media/pci/bt8xx/dvb-bt8xx.c cx24110_pll_write(fe,pll); fe 238 drivers/media/pci/bt8xx/dvb-bt8xx.c static int pinnsat_tuner_init(struct dvb_frontend* fe) fe 240 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dvb_bt8xx_card *card = fe->dvb->priv; fe 248 drivers/media/pci/bt8xx/dvb-bt8xx.c static int pinnsat_tuner_sleep(struct dvb_frontend* fe) fe 250 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dvb_bt8xx_card *card = fe->dvb->priv; fe 261 drivers/media/pci/bt8xx/dvb-bt8xx.c static int microtune_mt7202dtf_tuner_set_params(struct dvb_frontend *fe) fe 263 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 264 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dvb_bt8xx_card *card = (struct dvb_bt8xx_card *) fe->dvb->priv; fe 296 drivers/media/pci/bt8xx/dvb-bt8xx.c if (fe->ops.i2c_gate_ctrl) fe 297 drivers/media/pci/bt8xx/dvb-bt8xx.c fe->ops.i2c_gate_ctrl(fe, 1); fe 302 drivers/media/pci/bt8xx/dvb-bt8xx.c static int microtune_mt7202dtf_request_firmware(struct dvb_frontend* fe, const struct firmware **fw, char* name) fe 304 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dvb_bt8xx_card* bt = (struct dvb_bt8xx_card*) fe->dvb->priv; fe 314 drivers/media/pci/bt8xx/dvb-bt8xx.c static int advbt771_samsung_tdtc9251dh0_demod_init(struct dvb_frontend* fe) fe 324 drivers/media/pci/bt8xx/dvb-bt8xx.c mt352_write(fe, mt352_clock_config, sizeof(mt352_clock_config)); fe 326 drivers/media/pci/bt8xx/dvb-bt8xx.c mt352_write(fe, mt352_reset, sizeof(mt352_reset)); fe 327 drivers/media/pci/bt8xx/dvb-bt8xx.c mt352_write(fe, mt352_adc_ctl_1_cfg, sizeof(mt352_adc_ctl_1_cfg)); fe 329 drivers/media/pci/bt8xx/dvb-bt8xx.c mt352_write(fe, mt352_agc_cfg,sizeof(mt352_agc_cfg)); fe 331 drivers/media/pci/bt8xx/dvb-bt8xx.c mt352_write(fe, mt352_av771_extra,sizeof(mt352_av771_extra)); fe 332 drivers/media/pci/bt8xx/dvb-bt8xx.c mt352_write(fe, mt352_capt_range_cfg, sizeof(mt352_capt_range_cfg)); fe 337 drivers/media/pci/bt8xx/dvb-bt8xx.c static int advbt771_samsung_tdtc9251dh0_tuner_calc_regs(struct dvb_frontend *fe, u8 *pllbuf, int buf_len) fe 339 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 400 drivers/media/pci/bt8xx/dvb-bt8xx.c static int or51211_request_firmware(struct dvb_frontend* fe, const struct firmware **fw, char* name) fe 402 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dvb_bt8xx_card* bt = (struct dvb_bt8xx_card*) fe->dvb->priv; fe 407 drivers/media/pci/bt8xx/dvb-bt8xx.c static void or51211_setmode(struct dvb_frontend * fe, int mode) fe 409 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dvb_bt8xx_card *bt = fe->dvb->priv; fe 414 drivers/media/pci/bt8xx/dvb-bt8xx.c static void or51211_reset(struct dvb_frontend * fe) fe 416 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dvb_bt8xx_card *bt = fe->dvb->priv; fe 439 drivers/media/pci/bt8xx/dvb-bt8xx.c static void or51211_sleep(struct dvb_frontend * fe) fe 441 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dvb_bt8xx_card *bt = fe->dvb->priv; fe 453 drivers/media/pci/bt8xx/dvb-bt8xx.c static int vp3021_alps_tded4_tuner_set_params(struct dvb_frontend *fe) fe 455 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 456 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dvb_bt8xx_card *card = (struct dvb_bt8xx_card *) fe->dvb->priv; fe 477 drivers/media/pci/bt8xx/dvb-bt8xx.c if (fe->ops.i2c_gate_ctrl) fe 478 drivers/media/pci/bt8xx/dvb-bt8xx.c fe->ops.i2c_gate_ctrl(fe, 1); fe 488 drivers/media/pci/bt8xx/dvb-bt8xx.c static int digitv_alps_tded4_demod_init(struct dvb_frontend* fe) fe 496 drivers/media/pci/bt8xx/dvb-bt8xx.c mt352_write(fe, mt352_clock_config, sizeof(mt352_clock_config)); fe 498 drivers/media/pci/bt8xx/dvb-bt8xx.c mt352_write(fe, mt352_reset, sizeof(mt352_reset)); fe 499 drivers/media/pci/bt8xx/dvb-bt8xx.c mt352_write(fe, mt352_adc_ctl_1_cfg, sizeof(mt352_adc_ctl_1_cfg)); fe 500 drivers/media/pci/bt8xx/dvb-bt8xx.c mt352_write(fe, mt352_agc_cfg,sizeof(mt352_agc_cfg)); fe 501 drivers/media/pci/bt8xx/dvb-bt8xx.c mt352_write(fe, mt352_capt_range_cfg, sizeof(mt352_capt_range_cfg)); fe 506 drivers/media/pci/bt8xx/dvb-bt8xx.c static int digitv_alps_tded4_tuner_calc_regs(struct dvb_frontend *fe, u8 *pllbuf, int buf_len) fe 509 drivers/media/pci/bt8xx/dvb-bt8xx.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 587 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe = dvb_attach(mt352_attach, &thomson_dtt7579_config, card->i2c_adapter); fe 589 drivers/media/pci/bt8xx/dvb-bt8xx.c if (card->fe == NULL) fe 590 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe = dvb_attach(zl10353_attach, &thomson_dtt7579_zl10353_config, fe 593 drivers/media/pci/bt8xx/dvb-bt8xx.c if (card->fe != NULL) { fe 594 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe->ops.tuner_ops.calc_regs = thomson_dtt7579_tuner_calc_regs; fe 595 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe->ops.info.frequency_min_hz = 174 * MHz; fe 596 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe->ops.info.frequency_max_hz = 862 * MHz; fe 602 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe = dvb_attach(lgdt330x_attach, &tdvs_tua6034_config, fe 604 drivers/media/pci/bt8xx/dvb-bt8xx.c if (card->fe != NULL) { fe 605 drivers/media/pci/bt8xx/dvb-bt8xx.c dvb_attach(simple_tuner_attach, card->fe, fe 620 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe = dvb_attach(nxt6000_attach, &vp3021_alps_tded4_config, card->i2c_adapter); fe 621 drivers/media/pci/bt8xx/dvb-bt8xx.c if (card->fe != NULL) { fe 622 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe->ops.tuner_ops.set_params = vp3021_alps_tded4_tuner_set_params; fe 629 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe = dvb_attach(mt352_attach, &digitv_alps_tded4_config, card->i2c_adapter); fe 631 drivers/media/pci/bt8xx/dvb-bt8xx.c if (card->fe != NULL) { fe 632 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe->ops.tuner_ops.calc_regs = digitv_alps_tded4_tuner_calc_regs; fe 638 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe = dvb_attach(sp887x_attach, µtune_mt7202dtf_config, card->i2c_adapter); fe 639 drivers/media/pci/bt8xx/dvb-bt8xx.c if (card->fe) { fe 640 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe->ops.tuner_ops.set_params = microtune_mt7202dtf_tuner_set_params; fe 645 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe = dvb_attach(mt352_attach, &advbt771_samsung_tdtc9251dh0_config, card->i2c_adapter); fe 646 drivers/media/pci/bt8xx/dvb-bt8xx.c if (card->fe != NULL) { fe 647 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe->ops.tuner_ops.calc_regs = advbt771_samsung_tdtc9251dh0_tuner_calc_regs; fe 648 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe->ops.info.frequency_min_hz = 174 * MHz; fe 649 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe->ops.info.frequency_max_hz = 862 * MHz; fe 673 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe = &state->frontend; fe 679 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe = dvb_attach(cx24110_attach, &pctvsat_config, card->i2c_adapter); fe 680 drivers/media/pci/bt8xx/dvb-bt8xx.c if (card->fe) { fe 681 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe->ops.tuner_ops.init = pinnsat_tuner_init; fe 682 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe->ops.tuner_ops.sleep = pinnsat_tuner_sleep; fe 683 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe->ops.tuner_ops.set_params = cx24108_tuner_set_params; fe 688 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe = dvb_attach(or51211_attach, &or51211_config, card->i2c_adapter); fe 689 drivers/media/pci/bt8xx/dvb-bt8xx.c if (card->fe != NULL) fe 690 drivers/media/pci/bt8xx/dvb-bt8xx.c dvb_attach(simple_tuner_attach, card->fe, fe 696 drivers/media/pci/bt8xx/dvb-bt8xx.c if (card->fe == NULL) fe 703 drivers/media/pci/bt8xx/dvb-bt8xx.c if (dvb_register_frontend(&card->dvb_adapter, card->fe)) { fe 705 drivers/media/pci/bt8xx/dvb-bt8xx.c dvb_frontend_detach(card->fe); fe 706 drivers/media/pci/bt8xx/dvb-bt8xx.c card->fe = NULL; fe 926 drivers/media/pci/bt8xx/dvb-bt8xx.c if (card->fe) { fe 927 drivers/media/pci/bt8xx/dvb-bt8xx.c dvb_unregister_frontend(card->fe); fe 928 drivers/media/pci/bt8xx/dvb-bt8xx.c dvb_frontend_detach(card->fe); fe 46 drivers/media/pci/bt8xx/dvb-bt8xx.h struct dvb_frontend* fe; fe 326 drivers/media/pci/cx18/cx18-driver.h struct dvb_frontend *fe; fe 150 drivers/media/pci/cx18/cx18-dvb.c static int yuan_mpc718_mt352_init(struct dvb_frontend *fe) fe 152 drivers/media/pci/cx18/cx18-dvb.c struct cx18_dvb *dvb = container_of(fe->dvb, fe 178 drivers/media/pci/cx18/cx18-dvb.c mt352_write(fe, buf, 3); fe 187 drivers/media/pci/cx18/cx18-dvb.c mt352_write(fe, buf, 3); fe 192 drivers/media/pci/cx18/cx18-dvb.c mt352_write(fe, buf, 2); fe 199 drivers/media/pci/cx18/cx18-dvb.c mt352_write(fe, buf, 2); fe 446 drivers/media/pci/cx18/cx18-dvb.c dvb_unregister_frontend(dvb->fe); fe 447 drivers/media/pci/cx18/cx18-dvb.c dvb_frontend_detach(dvb->fe); fe 463 drivers/media/pci/cx18/cx18-dvb.c dvb->fe = dvb_attach(s5h1409_attach, fe 466 drivers/media/pci/cx18/cx18-dvb.c if (dvb->fe != NULL) { fe 467 drivers/media/pci/cx18/cx18-dvb.c dvb_attach(mxl5005s_attach, dvb->fe, fe 474 drivers/media/pci/cx18/cx18-dvb.c dvb->fe = dvb_attach(s5h1411_attach, fe 477 drivers/media/pci/cx18/cx18-dvb.c if (dvb->fe != NULL) fe 478 drivers/media/pci/cx18/cx18-dvb.c dvb_attach(tda18271_attach, dvb->fe, fe 483 drivers/media/pci/cx18/cx18-dvb.c dvb->fe = dvb_attach(zl10353_attach, fe 486 drivers/media/pci/cx18/cx18-dvb.c if (dvb->fe != NULL) { fe 487 drivers/media/pci/cx18/cx18-dvb.c struct dvb_frontend *fe; fe 500 drivers/media/pci/cx18/cx18-dvb.c fe = dvb_attach(xc2028_attach, dvb->fe, &cfg); fe 501 drivers/media/pci/cx18/cx18-dvb.c if (fe != NULL && fe->ops.tuner_ops.set_config != NULL) fe 502 drivers/media/pci/cx18/cx18-dvb.c fe->ops.tuner_ops.set_config(fe, &ctrl); fe 511 drivers/media/pci/cx18/cx18-dvb.c dvb->fe = dvb_attach(mt352_attach, fe 514 drivers/media/pci/cx18/cx18-dvb.c if (dvb->fe == NULL) fe 515 drivers/media/pci/cx18/cx18-dvb.c dvb->fe = dvb_attach(zl10353_attach, fe 518 drivers/media/pci/cx18/cx18-dvb.c if (dvb->fe != NULL) { fe 519 drivers/media/pci/cx18/cx18-dvb.c struct dvb_frontend *fe; fe 532 drivers/media/pci/cx18/cx18-dvb.c fe = dvb_attach(xc2028_attach, dvb->fe, &cfg); fe 533 drivers/media/pci/cx18/cx18-dvb.c if (fe != NULL && fe->ops.tuner_ops.set_config != NULL) fe 534 drivers/media/pci/cx18/cx18-dvb.c fe->ops.tuner_ops.set_config(fe, &ctrl); fe 538 drivers/media/pci/cx18/cx18-dvb.c dvb->fe = dvb_attach(zl10353_attach, fe 541 drivers/media/pci/cx18/cx18-dvb.c if (dvb->fe != NULL) { fe 542 drivers/media/pci/cx18/cx18-dvb.c struct dvb_frontend *fe; fe 555 drivers/media/pci/cx18/cx18-dvb.c fe = dvb_attach(xc2028_attach, dvb->fe, &cfg); fe 556 drivers/media/pci/cx18/cx18-dvb.c if (fe != NULL && fe->ops.tuner_ops.set_config != NULL) fe 557 drivers/media/pci/cx18/cx18-dvb.c fe->ops.tuner_ops.set_config(fe, &ctrl); fe 565 drivers/media/pci/cx18/cx18-dvb.c if (dvb->fe == NULL) { fe 570 drivers/media/pci/cx18/cx18-dvb.c dvb->fe->callback = cx18_reset_tuner_gpio; fe 572 drivers/media/pci/cx18/cx18-dvb.c ret = dvb_register_frontend(&dvb->dvb_adapter, dvb->fe); fe 574 drivers/media/pci/cx18/cx18-dvb.c if (dvb->fe->ops.release) fe 575 drivers/media/pci/cx18/cx18-dvb.c dvb->fe->ops.release(dvb->fe); fe 137 drivers/media/pci/cx23885/cx23885-dvb.c struct vb2_dvb_frontend *fe; fe 142 drivers/media/pci/cx23885/cx23885-dvb.c fe = vb2_dvb_get_frontend(f, 1); fe 144 drivers/media/pci/cx23885/cx23885-dvb.c fe = vb2_dvb_get_frontend(f, f->gate); fe 146 drivers/media/pci/cx23885/cx23885-dvb.c if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl) fe 147 drivers/media/pci/cx23885/cx23885-dvb.c fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open); fe 593 drivers/media/pci/cx23885/cx23885-dvb.c static int p8000_set_voltage(struct dvb_frontend *fe, fe 596 drivers/media/pci/cx23885/cx23885-dvb.c struct cx23885_tsport *port = fe->dvb->priv; fe 608 drivers/media/pci/cx23885/cx23885-dvb.c static int dvbsky_t9580_set_voltage(struct dvb_frontend *fe, fe 611 drivers/media/pci/cx23885/cx23885-dvb.c struct cx23885_tsport *port = fe->dvb->priv; fe 632 drivers/media/pci/cx23885/cx23885-dvb.c port->fe_set_voltage(fe, voltage); fe 637 drivers/media/pci/cx23885/cx23885-dvb.c static int dvbsky_s952_portc_set_voltage(struct dvb_frontend *fe, fe 640 drivers/media/pci/cx23885/cx23885-dvb.c struct cx23885_tsport *port = fe->dvb->priv; fe 660 drivers/media/pci/cx23885/cx23885-dvb.c return port->fe_set_voltage(fe, voltage); fe 734 drivers/media/pci/cx23885/cx23885-dvb.c static int cx23885_dvb_set_frontend(struct dvb_frontend *fe) fe 736 drivers/media/pci/cx23885/cx23885-dvb.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 737 drivers/media/pci/cx23885/cx23885-dvb.c struct cx23885_tsport *port = fe->dvb->priv; fe 763 drivers/media/pci/cx23885/cx23885-dvb.c return port->set_frontend(fe); fe 769 drivers/media/pci/cx23885/cx23885-dvb.c struct dvb_frontend *fe) fe 771 drivers/media/pci/cx23885/cx23885-dvb.c port->set_frontend = fe->ops.set_frontend; fe 772 drivers/media/pci/cx23885/cx23885-dvb.c fe->ops.set_frontend = cx23885_dvb_set_frontend; fe 978 drivers/media/pci/cx23885/cx23885-dvb.c static int dib7070_tuner_reset(struct dvb_frontend *fe, int onoff) fe 980 drivers/media/pci/cx23885/cx23885-dvb.c struct dib7000p_ops *dib7000p_ops = fe->sec_priv; fe 982 drivers/media/pci/cx23885/cx23885-dvb.c return dib7000p_ops->set_gpio(fe, 8, 0, !onoff); fe 985 drivers/media/pci/cx23885/cx23885-dvb.c static int dib7070_tuner_sleep(struct dvb_frontend *fe, int onoff) fe 1204 drivers/media/pci/cx23885/cx23885-dvb.c int (*p_set_voltage)(struct dvb_frontend *fe, fe 1339 drivers/media/pci/cx23885/cx23885-dvb.c struct dvb_frontend *fe; fe 1350 drivers/media/pci/cx23885/cx23885-dvb.c fe = dvb_attach(xc2028_attach, fe 1352 drivers/media/pci/cx23885/cx23885-dvb.c if (fe != NULL && fe->ops.tuner_ops.set_config != NULL) fe 1353 drivers/media/pci/cx23885/cx23885-dvb.c fe->ops.tuner_ops.set_config(fe, &ctl); fe 1391 drivers/media/pci/cx23885/cx23885-dvb.c struct dvb_frontend *fe; fe 1405 drivers/media/pci/cx23885/cx23885-dvb.c fe = dvb_attach(xc2028_attach, fe 1407 drivers/media/pci/cx23885/cx23885-dvb.c if (fe != NULL && fe->ops.tuner_ops.set_config != NULL) fe 1408 drivers/media/pci/cx23885/cx23885-dvb.c fe->ops.tuner_ops.set_config(fe, &ctl); fe 1433 drivers/media/pci/cx23885/cx23885-dvb.c struct dvb_frontend *fe; fe 1444 drivers/media/pci/cx23885/cx23885-dvb.c fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, fe 1446 drivers/media/pci/cx23885/cx23885-dvb.c if (fe != NULL && fe->ops.tuner_ops.set_config != NULL) fe 1447 drivers/media/pci/cx23885/cx23885-dvb.c fe->ops.tuner_ops.set_config(fe, &ctl); fe 1485 drivers/media/pci/cx23885/cx23885-dvb.c struct dvb_frontend *fe; fe 1496 drivers/media/pci/cx23885/cx23885-dvb.c fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, fe 1498 drivers/media/pci/cx23885/cx23885-dvb.c if (fe != NULL && fe->ops.tuner_ops.set_config != NULL) fe 1499 drivers/media/pci/cx23885/cx23885-dvb.c fe->ops.tuner_ops.set_config(fe, &ctl); fe 1509 drivers/media/pci/cx23885/cx23885-dvb.c struct dvb_frontend *fe; fe 1518 drivers/media/pci/cx23885/cx23885-dvb.c fe = dvb_attach(xc4000_attach, fe0->dvb.frontend, fe 1520 drivers/media/pci/cx23885/cx23885-dvb.c if (!fe) { fe 1859 drivers/media/pci/cx23885/cx23885-dvb.c si2165_pdata.fe = &fe0->dvb.frontend; fe 1944 drivers/media/pci/cx23885/cx23885-dvb.c ts2020_config.fe = fe0->dvb.frontend; fe 1981 drivers/media/pci/cx23885/cx23885-dvb.c si2168_config.fe = &fe0->dvb.frontend; fe 2000 drivers/media/pci/cx23885/cx23885-dvb.c si2157_config.fe = fe0->dvb.frontend; fe 2028 drivers/media/pci/cx23885/cx23885-dvb.c si2168_config.fe = &fe0->dvb.frontend; fe 2046 drivers/media/pci/cx23885/cx23885-dvb.c si2157_config.fe = fe0->dvb.frontend; fe 2076 drivers/media/pci/cx23885/cx23885-dvb.c ts2020_config.fe = fe0->dvb.frontend; fe 2145 drivers/media/pci/cx23885/cx23885-dvb.c ts2020_config.fe = fe0->dvb.frontend; fe 2191 drivers/media/pci/cx23885/cx23885-dvb.c si2168_config.fe = &fe0->dvb.frontend; fe 2208 drivers/media/pci/cx23885/cx23885-dvb.c si2157_config.fe = fe0->dvb.frontend; fe 2259 drivers/media/pci/cx23885/cx23885-dvb.c m88rs6000t_config.fe = fe0->dvb.frontend; fe 2283 drivers/media/pci/cx23885/cx23885-dvb.c si2168_config.fe = &fe0->dvb.frontend; fe 2301 drivers/media/pci/cx23885/cx23885-dvb.c si2157_config.fe = fe0->dvb.frontend; fe 2336 drivers/media/pci/cx23885/cx23885-dvb.c si2168_config.fe = &fe0->dvb.frontend; fe 2354 drivers/media/pci/cx23885/cx23885-dvb.c si2157_config.fe = fe0->dvb.frontend; fe 2383 drivers/media/pci/cx23885/cx23885-dvb.c si2168_config.fe = &fe0->dvb.frontend; fe 2401 drivers/media/pci/cx23885/cx23885-dvb.c si2157_config.fe = fe0->dvb.frontend; fe 2442 drivers/media/pci/cx23885/cx23885-dvb.c si2157_config.fe = fe0->dvb.frontend; fe 2478 drivers/media/pci/cx23885/cx23885-dvb.c si2157_config.fe = fe0->dvb.frontend; fe 2518 drivers/media/pci/cx23885/cx23885-dvb.c si2157_config.fe = fe0->dvb.frontend; fe 73 drivers/media/pci/cx23885/cx23885-f300.c static u8 f300_xfer(struct dvb_frontend *fe, u8 *buf) fe 75 drivers/media/pci/cx23885/cx23885-f300.c struct cx23885_tsport *port = fe->dvb->priv; fe 137 drivers/media/pci/cx23885/cx23885-f300.c int f300_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage voltage) fe 163 drivers/media/pci/cx23885/cx23885-f300.c return f300_xfer(fe, buf); fe 2 drivers/media/pci/cx23885/cx23885-f300.h extern int f300_set_voltage(struct dvb_frontend *fe, fe 966 drivers/media/pci/cx23885/cx23885-video.c struct dvb_frontend *fe; fe 994 drivers/media/pci/cx23885/cx23885-video.c fe = vfe->dvb.frontend; fe 1000 drivers/media/pci/cx23885/cx23885-video.c fe = &dev->ts1.analog_fe; fe 1002 drivers/media/pci/cx23885/cx23885-video.c if (fe && fe->ops.tuner_ops.set_analog_params) { fe 1004 drivers/media/pci/cx23885/cx23885-video.c fe->ops.tuner_ops.set_analog_params(fe, ¶ms); fe 310 drivers/media/pci/cx23885/cx23885.h int (*set_frontend)(struct dvb_frontend *fe); fe 311 drivers/media/pci/cx23885/cx23885.h int (*fe_set_voltage)(struct dvb_frontend *fe, fe 162 drivers/media/pci/cx88/cx88-dvb.c static int cx88_dvb_bus_ctrl(struct dvb_frontend *fe, int acquire) fe 164 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; fe 169 drivers/media/pci/cx88/cx88-dvb.c fe_id = vb2_dvb_find_frontend(&dev->frontends, fe); fe 194 drivers/media/pci/cx88/cx88-dvb.c struct vb2_dvb_frontend *fe; fe 205 drivers/media/pci/cx88/cx88-dvb.c fe = vb2_dvb_get_frontend(f, 1); fe 207 drivers/media/pci/cx88/cx88-dvb.c fe = vb2_dvb_get_frontend(f, f->gate); fe 209 drivers/media/pci/cx88/cx88-dvb.c if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl) fe 210 drivers/media/pci/cx88/cx88-dvb.c fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open); fe 215 drivers/media/pci/cx88/cx88-dvb.c static int dvico_fusionhdtv_demod_init(struct dvb_frontend *fe) fe 224 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, clock_config, sizeof(clock_config)); fe 226 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, reset, sizeof(reset)); fe 227 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, adc_ctl_1_cfg, sizeof(adc_ctl_1_cfg)); fe 229 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, agc_cfg, sizeof(agc_cfg)); fe 230 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, gpp_ctl_cfg, sizeof(gpp_ctl_cfg)); fe 231 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, capt_range_cfg, sizeof(capt_range_cfg)); fe 235 drivers/media/pci/cx88/cx88-dvb.c static int dvico_dual_demod_init(struct dvb_frontend *fe) fe 244 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, clock_config, sizeof(clock_config)); fe 246 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, reset, sizeof(reset)); fe 247 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, adc_ctl_1_cfg, sizeof(adc_ctl_1_cfg)); fe 249 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, agc_cfg, sizeof(agc_cfg)); fe 250 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, gpp_ctl_cfg, sizeof(gpp_ctl_cfg)); fe 251 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, capt_range_cfg, sizeof(capt_range_cfg)); fe 256 drivers/media/pci/cx88/cx88-dvb.c static int dntv_live_dvbt_demod_init(struct dvb_frontend *fe) fe 266 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, clock_config, sizeof(clock_config)); fe 268 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, reset, sizeof(reset)); fe 269 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, adc_ctl_1_cfg, sizeof(adc_ctl_1_cfg)); fe 271 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, agc_cfg, sizeof(agc_cfg)); fe 273 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, dntv_extra, sizeof(dntv_extra)); fe 274 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, capt_range_cfg, sizeof(capt_range_cfg)); fe 305 drivers/media/pci/cx88/cx88-dvb.c static int dntv_live_dvbt_pro_demod_init(struct dvb_frontend *fe) fe 315 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, clock_config, sizeof(clock_config)); fe 317 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, reset, sizeof(reset)); fe 318 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, adc_ctl_1_cfg, sizeof(adc_ctl_1_cfg)); fe 320 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, agc_cfg, sizeof(agc_cfg)); fe 322 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, dntv_extra, sizeof(dntv_extra)); fe 323 drivers/media/pci/cx88/cx88-dvb.c mt352_write(fe, capt_range_cfg, sizeof(capt_range_cfg)); fe 367 drivers/media/pci/cx88/cx88-dvb.c static int or51132_set_ts_param(struct dvb_frontend *fe, int is_punctured) fe 369 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; fe 380 drivers/media/pci/cx88/cx88-dvb.c static int lgdt330x_pll_rf_set(struct dvb_frontend *fe, int index) fe 382 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; fe 393 drivers/media/pci/cx88/cx88-dvb.c static int lgdt330x_set_ts_param(struct dvb_frontend *fe, int is_punctured) fe 395 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; fe 422 drivers/media/pci/cx88/cx88-dvb.c static int nxt200x_set_ts_param(struct dvb_frontend *fe, int is_punctured) fe 424 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; fe 435 drivers/media/pci/cx88/cx88-dvb.c static int cx24123_set_ts_param(struct dvb_frontend *fe, fe 438 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; fe 444 drivers/media/pci/cx88/cx88-dvb.c static int kworld_dvbs_100_set_voltage(struct dvb_frontend *fe, fe 447 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; fe 456 drivers/media/pci/cx88/cx88-dvb.c return core->prev_set_voltage(fe, voltage); fe 460 drivers/media/pci/cx88/cx88-dvb.c static int geniatech_dvbs_set_voltage(struct dvb_frontend *fe, fe 463 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; fe 472 drivers/media/pci/cx88/cx88-dvb.c return core->prev_set_voltage(fe, voltage); fe 476 drivers/media/pci/cx88/cx88-dvb.c static int tevii_dvbs_set_voltage(struct dvb_frontend *fe, fe 479 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; fe 496 drivers/media/pci/cx88/cx88-dvb.c return core->prev_set_voltage(fe, voltage); fe 500 drivers/media/pci/cx88/cx88-dvb.c static int vp1027_set_voltage(struct dvb_frontend *fe, fe 503 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; fe 522 drivers/media/pci/cx88/cx88-dvb.c return core->prev_set_voltage(fe, voltage); fe 604 drivers/media/pci/cx88/cx88-dvb.c struct dvb_frontend *fe; fe 630 drivers/media/pci/cx88/cx88-dvb.c fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, &cfg); fe 631 drivers/media/pci/cx88/cx88-dvb.c if (!fe) { fe 646 drivers/media/pci/cx88/cx88-dvb.c struct dvb_frontend *fe; fe 659 drivers/media/pci/cx88/cx88-dvb.c fe = dvb_attach(xc4000_attach, fe0->dvb.frontend, &dev->core->i2c_adap, fe 661 drivers/media/pci/cx88/cx88-dvb.c if (!fe) { fe 674 drivers/media/pci/cx88/cx88-dvb.c static int cx24116_set_ts_param(struct dvb_frontend *fe, fe 677 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; fe 684 drivers/media/pci/cx88/cx88-dvb.c static int stv0900_set_ts_param(struct dvb_frontend *fe, fe 687 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; fe 694 drivers/media/pci/cx88/cx88-dvb.c static int cx24116_reset_device(struct dvb_frontend *fe) fe 696 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; fe 722 drivers/media/pci/cx88/cx88-dvb.c static int ds3000_set_ts_param(struct dvb_frontend *fe, fe 725 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; fe 781 drivers/media/pci/cx88/cx88-dvb.c struct vb2_dvb_frontend *fe = NULL; fe 793 drivers/media/pci/cx88/cx88-dvb.c fe = vb2_dvb_alloc_frontend(&dev->frontends, i); fe 794 drivers/media/pci/cx88/cx88-dvb.c if (!fe) { fe 854 drivers/media/pci/cx88/cx88-dvb.c static int samsung_smt_7020_tuner_set_params(struct dvb_frontend *fe) fe 856 drivers/media/pci/cx88/cx88-dvb.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 857 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; fe 876 drivers/media/pci/cx88/cx88-dvb.c if (fe->ops.i2c_gate_ctrl) fe 877 drivers/media/pci/cx88/cx88-dvb.c fe->ops.i2c_gate_ctrl(fe, 1); fe 885 drivers/media/pci/cx88/cx88-dvb.c static int samsung_smt_7020_set_tone(struct dvb_frontend *fe, fe 888 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; fe 907 drivers/media/pci/cx88/cx88-dvb.c static int samsung_smt_7020_set_voltage(struct dvb_frontend *fe, fe 910 drivers/media/pci/cx88/cx88-dvb.c struct cx8802_dev *dev = fe->dvb->priv; fe 940 drivers/media/pci/cx88/cx88-dvb.c static int samsung_smt_7020_stv0299_set_symbol_rate(struct dvb_frontend *fe, fe 966 drivers/media/pci/cx88/cx88-dvb.c stv0299_writereg(fe, 0x13, aclk); fe 967 drivers/media/pci/cx88/cx88-dvb.c stv0299_writereg(fe, 0x14, bclk); fe 968 drivers/media/pci/cx88/cx88-dvb.c stv0299_writereg(fe, 0x1f, (ratio >> 16) & 0xff); fe 969 drivers/media/pci/cx88/cx88-dvb.c stv0299_writereg(fe, 0x20, (ratio >> 8) & 0xff); fe 970 drivers/media/pci/cx88/cx88-dvb.c stv0299_writereg(fe, 0x21, ratio & 0xf0); fe 1364 drivers/media/pci/cx88/cx88-dvb.c struct dvb_frontend *fe; fe 1375 drivers/media/pci/cx88/cx88-dvb.c fe = dvb_attach(xc2028_attach, fe 1377 drivers/media/pci/cx88/cx88-dvb.c if (fe && fe->ops.tuner_ops.set_config) fe 1378 drivers/media/pci/cx88/cx88-dvb.c fe->ops.tuner_ops.set_config(fe, &ctl); fe 1736 drivers/media/pci/cx88/cx88-dvb.c struct vb2_dvb_frontend *fe; fe 1766 drivers/media/pci/cx88/cx88-dvb.c fe = vb2_dvb_get_frontend(&core->dvbdev->frontends, i); fe 1767 drivers/media/pci/cx88/cx88-dvb.c if (!fe) { fe 1773 drivers/media/pci/cx88/cx88-dvb.c q = &fe->dvb.dvbq; fe 1791 drivers/media/pci/cx88/cx88-dvb.c fe->dvb.name = dev->core->name; fe 369 drivers/media/pci/cx88/cx88.h int (*prev_set_voltage)(struct dvb_frontend *fe, fe 869 drivers/media/pci/ddbridge/ddbridge-core.c static int locked_gate_ctrl(struct dvb_frontend *fe, int enable) fe 871 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_input *input = fe->sec_priv; fe 878 drivers/media/pci/ddbridge/ddbridge-core.c status = dvb->i2c_gate_ctrl(fe, 1); fe 880 drivers/media/pci/ddbridge/ddbridge-core.c status = dvb->i2c_gate_ctrl(fe, 0); fe 897 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe = dvb_attach(drxk_attach, &config, i2c); fe 898 drivers/media/pci/ddbridge/ddbridge-core.c if (!dvb->fe) { fe 902 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->sec_priv = input; fe 903 drivers/media/pci/ddbridge/ddbridge-core.c dvb->i2c_gate_ctrl = dvb->fe->ops.i2c_gate_ctrl; fe 904 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->ops.i2c_gate_ctrl = locked_gate_ctrl; fe 913 drivers/media/pci/ddbridge/ddbridge-core.c struct dvb_frontend *fe; fe 915 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe->ops.i2c_gate_ctrl) fe 916 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->ops.i2c_gate_ctrl(dvb->fe, 1); fe 917 drivers/media/pci/ddbridge/ddbridge-core.c fe = dvb_attach(tda18271c2dd_attach, dvb->fe, i2c, 0x60); fe 918 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe->ops.i2c_gate_ctrl) fe 919 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->ops.i2c_gate_ctrl(dvb->fe, 0); fe 920 drivers/media/pci/ddbridge/ddbridge-core.c if (!fe) { fe 956 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe = dvb_attach(stv0367ddb_attach, fe 959 drivers/media/pci/ddbridge/ddbridge-core.c if (!dvb->fe) { fe 963 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->sec_priv = input; fe 964 drivers/media/pci/ddbridge/ddbridge-core.c dvb->i2c_gate_ctrl = dvb->fe->ops.i2c_gate_ctrl; fe 965 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->ops.i2c_gate_ctrl = locked_gate_ctrl; fe 978 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe->ops.i2c_gate_ctrl) fe 979 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->ops.i2c_gate_ctrl(dvb->fe, 1); fe 986 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe->ops.i2c_gate_ctrl) fe 987 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->ops.i2c_gate_ctrl(dvb->fe, 0); fe 1011 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe = dvb_attach(cxd2841er_attach_t_c, &cfg, i2c); fe 1013 drivers/media/pci/ddbridge/ddbridge-core.c if (!dvb->fe) { fe 1017 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->sec_priv = input; fe 1018 drivers/media/pci/ddbridge/ddbridge-core.c dvb->i2c_gate_ctrl = dvb->fe->ops.i2c_gate_ctrl; fe 1019 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->ops.i2c_gate_ctrl = locked_gate_ctrl; fe 1030 drivers/media/pci/ddbridge/ddbridge-core.c .fe = dvb->fe, fe 1127 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe = dvb_attach(stv090x_attach, feconf, i2c, fe 1130 drivers/media/pci/ddbridge/ddbridge-core.c if (!dvb->fe) { fe 1134 drivers/media/pci/ddbridge/ddbridge-core.c if (!dvb_attach(lnbh24_attach, dvb->fe, i2c, 0, fe 1138 drivers/media/pci/ddbridge/ddbridge-core.c dvb_frontend_detach(dvb->fe); fe 1154 drivers/media/pci/ddbridge/ddbridge-core.c ctl = dvb_attach(stv6110x_attach, dvb->fe, tunerconf, i2c); fe 1216 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe = dvb_attach(stv0910_attach, i2c, &cfg, (input->nr & 1)); fe 1217 drivers/media/pci/ddbridge/ddbridge-core.c if (!dvb->fe) { fe 1219 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe = dvb_attach(stv0910_attach, i2c, fe 1222 drivers/media/pci/ddbridge/ddbridge-core.c if (!dvb->fe) { fe 1235 drivers/media/pci/ddbridge/ddbridge-core.c if (!dvb_attach(lnbh25_attach, dvb->fe, &lnbcfg, i2c)) { fe 1237 drivers/media/pci/ddbridge/ddbridge-core.c dvb_frontend_detach(dvb->fe); fe 1249 drivers/media/pci/ddbridge/ddbridge-core.c struct dvb_frontend *fe; fe 1252 drivers/media/pci/ddbridge/ddbridge-core.c fe = dvb_attach(stv6111_attach, dvb->fe, i2c, adr); fe 1253 drivers/media/pci/ddbridge/ddbridge-core.c if (!fe) { fe 1254 drivers/media/pci/ddbridge/ddbridge-core.c fe = dvb_attach(stv6111_attach, dvb->fe, i2c, adr & ~4); fe 1255 drivers/media/pci/ddbridge/ddbridge-core.c if (!fe) { fe 1268 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe = dvb_attach(dvb_dummy_fe_qam_attach); fe 1269 drivers/media/pci/ddbridge/ddbridge-core.c if (!dvb->fe) { fe 1311 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe) fe 1312 drivers/media/pci/ddbridge/ddbridge-core.c dvb_unregister_frontend(dvb->fe); fe 1320 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe) fe 1321 drivers/media/pci/ddbridge/ddbridge-core.c dvb_frontend_detach(dvb->fe); fe 1322 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe = NULL; fe 1507 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe = NULL; fe 1600 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe) { fe 1601 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb_register_frontend(adap, dvb->fe) < 0) fe 1606 drivers/media/pci/ddbridge/ddbridge-core.c dvb_unregister_frontend(dvb->fe); fe 1609 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe2->tuner_priv = dvb->fe->tuner_priv; fe 1611 drivers/media/pci/ddbridge/ddbridge-core.c &dvb->fe->ops.tuner_ops, fe 1624 drivers/media/pci/ddbridge/ddbridge-core.c if (dvb->fe) fe 1625 drivers/media/pci/ddbridge/ddbridge-core.c dvb_frontend_detach(dvb->fe); fe 76 drivers/media/pci/ddbridge/ddbridge-max.c static int max_send_master_cmd(struct dvb_frontend *fe, fe 79 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_input *input = fe->sec_priv; fe 90 drivers/media/pci/ddbridge/ddbridge-max.c dvb->diseqc_send_master_cmd(fe, cmd); fe 179 drivers/media/pci/ddbridge/ddbridge-max.c static int max_set_input_unlocked(struct dvb_frontend *fe, int in) fe 181 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_input *input = fe->sec_priv; fe 198 drivers/media/pci/ddbridge/ddbridge-max.c res = dvb->set_input(fe, in); fe 202 drivers/media/pci/ddbridge/ddbridge-max.c static int max_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) fe 204 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_input *input = fe->sec_priv; fe 233 drivers/media/pci/ddbridge/ddbridge-max.c res = max_set_input_unlocked(fe, tuner); fe 240 drivers/media/pci/ddbridge/ddbridge-max.c static int max_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage voltage) fe 242 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_input *input = fe->sec_priv; fe 259 drivers/media/pci/ddbridge/ddbridge-max.c max_set_input_unlocked(fe, 0); fe 291 drivers/media/pci/ddbridge/ddbridge-max.c res = max_set_input_unlocked(fe, tuner); fe 344 drivers/media/pci/ddbridge/ddbridge-max.c static int max_enable_high_lnb_voltage(struct dvb_frontend *fe, long arg) fe 349 drivers/media/pci/ddbridge/ddbridge-max.c static int max_send_burst(struct dvb_frontend *fe, enum fe_sec_mini_cmd burst) fe 427 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe = dvb_attach(mxl5xx_attach, i2c, &cfg, fe 430 drivers/media/pci/ddbridge/ddbridge-max.c if (!dvb->fe) { fe 446 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.set_voltage = max_set_voltage; fe 447 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.enable_high_lnb_voltage = max_enable_high_lnb_voltage; fe 448 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.set_tone = max_set_tone; fe 449 drivers/media/pci/ddbridge/ddbridge-max.c dvb->diseqc_send_master_cmd = dvb->fe->ops.diseqc_send_master_cmd; fe 450 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.diseqc_send_master_cmd = max_send_master_cmd; fe 451 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.diseqc_send_burst = max_send_burst; fe 452 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->sec_priv = input; fe 480 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe = ddb_mci_attach(input, &cfg, demod, &dvb->set_input); fe 481 drivers/media/pci/ddbridge/ddbridge-max.c if (!dvb->fe) { fe 495 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.set_voltage = max_set_voltage; fe 496 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.enable_high_lnb_voltage = max_enable_high_lnb_voltage; fe 497 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.set_tone = max_set_tone; fe 498 drivers/media/pci/ddbridge/ddbridge-max.c dvb->diseqc_send_master_cmd = dvb->fe->ops.diseqc_send_master_cmd; fe 499 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.diseqc_send_master_cmd = max_send_master_cmd; fe 500 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->ops.diseqc_send_burst = max_send_burst; fe 501 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->sec_priv = input; fe 128 drivers/media/pci/ddbridge/ddbridge-mci.c int (**fn_set_input)(struct dvb_frontend *fe, int input)) fe 166 drivers/media/pci/ddbridge/ddbridge-mci.c memcpy(&state->fe.ops, cfg->fe_ops, sizeof(struct dvb_frontend_ops)); fe 167 drivers/media/pci/ddbridge/ddbridge-mci.c state->fe.demodulator_priv = state; fe 174 drivers/media/pci/ddbridge/ddbridge-mci.c return &state->fe; fe 235 drivers/media/pci/ddbridge/ddbridge-mci.h struct dvb_frontend fe; fe 248 drivers/media/pci/ddbridge/ddbridge-mci.h int (*set_input)(struct dvb_frontend *fe, int input); fe 260 drivers/media/pci/ddbridge/ddbridge-mci.h int (**fn_set_input)(struct dvb_frontend *fe, int input)); fe 55 drivers/media/pci/ddbridge/ddbridge-sx8.c static void release(struct dvb_frontend *fe) fe 57 drivers/media/pci/ddbridge/ddbridge-sx8.c struct sx8 *state = fe->demodulator_priv; fe 68 drivers/media/pci/ddbridge/ddbridge-sx8.c static int get_info(struct dvb_frontend *fe) fe 71 drivers/media/pci/ddbridge/ddbridge-sx8.c struct sx8 *state = fe->demodulator_priv; fe 81 drivers/media/pci/ddbridge/ddbridge-sx8.c static int get_snr(struct dvb_frontend *fe) fe 83 drivers/media/pci/ddbridge/ddbridge-sx8.c struct sx8 *state = fe->demodulator_priv; fe 84 drivers/media/pci/ddbridge/ddbridge-sx8.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 94 drivers/media/pci/ddbridge/ddbridge-sx8.c static int get_strength(struct dvb_frontend *fe) fe 96 drivers/media/pci/ddbridge/ddbridge-sx8.c struct sx8 *state = fe->demodulator_priv; fe 97 drivers/media/pci/ddbridge/ddbridge-sx8.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 109 drivers/media/pci/ddbridge/ddbridge-sx8.c static int read_status(struct dvb_frontend *fe, enum fe_status *status) fe 112 drivers/media/pci/ddbridge/ddbridge-sx8.c struct sx8 *state = fe->demodulator_priv; fe 122 drivers/media/pci/ddbridge/ddbridge-sx8.c get_info(fe); fe 123 drivers/media/pci/ddbridge/ddbridge-sx8.c get_strength(fe); fe 128 drivers/media/pci/ddbridge/ddbridge-sx8.c get_snr(fe); fe 133 drivers/media/pci/ddbridge/ddbridge-sx8.c static int mci_set_tuner(struct dvb_frontend *fe, u32 tuner, u32 on) fe 135 drivers/media/pci/ddbridge/ddbridge-sx8.c struct sx8 *state = fe->demodulator_priv; fe 147 drivers/media/pci/ddbridge/ddbridge-sx8.c static int stop(struct dvb_frontend *fe) fe 149 drivers/media/pci/ddbridge/ddbridge-sx8.c struct sx8 *state = fe->demodulator_priv; fe 171 drivers/media/pci/ddbridge/ddbridge-sx8.c mci_set_tuner(fe, input, 0); fe 183 drivers/media/pci/ddbridge/ddbridge-sx8.c static int start(struct dvb_frontend *fe, u32 flags, u32 modmask, u32 ts_config) fe 185 drivers/media/pci/ddbridge/ddbridge-sx8.c struct sx8 *state = fe->demodulator_priv; fe 188 drivers/media/pci/ddbridge/ddbridge-sx8.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 268 drivers/media/pci/ddbridge/ddbridge-sx8.c mci_set_tuner(fe, input, 1); fe 305 drivers/media/pci/ddbridge/ddbridge-sx8.c stop(fe); fe 309 drivers/media/pci/ddbridge/ddbridge-sx8.c static int start_iq(struct dvb_frontend *fe, u32 flags, u32 roll_off, fe 312 drivers/media/pci/ddbridge/ddbridge-sx8.c struct sx8 *state = fe->demodulator_priv; fe 315 drivers/media/pci/ddbridge/ddbridge-sx8.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 335 drivers/media/pci/ddbridge/ddbridge-sx8.c mci_set_tuner(fe, input, 1); fe 353 drivers/media/pci/ddbridge/ddbridge-sx8.c stop(fe); fe 358 drivers/media/pci/ddbridge/ddbridge-sx8.c static int set_parameters(struct dvb_frontend *fe) fe 361 drivers/media/pci/ddbridge/ddbridge-sx8.c struct sx8 *state = fe->demodulator_priv; fe 362 drivers/media/pci/ddbridge/ddbridge-sx8.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 366 drivers/media/pci/ddbridge/ddbridge-sx8.c stop(fe); fe 399 drivers/media/pci/ddbridge/ddbridge-sx8.c stat = start(fe, 3, mask, ts_config); fe 401 drivers/media/pci/ddbridge/ddbridge-sx8.c stat = start_iq(fe, 0, 4, ts_config); fe 412 drivers/media/pci/ddbridge/ddbridge-sx8.c static int tune(struct dvb_frontend *fe, bool re_tune, fe 419 drivers/media/pci/ddbridge/ddbridge-sx8.c r = set_parameters(fe); fe 423 drivers/media/pci/ddbridge/ddbridge-sx8.c r = read_status(fe, status); fe 433 drivers/media/pci/ddbridge/ddbridge-sx8.c static enum dvbfe_algo get_algo(struct dvb_frontend *fe) fe 438 drivers/media/pci/ddbridge/ddbridge-sx8.c static int set_input(struct dvb_frontend *fe, int input) fe 440 drivers/media/pci/ddbridge/ddbridge-sx8.c struct sx8 *state = fe->demodulator_priv; fe 168 drivers/media/pci/ddbridge/ddbridge.h struct dvb_frontend *fe; fe 183 drivers/media/pci/ddbridge/ddbridge.h int (*set_voltage)(struct dvb_frontend *fe, fe 185 drivers/media/pci/ddbridge/ddbridge.h int (*set_input)(struct dvb_frontend *fe, int input); fe 186 drivers/media/pci/ddbridge/ddbridge.h int (*diseqc_send_master_cmd)(struct dvb_frontend *fe, fe 332 drivers/media/pci/dm1105/dm1105.c struct dvb_frontend *fe; fe 574 drivers/media/pci/dm1105/dm1105.c static inline struct dm1105_dev *frontend_to_dm1105_dev(struct dvb_frontend *fe) fe 576 drivers/media/pci/dm1105/dm1105.c return container_of(fe->dvb, struct dm1105_dev, dvb_adapter); fe 579 drivers/media/pci/dm1105/dm1105.c static int dm1105_set_voltage(struct dvb_frontend *fe, fe 582 drivers/media/pci/dm1105/dm1105.c struct dm1105_dev *dev = frontend_to_dm1105_dev(fe); fe 855 drivers/media/pci/dm1105/dm1105.c dev->fe = dvb_attach( fe 858 drivers/media/pci/dm1105/dm1105.c if (dev->fe) { fe 859 drivers/media/pci/dm1105/dm1105.c dev->fe->ops.set_voltage = dm1105_set_voltage; fe 860 drivers/media/pci/dm1105/dm1105.c dvb_attach(dvb_pll_attach, dev->fe, 0x60, fe 865 drivers/media/pci/dm1105/dm1105.c dev->fe = dvb_attach( fe 868 drivers/media/pci/dm1105/dm1105.c if (dev->fe) { fe 869 drivers/media/pci/dm1105/dm1105.c dev->fe->ops.set_voltage = dm1105_set_voltage; fe 870 drivers/media/pci/dm1105/dm1105.c dvb_attach(stb6000_attach, dev->fe, 0x61, fe 875 drivers/media/pci/dm1105/dm1105.c dev->fe = dvb_attach( fe 878 drivers/media/pci/dm1105/dm1105.c if (dev->fe) fe 879 drivers/media/pci/dm1105/dm1105.c dev->fe->ops.set_voltage = dm1105_set_voltage; fe 882 drivers/media/pci/dm1105/dm1105.c dev->fe = dvb_attach( fe 885 drivers/media/pci/dm1105/dm1105.c if (dev->fe) { fe 886 drivers/media/pci/dm1105/dm1105.c dev->fe->ops.set_voltage = dm1105_set_voltage; fe 890 drivers/media/pci/dm1105/dm1105.c dev->fe = dvb_attach( fe 893 drivers/media/pci/dm1105/dm1105.c if (dev->fe) { fe 894 drivers/media/pci/dm1105/dm1105.c dvb_attach(ts2020_attach, dev->fe, fe 896 drivers/media/pci/dm1105/dm1105.c dev->fe->ops.set_voltage = dm1105_set_voltage; fe 903 drivers/media/pci/dm1105/dm1105.c dev->fe = dvb_attach( fe 906 drivers/media/pci/dm1105/dm1105.c if (dev->fe) { fe 907 drivers/media/pci/dm1105/dm1105.c dev->fe->ops.set_voltage = dm1105_set_voltage; fe 908 drivers/media/pci/dm1105/dm1105.c dvb_attach(dvb_pll_attach, dev->fe, 0x60, fe 913 drivers/media/pci/dm1105/dm1105.c dev->fe = dvb_attach( fe 916 drivers/media/pci/dm1105/dm1105.c if (dev->fe) { fe 917 drivers/media/pci/dm1105/dm1105.c dev->fe->ops.set_voltage = dm1105_set_voltage; fe 918 drivers/media/pci/dm1105/dm1105.c dvb_attach(stb6000_attach, dev->fe, 0x61, fe 923 drivers/media/pci/dm1105/dm1105.c dev->fe = dvb_attach( fe 926 drivers/media/pci/dm1105/dm1105.c if (dev->fe) fe 927 drivers/media/pci/dm1105/dm1105.c dev->fe->ops.set_voltage = dm1105_set_voltage; fe 931 drivers/media/pci/dm1105/dm1105.c if (!dev->fe) { fe 936 drivers/media/pci/dm1105/dm1105.c ret = dvb_register_frontend(&dev->dvb_adapter, dev->fe); fe 938 drivers/media/pci/dm1105/dm1105.c if (dev->fe->ops.release) fe 939 drivers/media/pci/dm1105/dm1105.c dev->fe->ops.release(dev->fe); fe 940 drivers/media/pci/dm1105/dm1105.c dev->fe = NULL; fe 1185 drivers/media/pci/dm1105/dm1105.c if (dev->fe) fe 1186 drivers/media/pci/dm1105/dm1105.c dvb_unregister_frontend(dev->fe); fe 32 drivers/media/pci/mantis/hopper_vp3028.c static int vp3028_frontend_init(struct mantis_pci *mantis, struct dvb_frontend *fe) fe 48 drivers/media/pci/mantis/hopper_vp3028.c fe = dvb_attach(zl10353_attach, &hopper_vp3028_config, adapter); fe 50 drivers/media/pci/mantis/hopper_vp3028.c if (!fe) fe 86 drivers/media/pci/mantis/mantis_common.h int (*frontend_init)(struct mantis_pci *mantis, struct dvb_frontend *fe); fe 138 drivers/media/pci/mantis/mantis_common.h struct dvb_frontend *fe; fe 211 drivers/media/pci/mantis/mantis_dvb.c result = config->frontend_init(mantis, mantis->fe); fe 216 drivers/media/pci/mantis/mantis_dvb.c if (mantis->fe == NULL) { fe 221 drivers/media/pci/mantis/mantis_dvb.c result = dvb_register_frontend(&mantis->dvb_adapter, mantis->fe); fe 225 drivers/media/pci/mantis/mantis_dvb.c if (mantis->fe->ops.release) fe 226 drivers/media/pci/mantis/mantis_dvb.c mantis->fe->ops.release(mantis->fe); fe 228 drivers/media/pci/mantis/mantis_dvb.c mantis->fe = NULL; fe 240 drivers/media/pci/mantis/mantis_dvb.c if (mantis->fe) { fe 241 drivers/media/pci/mantis/mantis_dvb.c dvb_unregister_frontend(mantis->fe); fe 242 drivers/media/pci/mantis/mantis_dvb.c dvb_frontend_detach(mantis->fe); fe 267 drivers/media/pci/mantis/mantis_dvb.c if (mantis->fe) { fe 272 drivers/media/pci/mantis/mantis_dvb.c dvb_unregister_frontend(mantis->fe); fe 273 drivers/media/pci/mantis/mantis_dvb.c dvb_frontend_detach(mantis->fe); fe 74 drivers/media/pci/mantis/mantis_vp1033.c static int lgtdqcs001f_tuner_set(struct dvb_frontend *fe) fe 76 drivers/media/pci/mantis/mantis_vp1033.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 77 drivers/media/pci/mantis/mantis_vp1033.c struct mantis_pci *mantis = fe->dvb->priv; fe 106 drivers/media/pci/mantis/mantis_vp1033.c static int lgtdqcs001f_set_symbol_rate(struct dvb_frontend *fe, fe 131 drivers/media/pci/mantis/mantis_vp1033.c stv0299_writereg(fe, 0x13, aclk); fe 132 drivers/media/pci/mantis/mantis_vp1033.c stv0299_writereg(fe, 0x14, bclk); fe 134 drivers/media/pci/mantis/mantis_vp1033.c stv0299_writereg(fe, 0x1f, (ratio >> 16) & 0xff); fe 135 drivers/media/pci/mantis/mantis_vp1033.c stv0299_writereg(fe, 0x20, (ratio >> 8) & 0xff); fe 136 drivers/media/pci/mantis/mantis_vp1033.c stv0299_writereg(fe, 0x21, ratio & 0xf0); fe 152 drivers/media/pci/mantis/mantis_vp1033.c static int vp1033_frontend_init(struct mantis_pci *mantis, struct dvb_frontend *fe) fe 164 drivers/media/pci/mantis/mantis_vp1033.c fe = dvb_attach(stv0299_attach, &lgtdqcs001f_config, adapter); fe 166 drivers/media/pci/mantis/mantis_vp1033.c if (fe) { fe 167 drivers/media/pci/mantis/mantis_vp1033.c fe->ops.tuner_ops.set_params = lgtdqcs001f_tuner_set; fe 182 drivers/media/pci/mantis/mantis_vp1033.c mantis->fe = fe; fe 35 drivers/media/pci/mantis/mantis_vp1034.c int vp1034_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage voltage) fe 37 drivers/media/pci/mantis/mantis_vp1034.c struct mantis_pci *mantis = fe->dvb->priv; fe 62 drivers/media/pci/mantis/mantis_vp1034.c static int vp1034_frontend_init(struct mantis_pci *mantis, struct dvb_frontend *fe) fe 74 drivers/media/pci/mantis/mantis_vp1034.c fe = dvb_attach(mb86a16_attach, &vp1034_mb86a16_config, adapter); fe 75 drivers/media/pci/mantis/mantis_vp1034.c if (fe) { fe 90 drivers/media/pci/mantis/mantis_vp1034.c mantis->fe = fe; fe 19 drivers/media/pci/mantis/mantis_vp1034.h extern int vp1034_set_voltage(struct dvb_frontend *fe, fe 296 drivers/media/pci/mantis/mantis_vp1041.c static int vp1041_frontend_init(struct mantis_pci *mantis, struct dvb_frontend *fe) fe 306 drivers/media/pci/mantis/mantis_vp1041.c mantis->fe = dvb_attach(stb0899_attach, &vp1041_stb0899_config, adapter); fe 307 drivers/media/pci/mantis/mantis_vp1041.c if (mantis->fe) { fe 312 drivers/media/pci/mantis/mantis_vp1041.c if (dvb_attach(stb6100_attach, mantis->fe, &vp1041_stb6100_config, adapter)) { fe 313 drivers/media/pci/mantis/mantis_vp1041.c if (!dvb_attach(lnbp21_attach, mantis->fe, adapter, 0, 0)) fe 56 drivers/media/pci/mantis/mantis_vp2033.c static int tda1002x_cu1216_tuner_set(struct dvb_frontend *fe) fe 58 drivers/media/pci/mantis/mantis_vp2033.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 59 drivers/media/pci/mantis/mantis_vp2033.c struct mantis_pci *mantis = fe->dvb->priv; fe 79 drivers/media/pci/mantis/mantis_vp2033.c if (fe->ops.i2c_gate_ctrl) fe 80 drivers/media/pci/mantis/mantis_vp2033.c fe->ops.i2c_gate_ctrl(fe, 1); fe 89 drivers/media/pci/mantis/mantis_vp2033.c if (fe->ops.i2c_gate_ctrl) fe 90 drivers/media/pci/mantis/mantis_vp2033.c fe->ops.i2c_gate_ctrl(fe, 1); fe 103 drivers/media/pci/mantis/mantis_vp2033.c if (fe->ops.i2c_gate_ctrl) fe 104 drivers/media/pci/mantis/mantis_vp2033.c fe->ops.i2c_gate_ctrl(fe, 1); fe 112 drivers/media/pci/mantis/mantis_vp2033.c static int vp2033_frontend_init(struct mantis_pci *mantis, struct dvb_frontend *fe) fe 124 drivers/media/pci/mantis/mantis_vp2033.c fe = dvb_attach(tda10021_attach, &vp2033_tda1002x_cu1216_config, fe 128 drivers/media/pci/mantis/mantis_vp2033.c if (fe) { fe 133 drivers/media/pci/mantis/mantis_vp2033.c fe = dvb_attach(tda10023_attach, &vp2033_tda10023_cu1216_config, fe 137 drivers/media/pci/mantis/mantis_vp2033.c if (fe) { fe 144 drivers/media/pci/mantis/mantis_vp2033.c if (fe) { fe 145 drivers/media/pci/mantis/mantis_vp2033.c fe->ops.tuner_ops.set_params = tda1002x_cu1216_tuner_set; fe 158 drivers/media/pci/mantis/mantis_vp2033.c mantis->fe = fe; fe 38 drivers/media/pci/mantis/mantis_vp2040.c static int tda1002x_cu1216_tuner_set(struct dvb_frontend *fe) fe 40 drivers/media/pci/mantis/mantis_vp2040.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 41 drivers/media/pci/mantis/mantis_vp2040.c struct mantis_pci *mantis = fe->dvb->priv; fe 61 drivers/media/pci/mantis/mantis_vp2040.c if (fe->ops.i2c_gate_ctrl) fe 62 drivers/media/pci/mantis/mantis_vp2040.c fe->ops.i2c_gate_ctrl(fe, 1); fe 71 drivers/media/pci/mantis/mantis_vp2040.c if (fe->ops.i2c_gate_ctrl) fe 72 drivers/media/pci/mantis/mantis_vp2040.c fe->ops.i2c_gate_ctrl(fe, 1); fe 85 drivers/media/pci/mantis/mantis_vp2040.c if (fe->ops.i2c_gate_ctrl) fe 86 drivers/media/pci/mantis/mantis_vp2040.c fe->ops.i2c_gate_ctrl(fe, 1); fe 112 drivers/media/pci/mantis/mantis_vp2040.c static int vp2040_frontend_init(struct mantis_pci *mantis, struct dvb_frontend *fe) fe 124 drivers/media/pci/mantis/mantis_vp2040.c fe = dvb_attach(tda10021_attach, &vp2040_tda1002x_cu1216_config, fe 128 drivers/media/pci/mantis/mantis_vp2040.c if (fe) { fe 133 drivers/media/pci/mantis/mantis_vp2040.c fe = dvb_attach(tda10023_attach, &vp2040_tda10023_cu1216_config, fe 137 drivers/media/pci/mantis/mantis_vp2040.c if (fe) { fe 144 drivers/media/pci/mantis/mantis_vp2040.c if (fe) { fe 145 drivers/media/pci/mantis/mantis_vp2040.c fe->ops.tuner_ops.set_params = tda1002x_cu1216_tuner_set; fe 157 drivers/media/pci/mantis/mantis_vp2040.c mantis->fe = fe; fe 44 drivers/media/pci/mantis/mantis_vp3030.c static int vp3030_frontend_init(struct mantis_pci *mantis, struct dvb_frontend *fe) fe 59 drivers/media/pci/mantis/mantis_vp3030.c fe = dvb_attach(zl10353_attach, &mantis_vp3030_config, adapter); fe 61 drivers/media/pci/mantis/mantis_vp3030.c if (!fe) fe 64 drivers/media/pci/mantis/mantis_vp3030.c dvb_attach(tda665x_attach, fe, &env57h12d5_config, adapter); fe 73 drivers/media/pci/mantis/mantis_vp3030.c mantis->fe = fe; fe 127 drivers/media/pci/ngene/ngene-cards.c ctl = dvb_attach(stv6110x_attach, chan->fe, tunerconf, i2c); fe 152 drivers/media/pci/ngene/ngene-cards.c struct dvb_frontend *fe; fe 155 drivers/media/pci/ngene/ngene-cards.c fe = dvb_attach(stv6111_attach, chan->fe, i2c, adr); fe 156 drivers/media/pci/ngene/ngene-cards.c if (!fe) { fe 157 drivers/media/pci/ngene/ngene-cards.c fe = dvb_attach(stv6111_attach, chan->fe, i2c, adr & ~4); fe 158 drivers/media/pci/ngene/ngene-cards.c if (!fe) { fe 166 drivers/media/pci/ngene/ngene-cards.c static int drxk_gate_ctrl(struct dvb_frontend *fe, int enable) fe 168 drivers/media/pci/ngene/ngene-cards.c struct ngene_channel *chan = fe->sec_priv; fe 173 drivers/media/pci/ngene/ngene-cards.c status = chan->gate_ctrl(fe, 1); fe 175 drivers/media/pci/ngene/ngene-cards.c status = chan->gate_ctrl(fe, 0); fe 185 drivers/media/pci/ngene/ngene-cards.c struct dvb_frontend *fe; fe 187 drivers/media/pci/ngene/ngene-cards.c if (chan->fe->ops.i2c_gate_ctrl) fe 188 drivers/media/pci/ngene/ngene-cards.c chan->fe->ops.i2c_gate_ctrl(chan->fe, 1); fe 189 drivers/media/pci/ngene/ngene-cards.c fe = dvb_attach(tda18271c2dd_attach, chan->fe, i2c, 0x60); fe 190 drivers/media/pci/ngene/ngene-cards.c if (chan->fe->ops.i2c_gate_ctrl) fe 191 drivers/media/pci/ngene/ngene-cards.c chan->fe->ops.i2c_gate_ctrl(chan->fe, 0); fe 192 drivers/media/pci/ngene/ngene-cards.c if (!fe) { fe 209 drivers/media/pci/ngene/ngene-cards.c if (chan->fe->ops.i2c_gate_ctrl) fe 210 drivers/media/pci/ngene/ngene-cards.c chan->fe->ops.i2c_gate_ctrl(chan->fe, 1); fe 217 drivers/media/pci/ngene/ngene-cards.c if (chan->fe->ops.i2c_gate_ctrl) fe 218 drivers/media/pci/ngene/ngene-cards.c chan->fe->ops.i2c_gate_ctrl(chan->fe, 0); fe 229 drivers/media/pci/ngene/ngene-cards.c .fe = chan->fe, fe 289 drivers/media/pci/ngene/ngene-cards.c chan->fe = dvb_attach(stv090x_attach, feconf, i2c, fe 292 drivers/media/pci/ngene/ngene-cards.c if (chan->fe == NULL) { fe 299 drivers/media/pci/ngene/ngene-cards.c chan->fe->analog_demod_priv = chan; fe 301 drivers/media/pci/ngene/ngene-cards.c if (!dvb_attach(lnbh24_attach, chan->fe, i2c, 0, fe 304 drivers/media/pci/ngene/ngene-cards.c dvb_frontend_detach(chan->fe); fe 305 drivers/media/pci/ngene/ngene-cards.c chan->fe = NULL; fe 332 drivers/media/pci/ngene/ngene-cards.c chan->fe = dvb_attach(stv0910_attach, i2c, &cfg, (chan->number & 1)); fe 333 drivers/media/pci/ngene/ngene-cards.c if (!chan->fe) { fe 335 drivers/media/pci/ngene/ngene-cards.c chan->fe = dvb_attach(stv0910_attach, i2c, fe 338 drivers/media/pci/ngene/ngene-cards.c if (!chan->fe) { fe 348 drivers/media/pci/ngene/ngene-cards.c if (!dvb_attach(lnbh25_attach, chan->fe, &lnbcfg, i2c)) { fe 350 drivers/media/pci/ngene/ngene-cards.c if (!dvb_attach(lnbh25_attach, chan->fe, &lnbcfg, i2c)) { fe 352 drivers/media/pci/ngene/ngene-cards.c dvb_frontend_detach(chan->fe); fe 353 drivers/media/pci/ngene/ngene-cards.c chan->fe = NULL; fe 384 drivers/media/pci/ngene/ngene-cards.c chan->fe = dvb_attach(stv0367ddb_attach, fe 387 drivers/media/pci/ngene/ngene-cards.c if (!chan->fe) { fe 392 drivers/media/pci/ngene/ngene-cards.c chan->fe->sec_priv = chan; fe 393 drivers/media/pci/ngene/ngene-cards.c chan->gate_ctrl = chan->fe->ops.i2c_gate_ctrl; fe 394 drivers/media/pci/ngene/ngene-cards.c chan->fe->ops.i2c_gate_ctrl = drxk_gate_ctrl; fe 413 drivers/media/pci/ngene/ngene-cards.c chan->fe = dvb_attach(cxd2841er_attach_t_c, &cfg, i2c); fe 415 drivers/media/pci/ngene/ngene-cards.c if (!chan->fe) { fe 420 drivers/media/pci/ngene/ngene-cards.c chan->fe->sec_priv = chan; fe 421 drivers/media/pci/ngene/ngene-cards.c chan->gate_ctrl = chan->fe->ops.i2c_gate_ctrl; fe 422 drivers/media/pci/ngene/ngene-cards.c chan->fe->ops.i2c_gate_ctrl = drxk_gate_ctrl; fe 426 drivers/media/pci/ngene/ngene-cards.c static void cineS2_tuner_i2c_lock(struct dvb_frontend *fe, int lock) fe 428 drivers/media/pci/ngene/ngene-cards.c struct ngene_channel *chan = fe->analog_demod_priv; fe 498 drivers/media/pci/ngene/ngene-cards.c chan->fe = dvb_attach(drxk_attach, &config, i2c); fe 499 drivers/media/pci/ngene/ngene-cards.c if (!chan->fe) { fe 503 drivers/media/pci/ngene/ngene-cards.c chan->fe->sec_priv = chan; fe 504 drivers/media/pci/ngene/ngene-cards.c chan->gate_ctrl = chan->fe->ops.i2c_gate_ctrl; fe 505 drivers/media/pci/ngene/ngene-cards.c chan->fe->ops.i2c_gate_ctrl = drxk_gate_ctrl; fe 715 drivers/media/pci/ngene/ngene-cards.c chan->fe = dvb_attach(lgdt330x_attach, &aver_m780, fe 717 drivers/media/pci/ngene/ngene-cards.c if (chan->fe == NULL) { fe 722 drivers/media/pci/ngene/ngene-cards.c dvb_attach(mt2131_attach, chan->fe, &chan->i2c_adapter, fe 725 drivers/media/pci/ngene/ngene-cards.c return (chan->fe) ? 0 : -ENODEV; fe 735 drivers/media/pci/ngene/ngene-cards.c chan->fe = dvb_attach(drxd_attach, feconf, chan, fe 737 drivers/media/pci/ngene/ngene-cards.c if (!chan->fe) { fe 751 drivers/media/pci/ngene/ngene-cards.c if (!dvb_attach(dvb_pll_attach, chan->fe, feconf->pll_address, fe 1408 drivers/media/pci/ngene/ngene-core.c if (chan->fe) { fe 1409 drivers/media/pci/ngene/ngene-core.c dvb_unregister_frontend(chan->fe); fe 1417 drivers/media/pci/ngene/ngene-core.c dvb_frontend_detach(chan->fe); fe 1418 drivers/media/pci/ngene/ngene-core.c chan->fe = NULL; fe 1455 drivers/media/pci/ngene/ngene-core.c chan->fe = NULL; fe 1461 drivers/media/pci/ngene/ngene-core.c if (chan->fe && ni->tuner_attach[nr]) { fe 1502 drivers/media/pci/ngene/ngene-core.c if (chan->fe) { fe 1503 drivers/media/pci/ngene/ngene-core.c if (dvb_register_frontend(adapter, chan->fe) < 0) fe 1510 drivers/media/pci/ngene/ngene-core.c if (chan->fe) { fe 1511 drivers/media/pci/ngene/ngene-core.c chan->fe2->tuner_priv = chan->fe->tuner_priv; fe 1513 drivers/media/pci/ngene/ngene-core.c &chan->fe->ops.tuner_ops, fe 1531 drivers/media/pci/ngene/ngene-core.c if (chan->fe) { fe 1532 drivers/media/pci/ngene/ngene-core.c dvb_frontend_detach(chan->fe); fe 1533 drivers/media/pci/ngene/ngene-core.c chan->fe = NULL; fe 649 drivers/media/pci/ngene/ngene.h struct dvb_frontend *fe; fe 95 drivers/media/pci/pluto2/pluto2.c struct dvb_frontend *fe; fe 120 drivers/media/pci/pluto2/pluto2.c static inline struct pluto *frontend_to_pluto(struct dvb_frontend *fe) fe 122 drivers/media/pci/pluto2/pluto2.c return container_of(fe->dvb, struct pluto, dvb_adapter); fe 434 drivers/media/pci/pluto2/pluto2.c static int lg_tdtpe001p_tuner_set_params(struct dvb_frontend *fe) fe 436 drivers/media/pci/pluto2/pluto2.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 437 drivers/media/pci/pluto2/pluto2.c struct pluto *pluto = frontend_to_pluto(fe); fe 475 drivers/media/pci/pluto2/pluto2.c if (fe->ops.i2c_gate_ctrl) fe 476 drivers/media/pci/pluto2/pluto2.c fe->ops.i2c_gate_ctrl(fe, 1); fe 486 drivers/media/pci/pluto2/pluto2.c static int pluto2_request_firmware(struct dvb_frontend *fe, fe 489 drivers/media/pci/pluto2/pluto2.c struct pluto *pluto = frontend_to_pluto(fe); fe 508 drivers/media/pci/pluto2/pluto2.c pluto->fe = tda10046_attach(&pluto2_fe_config, &pluto->i2c_adap); fe 509 drivers/media/pci/pluto2/pluto2.c if (!pluto->fe) { fe 513 drivers/media/pci/pluto2/pluto2.c pluto->fe->ops.tuner_ops.set_params = lg_tdtpe001p_tuner_set_params; fe 515 drivers/media/pci/pluto2/pluto2.c ret = dvb_register_frontend(&pluto->dvb_adapter, pluto->fe); fe 517 drivers/media/pci/pluto2/pluto2.c if (pluto->fe->ops.release) fe 518 drivers/media/pci/pluto2/pluto2.c pluto->fe->ops.release(pluto->fe); fe 738 drivers/media/pci/pluto2/pluto2.c if (pluto->fe) fe 739 drivers/media/pci/pluto2/pluto2.c dvb_unregister_frontend(pluto->fe); fe 103 drivers/media/pci/pt1/pt1.c struct dvb_frontend *fe; fe 106 drivers/media/pci/pt1/pt1.c int (*orig_set_voltage)(struct dvb_frontend *fe, fe 108 drivers/media/pci/pt1/pt1.c int (*orig_sleep)(struct dvb_frontend *fe); fe 109 drivers/media/pci/pt1/pt1.c int (*orig_init)(struct dvb_frontend *fe); fe 769 drivers/media/pci/pt1/pt1.c static int pt1_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage voltage) fe 773 drivers/media/pci/pt1/pt1.c adap = container_of(fe->dvb, struct pt1_adapter, adap); fe 778 drivers/media/pci/pt1/pt1.c return adap->orig_set_voltage(fe, voltage); fe 783 drivers/media/pci/pt1/pt1.c static int pt1_sleep(struct dvb_frontend *fe) fe 788 drivers/media/pci/pt1/pt1.c adap = container_of(fe->dvb, struct pt1_adapter, adap); fe 792 drivers/media/pci/pt1/pt1.c ret = adap->orig_sleep(fe); fe 799 drivers/media/pci/pt1/pt1.c static int pt1_wakeup(struct dvb_frontend *fe) fe 804 drivers/media/pci/pt1/pt1.c adap = container_of(fe->dvb, struct pt1_adapter, adap); fe 811 drivers/media/pci/pt1/pt1.c ret = adap->orig_init(fe); fe 934 drivers/media/pci/pt1/pt1.c dvb_unregister_frontend(adap->fe); fe 939 drivers/media/pci/pt1/pt1.c static int pt1_init_frontend(struct pt1_adapter *adap, struct dvb_frontend *fe) fe 943 drivers/media/pci/pt1/pt1.c adap->orig_set_voltage = fe->ops.set_voltage; fe 944 drivers/media/pci/pt1/pt1.c adap->orig_sleep = fe->ops.sleep; fe 945 drivers/media/pci/pt1/pt1.c adap->orig_init = fe->ops.init; fe 946 drivers/media/pci/pt1/pt1.c fe->ops.set_voltage = pt1_set_voltage; fe 947 drivers/media/pci/pt1/pt1.c fe->ops.sleep = pt1_sleep; fe 948 drivers/media/pci/pt1/pt1.c fe->ops.init = pt1_wakeup; fe 950 drivers/media/pci/pt1/pt1.c ret = dvb_register_frontend(&adap->adap, fe); fe 954 drivers/media/pci/pt1/pt1.c adap->fe = fe; fe 992 drivers/media/pci/pt1/pt1.c tcfg.fe = dcfg.fe; fe 1001 drivers/media/pci/pt1/pt1.c tcfg.fe = dcfg.fe; fe 1010 drivers/media/pci/pt1/pt1.c ret = pt1_init_frontend(pt1->adaps[i], dcfg.fe); fe 1029 drivers/media/pci/pt1/pt1.c dvb_unregister_frontend(pt1->adaps[i]->fe); fe 1280 drivers/media/pci/pt1/pt1.c dvb_frontend_reinitialise(pt1->adaps[i]->fe); fe 117 drivers/media/pci/pt3/pt3.c static inline struct pt3_adapter *pt3_find_adapter(struct dvb_frontend *fe) fe 123 drivers/media/pci/pt3/pt3.c pt3 = fe->dvb->priv; fe 125 drivers/media/pci/pt3/pt3.c if (pt3->adaps[i]->fe == fe) fe 128 drivers/media/pci/pt3/pt3.c return container_of(fe->dvb, struct pt3_adapter, dvb_adap); fe 148 drivers/media/pci/pt3/pt3.c static int pt3_set_lna(struct dvb_frontend *fe) fe 157 drivers/media/pci/pt3/pt3.c adap = pt3_find_adapter(fe); fe 158 drivers/media/pci/pt3/pt3.c val = fe->dtv_property_cache.lna; fe 183 drivers/media/pci/pt3/pt3.c static int pt3_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage volt) fe 191 drivers/media/pci/pt3/pt3.c adap = pt3_find_adapter(fe); fe 245 drivers/media/pci/pt3/pt3.c struct dvb_frontend *fe; fe 256 drivers/media/pci/pt3/pt3.c fe = pt3->adaps[i]->fe; fe 258 drivers/media/pci/pt3/pt3.c if (fe->ops.delsys[0] == SYS_ISDBS) fe 269 drivers/media/pci/pt3/pt3.c ret = fe->ops.init(fe); fe 283 drivers/media/pci/pt3/pt3.c fe = pt3->adaps[i]->fe; fe 284 drivers/media/pci/pt3/pt3.c if (fe->ops.delsys[0] == SYS_ISDBS) fe 299 drivers/media/pci/pt3/pt3.c fe = pt3->adaps[i]->fe; fe 300 drivers/media/pci/pt3/pt3.c if (fe->ops.delsys[0] != SYS_ISDBS) fe 303 drivers/media/pci/pt3/pt3.c ret = fe->ops.tuner_ops.init(fe); fe 327 drivers/media/pci/pt3/pt3.c fe = pt3->adaps[i]->fe; fe 329 drivers/media/pci/pt3/pt3.c if (fe->ops.delsys[0] == SYS_ISDBT) fe 330 drivers/media/pci/pt3/pt3.c ret = fe->ops.tuner_ops.init(fe); fe 332 drivers/media/pci/pt3/pt3.c if (ret == 0 && fe->dtv_property_cache.frequency == 0) { fe 333 drivers/media/pci/pt3/pt3.c fe->dtv_property_cache.frequency = fe 335 drivers/media/pci/pt3/pt3.c ret = fe->ops.tuner_ops.set_params(fe); fe 346 drivers/media/pci/pt3/pt3.c fe = pt3->adaps[i]->fe; fe 347 drivers/media/pci/pt3/pt3.c if (fe->ops.tuner_ops.sleep) fe 348 drivers/media/pci/pt3/pt3.c ret = fe->ops.tuner_ops.sleep(fe); fe 351 drivers/media/pci/pt3/pt3.c if (fe->ops.sleep) fe 352 drivers/media/pci/pt3/pt3.c ret = fe->ops.sleep(fe); fe 355 drivers/media/pci/pt3/pt3.c if (fe->ops.delsys[0] == SYS_ISDBS) fe 356 drivers/media/pci/pt3/pt3.c fe->ops.set_voltage = &pt3_set_voltage; fe 358 drivers/media/pci/pt3/pt3.c fe->ops.set_lna = &pt3_set_lna; fe 392 drivers/media/pci/pt3/pt3.c tcfg.fe = cfg.fe; fe 400 drivers/media/pci/pt3/pt3.c tcfg.fe = cfg.fe; fe 410 drivers/media/pci/pt3/pt3.c ret = dvb_register_frontend(dvb_adap, cfg.fe); fe 413 drivers/media/pci/pt3/pt3.c pt3->adaps[i]->fe = cfg.fe; fe 487 drivers/media/pci/pt3/pt3.c adap->dvb_adap.num, adap->fe->id); fe 609 drivers/media/pci/pt3/pt3.c if (adap->fe) { fe 610 drivers/media/pci/pt3/pt3.c adap->fe->callback = NULL; fe 611 drivers/media/pci/pt3/pt3.c if (adap->fe->frontend_priv) fe 612 drivers/media/pci/pt3/pt3.c dvb_unregister_frontend(adap->fe); fe 637 drivers/media/pci/pt3/pt3.c dvb_frontend_suspend(adap->fe); fe 663 drivers/media/pci/pt3/pt3.c dvb_frontend_resume(adap->fe); fe 116 drivers/media/pci/pt3/pt3.h struct dvb_frontend *fe; fe 99 drivers/media/pci/saa7134/saa7134-dvb.c static int mt352_pinnacle_init(struct dvb_frontend* fe) fe 113 drivers/media/pci/saa7134/saa7134-dvb.c mt352_write(fe, clock_config, sizeof(clock_config)); fe 115 drivers/media/pci/saa7134/saa7134-dvb.c mt352_write(fe, reset, sizeof(reset)); fe 116 drivers/media/pci/saa7134/saa7134-dvb.c mt352_write(fe, adc_ctl_1_cfg, sizeof(adc_ctl_1_cfg)); fe 117 drivers/media/pci/saa7134/saa7134-dvb.c mt352_write(fe, agc_cfg, sizeof(agc_cfg)); fe 118 drivers/media/pci/saa7134/saa7134-dvb.c mt352_write(fe, capt_range_cfg, sizeof(capt_range_cfg)); fe 119 drivers/media/pci/saa7134/saa7134-dvb.c mt352_write(fe, gpp_ctl_cfg, sizeof(gpp_ctl_cfg)); fe 121 drivers/media/pci/saa7134/saa7134-dvb.c mt352_write(fe, fsm_ctl_cfg, sizeof(fsm_ctl_cfg)); fe 122 drivers/media/pci/saa7134/saa7134-dvb.c mt352_write(fe, scan_ctl_cfg, sizeof(scan_ctl_cfg)); fe 123 drivers/media/pci/saa7134/saa7134-dvb.c mt352_write(fe, irq_cfg, sizeof(irq_cfg)); fe 128 drivers/media/pci/saa7134/saa7134-dvb.c static int mt352_aver777_init(struct dvb_frontend* fe) fe 136 drivers/media/pci/saa7134/saa7134-dvb.c mt352_write(fe, clock_config, sizeof(clock_config)); fe 138 drivers/media/pci/saa7134/saa7134-dvb.c mt352_write(fe, reset, sizeof(reset)); fe 139 drivers/media/pci/saa7134/saa7134-dvb.c mt352_write(fe, adc_ctl_1_cfg, sizeof(adc_ctl_1_cfg)); fe 140 drivers/media/pci/saa7134/saa7134-dvb.c mt352_write(fe, agc_cfg, sizeof(agc_cfg)); fe 141 drivers/media/pci/saa7134/saa7134-dvb.c mt352_write(fe, capt_range_cfg, sizeof(capt_range_cfg)); fe 146 drivers/media/pci/saa7134/saa7134-dvb.c static int mt352_avermedia_xc3028_init(struct dvb_frontend *fe) fe 154 drivers/media/pci/saa7134/saa7134-dvb.c mt352_write(fe, clock_config, sizeof(clock_config)); fe 156 drivers/media/pci/saa7134/saa7134-dvb.c mt352_write(fe, reset, sizeof(reset)); fe 157 drivers/media/pci/saa7134/saa7134-dvb.c mt352_write(fe, adc_ctl_1_cfg, sizeof(adc_ctl_1_cfg)); fe 158 drivers/media/pci/saa7134/saa7134-dvb.c mt352_write(fe, agc_cfg, sizeof(agc_cfg)); fe 159 drivers/media/pci/saa7134/saa7134-dvb.c mt352_write(fe, capt_range_cfg, sizeof(capt_range_cfg)); fe 163 drivers/media/pci/saa7134/saa7134-dvb.c static int mt352_pinnacle_tuner_set_params(struct dvb_frontend *fe) fe 165 drivers/media/pci/saa7134/saa7134-dvb.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 170 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; fe 177 drivers/media/pci/saa7134/saa7134-dvb.c if (fe->ops.i2c_gate_ctrl) fe 178 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.i2c_gate_ctrl(fe, 1); fe 182 drivers/media/pci/saa7134/saa7134-dvb.c if (fe->ops.i2c_gate_ctrl) fe 183 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.i2c_gate_ctrl(fe, 1); fe 189 drivers/media/pci/saa7134/saa7134-dvb.c return mt352_pinnacle_init(fe); fe 227 drivers/media/pci/saa7134/saa7134-dvb.c static int kworld_sbtvd_gate_ctrl(struct dvb_frontend* fe, int enable) fe 229 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; fe 256 drivers/media/pci/saa7134/saa7134-dvb.c static int philips_tda1004x_request_firmware(struct dvb_frontend *fe, fe 259 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; fe 267 drivers/media/pci/saa7134/saa7134-dvb.c static int philips_tda6651_pll_set(struct dvb_frontend *fe) fe 269 drivers/media/pci/saa7134/saa7134-dvb.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 270 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; fe 271 drivers/media/pci/saa7134/saa7134-dvb.c struct tda1004x_state *state = fe->demodulator_priv; fe 345 drivers/media/pci/saa7134/saa7134-dvb.c if (fe->ops.i2c_gate_ctrl) fe 346 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.i2c_gate_ctrl(fe, 1); fe 356 drivers/media/pci/saa7134/saa7134-dvb.c static int philips_tu1216_init(struct dvb_frontend *fe) fe 358 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; fe 359 drivers/media/pci/saa7134/saa7134-dvb.c struct tda1004x_state *state = fe->demodulator_priv; fe 365 drivers/media/pci/saa7134/saa7134-dvb.c if (fe->ops.i2c_gate_ctrl) fe 366 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.i2c_gate_ctrl(fe, 1); fe 401 drivers/media/pci/saa7134/saa7134-dvb.c static int philips_td1316_tuner_init(struct dvb_frontend *fe) fe 403 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; fe 404 drivers/media/pci/saa7134/saa7134-dvb.c struct tda1004x_state *state = fe->demodulator_priv; fe 410 drivers/media/pci/saa7134/saa7134-dvb.c if (fe->ops.i2c_gate_ctrl) fe 411 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.i2c_gate_ctrl(fe, 1); fe 417 drivers/media/pci/saa7134/saa7134-dvb.c static int philips_td1316_tuner_set_params(struct dvb_frontend *fe) fe 419 drivers/media/pci/saa7134/saa7134-dvb.c return philips_tda6651_pll_set(fe); fe 422 drivers/media/pci/saa7134/saa7134-dvb.c static int philips_td1316_tuner_sleep(struct dvb_frontend *fe) fe 424 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; fe 425 drivers/media/pci/saa7134/saa7134-dvb.c struct tda1004x_state *state = fe->demodulator_priv; fe 431 drivers/media/pci/saa7134/saa7134-dvb.c if (fe->ops.i2c_gate_ctrl) fe 432 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.i2c_gate_ctrl(fe, 1); fe 440 drivers/media/pci/saa7134/saa7134-dvb.c static int philips_europa_tuner_init(struct dvb_frontend *fe) fe 442 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; fe 447 drivers/media/pci/saa7134/saa7134-dvb.c if (philips_td1316_tuner_init(fe)) fe 456 drivers/media/pci/saa7134/saa7134-dvb.c static int philips_europa_tuner_sleep(struct dvb_frontend *fe) fe 458 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; fe 463 drivers/media/pci/saa7134/saa7134-dvb.c if (philips_td1316_tuner_sleep(fe)) fe 467 drivers/media/pci/saa7134/saa7134-dvb.c if (fe->ops.i2c_gate_ctrl) fe 468 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.i2c_gate_ctrl(fe, 1); fe 473 drivers/media/pci/saa7134/saa7134-dvb.c static int philips_europa_demod_sleep(struct dvb_frontend *fe) fe 475 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; fe 478 drivers/media/pci/saa7134/saa7134-dvb.c dev->original_demod_sleep(fe); fe 479 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.i2c_gate_ctrl(fe, 1); fe 521 drivers/media/pci/saa7134/saa7134-dvb.c static int tda8290_i2c_gate_ctrl( struct dvb_frontend* fe, int enable) fe 523 drivers/media/pci/saa7134/saa7134-dvb.c struct tda1004x_state *state = fe->demodulator_priv; fe 542 drivers/media/pci/saa7134/saa7134-dvb.c static int philips_tda827x_tuner_init(struct dvb_frontend *fe) fe 544 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; fe 545 drivers/media/pci/saa7134/saa7134-dvb.c struct tda1004x_state *state = fe->demodulator_priv; fe 562 drivers/media/pci/saa7134/saa7134-dvb.c static int philips_tda827x_tuner_sleep(struct dvb_frontend *fe) fe 564 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; fe 565 drivers/media/pci/saa7134/saa7134-dvb.c struct tda1004x_state *state = fe->demodulator_priv; fe 886 drivers/media/pci/saa7134/saa7134-dvb.c static int ads_duo_tuner_init(struct dvb_frontend *fe) fe 888 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; fe 889 drivers/media/pci/saa7134/saa7134-dvb.c philips_tda827x_tuner_init(fe); fe 895 drivers/media/pci/saa7134/saa7134-dvb.c static int ads_duo_tuner_sleep(struct dvb_frontend *fe) fe 897 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; fe 900 drivers/media/pci/saa7134/saa7134-dvb.c philips_tda827x_tuner_sleep(fe); fe 977 drivers/media/pci/saa7134/saa7134-dvb.c static int md8800_set_voltage(struct dvb_frontend *fe, fe 981 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; fe 982 drivers/media/pci/saa7134/saa7134-dvb.c if (fe->ops.i2c_gate_ctrl) { fe 983 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.i2c_gate_ctrl(fe, 1); fe 985 drivers/media/pci/saa7134/saa7134-dvb.c res = dev->original_set_voltage(fe, voltage); fe 986 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.i2c_gate_ctrl(fe, 0); fe 991 drivers/media/pci/saa7134/saa7134-dvb.c static int md8800_set_high_voltage(struct dvb_frontend *fe, long arg) fe 994 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; fe 995 drivers/media/pci/saa7134/saa7134-dvb.c if (fe->ops.i2c_gate_ctrl) { fe 996 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.i2c_gate_ctrl(fe, 1); fe 998 drivers/media/pci/saa7134/saa7134-dvb.c res = dev->original_set_high_voltage(fe, arg); fe 999 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.i2c_gate_ctrl(fe, 0); fe 1004 drivers/media/pci/saa7134/saa7134-dvb.c static int md8800_set_voltage2(struct dvb_frontend *fe, fe 1007 drivers/media/pci/saa7134/saa7134-dvb.c struct saa7134_dev *dev = fe->dvb->priv; fe 1025 drivers/media/pci/saa7134/saa7134-dvb.c static int md8800_set_high_voltage2(struct dvb_frontend *fe, long arg) fe 1446 drivers/media/pci/saa7134/saa7134-dvb.c struct dvb_frontend *fe = fe0->dvb.frontend; fe 1459 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1460 drivers/media/pci/saa7134/saa7134-dvb.c if (dvb_attach(isl6405_attach, fe, fe 1472 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.i2c_gate_ctrl(fe, 0); fe 1473 drivers/media/pci/saa7134/saa7134-dvb.c dev->original_set_voltage = fe->ops.set_voltage; fe 1474 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.set_voltage = md8800_set_voltage; fe 1475 drivers/media/pci/saa7134/saa7134-dvb.c dev->original_set_high_voltage = fe->ops.enable_high_lnb_voltage; fe 1476 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.enable_high_lnb_voltage = md8800_set_high_voltage; fe 1478 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.set_voltage = md8800_set_voltage2; fe 1479 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.enable_high_lnb_voltage = md8800_set_high_voltage2; fe 1630 drivers/media/pci/saa7134/saa7134-dvb.c struct dvb_frontend *fe; fe 1638 drivers/media/pci/saa7134/saa7134-dvb.c fe = fe0->dvb.frontend; fe 1639 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1640 drivers/media/pci/saa7134/saa7134-dvb.c if (dvb_attach(isl6405_attach, fe, fe 1646 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.i2c_gate_ctrl(fe, 0); fe 1647 drivers/media/pci/saa7134/saa7134-dvb.c dev->original_set_voltage = fe->ops.set_voltage; fe 1648 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.set_voltage = md8800_set_voltage; fe 1649 drivers/media/pci/saa7134/saa7134-dvb.c dev->original_set_high_voltage = fe->ops.enable_high_lnb_voltage; fe 1650 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.enable_high_lnb_voltage = md8800_set_high_voltage; fe 1863 drivers/media/pci/saa7134/saa7134-dvb.c struct dvb_frontend *fe; fe 1872 drivers/media/pci/saa7134/saa7134-dvb.c fe = dvb_attach(xc2028_attach, fe0->dvb.frontend, &cfg); fe 1873 drivers/media/pci/saa7134/saa7134-dvb.c if (!fe) { fe 1944 drivers/media/pci/saa7134/saa7134-dvb.c struct dvb_frontend *fe; fe 1945 drivers/media/pci/saa7134/saa7134-dvb.c fe = fe0->dvb.frontend; fe 1946 drivers/media/pci/saa7134/saa7134-dvb.c if (fe->ops.i2c_gate_ctrl) { fe 1947 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1949 drivers/media/pci/saa7134/saa7134-dvb.c fe->ops.i2c_gate_ctrl(fe, 0); fe 680 drivers/media/pci/saa7134/saa7134.h int (*original_demod_sleep)(struct dvb_frontend *fe); fe 681 drivers/media/pci/saa7134/saa7134.h int (*original_set_voltage)(struct dvb_frontend *fe, fe 683 drivers/media/pci/saa7134/saa7134.h int (*original_set_high_voltage)(struct dvb_frontend *fe, long arg); fe 104 drivers/media/pci/saa7164/saa7164-dvb.c struct dvb_frontend *fe, u8 addr8bit, struct si2157_config *cfg) fe 109 drivers/media/pci/saa7164/saa7164-dvb.c cfg->fe = fe; fe 633 drivers/media/pci/saa7164/saa7164-dvb.c si2168_config.fe = &port->dvb.frontend; fe 654 drivers/media/pci/saa7164/saa7164-dvb.c si2157_config.fe = port->dvb.frontend; fe 678 drivers/media/pci/saa7164/saa7164-dvb.c si2168_config.fe = &port->dvb.frontend; fe 698 drivers/media/pci/saa7164/saa7164-dvb.c si2157_config.fe = port->dvb.frontend; fe 360 drivers/media/pci/saa7164/saa7164-encoder.c struct dvb_frontend *fe; fe 388 drivers/media/pci/saa7164/saa7164-encoder.c fe = tsport->dvb.frontend; fe 390 drivers/media/pci/saa7164/saa7164-encoder.c if (fe && fe->ops.tuner_ops.set_analog_params) fe 391 drivers/media/pci/saa7164/saa7164-encoder.c fe->ops.tuner_ops.set_analog_params(fe, ¶ms); fe 535 drivers/media/pci/smipcie/smipcie-main.c port->fe = dvb_attach(m88ds3103_attach, fe 537 drivers/media/pci/smipcie/smipcie-main.c if (!port->fe) { fe 542 drivers/media/pci/smipcie/smipcie-main.c ts2020_config.fe = port->fe; fe 553 drivers/media/pci/smipcie/smipcie-main.c port->fe->ops.read_signal_strength = fe 554 drivers/media/pci/smipcie/smipcie-main.c port->fe->ops.tuner_ops.get_rf_strength; fe 560 drivers/media/pci/smipcie/smipcie-main.c dvb_frontend_detach(port->fe); fe 591 drivers/media/pci/smipcie/smipcie-main.c port->fe = dvb_attach(m88ds3103_attach, fe 593 drivers/media/pci/smipcie/smipcie-main.c if (!port->fe) { fe 598 drivers/media/pci/smipcie/smipcie-main.c m88rs6000t_config.fe = port->fe; fe 609 drivers/media/pci/smipcie/smipcie-main.c port->fe->ops.read_signal_strength = fe 610 drivers/media/pci/smipcie/smipcie-main.c port->fe->ops.tuner_ops.get_rf_strength; fe 616 drivers/media/pci/smipcie/smipcie-main.c dvb_frontend_detach(port->fe); fe 637 drivers/media/pci/smipcie/smipcie-main.c si2168_config.fe = &port->fe; fe 654 drivers/media/pci/smipcie/smipcie-main.c si2157_config.fe = port->fe; fe 698 drivers/media/pci/smipcie/smipcie-main.c ret = dvb_register_frontend(adap, port->fe); fe 704 drivers/media/pci/smipcie/smipcie-main.c dvb_frontend_detach(port->fe); fe 718 drivers/media/pci/smipcie/smipcie-main.c dvb_unregister_frontend(port->fe); fe 724 drivers/media/pci/smipcie/smipcie-main.c dvb_frontend_detach(port->fe); fe 270 drivers/media/pci/smipcie/smipcie.h struct dvb_frontend *fe; fe 1141 drivers/media/pci/ttpci/av7110.c static int av7110_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) fe 1143 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 1157 drivers/media/pci/ttpci/av7110.c static int av7110_diseqc_send_master_cmd(struct dvb_frontend* fe, fe 1160 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 1165 drivers/media/pci/ttpci/av7110.c static int av7110_diseqc_send_burst(struct dvb_frontend* fe, fe 1168 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 1391 drivers/media/pci/ttpci/av7110.c if (av7110->fe != NULL) { fe 1392 drivers/media/pci/ttpci/av7110.c dvb_unregister_frontend(av7110->fe); fe 1393 drivers/media/pci/ttpci/av7110.c dvb_frontend_detach(av7110->fe); fe 1536 drivers/media/pci/ttpci/av7110.c static int alps_bsrv2_tuner_set_params(struct dvb_frontend *fe) fe 1538 drivers/media/pci/ttpci/av7110.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1539 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 1566 drivers/media/pci/ttpci/av7110.c if (fe->ops.i2c_gate_ctrl) fe 1567 drivers/media/pci/ttpci/av7110.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1579 drivers/media/pci/ttpci/av7110.c static int alps_tdbe2_tuner_set_params(struct dvb_frontend *fe) fe 1581 drivers/media/pci/ttpci/av7110.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1582 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 1594 drivers/media/pci/ttpci/av7110.c if (fe->ops.i2c_gate_ctrl) fe 1595 drivers/media/pci/ttpci/av7110.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1611 drivers/media/pci/ttpci/av7110.c static int grundig_29504_451_tuner_set_params(struct dvb_frontend *fe) fe 1613 drivers/media/pci/ttpci/av7110.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1614 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 1625 drivers/media/pci/ttpci/av7110.c if (fe->ops.i2c_gate_ctrl) fe 1626 drivers/media/pci/ttpci/av7110.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1638 drivers/media/pci/ttpci/av7110.c static int philips_cd1516_tuner_set_params(struct dvb_frontend *fe) fe 1640 drivers/media/pci/ttpci/av7110.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1641 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 1654 drivers/media/pci/ttpci/av7110.c if (fe->ops.i2c_gate_ctrl) fe 1655 drivers/media/pci/ttpci/av7110.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1670 drivers/media/pci/ttpci/av7110.c static int alps_tdlb7_tuner_set_params(struct dvb_frontend *fe) fe 1672 drivers/media/pci/ttpci/av7110.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1673 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 1690 drivers/media/pci/ttpci/av7110.c if (fe->ops.i2c_gate_ctrl) fe 1691 drivers/media/pci/ttpci/av7110.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1697 drivers/media/pci/ttpci/av7110.c static int alps_tdlb7_request_firmware(struct dvb_frontend* fe, const struct firmware **fw, char* name) fe 1700 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 1808 drivers/media/pci/ttpci/av7110.c static int nexusca_stv0297_tuner_set_params(struct dvb_frontend *fe) fe 1810 drivers/media/pci/ttpci/av7110.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1811 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 1835 drivers/media/pci/ttpci/av7110.c if (fe->ops.i2c_gate_ctrl) fe 1836 drivers/media/pci/ttpci/av7110.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1844 drivers/media/pci/ttpci/av7110.c if (fe->ops.i2c_gate_ctrl) fe 1845 drivers/media/pci/ttpci/av7110.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1864 drivers/media/pci/ttpci/av7110.c static int grundig_29504_401_tuner_set_params(struct dvb_frontend *fe) fe 1866 drivers/media/pci/ttpci/av7110.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1867 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 1900 drivers/media/pci/ttpci/av7110.c if (fe->ops.i2c_gate_ctrl) fe 1901 drivers/media/pci/ttpci/av7110.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1953 drivers/media/pci/ttpci/av7110.c static int av7110_fe_set_frontend(struct dvb_frontend *fe) fe 1955 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 1959 drivers/media/pci/ttpci/av7110.c ret = av7110->fe_set_frontend(fe); fe 1964 drivers/media/pci/ttpci/av7110.c static int av7110_fe_init(struct dvb_frontend* fe) fe 1966 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 1970 drivers/media/pci/ttpci/av7110.c ret = av7110->fe_init(fe); fe 1974 drivers/media/pci/ttpci/av7110.c static int av7110_fe_read_status(struct dvb_frontend *fe, fe 1977 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 1980 drivers/media/pci/ttpci/av7110.c int ret = av7110->fe_read_status(fe, status); fe 1987 drivers/media/pci/ttpci/av7110.c static int av7110_fe_diseqc_reset_overload(struct dvb_frontend* fe) fe 1989 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 1993 drivers/media/pci/ttpci/av7110.c ret = av7110->fe_diseqc_reset_overload(fe); fe 1997 drivers/media/pci/ttpci/av7110.c static int av7110_fe_diseqc_send_master_cmd(struct dvb_frontend* fe, fe 2000 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 2005 drivers/media/pci/ttpci/av7110.c ret = av7110->fe_diseqc_send_master_cmd(fe, cmd); fe 2010 drivers/media/pci/ttpci/av7110.c static int av7110_fe_diseqc_send_burst(struct dvb_frontend *fe, fe 2013 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 2018 drivers/media/pci/ttpci/av7110.c ret = av7110->fe_diseqc_send_burst(fe, minicmd); fe 2023 drivers/media/pci/ttpci/av7110.c static int av7110_fe_set_tone(struct dvb_frontend *fe, fe 2026 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 2031 drivers/media/pci/ttpci/av7110.c ret = av7110->fe_set_tone(fe, tone); fe 2036 drivers/media/pci/ttpci/av7110.c static int av7110_fe_set_voltage(struct dvb_frontend *fe, fe 2039 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 2044 drivers/media/pci/ttpci/av7110.c ret = av7110->fe_set_voltage(fe, voltage); fe 2049 drivers/media/pci/ttpci/av7110.c static int av7110_fe_dishnetwork_send_legacy_command(struct dvb_frontend* fe, unsigned long cmd) fe 2051 drivers/media/pci/ttpci/av7110.c struct av7110* av7110 = fe->dvb->priv; fe 2055 drivers/media/pci/ttpci/av7110.c ret = av7110->fe_dishnetwork_send_legacy_command(fe, cmd); fe 2061 drivers/media/pci/ttpci/av7110.c av7110_fe_init(av7110->fe); fe 2063 drivers/media/pci/ttpci/av7110.c av7110_fe_set_voltage(av7110->fe, av7110->saved_voltage); fe 2066 drivers/media/pci/ttpci/av7110.c av7110_fe_diseqc_send_master_cmd(av7110->fe, &av7110->saved_master_cmd); fe 2069 drivers/media/pci/ttpci/av7110.c av7110_fe_diseqc_send_burst(av7110->fe, av7110->saved_minicmd); fe 2071 drivers/media/pci/ttpci/av7110.c av7110_fe_set_tone(av7110->fe, av7110->saved_tone); fe 2073 drivers/media/pci/ttpci/av7110.c av7110_fe_set_frontend(av7110->fe); fe 2096 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(ves1820_attach, &philips_cd1516_config, fe 2098 drivers/media/pci/ttpci/av7110.c if (av7110->fe) { fe 2099 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.tuner_ops.set_params = philips_cd1516_tuner_set_params; fe 2111 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(ves1x93_attach, &alps_bsrv2_config, &av7110->i2c_adap); fe 2112 drivers/media/pci/ttpci/av7110.c if (av7110->fe) { fe 2113 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.tuner_ops.set_params = alps_bsrv2_tuner_set_params; fe 2114 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.diseqc_send_master_cmd = av7110_diseqc_send_master_cmd; fe 2115 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.diseqc_send_burst = av7110_diseqc_send_burst; fe 2116 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.set_tone = av7110_set_tone; fe 2122 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(stv0299_attach, &alps_bsru6_config, &av7110->i2c_adap); fe 2123 drivers/media/pci/ttpci/av7110.c if (av7110->fe) { fe 2124 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.tuner_ops.set_params = alps_bsru6_tuner_set_params; fe 2125 drivers/media/pci/ttpci/av7110.c av7110->fe->tuner_priv = &av7110->i2c_adap; fe 2127 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.diseqc_send_master_cmd = av7110_diseqc_send_master_cmd; fe 2128 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.diseqc_send_burst = av7110_diseqc_send_burst; fe 2129 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.set_tone = av7110_set_tone; fe 2135 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(tda8083_attach, &grundig_29504_451_config, &av7110->i2c_adap); fe 2136 drivers/media/pci/ttpci/av7110.c if (av7110->fe) { fe 2137 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.tuner_ops.set_params = grundig_29504_451_tuner_set_params; fe 2138 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.diseqc_send_master_cmd = av7110_diseqc_send_master_cmd; fe 2139 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.diseqc_send_burst = av7110_diseqc_send_burst; fe 2140 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.set_tone = av7110_set_tone; fe 2149 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(ves1820_attach, &philips_cd1516_config, &av7110->i2c_adap, fe 2151 drivers/media/pci/ttpci/av7110.c if (av7110->fe) { fe 2152 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.tuner_ops.set_params = philips_cd1516_tuner_set_params; fe 2157 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(ves1820_attach, &alps_tdbe2_config, &av7110->i2c_adap, fe 2159 drivers/media/pci/ttpci/av7110.c if (av7110->fe) { fe 2160 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.tuner_ops.set_params = alps_tdbe2_tuner_set_params; fe 2168 drivers/media/pci/ttpci/av7110.c struct dvb_frontend *fe; fe 2171 drivers/media/pci/ttpci/av7110.c fe = dvb_attach(sp8870_attach, &alps_tdlb7_config, &av7110->i2c_adap); fe 2172 drivers/media/pci/ttpci/av7110.c if (fe) { fe 2173 drivers/media/pci/ttpci/av7110.c fe->ops.tuner_ops.set_params = alps_tdlb7_tuner_set_params; fe 2174 drivers/media/pci/ttpci/av7110.c av7110->fe = fe; fe 2182 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(l64781_attach, &grundig_29504_401_config, &av7110->i2c_adap); fe 2183 drivers/media/pci/ttpci/av7110.c if (av7110->fe) fe 2184 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.tuner_ops.set_params = grundig_29504_401_tuner_set_params; fe 2189 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(ves1820_attach, &alps_tdbe2_config, &av7110->i2c_adap, read_pwm(av7110)); fe 2190 drivers/media/pci/ttpci/av7110.c if (av7110->fe) { fe 2191 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.tuner_ops.set_params = alps_tdbe2_tuner_set_params; fe 2197 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(ves1x93_attach, &alps_bsrv2_config, &av7110->i2c_adap); fe 2198 drivers/media/pci/ttpci/av7110.c if (av7110->fe) { fe 2199 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.tuner_ops.set_params = alps_bsrv2_tuner_set_params; fe 2200 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.diseqc_send_master_cmd = av7110_diseqc_send_master_cmd; fe 2201 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.diseqc_send_burst = av7110_diseqc_send_burst; fe 2202 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.set_tone = av7110_set_tone; fe 2209 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(tda8083_attach, &grundig_29504_451_config, &av7110->i2c_adap); fe 2210 drivers/media/pci/ttpci/av7110.c if (av7110->fe) { fe 2211 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.tuner_ops.set_params = grundig_29504_451_tuner_set_params; fe 2212 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.diseqc_send_master_cmd = av7110_diseqc_send_master_cmd; fe 2213 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.diseqc_send_burst = av7110_diseqc_send_burst; fe 2214 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.set_tone = av7110_set_tone; fe 2221 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(stv0297_attach, &nexusca_stv0297_config, &av7110->i2c_adap); fe 2222 drivers/media/pci/ttpci/av7110.c if (av7110->fe) { fe 2223 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.tuner_ops.set_params = nexusca_stv0297_tuner_set_params; fe 2237 drivers/media/pci/ttpci/av7110.c av7110->fe = dvb_attach(stv0299_attach, &alps_bsbe1_config, &av7110->i2c_adap); fe 2238 drivers/media/pci/ttpci/av7110.c if (av7110->fe) { fe 2239 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.tuner_ops.set_params = alps_bsbe1_tuner_set_params; fe 2240 drivers/media/pci/ttpci/av7110.c av7110->fe->tuner_priv = &av7110->i2c_adap; fe 2242 drivers/media/pci/ttpci/av7110.c if (dvb_attach(lnbp21_attach, av7110->fe, &av7110->i2c_adap, 0, 0) == NULL) { fe 2244 drivers/media/pci/ttpci/av7110.c if (av7110->fe->ops.release) fe 2245 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.release(av7110->fe); fe 2246 drivers/media/pci/ttpci/av7110.c av7110->fe = NULL; fe 2248 drivers/media/pci/ttpci/av7110.c av7110->fe->ops.dishnetwork_send_legacy_command = NULL; fe 2256 drivers/media/pci/ttpci/av7110.c if (!av7110->fe) { fe 2265 drivers/media/pci/ttpci/av7110.c FE_FUNC_OVERRIDE(av7110->fe->ops.init, av7110->fe_init, av7110_fe_init); fe 2266 drivers/media/pci/ttpci/av7110.c FE_FUNC_OVERRIDE(av7110->fe->ops.read_status, av7110->fe_read_status, av7110_fe_read_status); fe 2267 drivers/media/pci/ttpci/av7110.c FE_FUNC_OVERRIDE(av7110->fe->ops.diseqc_reset_overload, av7110->fe_diseqc_reset_overload, av7110_fe_diseqc_reset_overload); fe 2268 drivers/media/pci/ttpci/av7110.c FE_FUNC_OVERRIDE(av7110->fe->ops.diseqc_send_master_cmd, av7110->fe_diseqc_send_master_cmd, av7110_fe_diseqc_send_master_cmd); fe 2269 drivers/media/pci/ttpci/av7110.c FE_FUNC_OVERRIDE(av7110->fe->ops.diseqc_send_burst, av7110->fe_diseqc_send_burst, av7110_fe_diseqc_send_burst); fe 2270 drivers/media/pci/ttpci/av7110.c FE_FUNC_OVERRIDE(av7110->fe->ops.set_tone, av7110->fe_set_tone, av7110_fe_set_tone); fe 2271 drivers/media/pci/ttpci/av7110.c FE_FUNC_OVERRIDE(av7110->fe->ops.set_voltage, av7110->fe_set_voltage, av7110_fe_set_voltage); fe 2272 drivers/media/pci/ttpci/av7110.c FE_FUNC_OVERRIDE(av7110->fe->ops.dishnetwork_send_legacy_command, av7110->fe_dishnetwork_send_legacy_command, av7110_fe_dishnetwork_send_legacy_command); fe 2273 drivers/media/pci/ttpci/av7110.c FE_FUNC_OVERRIDE(av7110->fe->ops.set_frontend, av7110->fe_set_frontend, av7110_fe_set_frontend); fe 2275 drivers/media/pci/ttpci/av7110.c ret = dvb_register_frontend(&av7110->dvb_adapter, av7110->fe); fe 2278 drivers/media/pci/ttpci/av7110.c dvb_frontend_detach(av7110->fe); fe 2279 drivers/media/pci/ttpci/av7110.c av7110->fe = NULL; fe 263 drivers/media/pci/ttpci/av7110.h struct dvb_frontend* fe; fe 275 drivers/media/pci/ttpci/av7110.h int (*fe_init)(struct dvb_frontend* fe); fe 276 drivers/media/pci/ttpci/av7110.h int (*fe_read_status)(struct dvb_frontend *fe, enum fe_status *status); fe 277 drivers/media/pci/ttpci/av7110.h int (*fe_diseqc_reset_overload)(struct dvb_frontend *fe); fe 278 drivers/media/pci/ttpci/av7110.h int (*fe_diseqc_send_master_cmd)(struct dvb_frontend *fe, fe 280 drivers/media/pci/ttpci/av7110.h int (*fe_diseqc_send_burst)(struct dvb_frontend *fe, fe 282 drivers/media/pci/ttpci/av7110.h int (*fe_set_tone)(struct dvb_frontend *fe, fe 284 drivers/media/pci/ttpci/av7110.h int (*fe_set_voltage)(struct dvb_frontend *fe, fe 286 drivers/media/pci/ttpci/av7110.h int (*fe_dishnetwork_send_legacy_command)(struct dvb_frontend *fe, fe 288 drivers/media/pci/ttpci/av7110.h int (*fe_set_frontend)(struct dvb_frontend *fe); fe 199 drivers/media/pci/ttpci/av7110_v4l.c if (av7110->fe->ops.i2c_gate_ctrl) fe 200 drivers/media/pci/ttpci/av7110_v4l.c av7110->fe->ops.i2c_gate_ctrl(av7110->fe, 1); fe 458 drivers/media/pci/ttpci/budget-av.c static int philips_su1278_ty_ci_set_symbol_rate(struct dvb_frontend *fe, u32 srate, u32 ratio) fe 478 drivers/media/pci/ttpci/budget-av.c stv0299_writereg(fe, 0x13, aclk); fe 479 drivers/media/pci/ttpci/budget-av.c stv0299_writereg(fe, 0x14, bclk); fe 480 drivers/media/pci/ttpci/budget-av.c stv0299_writereg(fe, 0x1f, (ratio >> 16) & 0xff); fe 481 drivers/media/pci/ttpci/budget-av.c stv0299_writereg(fe, 0x20, (ratio >> 8) & 0xff); fe 482 drivers/media/pci/ttpci/budget-av.c stv0299_writereg(fe, 0x21, (ratio) & 0xf0); fe 483 drivers/media/pci/ttpci/budget-av.c stv0299_writereg(fe, 0x0f, 0x80 | m1); fe 488 drivers/media/pci/ttpci/budget-av.c static int philips_su1278_ty_ci_tuner_set_params(struct dvb_frontend *fe) fe 490 drivers/media/pci/ttpci/budget-av.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 493 drivers/media/pci/ttpci/budget-av.c struct budget *budget = (struct budget *) fe->dvb->priv; fe 517 drivers/media/pci/ttpci/budget-av.c if (fe->ops.i2c_gate_ctrl) fe 518 drivers/media/pci/ttpci/budget-av.c fe->ops.i2c_gate_ctrl(fe, 1); fe 603 drivers/media/pci/ttpci/budget-av.c static int philips_cu1216_tuner_set_params(struct dvb_frontend *fe) fe 605 drivers/media/pci/ttpci/budget-av.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 606 drivers/media/pci/ttpci/budget-av.c struct budget *budget = (struct budget *) fe->dvb->priv; fe 624 drivers/media/pci/ttpci/budget-av.c if (fe->ops.i2c_gate_ctrl) fe 625 drivers/media/pci/ttpci/budget-av.c fe->ops.i2c_gate_ctrl(fe, 1); fe 633 drivers/media/pci/ttpci/budget-av.c if (fe->ops.i2c_gate_ctrl) fe 634 drivers/media/pci/ttpci/budget-av.c fe->ops.i2c_gate_ctrl(fe, 1); fe 645 drivers/media/pci/ttpci/budget-av.c if (fe->ops.i2c_gate_ctrl) fe 646 drivers/media/pci/ttpci/budget-av.c fe->ops.i2c_gate_ctrl(fe, 1); fe 668 drivers/media/pci/ttpci/budget-av.c static int philips_tu1216_tuner_init(struct dvb_frontend *fe) fe 670 drivers/media/pci/ttpci/budget-av.c struct budget *budget = (struct budget *) fe->dvb->priv; fe 675 drivers/media/pci/ttpci/budget-av.c if (fe->ops.i2c_gate_ctrl) fe 676 drivers/media/pci/ttpci/budget-av.c fe->ops.i2c_gate_ctrl(fe, 1); fe 684 drivers/media/pci/ttpci/budget-av.c static int philips_tu1216_tuner_set_params(struct dvb_frontend *fe) fe 686 drivers/media/pci/ttpci/budget-av.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 687 drivers/media/pci/ttpci/budget-av.c struct budget *budget = (struct budget *) fe->dvb->priv; fe 759 drivers/media/pci/ttpci/budget-av.c if (fe->ops.i2c_gate_ctrl) fe 760 drivers/media/pci/ttpci/budget-av.c fe->ops.i2c_gate_ctrl(fe, 1); fe 768 drivers/media/pci/ttpci/budget-av.c static int philips_tu1216_request_firmware(struct dvb_frontend *fe, fe 771 drivers/media/pci/ttpci/budget-av.c struct budget *budget = (struct budget *) fe->dvb->priv; fe 830 drivers/media/pci/ttpci/budget-av.c static int philips_sd1878_ci_set_symbol_rate(struct dvb_frontend *fe, fe 851 drivers/media/pci/ttpci/budget-av.c stv0299_writereg(fe, 0x0e, 0x23); fe 852 drivers/media/pci/ttpci/budget-av.c stv0299_writereg(fe, 0x0f, 0x94); fe 853 drivers/media/pci/ttpci/budget-av.c stv0299_writereg(fe, 0x10, 0x39); fe 854 drivers/media/pci/ttpci/budget-av.c stv0299_writereg(fe, 0x13, aclk); fe 855 drivers/media/pci/ttpci/budget-av.c stv0299_writereg(fe, 0x14, bclk); fe 856 drivers/media/pci/ttpci/budget-av.c stv0299_writereg(fe, 0x15, 0xc9); fe 857 drivers/media/pci/ttpci/budget-av.c stv0299_writereg(fe, 0x1f, (ratio >> 16) & 0xff); fe 858 drivers/media/pci/ttpci/budget-av.c stv0299_writereg(fe, 0x20, (ratio >> 8) & 0xff); fe 859 drivers/media/pci/ttpci/budget-av.c stv0299_writereg(fe, 0x21, (ratio) & 0xf0); fe 860 drivers/media/pci/ttpci/budget-av.c stv0299_writereg(fe, 0x0f, 0x80 | m1); fe 1199 drivers/media/pci/ttpci/budget-av.c struct dvb_frontend * fe = NULL; fe 1233 drivers/media/pci/ttpci/budget-av.c fe = dvb_attach(stv0299_attach, &cinergy_1200s_1894_0010_config, fe 1235 drivers/media/pci/ttpci/budget-av.c if (fe) { fe 1236 drivers/media/pci/ttpci/budget-av.c dvb_attach(tua6100_attach, fe, 0x60, &budget_av->budget.i2c_adap); fe 1239 drivers/media/pci/ttpci/budget-av.c fe = dvb_attach(stv0299_attach, &typhoon_config, fe 1241 drivers/media/pci/ttpci/budget-av.c if (fe) { fe 1242 drivers/media/pci/ttpci/budget-av.c fe->ops.tuner_ops.set_params = philips_su1278_ty_ci_tuner_set_params; fe 1253 drivers/media/pci/ttpci/budget-av.c fe = dvb_attach(stv0299_attach, &philips_sd1878_config, fe 1255 drivers/media/pci/ttpci/budget-av.c if (fe) { fe 1256 drivers/media/pci/ttpci/budget-av.c dvb_attach(dvb_pll_attach, fe, 0x60, fe 1263 drivers/media/pci/ttpci/budget-av.c fe = dvb_attach(stv0299_attach, &typhoon_config, fe 1265 drivers/media/pci/ttpci/budget-av.c if (fe) { fe 1266 drivers/media/pci/ttpci/budget-av.c fe->ops.tuner_ops.set_params = philips_su1278_ty_ci_tuner_set_params; fe 1273 drivers/media/pci/ttpci/budget-av.c if ((fe = dvb_attach(stb0899_attach, &knc1_dvbs2_config, &budget_av->budget.i2c_adap))) fe 1274 drivers/media/pci/ttpci/budget-av.c dvb_attach(tda8261_attach, fe, &sd1878c_config, &budget_av->budget.i2c_adap); fe 1278 drivers/media/pci/ttpci/budget-av.c fe = dvb_attach(stv0299_attach, &cinergy_1200s_config, fe 1280 drivers/media/pci/ttpci/budget-av.c if (fe) { fe 1281 drivers/media/pci/ttpci/budget-av.c fe->ops.tuner_ops.set_params = philips_su1278_ty_ci_tuner_set_params; fe 1291 drivers/media/pci/ttpci/budget-av.c fe = dvb_attach(tda10021_attach, &philips_cu1216_config, fe 1294 drivers/media/pci/ttpci/budget-av.c if (fe == NULL) fe 1295 drivers/media/pci/ttpci/budget-av.c fe = dvb_attach(tda10021_attach, &philips_cu1216_config_altaddress, fe 1298 drivers/media/pci/ttpci/budget-av.c if (fe) { fe 1299 drivers/media/pci/ttpci/budget-av.c fe->ops.tuner_ops.set_params = philips_cu1216_tuner_set_params; fe 1310 drivers/media/pci/ttpci/budget-av.c fe = dvb_attach(tda10023_attach, fe 1314 drivers/media/pci/ttpci/budget-av.c if (fe) { fe 1315 drivers/media/pci/ttpci/budget-av.c fe->ops.tuner_ops.set_params = philips_cu1216_tuner_set_params; fe 1324 drivers/media/pci/ttpci/budget-av.c fe = dvb_attach(tda10046_attach, &philips_tu1216_config, fe 1326 drivers/media/pci/ttpci/budget-av.c if (fe) { fe 1327 drivers/media/pci/ttpci/budget-av.c fe->ops.tuner_ops.init = philips_tu1216_tuner_init; fe 1328 drivers/media/pci/ttpci/budget-av.c fe->ops.tuner_ops.set_params = philips_tu1216_tuner_set_params; fe 1333 drivers/media/pci/ttpci/budget-av.c if (fe == NULL) { fe 1342 drivers/media/pci/ttpci/budget-av.c budget_av->budget.dvb_frontend = fe; fe 615 drivers/media/pci/ttpci/budget-ci.c static int philips_su1278_tt_set_symbol_rate(struct dvb_frontend *fe, u32 srate, u32 ratio) fe 617 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x0e, 0x44); fe 619 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x13, 0x97); fe 620 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x14, 0x95); fe 621 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x15, 0xc9); fe 622 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x17, 0x8c); fe 623 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x1a, 0xfe); fe 624 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x1c, 0x7f); fe 625 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x2d, 0x09); fe 627 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x13, 0x99); fe 628 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x14, 0x8d); fe 629 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x15, 0xce); fe 630 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x17, 0x43); fe 631 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x1a, 0x1d); fe 632 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x1c, 0x12); fe 633 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x2d, 0x05); fe 635 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x0e, 0x23); fe 636 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x0f, 0x94); fe 637 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x10, 0x39); fe 638 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x15, 0xc9); fe 640 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x1f, (ratio >> 16) & 0xff); fe 641 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x20, (ratio >> 8) & 0xff); fe 642 drivers/media/pci/ttpci/budget-ci.c stv0299_writereg(fe, 0x21, (ratio) & 0xf0); fe 647 drivers/media/pci/ttpci/budget-ci.c static int philips_su1278_tt_tuner_set_params(struct dvb_frontend *fe) fe 649 drivers/media/pci/ttpci/budget-ci.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 650 drivers/media/pci/ttpci/budget-ci.c struct budget_ci *budget_ci = (struct budget_ci *) fe->dvb->priv; fe 676 drivers/media/pci/ttpci/budget-ci.c if (fe->ops.i2c_gate_ctrl) fe 677 drivers/media/pci/ttpci/budget-ci.c fe->ops.i2c_gate_ctrl(fe, 1); fe 698 drivers/media/pci/ttpci/budget-ci.c static int philips_tdm1316l_tuner_init(struct dvb_frontend *fe) fe 700 drivers/media/pci/ttpci/budget-ci.c struct budget_ci *budget_ci = (struct budget_ci *) fe->dvb->priv; fe 707 drivers/media/pci/ttpci/budget-ci.c if (fe->ops.i2c_gate_ctrl) fe 708 drivers/media/pci/ttpci/budget-ci.c fe->ops.i2c_gate_ctrl(fe, 1); fe 717 drivers/media/pci/ttpci/budget-ci.c if (fe->ops.i2c_gate_ctrl) fe 718 drivers/media/pci/ttpci/budget-ci.c fe->ops.i2c_gate_ctrl(fe, 1); fe 720 drivers/media/pci/ttpci/budget-ci.c if (fe->ops.i2c_gate_ctrl) fe 721 drivers/media/pci/ttpci/budget-ci.c fe->ops.i2c_gate_ctrl(fe, 1); fe 728 drivers/media/pci/ttpci/budget-ci.c static int philips_tdm1316l_tuner_set_params(struct dvb_frontend *fe) fe 730 drivers/media/pci/ttpci/budget-ci.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 731 drivers/media/pci/ttpci/budget-ci.c struct budget_ci *budget_ci = (struct budget_ci *) fe->dvb->priv; fe 777 drivers/media/pci/ttpci/budget-ci.c tda1004x_writereg(fe, 0x0C, 0x14); fe 782 drivers/media/pci/ttpci/budget-ci.c tda1004x_writereg(fe, 0x0C, 0x80); fe 787 drivers/media/pci/ttpci/budget-ci.c tda1004x_writereg(fe, 0x0C, 0x14); fe 805 drivers/media/pci/ttpci/budget-ci.c if (fe->ops.i2c_gate_ctrl) fe 806 drivers/media/pci/ttpci/budget-ci.c fe->ops.i2c_gate_ctrl(fe, 1); fe 814 drivers/media/pci/ttpci/budget-ci.c static int philips_tdm1316l_request_firmware(struct dvb_frontend *fe, fe 817 drivers/media/pci/ttpci/budget-ci.c struct budget_ci *budget_ci = (struct budget_ci *) fe->dvb->priv; fe 844 drivers/media/pci/ttpci/budget-ci.c static int dvbc_philips_tdm1316l_tuner_set_params(struct dvb_frontend *fe) fe 846 drivers/media/pci/ttpci/budget-ci.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 847 drivers/media/pci/ttpci/budget-ci.c struct budget_ci *budget_ci = (struct budget_ci *) fe->dvb->priv; fe 903 drivers/media/pci/ttpci/budget-ci.c if (fe->ops.i2c_gate_ctrl) fe 904 drivers/media/pci/ttpci/budget-ci.c fe->ops.i2c_gate_ctrl(fe, 1); fe 910 drivers/media/pci/ttpci/budget-ci.c if (fe->ops.i2c_gate_ctrl) fe 911 drivers/media/pci/ttpci/budget-ci.c fe->ops.i2c_gate_ctrl(fe, 1); fe 147 drivers/media/pci/ttpci/budget-core.c static int budget_read_fe_status(struct dvb_frontend *fe, fe 150 drivers/media/pci/ttpci/budget-core.c struct budget *budget = (struct budget *) fe->dvb->priv; fe 155 drivers/media/pci/ttpci/budget-core.c ret = budget->read_fe_status(fe, status); fe 115 drivers/media/pci/ttpci/budget-patch.c static int budget_set_tone(struct dvb_frontend *fe, fe 118 drivers/media/pci/ttpci/budget-patch.c struct budget* budget = (struct budget*) fe->dvb->priv; fe 136 drivers/media/pci/ttpci/budget-patch.c static int budget_diseqc_send_master_cmd(struct dvb_frontend* fe, struct dvb_diseqc_master_cmd* cmd) fe 138 drivers/media/pci/ttpci/budget-patch.c struct budget* budget = (struct budget*) fe->dvb->priv; fe 145 drivers/media/pci/ttpci/budget-patch.c static int budget_diseqc_send_burst(struct dvb_frontend *fe, fe 148 drivers/media/pci/ttpci/budget-patch.c struct budget* budget = (struct budget*) fe->dvb->priv; fe 210 drivers/media/pci/ttpci/budget-patch.c static int budget_patch_set_tone(struct dvb_frontend *fe, fe 213 drivers/media/pci/ttpci/budget-patch.c struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; fe 231 drivers/media/pci/ttpci/budget-patch.c static int budget_patch_diseqc_send_master_cmd(struct dvb_frontend* fe, struct dvb_diseqc_master_cmd* cmd) fe 233 drivers/media/pci/ttpci/budget-patch.c struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; fe 240 drivers/media/pci/ttpci/budget-patch.c static int budget_patch_diseqc_send_burst(struct dvb_frontend *fe, fe 243 drivers/media/pci/ttpci/budget-patch.c struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; fe 250 drivers/media/pci/ttpci/budget-patch.c static int alps_bsrv2_tuner_set_params(struct dvb_frontend *fe) fe 252 drivers/media/pci/ttpci/budget-patch.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 253 drivers/media/pci/ttpci/budget-patch.c struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; fe 279 drivers/media/pci/ttpci/budget-patch.c if (fe->ops.i2c_gate_ctrl) fe 280 drivers/media/pci/ttpci/budget-patch.c fe->ops.i2c_gate_ctrl(fe, 1); fe 292 drivers/media/pci/ttpci/budget-patch.c static int grundig_29504_451_tuner_set_params(struct dvb_frontend *fe) fe 294 drivers/media/pci/ttpci/budget-patch.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 295 drivers/media/pci/ttpci/budget-patch.c struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; fe 306 drivers/media/pci/ttpci/budget-patch.c if (fe->ops.i2c_gate_ctrl) fe 307 drivers/media/pci/ttpci/budget-patch.c fe->ops.i2c_gate_ctrl(fe, 1); fe 144 drivers/media/pci/ttpci/budget.c static int siemens_budget_set_voltage(struct dvb_frontend *fe, fe 147 drivers/media/pci/ttpci/budget.c struct budget* budget = (struct budget*) fe->dvb->priv; fe 152 drivers/media/pci/ttpci/budget.c static int budget_set_tone(struct dvb_frontend *fe, fe 155 drivers/media/pci/ttpci/budget.c struct budget* budget = (struct budget*) fe->dvb->priv; fe 173 drivers/media/pci/ttpci/budget.c static int budget_diseqc_send_master_cmd(struct dvb_frontend* fe, struct dvb_diseqc_master_cmd* cmd) fe 175 drivers/media/pci/ttpci/budget.c struct budget* budget = (struct budget*) fe->dvb->priv; fe 182 drivers/media/pci/ttpci/budget.c static int budget_diseqc_send_burst(struct dvb_frontend *fe, fe 185 drivers/media/pci/ttpci/budget.c struct budget* budget = (struct budget*) fe->dvb->priv; fe 192 drivers/media/pci/ttpci/budget.c static int alps_bsrv2_tuner_set_params(struct dvb_frontend *fe) fe 194 drivers/media/pci/ttpci/budget.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 195 drivers/media/pci/ttpci/budget.c struct budget* budget = (struct budget*) fe->dvb->priv; fe 221 drivers/media/pci/ttpci/budget.c if (fe->ops.i2c_gate_ctrl) fe 222 drivers/media/pci/ttpci/budget.c fe->ops.i2c_gate_ctrl(fe, 1); fe 234 drivers/media/pci/ttpci/budget.c static int alps_tdbe2_tuner_set_params(struct dvb_frontend *fe) fe 236 drivers/media/pci/ttpci/budget.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 237 drivers/media/pci/ttpci/budget.c struct budget* budget = (struct budget*) fe->dvb->priv; fe 249 drivers/media/pci/ttpci/budget.c if (fe->ops.i2c_gate_ctrl) fe 250 drivers/media/pci/ttpci/budget.c fe->ops.i2c_gate_ctrl(fe, 1); fe 262 drivers/media/pci/ttpci/budget.c static int grundig_29504_401_tuner_set_params(struct dvb_frontend *fe) fe 264 drivers/media/pci/ttpci/budget.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 265 drivers/media/pci/ttpci/budget.c struct budget *budget = fe->dvb->priv; fe 266 drivers/media/pci/ttpci/budget.c u8 *tuner_addr = fe->tuner_priv; fe 304 drivers/media/pci/ttpci/budget.c if (fe->ops.i2c_gate_ctrl) fe 305 drivers/media/pci/ttpci/budget.c fe->ops.i2c_gate_ctrl(fe, 1); fe 320 drivers/media/pci/ttpci/budget.c static int grundig_29504_451_tuner_set_params(struct dvb_frontend *fe) fe 322 drivers/media/pci/ttpci/budget.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 323 drivers/media/pci/ttpci/budget.c struct budget* budget = (struct budget*) fe->dvb->priv; fe 334 drivers/media/pci/ttpci/budget.c if (fe->ops.i2c_gate_ctrl) fe 335 drivers/media/pci/ttpci/budget.c fe->ops.i2c_gate_ctrl(fe, 1); fe 344 drivers/media/pci/ttpci/budget.c static int s5h1420_tuner_set_params(struct dvb_frontend *fe) fe 346 drivers/media/pci/ttpci/budget.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 347 drivers/media/pci/ttpci/budget.c struct budget* budget = (struct budget*) fe->dvb->priv; fe 366 drivers/media/pci/ttpci/budget.c if (fe->ops.i2c_gate_ctrl) fe 367 drivers/media/pci/ttpci/budget.c fe->ops.i2c_gate_ctrl(fe, 1); fe 406 drivers/media/pci/ttpci/budget.c static int alps_tdhd1_204_request_firmware(struct dvb_frontend *fe, const struct firmware **fw, char *name) fe 408 drivers/media/pci/ttpci/budget.c struct budget *budget = (struct budget *)fe->dvb->priv; fe 602 drivers/media/pci/ttpci/budget.c struct dvb_frontend *fe; fe 604 drivers/media/pci/ttpci/budget.c fe = dvb_attach(s5h1420_attach, &s5h1420_config, &budget->i2c_adap); fe 605 drivers/media/pci/ttpci/budget.c if (fe) { fe 606 drivers/media/pci/ttpci/budget.c fe->ops.tuner_ops.set_params = s5h1420_tuner_set_params; fe 607 drivers/media/pci/ttpci/budget.c budget->dvb_frontend = fe; fe 608 drivers/media/pci/ttpci/budget.c if (dvb_attach(lnbp21_attach, fe, &budget->i2c_adap, fe 619 drivers/media/pci/ttpci/budget.c struct dvb_frontend *fe; fe 627 drivers/media/pci/ttpci/budget.c fe = dvb_attach(tda10086_attach, &tda10086_config, &budget->i2c_adap); fe 628 drivers/media/pci/ttpci/budget.c if (fe) { fe 629 drivers/media/pci/ttpci/budget.c budget->dvb_frontend = fe; fe 630 drivers/media/pci/ttpci/budget.c if (dvb_attach(tda826x_attach, fe, 0x60, fe 633 drivers/media/pci/ttpci/budget.c if (dvb_attach(lnbp21_attach, fe, fe 80 drivers/media/pci/ttpci/budget.h int (*read_fe_status)(struct dvb_frontend *fe, enum fe_status *status); fe 107 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c int c8sectpfe_frontend_attach(struct dvb_frontend **fe, fe 129 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c *fe = dvb_attach(stv0367ter_attach, fe 133 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c *fe = dvb_attach(stv0367ter_attach, fe 137 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c *fe = dvb_attach(stv0367ter_attach, fe 141 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c if (!*fe) { fe 152 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c (*fe)->ops.init(*fe); fe 167 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c tda18212->fe = (*fe); fe 175 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c dvb_frontend_detach(*fe); fe 181 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c dvb_frontend_detach(*fe); fe 190 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c *fe = dvb_attach(stv090x_attach, &stv090x_config, fe 192 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c if (!*fe) { fe 199 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c fe2 = dvb_attach(stv6110x_attach, *fe, fe 219 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c dvb_attach(lnbh24_attach, *fe, tsin->i2c_adapter, 0, 0, 0x9); fe 229 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c (*fe)->id = chan_num; fe 13 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.h int c8sectpfe_frontend_attach(struct dvb_frontend **fe, fe 374 drivers/media/tuners/e4000.c static int e4000_set_lna_gain(struct dvb_frontend *fe) fe 376 drivers/media/tuners/e4000.c struct e4000_dev *dev = fe->tuner_priv; fe 410 drivers/media/tuners/e4000.c static int e4000_set_mixer_gain(struct dvb_frontend *fe) fe 412 drivers/media/tuners/e4000.c struct e4000_dev *dev = fe->tuner_priv; fe 442 drivers/media/tuners/e4000.c static int e4000_set_if_gain(struct dvb_frontend *fe) fe 444 drivers/media/tuners/e4000.c struct e4000_dev *dev = fe->tuner_priv; fe 481 drivers/media/tuners/e4000.c static int e4000_pll_lock(struct dvb_frontend *fe) fe 483 drivers/media/tuners/e4000.c struct e4000_dev *dev = fe->tuner_priv; fe 511 drivers/media/tuners/e4000.c ret = e4000_pll_lock(dev->fe); fe 544 drivers/media/tuners/e4000.c ret = e4000_set_lna_gain(dev->fe); fe 548 drivers/media/tuners/e4000.c ret = e4000_set_mixer_gain(dev->fe); fe 552 drivers/media/tuners/e4000.c ret = e4000_set_if_gain(dev->fe); fe 572 drivers/media/tuners/e4000.c static int e4000_dvb_set_params(struct dvb_frontend *fe) fe 574 drivers/media/tuners/e4000.c struct e4000_dev *dev = fe->tuner_priv; fe 575 drivers/media/tuners/e4000.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 582 drivers/media/tuners/e4000.c static int e4000_dvb_init(struct dvb_frontend *fe) fe 584 drivers/media/tuners/e4000.c return e4000_init(fe->tuner_priv); fe 587 drivers/media/tuners/e4000.c static int e4000_dvb_sleep(struct dvb_frontend *fe) fe 589 drivers/media/tuners/e4000.c return e4000_sleep(fe->tuner_priv); fe 592 drivers/media/tuners/e4000.c static int e4000_dvb_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 617 drivers/media/tuners/e4000.c struct dvb_frontend *fe = cfg->fe; fe 633 drivers/media/tuners/e4000.c dev->fe = cfg->fe; fe 694 drivers/media/tuners/e4000.c fe->tuner_priv = dev; fe 695 drivers/media/tuners/e4000.c memcpy(&fe->ops.tuner_ops, &e4000_dvb_tuner_ops, fe 696 drivers/media/tuners/e4000.c sizeof(fe->ops.tuner_ops)); fe 21 drivers/media/tuners/e4000.h struct dvb_frontend *fe; fe 21 drivers/media/tuners/e4000_priv.h struct dvb_frontend *fe; fe 102 drivers/media/tuners/fc0011.c static void fc0011_release(struct dvb_frontend *fe) fe 104 drivers/media/tuners/fc0011.c kfree(fe->tuner_priv); fe 105 drivers/media/tuners/fc0011.c fe->tuner_priv = NULL; fe 108 drivers/media/tuners/fc0011.c static int fc0011_init(struct dvb_frontend *fe) fe 110 drivers/media/tuners/fc0011.c struct fc0011_priv *priv = fe->tuner_priv; fe 113 drivers/media/tuners/fc0011.c if (WARN_ON(!fe->callback)) fe 116 drivers/media/tuners/fc0011.c err = fe->callback(priv->i2c, DVB_FRONTEND_COMPONENT_TUNER, fe 122 drivers/media/tuners/fc0011.c err = fe->callback(priv->i2c, DVB_FRONTEND_COMPONENT_TUNER, fe 163 drivers/media/tuners/fc0011.c static int fc0011_set_params(struct dvb_frontend *fe) fe 165 drivers/media/tuners/fc0011.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 166 drivers/media/tuners/fc0011.c struct fc0011_priv *priv = fe->tuner_priv; fe 299 drivers/media/tuners/fc0011.c err = fe->callback(priv->i2c, DVB_FRONTEND_COMPONENT_TUNER, fe 439 drivers/media/tuners/fc0011.c static int fc0011_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 441 drivers/media/tuners/fc0011.c struct fc0011_priv *priv = fe->tuner_priv; fe 448 drivers/media/tuners/fc0011.c static int fc0011_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 455 drivers/media/tuners/fc0011.c static int fc0011_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) fe 457 drivers/media/tuners/fc0011.c struct fc0011_priv *priv = fe->tuner_priv; fe 482 drivers/media/tuners/fc0011.c struct dvb_frontend *fc0011_attach(struct dvb_frontend *fe, fe 495 drivers/media/tuners/fc0011.c fe->tuner_priv = priv; fe 496 drivers/media/tuners/fc0011.c fe->ops.tuner_ops = fc0011_tuner_ops; fe 500 drivers/media/tuners/fc0011.c return fe; fe 27 drivers/media/tuners/fc0011.h struct dvb_frontend *fc0011_attach(struct dvb_frontend *fe, fe 32 drivers/media/tuners/fc0011.h struct dvb_frontend *fc0011_attach(struct dvb_frontend *fe, fe 45 drivers/media/tuners/fc0012.c static void fc0012_release(struct dvb_frontend *fe) fe 47 drivers/media/tuners/fc0012.c kfree(fe->tuner_priv); fe 48 drivers/media/tuners/fc0012.c fe->tuner_priv = NULL; fe 51 drivers/media/tuners/fc0012.c static int fc0012_init(struct dvb_frontend *fe) fe 53 drivers/media/tuners/fc0012.c struct fc0012_priv *priv = fe->tuner_priv; fe 99 drivers/media/tuners/fc0012.c if (fe->ops.i2c_gate_ctrl) fe 100 drivers/media/tuners/fc0012.c fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ fe 108 drivers/media/tuners/fc0012.c if (fe->ops.i2c_gate_ctrl) fe 109 drivers/media/tuners/fc0012.c fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ fe 118 drivers/media/tuners/fc0012.c static int fc0012_set_params(struct dvb_frontend *fe) fe 120 drivers/media/tuners/fc0012.c struct fc0012_priv *priv = fe->tuner_priv; fe 122 drivers/media/tuners/fc0012.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 130 drivers/media/tuners/fc0012.c if (fe->callback) { fe 131 drivers/media/tuners/fc0012.c ret = fe->callback(priv->i2c, DVB_FRONTEND_COMPONENT_TUNER, fe 257 drivers/media/tuners/fc0012.c if (fe->ops.i2c_gate_ctrl) fe 258 drivers/media/tuners/fc0012.c fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ fe 309 drivers/media/tuners/fc0012.c if (fe->ops.i2c_gate_ctrl) fe 310 drivers/media/tuners/fc0012.c fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ fe 317 drivers/media/tuners/fc0012.c static int fc0012_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 319 drivers/media/tuners/fc0012.c struct fc0012_priv *priv = fe->tuner_priv; fe 324 drivers/media/tuners/fc0012.c static int fc0012_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 330 drivers/media/tuners/fc0012.c static int fc0012_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) fe 332 drivers/media/tuners/fc0012.c struct fc0012_priv *priv = fe->tuner_priv; fe 339 drivers/media/tuners/fc0012.c static int fc0012_get_rf_strength(struct dvb_frontend *fe, u16 *strength) fe 341 drivers/media/tuners/fc0012.c struct fc0012_priv *priv = fe->tuner_priv; fe 357 drivers/media/tuners/fc0012.c if (fe->ops.i2c_gate_ctrl) fe 358 drivers/media/tuners/fc0012.c fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ fe 374 drivers/media/tuners/fc0012.c if (fe->ops.i2c_gate_ctrl) fe 375 drivers/media/tuners/fc0012.c fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ fe 398 drivers/media/tuners/fc0012.c if (fe->ops.i2c_gate_ctrl) fe 399 drivers/media/tuners/fc0012.c fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ fe 428 drivers/media/tuners/fc0012.c struct dvb_frontend *fc0012_attach(struct dvb_frontend *fe, fe 435 drivers/media/tuners/fc0012.c if (fe->ops.i2c_gate_ctrl) fe 436 drivers/media/tuners/fc0012.c fe->ops.i2c_gate_ctrl(fe, 1); fe 482 drivers/media/tuners/fc0012.c fe->tuner_priv = priv; fe 483 drivers/media/tuners/fc0012.c memcpy(&fe->ops.tuner_ops, &fc0012_tuner_ops, fe 487 drivers/media/tuners/fc0012.c if (fe->ops.i2c_gate_ctrl) fe 488 drivers/media/tuners/fc0012.c fe->ops.i2c_gate_ctrl(fe, 0); fe 496 drivers/media/tuners/fc0012.c return fe; fe 39 drivers/media/tuners/fc0012.h extern struct dvb_frontend *fc0012_attach(struct dvb_frontend *fe, fe 43 drivers/media/tuners/fc0012.h static inline struct dvb_frontend *fc0012_attach(struct dvb_frontend *fe, fe 41 drivers/media/tuners/fc0013.c static void fc0013_release(struct dvb_frontend *fe) fe 43 drivers/media/tuners/fc0013.c kfree(fe->tuner_priv); fe 44 drivers/media/tuners/fc0013.c fe->tuner_priv = NULL; fe 47 drivers/media/tuners/fc0013.c static int fc0013_init(struct dvb_frontend *fe) fe 49 drivers/media/tuners/fc0013.c struct fc0013_priv *priv = fe->tuner_priv; fe 91 drivers/media/tuners/fc0013.c if (fe->ops.i2c_gate_ctrl) fe 92 drivers/media/tuners/fc0013.c fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ fe 100 drivers/media/tuners/fc0013.c if (fe->ops.i2c_gate_ctrl) fe 101 drivers/media/tuners/fc0013.c fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ fe 109 drivers/media/tuners/fc0013.c static int fc0013_sleep(struct dvb_frontend *fe) fe 115 drivers/media/tuners/fc0013.c int fc0013_rc_cal_add(struct dvb_frontend *fe, int rc_val) fe 117 drivers/media/tuners/fc0013.c struct fc0013_priv *priv = fe->tuner_priv; fe 122 drivers/media/tuners/fc0013.c if (fe->ops.i2c_gate_ctrl) fe 123 drivers/media/tuners/fc0013.c fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ fe 153 drivers/media/tuners/fc0013.c if (fe->ops.i2c_gate_ctrl) fe 154 drivers/media/tuners/fc0013.c fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ fe 160 drivers/media/tuners/fc0013.c int fc0013_rc_cal_reset(struct dvb_frontend *fe) fe 162 drivers/media/tuners/fc0013.c struct fc0013_priv *priv = fe->tuner_priv; fe 165 drivers/media/tuners/fc0013.c if (fe->ops.i2c_gate_ctrl) fe 166 drivers/media/tuners/fc0013.c fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ fe 172 drivers/media/tuners/fc0013.c if (fe->ops.i2c_gate_ctrl) fe 173 drivers/media/tuners/fc0013.c fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ fe 209 drivers/media/tuners/fc0013.c static int fc0013_set_params(struct dvb_frontend *fe) fe 211 drivers/media/tuners/fc0013.c struct fc0013_priv *priv = fe->tuner_priv; fe 213 drivers/media/tuners/fc0013.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 221 drivers/media/tuners/fc0013.c if (fe->callback) { fe 222 drivers/media/tuners/fc0013.c ret = fe->callback(priv->i2c, DVB_FRONTEND_COMPONENT_TUNER, fe 241 drivers/media/tuners/fc0013.c if (fe->ops.i2c_gate_ctrl) fe 242 drivers/media/tuners/fc0013.c fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ fe 468 drivers/media/tuners/fc0013.c if (fe->ops.i2c_gate_ctrl) fe 469 drivers/media/tuners/fc0013.c fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ fe 475 drivers/media/tuners/fc0013.c static int fc0013_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 477 drivers/media/tuners/fc0013.c struct fc0013_priv *priv = fe->tuner_priv; fe 482 drivers/media/tuners/fc0013.c static int fc0013_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 489 drivers/media/tuners/fc0013.c static int fc0013_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) fe 491 drivers/media/tuners/fc0013.c struct fc0013_priv *priv = fe->tuner_priv; fe 498 drivers/media/tuners/fc0013.c static int fc0013_get_rf_strength(struct dvb_frontend *fe, u16 *strength) fe 500 drivers/media/tuners/fc0013.c struct fc0013_priv *priv = fe->tuner_priv; fe 516 drivers/media/tuners/fc0013.c if (fe->ops.i2c_gate_ctrl) fe 517 drivers/media/tuners/fc0013.c fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ fe 533 drivers/media/tuners/fc0013.c if (fe->ops.i2c_gate_ctrl) fe 534 drivers/media/tuners/fc0013.c fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ fe 557 drivers/media/tuners/fc0013.c if (fe->ops.i2c_gate_ctrl) fe 558 drivers/media/tuners/fc0013.c fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ fe 587 drivers/media/tuners/fc0013.c struct dvb_frontend *fc0013_attach(struct dvb_frontend *fe, fe 604 drivers/media/tuners/fc0013.c fe->tuner_priv = priv; fe 606 drivers/media/tuners/fc0013.c memcpy(&fe->ops.tuner_ops, &fc0013_tuner_ops, fe 609 drivers/media/tuners/fc0013.c return fe; fe 15 drivers/media/tuners/fc0013.h extern struct dvb_frontend *fc0013_attach(struct dvb_frontend *fe, fe 19 drivers/media/tuners/fc0013.h extern int fc0013_rc_cal_add(struct dvb_frontend *fe, int rc_val); fe 20 drivers/media/tuners/fc0013.h extern int fc0013_rc_cal_reset(struct dvb_frontend *fe); fe 22 drivers/media/tuners/fc0013.h static inline struct dvb_frontend *fc0013_attach(struct dvb_frontend *fe, fe 31 drivers/media/tuners/fc0013.h static inline int fc0013_rc_cal_add(struct dvb_frontend *fe, int rc_val) fe 36 drivers/media/tuners/fc0013.h static inline int fc0013_rc_cal_reset(struct dvb_frontend *fe) fe 317 drivers/media/tuners/fc2580.c static int fc2580_dvb_set_params(struct dvb_frontend *fe) fe 319 drivers/media/tuners/fc2580.c struct fc2580_dev *dev = fe->tuner_priv; fe 320 drivers/media/tuners/fc2580.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 327 drivers/media/tuners/fc2580.c static int fc2580_dvb_init(struct dvb_frontend *fe) fe 329 drivers/media/tuners/fc2580.c return fc2580_init(fe->tuner_priv); fe 332 drivers/media/tuners/fc2580.c static int fc2580_dvb_sleep(struct dvb_frontend *fe) fe 334 drivers/media/tuners/fc2580.c return fc2580_sleep(fe->tuner_priv); fe 337 drivers/media/tuners/fc2580.c static int fc2580_dvb_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 514 drivers/media/tuners/fc2580.c struct dvb_frontend *fe = pdata->dvb_frontend; fe 576 drivers/media/tuners/fc2580.c fe->tuner_priv = dev; fe 577 drivers/media/tuners/fc2580.c memcpy(&fe->ops.tuner_ops, &fc2580_dvb_tuner_ops, fe 578 drivers/media/tuners/fc2580.c sizeof(fe->ops.tuner_ops)); fe 16 drivers/media/tuners/it913x.c struct dvb_frontend *fe; fe 26 drivers/media/tuners/it913x.c static int it913x_init(struct dvb_frontend *fe) fe 28 drivers/media/tuners/it913x.c struct it913x_dev *dev = fe->tuner_priv; fe 147 drivers/media/tuners/it913x.c static int it913x_sleep(struct dvb_frontend *fe) fe 149 drivers/media/tuners/it913x.c struct it913x_dev *dev = fe->tuner_priv; fe 206 drivers/media/tuners/it913x.c static int it913x_set_params(struct dvb_frontend *fe) fe 208 drivers/media/tuners/it913x.c struct it913x_dev *dev = fe->tuner_priv; fe 210 drivers/media/tuners/it913x.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 381 drivers/media/tuners/it913x.c struct dvb_frontend *fe = pdata->fe; fe 396 drivers/media/tuners/it913x.c dev->fe = pdata->fe; fe 400 drivers/media/tuners/it913x.c fe->tuner_priv = dev; fe 401 drivers/media/tuners/it913x.c memcpy(&fe->ops.tuner_ops, &it913x_tuner_ops, fe 424 drivers/media/tuners/it913x.c struct dvb_frontend *fe = dev->fe; fe 428 drivers/media/tuners/it913x.c memset(&fe->ops.tuner_ops, 0, sizeof(struct dvb_tuner_ops)); fe 429 drivers/media/tuners/it913x.c fe->tuner_priv = NULL; fe 23 drivers/media/tuners/it913x.h struct dvb_frontend *fe; fe 24 drivers/media/tuners/m88rs6000t.c static int m88rs6000t_set_demod_mclk(struct dvb_frontend *fe) fe 26 drivers/media/tuners/m88rs6000t.c struct m88rs6000t_dev *dev = fe->tuner_priv; fe 27 drivers/media/tuners/m88rs6000t.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 385 drivers/media/tuners/m88rs6000t.c static int m88rs6000t_set_params(struct dvb_frontend *fe) fe 387 drivers/media/tuners/m88rs6000t.c struct m88rs6000t_dev *dev = fe->tuner_priv; fe 388 drivers/media/tuners/m88rs6000t.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 418 drivers/media/tuners/m88rs6000t.c ret = m88rs6000t_set_demod_mclk(fe); fe 425 drivers/media/tuners/m88rs6000t.c static int m88rs6000t_init(struct dvb_frontend *fe) fe 427 drivers/media/tuners/m88rs6000t.c struct m88rs6000t_dev *dev = fe->tuner_priv; fe 447 drivers/media/tuners/m88rs6000t.c static int m88rs6000t_sleep(struct dvb_frontend *fe) fe 449 drivers/media/tuners/m88rs6000t.c struct m88rs6000t_dev *dev = fe->tuner_priv; fe 463 drivers/media/tuners/m88rs6000t.c static int m88rs6000t_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 465 drivers/media/tuners/m88rs6000t.c struct m88rs6000t_dev *dev = fe->tuner_priv; fe 473 drivers/media/tuners/m88rs6000t.c static int m88rs6000t_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 475 drivers/media/tuners/m88rs6000t.c struct m88rs6000t_dev *dev = fe->tuner_priv; fe 484 drivers/media/tuners/m88rs6000t.c static int m88rs6000t_get_rf_strength(struct dvb_frontend *fe, u16 *strength) fe 486 drivers/media/tuners/m88rs6000t.c struct m88rs6000t_dev *dev = fe->tuner_priv; fe 580 drivers/media/tuners/m88rs6000t.c struct dvb_frontend *fe = cfg->fe; fe 689 drivers/media/tuners/m88rs6000t.c fe->tuner_priv = dev; fe 690 drivers/media/tuners/m88rs6000t.c memcpy(&fe->ops.tuner_ops, &m88rs6000t_tuner_ops, fe 703 drivers/media/tuners/m88rs6000t.c struct dvb_frontend *fe = dev->cfg.fe; fe 707 drivers/media/tuners/m88rs6000t.c memset(&fe->ops.tuner_ops, 0, sizeof(struct dvb_tuner_ops)); fe 708 drivers/media/tuners/m88rs6000t.c fe->tuner_priv = NULL; fe 17 drivers/media/tuners/m88rs6000t.h struct dvb_frontend *fe; fe 249 drivers/media/tuners/max2165.c static int max2165_set_params(struct dvb_frontend *fe) fe 251 drivers/media/tuners/max2165.c struct max2165_priv *priv = fe->tuner_priv; fe 252 drivers/media/tuners/max2165.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 268 drivers/media/tuners/max2165.c if (fe->ops.i2c_gate_ctrl) fe 269 drivers/media/tuners/max2165.c fe->ops.i2c_gate_ctrl(fe, 1); fe 274 drivers/media/tuners/max2165.c if (fe->ops.i2c_gate_ctrl) fe 275 drivers/media/tuners/max2165.c fe->ops.i2c_gate_ctrl(fe, 0); fe 283 drivers/media/tuners/max2165.c static int max2165_get_frequency(struct dvb_frontend *fe, u32 *freq) fe 285 drivers/media/tuners/max2165.c struct max2165_priv *priv = fe->tuner_priv; fe 291 drivers/media/tuners/max2165.c static int max2165_get_bandwidth(struct dvb_frontend *fe, u32 *bw) fe 293 drivers/media/tuners/max2165.c struct max2165_priv *priv = fe->tuner_priv; fe 300 drivers/media/tuners/max2165.c static int max2165_get_status(struct dvb_frontend *fe, u32 *status) fe 302 drivers/media/tuners/max2165.c struct max2165_priv *priv = fe->tuner_priv; fe 307 drivers/media/tuners/max2165.c if (fe->ops.i2c_gate_ctrl) fe 308 drivers/media/tuners/max2165.c fe->ops.i2c_gate_ctrl(fe, 1); fe 313 drivers/media/tuners/max2165.c if (fe->ops.i2c_gate_ctrl) fe 314 drivers/media/tuners/max2165.c fe->ops.i2c_gate_ctrl(fe, 0); fe 319 drivers/media/tuners/max2165.c static int max2165_sleep(struct dvb_frontend *fe) fe 325 drivers/media/tuners/max2165.c static int max2165_init(struct dvb_frontend *fe) fe 327 drivers/media/tuners/max2165.c struct max2165_priv *priv = fe->tuner_priv; fe 330 drivers/media/tuners/max2165.c if (fe->ops.i2c_gate_ctrl) fe 331 drivers/media/tuners/max2165.c fe->ops.i2c_gate_ctrl(fe, 1); fe 353 drivers/media/tuners/max2165.c if (fe->ops.i2c_gate_ctrl) fe 354 drivers/media/tuners/max2165.c fe->ops.i2c_gate_ctrl(fe, 0); fe 359 drivers/media/tuners/max2165.c static void max2165_release(struct dvb_frontend *fe) fe 361 drivers/media/tuners/max2165.c struct max2165_priv *priv = fe->tuner_priv; fe 365 drivers/media/tuners/max2165.c fe->tuner_priv = NULL; fe 387 drivers/media/tuners/max2165.c struct dvb_frontend *max2165_attach(struct dvb_frontend *fe, fe 401 drivers/media/tuners/max2165.c memcpy(&fe->ops.tuner_ops, &max2165_tuner_ops, fe 406 drivers/media/tuners/max2165.c fe->tuner_priv = priv; fe 408 drivers/media/tuners/max2165.c max2165_init(fe); fe 411 drivers/media/tuners/max2165.c return fe; fe 20 drivers/media/tuners/max2165.h extern struct dvb_frontend *max2165_attach(struct dvb_frontend *fe, fe 24 drivers/media/tuners/max2165.h static inline struct dvb_frontend *max2165_attach(struct dvb_frontend *fe, fe 69 drivers/media/tuners/mc44s803.c static void mc44s803_release(struct dvb_frontend *fe) fe 71 drivers/media/tuners/mc44s803.c struct mc44s803_priv *priv = fe->tuner_priv; fe 73 drivers/media/tuners/mc44s803.c fe->tuner_priv = NULL; fe 77 drivers/media/tuners/mc44s803.c static int mc44s803_init(struct dvb_frontend *fe) fe 79 drivers/media/tuners/mc44s803.c struct mc44s803_priv *priv = fe->tuner_priv; fe 83 drivers/media/tuners/mc44s803.c if (fe->ops.i2c_gate_ctrl) fe 84 drivers/media/tuners/mc44s803.c fe->ops.i2c_gate_ctrl(fe, 1); fe 189 drivers/media/tuners/mc44s803.c if (fe->ops.i2c_gate_ctrl) fe 190 drivers/media/tuners/mc44s803.c fe->ops.i2c_gate_ctrl(fe, 0); fe 194 drivers/media/tuners/mc44s803.c if (fe->ops.i2c_gate_ctrl) fe 195 drivers/media/tuners/mc44s803.c fe->ops.i2c_gate_ctrl(fe, 0); fe 201 drivers/media/tuners/mc44s803.c static int mc44s803_set_params(struct dvb_frontend *fe) fe 203 drivers/media/tuners/mc44s803.c struct mc44s803_priv *priv = fe->tuner_priv; fe 204 drivers/media/tuners/mc44s803.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 221 drivers/media/tuners/mc44s803.c if (fe->ops.i2c_gate_ctrl) fe 222 drivers/media/tuners/mc44s803.c fe->ops.i2c_gate_ctrl(fe, 1); fe 265 drivers/media/tuners/mc44s803.c if (fe->ops.i2c_gate_ctrl) fe 266 drivers/media/tuners/mc44s803.c fe->ops.i2c_gate_ctrl(fe, 0); fe 271 drivers/media/tuners/mc44s803.c if (fe->ops.i2c_gate_ctrl) fe 272 drivers/media/tuners/mc44s803.c fe->ops.i2c_gate_ctrl(fe, 0); fe 278 drivers/media/tuners/mc44s803.c static int mc44s803_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 280 drivers/media/tuners/mc44s803.c struct mc44s803_priv *priv = fe->tuner_priv; fe 285 drivers/media/tuners/mc44s803.c static int mc44s803_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 308 drivers/media/tuners/mc44s803.c struct dvb_frontend *mc44s803_attach(struct dvb_frontend *fe, fe 324 drivers/media/tuners/mc44s803.c priv->fe = fe; fe 326 drivers/media/tuners/mc44s803.c if (fe->ops.i2c_gate_ctrl) fe 327 drivers/media/tuners/mc44s803.c fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ fe 342 drivers/media/tuners/mc44s803.c memcpy(&fe->ops.tuner_ops, &mc44s803_tuner_ops, fe 345 drivers/media/tuners/mc44s803.c fe->tuner_priv = priv; fe 347 drivers/media/tuners/mc44s803.c if (fe->ops.i2c_gate_ctrl) fe 348 drivers/media/tuners/mc44s803.c fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ fe 350 drivers/media/tuners/mc44s803.c return fe; fe 353 drivers/media/tuners/mc44s803.c if (fe->ops.i2c_gate_ctrl) fe 354 drivers/media/tuners/mc44s803.c fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ fe 20 drivers/media/tuners/mc44s803.h extern struct dvb_frontend *mc44s803_attach(struct dvb_frontend *fe, fe 23 drivers/media/tuners/mc44s803.h static inline struct dvb_frontend *mc44s803_attach(struct dvb_frontend *fe, fe 189 drivers/media/tuners/mc44s803_priv.h struct dvb_frontend *fe; fe 188 drivers/media/tuners/mt2060.c static int mt2060_set_params(struct dvb_frontend *fe) fe 190 drivers/media/tuners/mt2060.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 200 drivers/media/tuners/mt2060.c priv = fe->tuner_priv; fe 206 drivers/media/tuners/mt2060.c if (fe->ops.i2c_gate_ctrl) fe 207 drivers/media/tuners/mt2060.c fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ fe 271 drivers/media/tuners/mt2060.c if (fe->ops.i2c_gate_ctrl) fe 272 drivers/media/tuners/mt2060.c fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ fe 320 drivers/media/tuners/mt2060.c static int mt2060_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 322 drivers/media/tuners/mt2060.c struct mt2060_priv *priv = fe->tuner_priv; fe 327 drivers/media/tuners/mt2060.c static int mt2060_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 333 drivers/media/tuners/mt2060.c static int mt2060_init(struct dvb_frontend *fe) fe 335 drivers/media/tuners/mt2060.c struct mt2060_priv *priv = fe->tuner_priv; fe 338 drivers/media/tuners/mt2060.c if (fe->ops.i2c_gate_ctrl) fe 339 drivers/media/tuners/mt2060.c fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ fe 351 drivers/media/tuners/mt2060.c if (fe->ops.i2c_gate_ctrl) fe 352 drivers/media/tuners/mt2060.c fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ fe 357 drivers/media/tuners/mt2060.c static int mt2060_sleep(struct dvb_frontend *fe) fe 359 drivers/media/tuners/mt2060.c struct mt2060_priv *priv = fe->tuner_priv; fe 362 drivers/media/tuners/mt2060.c if (fe->ops.i2c_gate_ctrl) fe 363 drivers/media/tuners/mt2060.c fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ fe 374 drivers/media/tuners/mt2060.c if (fe->ops.i2c_gate_ctrl) fe 375 drivers/media/tuners/mt2060.c fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ fe 380 drivers/media/tuners/mt2060.c static void mt2060_release(struct dvb_frontend *fe) fe 382 drivers/media/tuners/mt2060.c kfree(fe->tuner_priv); fe 383 drivers/media/tuners/mt2060.c fe->tuner_priv = NULL; fe 405 drivers/media/tuners/mt2060.c struct dvb_frontend * mt2060_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2060_config *cfg, u16 if1) fe 419 drivers/media/tuners/mt2060.c if (fe->ops.i2c_gate_ctrl) fe 420 drivers/media/tuners/mt2060.c fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ fe 432 drivers/media/tuners/mt2060.c memcpy(&fe->ops.tuner_ops, &mt2060_tuner_ops, sizeof(struct dvb_tuner_ops)); fe 434 drivers/media/tuners/mt2060.c fe->tuner_priv = priv; fe 438 drivers/media/tuners/mt2060.c if (fe->ops.i2c_gate_ctrl) fe 439 drivers/media/tuners/mt2060.c fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ fe 441 drivers/media/tuners/mt2060.c return fe; fe 449 drivers/media/tuners/mt2060.c struct dvb_frontend *fe; fe 468 drivers/media/tuners/mt2060.c fe = pdata->dvb_frontend; fe 501 drivers/media/tuners/mt2060.c memcpy(&fe->ops.tuner_ops, &mt2060_tuner_ops, sizeof(fe->ops.tuner_ops)); fe 502 drivers/media/tuners/mt2060.c fe->ops.tuner_ops.release = NULL; fe 503 drivers/media/tuners/mt2060.c fe->tuner_priv = dev; fe 43 drivers/media/tuners/mt2060.h extern struct dvb_frontend * mt2060_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2060_config *cfg, u16 if1); fe 45 drivers/media/tuners/mt2060.h static inline struct dvb_frontend * mt2060_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2060_config *cfg, u16 if1) fe 241 drivers/media/tuners/mt2063.c struct dvb_frontend *fe = state->frontend; fe 256 drivers/media/tuners/mt2063.c if (fe->ops.i2c_gate_ctrl) fe 257 drivers/media/tuners/mt2063.c fe->ops.i2c_gate_ctrl(fe, 1); fe 259 drivers/media/tuners/mt2063.c if (fe->ops.i2c_gate_ctrl) fe 260 drivers/media/tuners/mt2063.c fe->ops.i2c_gate_ctrl(fe, 0); fe 296 drivers/media/tuners/mt2063.c struct dvb_frontend *fe = state->frontend; fe 301 drivers/media/tuners/mt2063.c if (fe->ops.i2c_gate_ctrl) fe 302 drivers/media/tuners/mt2063.c fe->ops.i2c_gate_ctrl(fe, 1); fe 326 drivers/media/tuners/mt2063.c if (fe->ops.i2c_gate_ctrl) fe 327 drivers/media/tuners/mt2063.c fe->ops.i2c_gate_ctrl(fe, 0); fe 339 drivers/media/tuners/mt2063.c static int MT2063_Sleep(struct dvb_frontend *fe) fe 1772 drivers/media/tuners/mt2063.c static int mt2063_init(struct dvb_frontend *fe) fe 1775 drivers/media/tuners/mt2063.c struct mt2063_state *state = fe->tuner_priv; fe 1989 drivers/media/tuners/mt2063.c static int mt2063_get_status(struct dvb_frontend *fe, u32 *tuner_status) fe 1991 drivers/media/tuners/mt2063.c struct mt2063_state *state = fe->tuner_priv; fe 2011 drivers/media/tuners/mt2063.c static void mt2063_release(struct dvb_frontend *fe) fe 2013 drivers/media/tuners/mt2063.c struct mt2063_state *state = fe->tuner_priv; fe 2017 drivers/media/tuners/mt2063.c fe->tuner_priv = NULL; fe 2021 drivers/media/tuners/mt2063.c static int mt2063_set_analog_params(struct dvb_frontend *fe, fe 2024 drivers/media/tuners/mt2063.c struct mt2063_state *state = fe->tuner_priv; fe 2035 drivers/media/tuners/mt2063.c status = mt2063_init(fe); fe 2095 drivers/media/tuners/mt2063.c static int mt2063_set_params(struct dvb_frontend *fe) fe 2097 drivers/media/tuners/mt2063.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 2098 drivers/media/tuners/mt2063.c struct mt2063_state *state = fe->tuner_priv; fe 2107 drivers/media/tuners/mt2063.c status = mt2063_init(fe); fe 2159 drivers/media/tuners/mt2063.c static int mt2063_get_if_frequency(struct dvb_frontend *fe, u32 *freq) fe 2161 drivers/media/tuners/mt2063.c struct mt2063_state *state = fe->tuner_priv; fe 2175 drivers/media/tuners/mt2063.c static int mt2063_get_bandwidth(struct dvb_frontend *fe, u32 *bw) fe 2177 drivers/media/tuners/mt2063.c struct mt2063_state *state = fe->tuner_priv; fe 2208 drivers/media/tuners/mt2063.c struct dvb_frontend *mt2063_attach(struct dvb_frontend *fe, fe 2222 drivers/media/tuners/mt2063.c state->frontend = fe; fe 2224 drivers/media/tuners/mt2063.c fe->tuner_priv = state; fe 2225 drivers/media/tuners/mt2063.c fe->ops.tuner_ops = mt2063_ops; fe 2228 drivers/media/tuners/mt2063.c return fe; fe 2237 drivers/media/tuners/mt2063.c static int tuner_MT2063_SoftwareShutdown(struct dvb_frontend *fe) fe 2239 drivers/media/tuners/mt2063.c struct mt2063_state *state = fe->tuner_priv; fe 2251 drivers/media/tuners/mt2063.c static int tuner_MT2063_ClearPowerMaskBits(struct dvb_frontend *fe) fe 2253 drivers/media/tuners/mt2063.c struct mt2063_state *state = fe->tuner_priv; fe 13 drivers/media/tuners/mt2063.h struct dvb_frontend *mt2063_attach(struct dvb_frontend *fe, fe 19 drivers/media/tuners/mt2063.h static inline struct dvb_frontend *mt2063_attach(struct dvb_frontend *fe, fe 53 drivers/media/tuners/mt20xx.c static void microtune_release(struct dvb_frontend *fe) fe 55 drivers/media/tuners/mt20xx.c kfree(fe->tuner_priv); fe 56 drivers/media/tuners/mt20xx.c fe->tuner_priv = NULL; fe 59 drivers/media/tuners/mt20xx.c static int microtune_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 61 drivers/media/tuners/mt20xx.c struct microtune_priv *priv = fe->tuner_priv; fe 67 drivers/media/tuners/mt20xx.c static int mt2032_spurcheck(struct dvb_frontend *fe, fe 70 drivers/media/tuners/mt20xx.c struct microtune_priv *priv = fe->tuner_priv; fe 98 drivers/media/tuners/mt20xx.c static int mt2032_compute_freq(struct dvb_frontend *fe, fe 107 drivers/media/tuners/mt20xx.c struct microtune_priv *priv = fe->tuner_priv; fe 158 drivers/media/tuners/mt20xx.c mt2032_spurcheck(fe, lo1freq, desired_lo2, spectrum_from, spectrum_to); fe 182 drivers/media/tuners/mt20xx.c static int mt2032_check_lo_lock(struct dvb_frontend *fe) fe 184 drivers/media/tuners/mt20xx.c struct microtune_priv *priv = fe->tuner_priv; fe 204 drivers/media/tuners/mt20xx.c static int mt2032_optimize_vco(struct dvb_frontend *fe,int sel,int lock) fe 206 drivers/media/tuners/mt20xx.c struct microtune_priv *priv = fe->tuner_priv; fe 236 drivers/media/tuners/mt20xx.c lock=mt2032_check_lo_lock(fe); fe 241 drivers/media/tuners/mt20xx.c static void mt2032_set_if_freq(struct dvb_frontend *fe, unsigned int rfin, fe 247 drivers/media/tuners/mt20xx.c struct microtune_priv *priv = fe->tuner_priv; fe 257 drivers/media/tuners/mt20xx.c ret=mt2032_compute_freq(fe,rfin,if1,if2,from,to,&buf[1],&sel,priv->xogc); fe 273 drivers/media/tuners/mt20xx.c lock=mt2032_check_lo_lock(fe); fe 276 drivers/media/tuners/mt20xx.c lock=mt2032_optimize_vco(fe,sel,lock); fe 299 drivers/media/tuners/mt20xx.c static int mt2032_set_tv_freq(struct dvb_frontend *fe, fe 317 drivers/media/tuners/mt20xx.c mt2032_set_if_freq(fe, params->frequency*62500, fe 323 drivers/media/tuners/mt20xx.c static int mt2032_set_radio_freq(struct dvb_frontend *fe, fe 326 drivers/media/tuners/mt20xx.c struct microtune_priv *priv = fe->tuner_priv; fe 338 drivers/media/tuners/mt20xx.c mt2032_set_if_freq(fe, params->frequency * 125 / 2, fe 344 drivers/media/tuners/mt20xx.c static int mt2032_set_params(struct dvb_frontend *fe, fe 347 drivers/media/tuners/mt20xx.c struct microtune_priv *priv = fe->tuner_priv; fe 352 drivers/media/tuners/mt20xx.c ret = mt2032_set_radio_freq(fe, params); fe 357 drivers/media/tuners/mt20xx.c ret = mt2032_set_tv_freq(fe, params); fe 372 drivers/media/tuners/mt20xx.c static int mt2032_init(struct dvb_frontend *fe) fe 374 drivers/media/tuners/mt20xx.c struct microtune_priv *priv = fe->tuner_priv; fe 423 drivers/media/tuners/mt20xx.c memcpy(&fe->ops.tuner_ops, &mt2032_tuner_ops, sizeof(struct dvb_tuner_ops)); fe 428 drivers/media/tuners/mt20xx.c static void mt2050_set_antenna(struct dvb_frontend *fe, unsigned char antenna) fe 430 drivers/media/tuners/mt20xx.c struct microtune_priv *priv = fe->tuner_priv; fe 439 drivers/media/tuners/mt20xx.c static void mt2050_set_if_freq(struct dvb_frontend *fe,unsigned int freq, unsigned int if2) fe 441 drivers/media/tuners/mt20xx.c struct microtune_priv *priv = fe->tuner_priv; fe 497 drivers/media/tuners/mt20xx.c static int mt2050_set_tv_freq(struct dvb_frontend *fe, fe 513 drivers/media/tuners/mt20xx.c mt2050_set_if_freq(fe, params->frequency*62500, if2); fe 514 drivers/media/tuners/mt20xx.c mt2050_set_antenna(fe, tv_antenna); fe 519 drivers/media/tuners/mt20xx.c static int mt2050_set_radio_freq(struct dvb_frontend *fe, fe 522 drivers/media/tuners/mt20xx.c struct microtune_priv *priv = fe->tuner_priv; fe 533 drivers/media/tuners/mt20xx.c mt2050_set_if_freq(fe, params->frequency * 125 / 2, if2); fe 534 drivers/media/tuners/mt20xx.c mt2050_set_antenna(fe, radio_antenna); fe 539 drivers/media/tuners/mt20xx.c static int mt2050_set_params(struct dvb_frontend *fe, fe 542 drivers/media/tuners/mt20xx.c struct microtune_priv *priv = fe->tuner_priv; fe 547 drivers/media/tuners/mt20xx.c ret = mt2050_set_radio_freq(fe, params); fe 552 drivers/media/tuners/mt20xx.c ret = mt2050_set_tv_freq(fe, params); fe 566 drivers/media/tuners/mt20xx.c static int mt2050_init(struct dvb_frontend *fe) fe 568 drivers/media/tuners/mt20xx.c struct microtune_priv *priv = fe->tuner_priv; fe 585 drivers/media/tuners/mt20xx.c memcpy(&fe->ops.tuner_ops, &mt2050_tuner_ops, sizeof(struct dvb_tuner_ops)); fe 590 drivers/media/tuners/mt20xx.c struct dvb_frontend *microtune_attach(struct dvb_frontend *fe, fe 602 drivers/media/tuners/mt20xx.c fe->tuner_priv = priv; fe 629 drivers/media/tuners/mt20xx.c mt2032_init(fe); fe 632 drivers/media/tuners/mt20xx.c mt2050_init(fe); fe 640 drivers/media/tuners/mt20xx.c strscpy(fe->ops.tuner_ops.info.name, name, fe 641 drivers/media/tuners/mt20xx.c sizeof(fe->ops.tuner_ops.info.name)); fe 643 drivers/media/tuners/mt20xx.c return fe; fe 12 drivers/media/tuners/mt20xx.h extern struct dvb_frontend *microtune_attach(struct dvb_frontend *fe, fe 16 drivers/media/tuners/mt20xx.h static inline struct dvb_frontend *microtune_attach(struct dvb_frontend *fe, fe 81 drivers/media/tuners/mt2131.c static int mt2131_set_params(struct dvb_frontend *fe) fe 83 drivers/media/tuners/mt2131.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 93 drivers/media/tuners/mt2131.c priv = fe->tuner_priv; fe 170 drivers/media/tuners/mt2131.c static int mt2131_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 172 drivers/media/tuners/mt2131.c struct mt2131_priv *priv = fe->tuner_priv; fe 178 drivers/media/tuners/mt2131.c static int mt2131_get_status(struct dvb_frontend *fe, u32 *status) fe 180 drivers/media/tuners/mt2131.c struct mt2131_priv *priv = fe->tuner_priv; fe 197 drivers/media/tuners/mt2131.c static int mt2131_init(struct dvb_frontend *fe) fe 199 drivers/media/tuners/mt2131.c struct mt2131_priv *priv = fe->tuner_priv; fe 219 drivers/media/tuners/mt2131.c static void mt2131_release(struct dvb_frontend *fe) fe 222 drivers/media/tuners/mt2131.c kfree(fe->tuner_priv); fe 223 drivers/media/tuners/mt2131.c fe->tuner_priv = NULL; fe 242 drivers/media/tuners/mt2131.c struct dvb_frontend * mt2131_attach(struct dvb_frontend *fe, fe 271 drivers/media/tuners/mt2131.c memcpy(&fe->ops.tuner_ops, &mt2131_tuner_ops, fe 274 drivers/media/tuners/mt2131.c fe->tuner_priv = priv; fe 275 drivers/media/tuners/mt2131.c return fe; fe 20 drivers/media/tuners/mt2131.h extern struct dvb_frontend* mt2131_attach(struct dvb_frontend *fe, fe 25 drivers/media/tuners/mt2131.h static inline struct dvb_frontend* mt2131_attach(struct dvb_frontend *fe, fe 116 drivers/media/tuners/mt2266.c static int mt2266_set_params(struct dvb_frontend *fe) fe 118 drivers/media/tuners/mt2266.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 128 drivers/media/tuners/mt2266.c priv = fe->tuner_priv; fe 255 drivers/media/tuners/mt2266.c static int mt2266_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 257 drivers/media/tuners/mt2266.c struct mt2266_priv *priv = fe->tuner_priv; fe 262 drivers/media/tuners/mt2266.c static int mt2266_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) fe 264 drivers/media/tuners/mt2266.c struct mt2266_priv *priv = fe->tuner_priv; fe 269 drivers/media/tuners/mt2266.c static int mt2266_init(struct dvb_frontend *fe) fe 272 drivers/media/tuners/mt2266.c struct mt2266_priv *priv = fe->tuner_priv; fe 282 drivers/media/tuners/mt2266.c static int mt2266_sleep(struct dvb_frontend *fe) fe 284 drivers/media/tuners/mt2266.c struct mt2266_priv *priv = fe->tuner_priv; fe 290 drivers/media/tuners/mt2266.c static void mt2266_release(struct dvb_frontend *fe) fe 292 drivers/media/tuners/mt2266.c kfree(fe->tuner_priv); fe 293 drivers/media/tuners/mt2266.c fe->tuner_priv = NULL; fe 311 drivers/media/tuners/mt2266.c struct dvb_frontend * mt2266_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2266_config *cfg) fe 333 drivers/media/tuners/mt2266.c memcpy(&fe->ops.tuner_ops, &mt2266_tuner_ops, sizeof(struct dvb_tuner_ops)); fe 335 drivers/media/tuners/mt2266.c fe->tuner_priv = priv; fe 337 drivers/media/tuners/mt2266.c return fe; fe 19 drivers/media/tuners/mt2266.h extern struct dvb_frontend * mt2266_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2266_config *cfg); fe 21 drivers/media/tuners/mt2266.h static inline struct dvb_frontend * mt2266_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2266_config *cfg) fe 68 drivers/media/tuners/mxl301rf.c static int mxl301rf_get_rf_strength(struct dvb_frontend *fe, u16 *out) fe 77 drivers/media/tuners/mxl301rf.c rssi = &fe->dtv_property_cache.strength; fe 82 drivers/media/tuners/mxl301rf.c state = fe->tuner_priv; fe 153 drivers/media/tuners/mxl301rf.c static int mxl301rf_set_params(struct dvb_frontend *fe) fe 177 drivers/media/tuners/mxl301rf.c state = fe->tuner_priv; fe 178 drivers/media/tuners/mxl301rf.c freq = fe->dtv_property_cache.frequency; fe 225 drivers/media/tuners/mxl301rf.c __func__, fe->dvb->num, fe->id); fe 234 drivers/media/tuners/mxl301rf.c static int mxl301rf_sleep(struct dvb_frontend *fe) fe 239 drivers/media/tuners/mxl301rf.c state = fe->tuner_priv; fe 243 drivers/media/tuners/mxl301rf.c __func__, fe->dvb->num, fe->id); fe 252 drivers/media/tuners/mxl301rf.c static int mxl301rf_init(struct dvb_frontend *fe) fe 257 drivers/media/tuners/mxl301rf.c state = fe->tuner_priv; fe 262 drivers/media/tuners/mxl301rf.c __func__, fe->dvb->num, fe->id); fe 291 drivers/media/tuners/mxl301rf.c struct dvb_frontend *fe; fe 301 drivers/media/tuners/mxl301rf.c fe = cfg->fe; fe 302 drivers/media/tuners/mxl301rf.c fe->tuner_priv = state; fe 303 drivers/media/tuners/mxl301rf.c memcpy(&fe->ops.tuner_ops, &mxl301rf_ops, sizeof(mxl301rf_ops)); fe 315 drivers/media/tuners/mxl301rf.c state->cfg.fe->tuner_priv = NULL; fe 14 drivers/media/tuners/mxl301rf.h struct dvb_frontend *fe; fe 299 drivers/media/tuners/mxl5005s.c static u16 MXL_ControlWrite(struct dvb_frontend *fe, u16 ControlNum, u32 value); fe 300 drivers/media/tuners/mxl5005s.c static u16 MXL_ControlRead(struct dvb_frontend *fe, u16 controlNum, u32 *value); fe 301 drivers/media/tuners/mxl5005s.c static void MXL_RegWriteBit(struct dvb_frontend *fe, u8 address, u8 bit, fe 303 drivers/media/tuners/mxl5005s.c static u16 MXL_GetCHRegister(struct dvb_frontend *fe, u8 *RegNum, fe 306 drivers/media/tuners/mxl5005s.c static u16 MXL_RegRead(struct dvb_frontend *fe, u8 RegNum, u8 *RegVal); fe 307 drivers/media/tuners/mxl5005s.c static u16 MXL_ControlWrite_Group(struct dvb_frontend *fe, u16 controlNum, fe 309 drivers/media/tuners/mxl5005s.c static u16 MXL_SetGPIO(struct dvb_frontend *fe, u8 GPIO_Num, u8 GPIO_Val); fe 310 drivers/media/tuners/mxl5005s.c static u16 MXL_GetInitRegister(struct dvb_frontend *fe, u8 *RegNum, fe 312 drivers/media/tuners/mxl5005s.c static u16 MXL_TuneRF(struct dvb_frontend *fe, u32 RF_Freq); fe 313 drivers/media/tuners/mxl5005s.c static void MXL_SynthIFLO_Calc(struct dvb_frontend *fe); fe 314 drivers/media/tuners/mxl5005s.c static void MXL_SynthRFTGLO_Calc(struct dvb_frontend *fe); fe 315 drivers/media/tuners/mxl5005s.c static u16 MXL_GetCHRegister_ZeroIF(struct dvb_frontend *fe, u8 *RegNum, fe 317 drivers/media/tuners/mxl5005s.c static int mxl5005s_writeregs(struct dvb_frontend *fe, u8 *addrtable, fe 319 drivers/media/tuners/mxl5005s.c static u16 MXL_IFSynthInit(struct dvb_frontend *fe); fe 320 drivers/media/tuners/mxl5005s.c static int mxl5005s_AssignTunerMode(struct dvb_frontend *fe, u32 mod_type, fe 322 drivers/media/tuners/mxl5005s.c static int mxl5005s_reconfigure(struct dvb_frontend *fe, u32 mod_type, fe 337 drivers/media/tuners/mxl5005s.c static int mxl5005s_SetRfFreqHz(struct dvb_frontend *fe, unsigned long RfFreqHz) fe 339 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 356 drivers/media/tuners/mxl5005s.c mxl5005s_writeregs(fe, AddrTable, ByteTable, 1); fe 359 drivers/media/tuners/mxl5005s.c MXL_TuneRF(fe, RfFreqHz); fe 361 drivers/media/tuners/mxl5005s.c MXL_ControlRead(fe, IF_DIVVAL, &IfDivval); fe 363 drivers/media/tuners/mxl5005s.c MXL_ControlWrite(fe, SEQ_FSM_PULSE, 0); fe 364 drivers/media/tuners/mxl5005s.c MXL_ControlWrite(fe, SEQ_EXTPOWERUP, 1); fe 365 drivers/media/tuners/mxl5005s.c MXL_ControlWrite(fe, IF_DIVVAL, 8); fe 366 drivers/media/tuners/mxl5005s.c MXL_GetCHRegister(fe, AddrTable, ByteTable, &TableLen); fe 374 drivers/media/tuners/mxl5005s.c mxl5005s_writeregs(fe, AddrTable, ByteTable, TableLen); fe 380 drivers/media/tuners/mxl5005s.c MXL_ControlWrite(fe, SEQ_FSM_PULSE, 1); fe 381 drivers/media/tuners/mxl5005s.c MXL_ControlWrite(fe, IF_DIVVAL, IfDivval); fe 382 drivers/media/tuners/mxl5005s.c MXL_GetCHRegister_ZeroIF(fe, AddrTable, ByteTable, &TableLen); fe 390 drivers/media/tuners/mxl5005s.c mxl5005s_writeregs(fe, AddrTable, ByteTable, TableLen); fe 402 drivers/media/tuners/mxl5005s.c static u16 MXL5005_RegisterInit(struct dvb_frontend *fe) fe 404 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 722 drivers/media/tuners/mxl5005s.c static u16 MXL5005_ControlInit(struct dvb_frontend *fe) fe 724 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 1662 drivers/media/tuners/mxl5005s.c static void InitTunerControls(struct dvb_frontend *fe) fe 1664 drivers/media/tuners/mxl5005s.c MXL5005_RegisterInit(fe); fe 1665 drivers/media/tuners/mxl5005s.c MXL5005_ControlInit(fe); fe 1667 drivers/media/tuners/mxl5005s.c MXL5005_MXLControlInit(fe); fe 1671 drivers/media/tuners/mxl5005s.c static u16 MXL5005_TunerConfig(struct dvb_frontend *fe, fe 1694 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 1712 drivers/media/tuners/mxl5005s.c InitTunerControls(fe); fe 1715 drivers/media/tuners/mxl5005s.c MXL_SynthIFLO_Calc(fe); fe 1720 drivers/media/tuners/mxl5005s.c static void MXL_SynthIFLO_Calc(struct dvb_frontend *fe) fe 1722 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 1733 drivers/media/tuners/mxl5005s.c static void MXL_SynthRFTGLO_Calc(struct dvb_frontend *fe) fe 1735 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 1754 drivers/media/tuners/mxl5005s.c static u16 MXL_OverwriteICDefault(struct dvb_frontend *fe) fe 1758 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, OVERRIDE_1, 1); fe 1759 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, OVERRIDE_2, 1); fe 1760 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, OVERRIDE_3, 1); fe 1761 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, OVERRIDE_4, 1); fe 1766 drivers/media/tuners/mxl5005s.c static u16 MXL_BlockInit(struct dvb_frontend *fe) fe 1768 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 1771 drivers/media/tuners/mxl5005s.c status += MXL_OverwriteICDefault(fe); fe 1774 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTN_AMP_CUT, state->Mode ? 1 : 0); fe 1777 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, BB_MODE, state->Mode ? 0 : 1); fe 1778 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, BB_BUF, state->Mode ? 3 : 2); fe 1779 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, BB_BUF_OA, state->Mode ? 1 : 0); fe 1780 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, BB_IQSWAP, state->Mode ? 0 : 1); fe 1781 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, BB_INITSTATE_DLPF_TUNE, 0); fe 1787 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, BB_DLPF_BANDSEL, 0); fe 1790 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, BB_DLPF_BANDSEL, 2); fe 1793 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, fe 1800 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, BB_ALPF_BANDSELECT, fe 1804 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, BB_ALPF_BANDSELECT, fe 1808 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, BB_ALPF_BANDSELECT, fe 1815 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, state->Mode ? 5 : 8); fe 1816 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, fe 1818 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, EN_CHP_LIN_B, state->Mode ? 0 : 0); fe 1822 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_IF, 15); fe 1823 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_RF, 15); fe 1825 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_RF, state->Mode ? 15 : 12); fe 1828 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_IF, 0x0); fe 1831 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_IF, 0x1); fe 1834 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_IF, 0x2); fe 1837 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_IF, 0x3); fe 1840 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_IF, 0x4); fe 1843 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_IF, 0x5); fe 1846 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_IF, 0x6); fe 1849 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_IF, 0x7); fe 1852 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_IF, 0x9); fe 1855 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_IF, 0xA); fe 1858 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_IF, 0xB); fe 1861 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_IF, 0xC); fe 1864 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_IF, 0xD); fe 1867 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_IF, 0xE); fe 1870 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_IF, 0xF); fe 1873 drivers/media/tuners/mxl5005s.c status += MXL_IFSynthInit(fe); fe 1877 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DRV_RES_SEL, 6); fe 1878 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, I_DRIVER, 2); fe 1881 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DRV_RES_SEL, 4); fe 1882 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, I_DRIVER, 1); fe 1890 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, EN_AAF, 1); fe 1891 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, EN_3P, 1); fe 1892 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, EN_AUX_3P, 1); fe 1893 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEL_AAF_BAND, 0); fe 1897 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, EN_AAF, 1); fe 1898 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, EN_3P, 1); fe 1899 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, EN_AUX_3P, 1); fe 1900 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEL_AAF_BAND, 1); fe 1903 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, EN_AAF, 0); fe 1904 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, EN_3P, 1); fe 1905 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, EN_AUX_3P, 1); fe 1906 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEL_AAF_BAND, 1); fe 1910 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, EN_AAF, 1); fe 1911 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, EN_3P, 1); fe 1912 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, EN_AUX_3P, 1); fe 1913 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEL_AAF_BAND, 0); fe 1916 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, EN_AAF, 0); fe 1917 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, EN_3P, 0); fe 1918 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, EN_AUX_3P, 0); fe 1919 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEL_AAF_BAND, 0); fe 1925 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_ENCLK16_CLK_OUT, 1); fe 1927 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_ENCLK16_CLK_OUT, 0); fe 1930 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_SEL4_16B, 1); fe 1932 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_SEL4_16B, 0); fe 1936 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, XTAL_CAPSELECT, 1); fe 1938 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, XTAL_CAPSELECT, 0); fe 1941 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_SEL_DBL, 1); fe 1943 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_SEL_DBL, 0); fe 1946 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_R_DIV, 3); fe 1948 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_R_DIV, 0); fe 1952 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_EXTIQFSMPULSE, 0); fe 1954 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_EXTIQFSMPULSE, 1); fe 1959 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_R_DIV, fe 1966 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_EXTSYNTHCALIF, 1); fe 1967 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_EXTDCCAL, 1); fe 1968 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_EN_RSSI, 1); fe 1969 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_ENCLKRFAGC, 1); fe 1972 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_RSSI_REF, 2); fe 1973 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_RSSI_REFH, 3); fe 1974 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_RSSI_REFL, 1); fe 1977 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_FLR, 0); fe 1978 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_CEIL, 12); fe 1988 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_EXTSYNTHCALIF, 1); fe 1989 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_EXTDCCAL, 1); fe 1990 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_EN_RSSI, 1); fe 1991 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_ENCLKRFAGC, 1); fe 1994 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_RSSI_REF, 3); fe 1995 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_RSSI_REFH, 5); fe 1996 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_RSSI_REFL, 1); fe 1999 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_FLR, 2); fe 2000 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_CEIL, 13); fe 2002 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, BB_IQSWAP, 0); fe 2004 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, BB_IQSWAP, 1); fe 2011 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_EXTSYNTHCALIF, 1); fe 2012 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_EXTDCCAL, 1); fe 2013 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_EN_RSSI, 1); fe 2014 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_ENCLKRFAGC, 1); fe 2017 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_RSSI_REF, 2); fe 2018 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_RSSI_REFH, 4); fe 2019 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_RSSI_REFL, 1); fe 2022 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_FLR, 2); fe 2023 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_CEIL, 13); fe 2024 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, BB_INITSTATE_DLPF_TUNE, 1); fe 2026 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, 5); fe 2029 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, BB_IQSWAP, 0); fe 2031 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, BB_IQSWAP, 1); fe 2039 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_EXTSYNTHCALIF, 1); fe 2040 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_EXTDCCAL, 1); fe 2041 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_EN_RSSI, 0); fe 2042 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_ENCLKRFAGC, 1); fe 2045 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_RSSI_REFH, 5); fe 2046 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_RSSI_REF, 3); fe 2047 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_RSSI_REFL, 2); fe 2049 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, 3); fe 2052 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, BB_IQSWAP, 0); fe 2054 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, BB_IQSWAP, 1); fe 2055 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, 2); fe 2065 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_EXTSYNTHCALIF, 1); fe 2066 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_EXTDCCAL, 1); fe 2067 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_EN_RSSI, 0); fe 2068 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_ENCLKRFAGC, 1); fe 2070 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_IF, 1); fe 2071 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_RF, 15); fe 2072 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, BB_IQSWAP, 1); fe 2080 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_EXTSYNTHCALIF, 1); fe 2081 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_EXTDCCAL, 1); fe 2082 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_EN_RSSI, 1); fe 2083 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_ENCLKRFAGC, 1); fe 2086 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_RSSI_REFH, 5); fe 2087 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_RSSI_REF, 3); fe 2088 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_RSSI_REFL, 2); fe 2089 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, 3); fe 2090 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, BB_IQSWAP, 1); fe 2095 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_EXTSYNTHCALIF, 1); fe 2096 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_EXTDCCAL, 1); fe 2097 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_EN_RSSI, 0); fe 2098 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_ENCLKRFAGC, 1); fe 2104 drivers/media/tuners/mxl5005s.c static u16 MXL_IFSynthInit(struct dvb_frontend *fe) fe 2106 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 2121 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); fe 2122 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x0C); fe 2126 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); fe 2127 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2131 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x10); fe 2132 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x0C); fe 2136 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x10); fe 2137 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2141 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); fe 2142 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x0C); fe 2146 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); fe 2147 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x0C); fe 2151 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); fe 2152 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x0C); fe 2156 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); fe 2157 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x0C); fe 2164 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x10); fe 2165 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2169 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); fe 2170 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2174 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); fe 2175 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2179 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x04); fe 2180 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2184 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x04); fe 2185 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2189 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x04); fe 2190 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2194 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x04); fe 2195 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2199 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x04); fe 2200 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2204 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x07); fe 2205 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2209 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x09); fe 2210 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2214 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x06); fe 2215 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2219 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x06); fe 2220 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2224 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x05); fe 2225 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2229 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x10); fe 2230 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2234 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); fe 2235 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2239 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x08); fe 2240 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2244 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x04); fe 2245 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2249 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x04); fe 2250 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2254 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x04); fe 2255 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2259 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x07); fe 2260 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2264 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x07); fe 2265 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x0C); fe 2269 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x07); fe 2270 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x0C); fe 2274 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x09); fe 2275 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2279 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x09); fe 2280 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2284 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x06); fe 2285 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2289 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_DIVVAL, 0x05); fe 2290 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, IF_VCO_BIAS, 0x08); fe 2297 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, CHCAL_INT_MOD_IF, intModVal); fe 2303 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, CHCAL_FRAC_MOD_IF, fracModVal); fe 2308 drivers/media/tuners/mxl5005s.c static u16 MXL_TuneRF(struct dvb_frontend *fe, u32 RF_Freq) fe 2310 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 2323 drivers/media/tuners/mxl5005s.c MXL_SynthRFTGLO_Calc(fe); fe 2343 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_POLY, 2); fe 2344 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_RFGAIN, 3); fe 2345 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_CAP_RFLPF, 423); fe 2346 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_EN_VHFUHFBAR, 1); fe 2347 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_GAIN_ADJUST, 1); fe 2350 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_POLY, 3); fe 2351 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_RFGAIN, 3); fe 2352 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_CAP_RFLPF, 222); fe 2353 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_EN_VHFUHFBAR, 1); fe 2354 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_GAIN_ADJUST, 1); fe 2357 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_POLY, 3); fe 2358 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_RFGAIN, 3); fe 2359 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_CAP_RFLPF, 147); fe 2360 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_EN_VHFUHFBAR, 1); fe 2361 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_GAIN_ADJUST, 2); fe 2364 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_POLY, 3); fe 2365 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_RFGAIN, 3); fe 2366 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_CAP_RFLPF, 9); fe 2367 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_EN_VHFUHFBAR, 1); fe 2368 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_GAIN_ADJUST, 2); fe 2371 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_POLY, 3); fe 2372 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_RFGAIN, 3); fe 2373 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_CAP_RFLPF, 0); fe 2374 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_EN_VHFUHFBAR, 1); fe 2375 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_GAIN_ADJUST, 3); fe 2378 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_POLY, 3); fe 2379 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_RFGAIN, 1); fe 2380 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_CAP_RFLPF, 0); fe 2381 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_EN_VHFUHFBAR, 0); fe 2382 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_GAIN_ADJUST, 3); fe 2385 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_POLY, 3); fe 2386 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_RFGAIN, 2); fe 2387 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_CAP_RFLPF, 0); fe 2388 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_EN_VHFUHFBAR, 0); fe 2389 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_GAIN_ADJUST, 3); fe 2397 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); fe 2398 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); fe 2401 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); fe 2402 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); fe 2405 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); fe 2406 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); fe 2409 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); fe 2410 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); fe 2413 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); fe 2414 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); fe 2417 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); fe 2418 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); fe 2421 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); fe 2422 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); fe 2425 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); fe 2426 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); fe 2429 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); fe 2430 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); fe 2433 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); fe 2434 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); fe 2437 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); fe 2438 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); fe 2441 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); fe 2442 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); fe 2445 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); fe 2446 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); fe 2449 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 1); fe 2450 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 0); fe 2453 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 10); fe 2454 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 1); fe 2457 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNBUF_AMP, 10); fe 2458 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_IQTNGNBFBIAS_BST, 1); fe 2477 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 1); fe 2478 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 0); fe 2479 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); fe 2480 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); fe 2481 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); fe 2482 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_SEL_FREQ, 1); fe 2490 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 1); fe 2491 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 0); fe 2492 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); fe 2493 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); fe 2494 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); fe 2495 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_SEL_FREQ, 1); fe 2503 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); fe 2504 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); fe 2505 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); fe 2506 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); fe 2507 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); fe 2508 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_SEL_FREQ, 1); fe 2516 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); fe 2517 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); fe 2518 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); fe 2519 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); fe 2520 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); fe 2521 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_SEL_FREQ, 1); fe 2529 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); fe 2530 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); fe 2531 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); fe 2532 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); fe 2533 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); fe 2534 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_SEL_FREQ, 2); fe 2542 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); fe 2543 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); fe 2544 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); fe 2545 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); fe 2546 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); fe 2547 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_SEL_FREQ, 2); fe 2555 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); fe 2556 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); fe 2557 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); fe 2558 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); fe 2559 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); fe 2560 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_SEL_FREQ, 4); fe 2568 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 1); fe 2569 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 0); fe 2570 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); fe 2571 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); fe 2572 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); fe 2573 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_SEL_FREQ, 0); fe 2581 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 1); fe 2582 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 0); fe 2583 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); fe 2584 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); fe 2585 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 2); fe 2586 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_SEL_FREQ, 0); fe 2594 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); fe 2595 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); fe 2596 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); fe 2597 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 1); fe 2598 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); fe 2599 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_SEL_FREQ, 0); fe 2607 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); fe 2608 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); fe 2609 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); fe 2610 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 1); fe 2611 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); fe 2612 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_SEL_FREQ, 0); fe 2625 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, E3); fe 2629 drivers/media/tuners/mxl5005s.c MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, E4); fe 2636 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, CHCAL_FRAC_MOD_RF, E5); fe 2640 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_LPF_R, E5A); fe 2643 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, CHCAL_EN_INT_RF, ((E5 == 0) ? 1 : 0)); fe 2665 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_LO_DIVVAL, 0x6); fe 2666 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_LO_SELVAL, 0x0); fe 2674 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_LO_DIVVAL, 0x1); fe 2675 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_LO_SELVAL, 0x0); fe 2683 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_LO_DIVVAL, 0xC); fe 2684 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_LO_SELVAL, 0x2); fe 2692 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_LO_DIVVAL, 0x8); fe 2693 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_LO_SELVAL, 0x2); fe 2701 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_LO_DIVVAL, 0x0); fe 2702 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_LO_SELVAL, 0x2); fe 2710 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_LO_DIVVAL, 0x8); fe 2711 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_LO_SELVAL, 0x3); fe 2719 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_LO_DIVVAL, 0x0); fe 2720 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_LO_SELVAL, 0x3); fe 2728 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_LO_DIVVAL, 0x8); fe 2729 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_LO_SELVAL, 0x7); fe 2737 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_LO_DIVVAL, 0x0); fe 2738 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_LO_SELVAL, 0x7); fe 2747 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_DIV_VAL, tg_divval); fe 2750 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_DIV_VAL, tg_divval + 1); fe 2783 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, TG_VCO_BIAS , tg_lo); fe 2788 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, fe 2791 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, 3); fe 2793 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, 2); fe 2799 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); fe 2800 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 2801 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); /* Bank1 Off */ fe 2802 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); /* Bank2 Off */ fe 2803 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); /* Bank3 Off */ fe 2807 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); fe 2808 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_DIN_A, 0); fe 2811 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); fe 2812 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_DIN_B, 0); fe 2813 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 2814 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 2815 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 2818 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); fe 2819 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_DIN_B, 0); fe 2820 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2821 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 2822 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 2825 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); fe 2826 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_DIN_B, 0); fe 2827 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2828 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 2829 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 2832 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); fe 2833 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_DIN_B, 0); fe 2834 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2835 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 2836 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 2839 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); fe 2840 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_DIN_B, 29); fe 2841 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2842 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 2843 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 2846 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); fe 2847 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_DIN_B, 0); fe 2848 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2849 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 2850 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 2853 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); fe 2854 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_DIN_B, 16); fe 2855 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2856 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 2857 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 2860 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); fe 2861 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_DIN_B, 7); fe 2862 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2863 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 2864 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 2867 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); fe 2868 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_DIN_B, 0); fe 2869 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2870 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 2871 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 2878 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_DIN_A, 0); fe 2881 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); fe 2882 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 2883 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2884 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 2887 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); fe 2888 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 2889 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 2890 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 2893 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); fe 2894 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 2895 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 2896 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 2899 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); fe 2900 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 2901 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2902 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 2905 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); fe 2906 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 2907 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2908 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 2911 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); fe 2912 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 2913 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2914 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 2917 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); fe 2918 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 2919 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2920 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 2923 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); fe 2924 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 2925 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2926 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 2929 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); fe 2930 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 2931 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2932 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 2938 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_DIN_B, 0); fe 2941 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 2942 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 2943 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 2944 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2947 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 2948 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 2949 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 2950 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2953 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 2954 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 2955 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 2956 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2959 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 2960 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 2961 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 2962 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 2965 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 2966 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 2967 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 2968 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 2971 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); fe 2972 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 2973 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 2974 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 2977 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); fe 2978 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 2979 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 2980 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2987 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_DIN_A, 0); fe 2993 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 2994 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 2995 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 2996 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); fe 2997 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_IF, 10); fe 3003 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); fe 3004 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3005 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3006 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 3010 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); fe 3011 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3012 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3013 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 3017 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); fe 3018 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 3019 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3020 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 3024 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); fe 3025 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 3026 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3027 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3031 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); fe 3032 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3033 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3034 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3038 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); fe 3039 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 3040 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3041 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3045 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 0); fe 3046 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 3047 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3048 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3052 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); fe 3053 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 3054 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3055 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3059 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_A_ENABLE, 1); fe 3060 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3061 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3062 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3069 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_DIN_B, 0); fe 3072 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3073 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 3074 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3075 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3078 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3079 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 3080 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3081 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3084 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3085 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3086 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3087 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3090 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3091 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3092 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3093 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 3096 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3097 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3098 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3099 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 3102 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); fe 3103 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3104 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3105 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 3108 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); fe 3109 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3110 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3111 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3118 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_DIN_B, 0); fe 3121 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3122 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 3123 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3124 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3127 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3128 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 3129 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3130 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3133 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3134 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3135 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3136 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3139 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3140 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3141 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3142 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 3145 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3146 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3147 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3148 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 3151 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); fe 3152 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3153 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3154 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 3157 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); fe 3158 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3159 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3160 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3167 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_DIN_B, 0); fe 3170 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3171 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 3172 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3173 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3176 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3177 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 3178 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3179 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3182 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3183 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3184 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3185 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3188 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3189 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3190 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3191 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 3194 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3195 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3196 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3197 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 3200 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); fe 3201 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3202 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3203 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 3206 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); fe 3207 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3208 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3209 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3216 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_DIN_B, 0); fe 3220 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3221 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 3222 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3223 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3226 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3227 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 3228 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3229 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3232 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3233 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3234 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3235 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3238 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3239 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3240 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3241 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 3244 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); fe 3245 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3246 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3247 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3250 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3251 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3252 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3253 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 3256 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); fe 3257 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3258 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3259 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 3262 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); fe 3263 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3264 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3265 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3272 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_DIN_B, 0); fe 3279 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3280 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3281 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3282 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3285 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_EXTSYNTHCALIF, 1); fe 3286 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, SEQ_EXTDCCAL, 1); fe 3287 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_EN_RSSI, 1); fe 3288 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_ENCLKRFAGC, 1); fe 3291 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_RSSI_REFH, 5); fe 3292 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_RSSI_REF, 3); fe 3293 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFA_RSSI_REFL, 2); fe 3297 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, 3); fe 3302 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, AGC_EN_RSSI, 0); fe 3305 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_CHP_GAIN, 5); fe 3310 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3311 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 3312 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3313 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3316 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3317 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 0); fe 3318 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3319 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3322 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3323 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3324 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3325 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3328 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3329 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3330 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 0); fe 3331 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 3334 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 0); fe 3335 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3336 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3337 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 3340 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); fe 3341 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3342 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3343 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 0); fe 3346 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DAC_B_ENABLE, 1); fe 3347 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 4, 1); fe 3348 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 1, 1); fe 3349 drivers/media/tuners/mxl5005s.c status += MXL_SetGPIO(fe, 3, 1); fe 3356 drivers/media/tuners/mxl5005s.c static u16 MXL_SetGPIO(struct dvb_frontend *fe, u8 GPIO_Num, u8 GPIO_Val) fe 3361 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, GPIO_1B, GPIO_Val ? 0 : 1); fe 3367 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, GPIO_3, 0); fe 3368 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, GPIO_3B, 0); fe 3371 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, GPIO_3, 1); fe 3372 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, GPIO_3B, 1); fe 3375 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, GPIO_3, 0); fe 3376 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, GPIO_3B, 1); fe 3381 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, GPIO_4, 0); fe 3382 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, GPIO_4B, 0); fe 3385 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, GPIO_4, 1); fe 3386 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, GPIO_4B, 1); fe 3389 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, GPIO_4, 0); fe 3390 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, GPIO_4B, 1); fe 3397 drivers/media/tuners/mxl5005s.c static u16 MXL_ControlWrite(struct dvb_frontend *fe, u16 ControlNum, u32 value) fe 3403 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite_Group(fe, ControlNum, value, 1); fe 3405 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite_Group(fe, ControlNum, value, 2); fe 3408 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite_Group(fe, ControlNum, value, 3); fe 3413 drivers/media/tuners/mxl5005s.c static u16 MXL_ControlWrite_Group(struct dvb_frontend *fe, u16 controlNum, fe 3416 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 3431 drivers/media/tuners/mxl5005s.c MXL_RegWriteBit(fe, (u8)(state->Init_Ctrl[i].addr[j]), fe 3453 drivers/media/tuners/mxl5005s.c MXL_RegWriteBit(fe, (u8)(state->CH_Ctrl[i].addr[j]), fe 3476 drivers/media/tuners/mxl5005s.c MXL_RegWriteBit(fe, (u8)(state->MXL_Ctrl[i].addr[j]), fe 3494 drivers/media/tuners/mxl5005s.c static u16 MXL_RegRead(struct dvb_frontend *fe, u8 RegNum, u8 *RegVal) fe 3496 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 3509 drivers/media/tuners/mxl5005s.c static u16 MXL_ControlRead(struct dvb_frontend *fe, u16 controlNum, u32 *value) fe 3511 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 3557 drivers/media/tuners/mxl5005s.c static void MXL_RegWriteBit(struct dvb_frontend *fe, u8 address, u8 bit, fe 3560 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 3588 drivers/media/tuners/mxl5005s.c static u16 MXL_GetInitRegister(struct dvb_frontend *fe, u8 *RegNum, fe 3602 drivers/media/tuners/mxl5005s.c status += MXL_BlockInit(fe); fe 3606 drivers/media/tuners/mxl5005s.c status += MXL_RegRead(fe, RegNum[i], &RegVal[i]); fe 3612 drivers/media/tuners/mxl5005s.c static u16 MXL_GetCHRegister(struct dvb_frontend *fe, u8 *RegNum, u8 *RegVal, fe 3640 drivers/media/tuners/mxl5005s.c status += MXL_RegRead(fe, RegNum[i], &RegVal[i]); fe 3646 drivers/media/tuners/mxl5005s.c static u16 MXL_GetCHRegister_ZeroIF(struct dvb_frontend *fe, u8 *RegNum, fe 3658 drivers/media/tuners/mxl5005s.c status += MXL_RegRead(fe, RegNum[i], &RegVal[i]); fe 3679 drivers/media/tuners/mxl5005s.c static u16 MXL_VCORange_Test(struct dvb_frontend *fe, int VCO_Range) fe 3681 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 3685 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_EN_DIV, 1); fe 3686 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); fe 3687 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); fe 3688 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_DIVM, 1); fe 3689 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); fe 3690 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); fe 3691 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_SEL_FREQ, 0); fe 3694 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); fe 3695 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 8); fe 3696 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 56); fe 3697 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, fe 3702 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); fe 3703 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 8); fe 3704 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 56); fe 3705 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, fe 3709 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); fe 3710 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 8); fe 3711 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 56); fe 3712 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, fe 3718 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_EN_DIV, 1); fe 3719 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); fe 3720 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); fe 3721 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_DIVM, 1); fe 3722 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); fe 3723 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); fe 3724 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_SEL_FREQ, 0); fe 3725 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); fe 3726 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 40); fe 3727 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 41); fe 3730 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); fe 3731 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 40); fe 3732 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 42); fe 3733 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, fe 3738 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); fe 3739 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 40); fe 3740 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 42); fe 3741 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, fe 3745 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 1); fe 3746 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 40); fe 3747 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 41); fe 3748 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, fe 3754 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_EN_DIV, 1); fe 3755 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); fe 3756 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); fe 3757 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_DIVM, 1); fe 3758 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); fe 3759 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); fe 3760 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_SEL_FREQ, 0); fe 3761 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); fe 3762 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 8); fe 3763 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 42); fe 3766 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); fe 3767 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 8); fe 3768 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 44); fe 3769 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, fe 3774 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); fe 3775 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 8); fe 3776 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 44); fe 3777 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, fe 3781 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); fe 3782 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 8); fe 3783 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 42); fe 3784 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, fe 3790 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_EN_DIV, 1); fe 3791 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_EN_OUTMUX, 0); fe 3792 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_DIVM, 0); fe 3793 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_DIVM, 1); fe 3794 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_OUT, 1); fe 3795 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_RF_DIV_BIAS, 1); fe 3796 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_SEL_FREQ, 0); fe 3797 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); fe 3798 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 40); fe 3799 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 27); fe 3802 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); fe 3803 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 40); fe 3804 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 27); fe 3805 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, fe 3810 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); fe 3811 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 40); fe 3812 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 27); fe 3813 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, fe 3817 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_SEL_VCO_HI, 0); fe 3818 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, RFSYN_VCO_BIAS, 40); fe 3819 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, CHCAL_INT_MOD_RF, 27); fe 3820 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, fe 3828 drivers/media/tuners/mxl5005s.c static u16 MXL_Hystersis_Test(struct dvb_frontend *fe, int Hystersis) fe 3830 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 3834 drivers/media/tuners/mxl5005s.c status += MXL_ControlWrite(fe, DN_BYPASS_AGC_I2C, 1); fe 3847 drivers/media/tuners/mxl5005s.c static int mxl5005s_reset(struct dvb_frontend *fe) fe 3849 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 3858 drivers/media/tuners/mxl5005s.c if (fe->ops.i2c_gate_ctrl) fe 3859 drivers/media/tuners/mxl5005s.c fe->ops.i2c_gate_ctrl(fe, 1); fe 3866 drivers/media/tuners/mxl5005s.c if (fe->ops.i2c_gate_ctrl) fe 3867 drivers/media/tuners/mxl5005s.c fe->ops.i2c_gate_ctrl(fe, 0); fe 3875 drivers/media/tuners/mxl5005s.c static int mxl5005s_writereg(struct dvb_frontend *fe, u8 reg, u8 val, int latch) fe 3877 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 3894 drivers/media/tuners/mxl5005s.c static int mxl5005s_writeregs(struct dvb_frontend *fe, u8 *addrtable, fe 3899 drivers/media/tuners/mxl5005s.c if (fe->ops.i2c_gate_ctrl) fe 3900 drivers/media/tuners/mxl5005s.c fe->ops.i2c_gate_ctrl(fe, 1); fe 3903 drivers/media/tuners/mxl5005s.c ret = mxl5005s_writereg(fe, addrtable[i], datatable[i], 0); fe 3908 drivers/media/tuners/mxl5005s.c ret = mxl5005s_writereg(fe, addrtable[i], datatable[i], 1); fe 3910 drivers/media/tuners/mxl5005s.c if (fe->ops.i2c_gate_ctrl) fe 3911 drivers/media/tuners/mxl5005s.c fe->ops.i2c_gate_ctrl(fe, 0); fe 3916 drivers/media/tuners/mxl5005s.c static int mxl5005s_init(struct dvb_frontend *fe) fe 3918 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 3922 drivers/media/tuners/mxl5005s.c return mxl5005s_reconfigure(fe, MXL_QAM, MXL5005S_BANDWIDTH_6MHZ); fe 3925 drivers/media/tuners/mxl5005s.c static int mxl5005s_reconfigure(struct dvb_frontend *fe, u32 mod_type, fe 3928 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 3936 drivers/media/tuners/mxl5005s.c mxl5005s_reset(fe); fe 3943 drivers/media/tuners/mxl5005s.c mxl5005s_writeregs(fe, AddrTable, ByteTable, 1); fe 3945 drivers/media/tuners/mxl5005s.c mxl5005s_AssignTunerMode(fe, mod_type, bandwidth); fe 3948 drivers/media/tuners/mxl5005s.c MXL_GetInitRegister(fe, AddrTable, ByteTable, &TableLen); fe 3950 drivers/media/tuners/mxl5005s.c mxl5005s_writeregs(fe, AddrTable, ByteTable, TableLen); fe 3955 drivers/media/tuners/mxl5005s.c static int mxl5005s_AssignTunerMode(struct dvb_frontend *fe, u32 mod_type, fe 3958 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 3961 drivers/media/tuners/mxl5005s.c InitTunerControls(fe); fe 3965 drivers/media/tuners/mxl5005s.c fe, fe 3984 drivers/media/tuners/mxl5005s.c static int mxl5005s_set_params(struct dvb_frontend *fe) fe 3986 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 3987 drivers/media/tuners/mxl5005s.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 4026 drivers/media/tuners/mxl5005s.c ret = mxl5005s_reconfigure(fe, req_mode, req_bw); fe 4033 drivers/media/tuners/mxl5005s.c ret = mxl5005s_SetRfFreqHz(fe, c->frequency); fe 4039 drivers/media/tuners/mxl5005s.c static int mxl5005s_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 4041 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 4049 drivers/media/tuners/mxl5005s.c static int mxl5005s_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) fe 4051 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 4059 drivers/media/tuners/mxl5005s.c static int mxl5005s_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 4061 drivers/media/tuners/mxl5005s.c struct mxl5005s_state *state = fe->tuner_priv; fe 4069 drivers/media/tuners/mxl5005s.c static void mxl5005s_release(struct dvb_frontend *fe) fe 4072 drivers/media/tuners/mxl5005s.c kfree(fe->tuner_priv); fe 4073 drivers/media/tuners/mxl5005s.c fe->tuner_priv = NULL; fe 4093 drivers/media/tuners/mxl5005s.c struct dvb_frontend *mxl5005s_attach(struct dvb_frontend *fe, fe 4104 drivers/media/tuners/mxl5005s.c state->frontend = fe; fe 4111 drivers/media/tuners/mxl5005s.c memcpy(&fe->ops.tuner_ops, &mxl5005s_tuner_ops, fe 4114 drivers/media/tuners/mxl5005s.c fe->tuner_priv = state; fe 4115 drivers/media/tuners/mxl5005s.c return fe; fe 108 drivers/media/tuners/mxl5005s.h extern struct dvb_frontend *mxl5005s_attach(struct dvb_frontend *fe, fe 112 drivers/media/tuners/mxl5005s.h static inline struct dvb_frontend *mxl5005s_attach(struct dvb_frontend *fe, fe 572 drivers/media/tuners/mxl5007t.c static int mxl5007t_get_status(struct dvb_frontend *fe, u32 *status) fe 574 drivers/media/tuners/mxl5007t.c struct mxl5007t_state *state = fe->tuner_priv; fe 579 drivers/media/tuners/mxl5007t.c if (fe->ops.i2c_gate_ctrl) fe 580 drivers/media/tuners/mxl5007t.c fe->ops.i2c_gate_ctrl(fe, 1); fe 591 drivers/media/tuners/mxl5007t.c if (fe->ops.i2c_gate_ctrl) fe 592 drivers/media/tuners/mxl5007t.c fe->ops.i2c_gate_ctrl(fe, 0); fe 599 drivers/media/tuners/mxl5007t.c static int mxl5007t_set_params(struct dvb_frontend *fe) fe 601 drivers/media/tuners/mxl5007t.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 603 drivers/media/tuners/mxl5007t.c struct mxl5007t_state *state = fe->tuner_priv; fe 640 drivers/media/tuners/mxl5007t.c if (fe->ops.i2c_gate_ctrl) fe 641 drivers/media/tuners/mxl5007t.c fe->ops.i2c_gate_ctrl(fe, 1); fe 658 drivers/media/tuners/mxl5007t.c if (fe->ops.i2c_gate_ctrl) fe 659 drivers/media/tuners/mxl5007t.c fe->ops.i2c_gate_ctrl(fe, 0); fe 666 drivers/media/tuners/mxl5007t.c static int mxl5007t_init(struct dvb_frontend *fe) fe 668 drivers/media/tuners/mxl5007t.c struct mxl5007t_state *state = fe->tuner_priv; fe 671 drivers/media/tuners/mxl5007t.c if (fe->ops.i2c_gate_ctrl) fe 672 drivers/media/tuners/mxl5007t.c fe->ops.i2c_gate_ctrl(fe, 1); fe 678 drivers/media/tuners/mxl5007t.c if (fe->ops.i2c_gate_ctrl) fe 679 drivers/media/tuners/mxl5007t.c fe->ops.i2c_gate_ctrl(fe, 0); fe 684 drivers/media/tuners/mxl5007t.c static int mxl5007t_sleep(struct dvb_frontend *fe) fe 686 drivers/media/tuners/mxl5007t.c struct mxl5007t_state *state = fe->tuner_priv; fe 689 drivers/media/tuners/mxl5007t.c if (fe->ops.i2c_gate_ctrl) fe 690 drivers/media/tuners/mxl5007t.c fe->ops.i2c_gate_ctrl(fe, 1); fe 698 drivers/media/tuners/mxl5007t.c if (fe->ops.i2c_gate_ctrl) fe 699 drivers/media/tuners/mxl5007t.c fe->ops.i2c_gate_ctrl(fe, 0); fe 706 drivers/media/tuners/mxl5007t.c static int mxl5007t_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 708 drivers/media/tuners/mxl5007t.c struct mxl5007t_state *state = fe->tuner_priv; fe 713 drivers/media/tuners/mxl5007t.c static int mxl5007t_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) fe 715 drivers/media/tuners/mxl5007t.c struct mxl5007t_state *state = fe->tuner_priv; fe 720 drivers/media/tuners/mxl5007t.c static int mxl5007t_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 722 drivers/media/tuners/mxl5007t.c struct mxl5007t_state *state = fe->tuner_priv; fe 764 drivers/media/tuners/mxl5007t.c static void mxl5007t_release(struct dvb_frontend *fe) fe 766 drivers/media/tuners/mxl5007t.c struct mxl5007t_state *state = fe->tuner_priv; fe 775 drivers/media/tuners/mxl5007t.c fe->tuner_priv = NULL; fe 845 drivers/media/tuners/mxl5007t.c struct dvb_frontend *mxl5007t_attach(struct dvb_frontend *fe, fe 865 drivers/media/tuners/mxl5007t.c if (fe->ops.i2c_gate_ctrl) fe 866 drivers/media/tuners/mxl5007t.c fe->ops.i2c_gate_ctrl(fe, 1); fe 870 drivers/media/tuners/mxl5007t.c if (fe->ops.i2c_gate_ctrl) fe 871 drivers/media/tuners/mxl5007t.c fe->ops.i2c_gate_ctrl(fe, 0); fe 882 drivers/media/tuners/mxl5007t.c if (fe->ops.i2c_gate_ctrl) fe 883 drivers/media/tuners/mxl5007t.c fe->ops.i2c_gate_ctrl(fe, 1); fe 887 drivers/media/tuners/mxl5007t.c if (fe->ops.i2c_gate_ctrl) fe 888 drivers/media/tuners/mxl5007t.c fe->ops.i2c_gate_ctrl(fe, 0); fe 893 drivers/media/tuners/mxl5007t.c if (fe->ops.i2c_gate_ctrl) fe 894 drivers/media/tuners/mxl5007t.c fe->ops.i2c_gate_ctrl(fe, 1); fe 899 drivers/media/tuners/mxl5007t.c if (fe->ops.i2c_gate_ctrl) fe 900 drivers/media/tuners/mxl5007t.c fe->ops.i2c_gate_ctrl(fe, 0); fe 905 drivers/media/tuners/mxl5007t.c fe->tuner_priv = state; fe 909 drivers/media/tuners/mxl5007t.c memcpy(&fe->ops.tuner_ops, &mxl5007t_tuner_ops, fe 912 drivers/media/tuners/mxl5007t.c return fe; fe 916 drivers/media/tuners/mxl5007t.c mxl5007t_release(fe); fe 68 drivers/media/tuners/mxl5007t.h extern struct dvb_frontend *mxl5007t_attach(struct dvb_frontend *fe, fe 72 drivers/media/tuners/mxl5007t.h static inline struct dvb_frontend *mxl5007t_attach(struct dvb_frontend *fe, fe 104 drivers/media/tuners/qm1d1b0004.c static int qm1d1b0004_set_params(struct dvb_frontend *fe) fe 112 drivers/media/tuners/qm1d1b0004.c state = fe->tuner_priv; fe 113 drivers/media/tuners/qm1d1b0004.c frequency = fe->dtv_property_cache.frequency; fe 143 drivers/media/tuners/qm1d1b0004.c lpf_freq = fe->dtv_property_cache.symbol_rate / 1000; fe 162 drivers/media/tuners/qm1d1b0004.c static int qm1d1b0004_set_config(struct dvb_frontend *fe, void *priv_cfg) fe 166 drivers/media/tuners/qm1d1b0004.c state = fe->tuner_priv; fe 172 drivers/media/tuners/qm1d1b0004.c static int qm1d1b0004_init(struct dvb_frontend *fe) fe 177 drivers/media/tuners/qm1d1b0004.c state = fe->tuner_priv; fe 202 drivers/media/tuners/qm1d1b0004.c struct dvb_frontend *fe; fe 208 drivers/media/tuners/qm1d1b0004.c fe = cfg->fe; fe 209 drivers/media/tuners/qm1d1b0004.c i2c_set_clientdata(client, fe); fe 211 drivers/media/tuners/qm1d1b0004.c fe->tuner_priv = kzalloc(sizeof(struct qm1d1b0004_state), GFP_KERNEL); fe 212 drivers/media/tuners/qm1d1b0004.c if (!fe->tuner_priv) { fe 217 drivers/media/tuners/qm1d1b0004.c memcpy(&fe->ops.tuner_ops, &qm1d1b0004_ops, sizeof(fe->ops.tuner_ops)); fe 219 drivers/media/tuners/qm1d1b0004.c state = fe->tuner_priv; fe 221 drivers/media/tuners/qm1d1b0004.c ret = qm1d1b0004_set_config(fe, cfg); fe 229 drivers/media/tuners/qm1d1b0004.c kfree(fe->tuner_priv); fe 231 drivers/media/tuners/qm1d1b0004.c fe->tuner_priv = NULL; fe 237 drivers/media/tuners/qm1d1b0004.c struct dvb_frontend *fe; fe 239 drivers/media/tuners/qm1d1b0004.c fe = i2c_get_clientdata(client); fe 240 drivers/media/tuners/qm1d1b0004.c kfree(fe->tuner_priv); fe 241 drivers/media/tuners/qm1d1b0004.c fe->tuner_priv = NULL; fe 14 drivers/media/tuners/qm1d1b0004.h struct dvb_frontend *fe; fe 123 drivers/media/tuners/qm1d1c0042.c __func__, state->cfg.fe->dvb->num, state->cfg.fe->id); fe 129 drivers/media/tuners/qm1d1c0042.c static int qm1d1c0042_set_config(struct dvb_frontend *fe, void *priv_cfg) fe 134 drivers/media/tuners/qm1d1c0042.c state = fe->tuner_priv; fe 137 drivers/media/tuners/qm1d1c0042.c if (cfg->fe) fe 138 drivers/media/tuners/qm1d1c0042.c state->cfg.fe = cfg->fe; fe 179 drivers/media/tuners/qm1d1c0042.c static int qm1d1c0042_set_params(struct dvb_frontend *fe) fe 188 drivers/media/tuners/qm1d1c0042.c state = fe->tuner_priv; fe 189 drivers/media/tuners/qm1d1c0042.c freq = fe->dtv_property_cache.frequency; fe 299 drivers/media/tuners/qm1d1c0042.c static int qm1d1c0042_sleep(struct dvb_frontend *fe) fe 304 drivers/media/tuners/qm1d1c0042.c state = fe->tuner_priv; fe 313 drivers/media/tuners/qm1d1c0042.c __func__, fe->dvb->num, fe->id); fe 317 drivers/media/tuners/qm1d1c0042.c static int qm1d1c0042_init(struct dvb_frontend *fe) fe 323 drivers/media/tuners/qm1d1c0042.c state = fe->tuner_priv; fe 381 drivers/media/tuners/qm1d1c0042.c __func__, fe->dvb->num, fe->id); fe 407 drivers/media/tuners/qm1d1c0042.c struct dvb_frontend *fe; fe 415 drivers/media/tuners/qm1d1c0042.c fe = cfg->fe; fe 416 drivers/media/tuners/qm1d1c0042.c fe->tuner_priv = state; fe 417 drivers/media/tuners/qm1d1c0042.c qm1d1c0042_set_config(fe, cfg); fe 418 drivers/media/tuners/qm1d1c0042.c memcpy(&fe->ops.tuner_ops, &qm1d1c0042_ops, sizeof(qm1d1c0042_ops)); fe 430 drivers/media/tuners/qm1d1c0042.c state->cfg.fe->tuner_priv = NULL; fe 15 drivers/media/tuners/qm1d1c0042.h struct dvb_frontend *fe; fe 44 drivers/media/tuners/qt1010.c static int qt1010_set_params(struct dvb_frontend *fe) fe 46 drivers/media/tuners/qt1010.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 105 drivers/media/tuners/qt1010.c priv = fe->tuner_priv; fe 113 drivers/media/tuners/qt1010.c if (fe->ops.i2c_gate_ctrl) fe 114 drivers/media/tuners/qt1010.c fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ fe 209 drivers/media/tuners/qt1010.c if (fe->ops.i2c_gate_ctrl) fe 210 drivers/media/tuners/qt1010.c fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ fe 277 drivers/media/tuners/qt1010.c static int qt1010_init(struct dvb_frontend *fe) fe 279 drivers/media/tuners/qt1010.c struct qt1010_priv *priv = fe->tuner_priv; fe 280 drivers/media/tuners/qt1010.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 321 drivers/media/tuners/qt1010.c if (fe->ops.i2c_gate_ctrl) fe 322 drivers/media/tuners/qt1010.c fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ fe 364 drivers/media/tuners/qt1010.c return qt1010_set_params(fe); fe 367 drivers/media/tuners/qt1010.c static void qt1010_release(struct dvb_frontend *fe) fe 369 drivers/media/tuners/qt1010.c kfree(fe->tuner_priv); fe 370 drivers/media/tuners/qt1010.c fe->tuner_priv = NULL; fe 373 drivers/media/tuners/qt1010.c static int qt1010_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 375 drivers/media/tuners/qt1010.c struct qt1010_priv *priv = fe->tuner_priv; fe 380 drivers/media/tuners/qt1010.c static int qt1010_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 403 drivers/media/tuners/qt1010.c struct dvb_frontend * qt1010_attach(struct dvb_frontend *fe, fe 417 drivers/media/tuners/qt1010.c if (fe->ops.i2c_gate_ctrl) fe 418 drivers/media/tuners/qt1010.c fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ fe 427 drivers/media/tuners/qt1010.c if (fe->ops.i2c_gate_ctrl) fe 428 drivers/media/tuners/qt1010.c fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ fe 434 drivers/media/tuners/qt1010.c memcpy(&fe->ops.tuner_ops, &qt1010_tuner_ops, fe 437 drivers/media/tuners/qt1010.c fe->tuner_priv = priv; fe 438 drivers/media/tuners/qt1010.c return fe; fe 27 drivers/media/tuners/qt1010.h extern struct dvb_frontend *qt1010_attach(struct dvb_frontend *fe, fe 31 drivers/media/tuners/qt1010.h static inline struct dvb_frontend *qt1010_attach(struct dvb_frontend *fe, fe 1285 drivers/media/tuners/r820t.c static int generic_set_freq(struct dvb_frontend *fe, fe 1291 drivers/media/tuners/r820t.c struct r820t_priv *priv = fe->tuner_priv; fe 2124 drivers/media/tuners/r820t.c static int r820t_init(struct dvb_frontend *fe) fe 2126 drivers/media/tuners/r820t.c struct r820t_priv *priv = fe->tuner_priv; fe 2132 drivers/media/tuners/r820t.c if (fe->ops.i2c_gate_ctrl) fe 2133 drivers/media/tuners/r820t.c fe->ops.i2c_gate_ctrl(fe, 1); fe 2144 drivers/media/tuners/r820t.c if (fe->ops.i2c_gate_ctrl) fe 2145 drivers/media/tuners/r820t.c fe->ops.i2c_gate_ctrl(fe, 0); fe 2153 drivers/media/tuners/r820t.c static int r820t_sleep(struct dvb_frontend *fe) fe 2155 drivers/media/tuners/r820t.c struct r820t_priv *priv = fe->tuner_priv; fe 2161 drivers/media/tuners/r820t.c if (fe->ops.i2c_gate_ctrl) fe 2162 drivers/media/tuners/r820t.c fe->ops.i2c_gate_ctrl(fe, 1); fe 2166 drivers/media/tuners/r820t.c if (fe->ops.i2c_gate_ctrl) fe 2167 drivers/media/tuners/r820t.c fe->ops.i2c_gate_ctrl(fe, 0); fe 2174 drivers/media/tuners/r820t.c static int r820t_set_analog_freq(struct dvb_frontend *fe, fe 2177 drivers/media/tuners/r820t.c struct r820t_priv *priv = fe->tuner_priv; fe 2193 drivers/media/tuners/r820t.c if (fe->ops.i2c_gate_ctrl) fe 2194 drivers/media/tuners/r820t.c fe->ops.i2c_gate_ctrl(fe, 1); fe 2196 drivers/media/tuners/r820t.c rc = generic_set_freq(fe, 62500l * p->frequency, bw, fe 2199 drivers/media/tuners/r820t.c if (fe->ops.i2c_gate_ctrl) fe 2200 drivers/media/tuners/r820t.c fe->ops.i2c_gate_ctrl(fe, 0); fe 2206 drivers/media/tuners/r820t.c static int r820t_set_params(struct dvb_frontend *fe) fe 2208 drivers/media/tuners/r820t.c struct r820t_priv *priv = fe->tuner_priv; fe 2209 drivers/media/tuners/r820t.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 2217 drivers/media/tuners/r820t.c if (fe->ops.i2c_gate_ctrl) fe 2218 drivers/media/tuners/r820t.c fe->ops.i2c_gate_ctrl(fe, 1); fe 2224 drivers/media/tuners/r820t.c rc = generic_set_freq(fe, c->frequency, bw, fe 2227 drivers/media/tuners/r820t.c if (fe->ops.i2c_gate_ctrl) fe 2228 drivers/media/tuners/r820t.c fe->ops.i2c_gate_ctrl(fe, 0); fe 2236 drivers/media/tuners/r820t.c static int r820t_signal(struct dvb_frontend *fe, u16 *strength) fe 2238 drivers/media/tuners/r820t.c struct r820t_priv *priv = fe->tuner_priv; fe 2242 drivers/media/tuners/r820t.c if (fe->ops.i2c_gate_ctrl) fe 2243 drivers/media/tuners/r820t.c fe->ops.i2c_gate_ctrl(fe, 1); fe 2259 drivers/media/tuners/r820t.c if (fe->ops.i2c_gate_ctrl) fe 2260 drivers/media/tuners/r820t.c fe->ops.i2c_gate_ctrl(fe, 0); fe 2271 drivers/media/tuners/r820t.c static int r820t_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 2273 drivers/media/tuners/r820t.c struct r820t_priv *priv = fe->tuner_priv; fe 2282 drivers/media/tuners/r820t.c static void r820t_release(struct dvb_frontend *fe) fe 2284 drivers/media/tuners/r820t.c struct r820t_priv *priv = fe->tuner_priv; fe 2295 drivers/media/tuners/r820t.c fe->tuner_priv = NULL; fe 2313 drivers/media/tuners/r820t.c struct dvb_frontend *r820t_attach(struct dvb_frontend *fe, fe 2338 drivers/media/tuners/r820t.c fe->tuner_priv = priv; fe 2342 drivers/media/tuners/r820t.c fe->tuner_priv = priv; fe 2346 drivers/media/tuners/r820t.c if (fe->ops.i2c_gate_ctrl) fe 2347 drivers/media/tuners/r820t.c fe->ops.i2c_gate_ctrl(fe, 1); fe 2354 drivers/media/tuners/r820t.c rc = r820t_sleep(fe); fe 2360 drivers/media/tuners/r820t.c if (fe->ops.i2c_gate_ctrl) fe 2361 drivers/media/tuners/r820t.c fe->ops.i2c_gate_ctrl(fe, 0); fe 2365 drivers/media/tuners/r820t.c memcpy(&fe->ops.tuner_ops, &r820t_tuner_ops, fe 2368 drivers/media/tuners/r820t.c return fe; fe 2370 drivers/media/tuners/r820t.c if (fe->ops.i2c_gate_ctrl) fe 2371 drivers/media/tuners/r820t.c fe->ops.i2c_gate_ctrl(fe, 0); fe 2377 drivers/media/tuners/r820t.c r820t_release(fe); fe 32 drivers/media/tuners/r820t.h struct dvb_frontend *r820t_attach(struct dvb_frontend *fe, fe 36 drivers/media/tuners/r820t.h static inline struct dvb_frontend *r820t_attach(struct dvb_frontend *fe, fe 69 drivers/media/tuners/si2157.c static int si2157_init(struct dvb_frontend *fe) fe 71 drivers/media/tuners/si2157.c struct i2c_client *client = fe->tuner_priv; fe 73 drivers/media/tuners/si2157.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 244 drivers/media/tuners/si2157.c static int si2157_sleep(struct dvb_frontend *fe) fe 246 drivers/media/tuners/si2157.c struct i2c_client *client = fe->tuner_priv; fe 272 drivers/media/tuners/si2157.c static int si2157_set_params(struct dvb_frontend *fe) fe 274 drivers/media/tuners/si2157.c struct i2c_client *client = fe->tuner_priv; fe 276 drivers/media/tuners/si2157.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 374 drivers/media/tuners/si2157.c static int si2157_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 376 drivers/media/tuners/si2157.c struct i2c_client *client = fe->tuner_priv; fe 399 drivers/media/tuners/si2157.c struct dvb_frontend *fe = dev->fe; fe 400 drivers/media/tuners/si2157.c struct i2c_client *client = fe->tuner_priv; fe 401 drivers/media/tuners/si2157.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 428 drivers/media/tuners/si2157.c struct dvb_frontend *fe = cfg->fe; fe 441 drivers/media/tuners/si2157.c dev->fe = cfg->fe; fe 456 drivers/media/tuners/si2157.c memcpy(&fe->ops.tuner_ops, &si2157_ops, sizeof(struct dvb_tuner_ops)); fe 457 drivers/media/tuners/si2157.c fe->tuner_priv = client; fe 504 drivers/media/tuners/si2157.c struct dvb_frontend *fe = dev->fe; fe 516 drivers/media/tuners/si2157.c memset(&fe->ops.tuner_ops, 0, sizeof(struct dvb_tuner_ops)); fe 517 drivers/media/tuners/si2157.c fe->tuner_priv = NULL; fe 22 drivers/media/tuners/si2157.h struct dvb_frontend *fe; fe 25 drivers/media/tuners/si2157_priv.h struct dvb_frontend *fe; fe 19 drivers/media/tuners/tda18212.c static int tda18212_set_params(struct dvb_frontend *fe) fe 21 drivers/media/tuners/tda18212.c struct tda18212_dev *dev = fe->tuner_priv; fe 22 drivers/media/tuners/tda18212.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 55 drivers/media/tuners/tda18212.c if (fe->ops.i2c_gate_ctrl) fe 56 drivers/media/tuners/tda18212.c fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ fe 144 drivers/media/tuners/tda18212.c if (fe->ops.i2c_gate_ctrl) fe 145 drivers/media/tuners/tda18212.c fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ fe 154 drivers/media/tuners/tda18212.c static int tda18212_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 156 drivers/media/tuners/tda18212.c struct tda18212_dev *dev = fe->tuner_priv; fe 180 drivers/media/tuners/tda18212.c struct dvb_frontend *fe = cfg->fe; fe 206 drivers/media/tuners/tda18212.c if (fe->ops.i2c_gate_ctrl) fe 207 drivers/media/tuners/tda18212.c fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ fe 212 drivers/media/tuners/tda18212.c if (fe->ops.i2c_gate_ctrl) fe 213 drivers/media/tuners/tda18212.c fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ fe 233 drivers/media/tuners/tda18212.c fe->tuner_priv = dev; fe 234 drivers/media/tuners/tda18212.c memcpy(&fe->ops.tuner_ops, &tda18212_tuner_ops, fe 248 drivers/media/tuners/tda18212.c struct dvb_frontend *fe = dev->cfg.fe; fe 252 drivers/media/tuners/tda18212.c memset(&fe->ops.tuner_ops, 0, sizeof(struct dvb_tuner_ops)); fe 253 drivers/media/tuners/tda18212.c fe->tuner_priv = NULL; fe 28 drivers/media/tuners/tda18212.h struct dvb_frontend *fe; fe 111 drivers/media/tuners/tda18218.c static int tda18218_set_params(struct dvb_frontend *fe) fe 113 drivers/media/tuners/tda18218.c struct tda18218_priv *priv = fe->tuner_priv; fe 114 drivers/media/tuners/tda18218.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 137 drivers/media/tuners/tda18218.c if (fe->ops.i2c_gate_ctrl) fe 138 drivers/media/tuners/tda18218.c fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ fe 197 drivers/media/tuners/tda18218.c if (fe->ops.i2c_gate_ctrl) fe 198 drivers/media/tuners/tda18218.c fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ fe 206 drivers/media/tuners/tda18218.c static int tda18218_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 208 drivers/media/tuners/tda18218.c struct tda18218_priv *priv = fe->tuner_priv; fe 214 drivers/media/tuners/tda18218.c static int tda18218_sleep(struct dvb_frontend *fe) fe 216 drivers/media/tuners/tda18218.c struct tda18218_priv *priv = fe->tuner_priv; fe 219 drivers/media/tuners/tda18218.c if (fe->ops.i2c_gate_ctrl) fe 220 drivers/media/tuners/tda18218.c fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ fe 225 drivers/media/tuners/tda18218.c if (fe->ops.i2c_gate_ctrl) fe 226 drivers/media/tuners/tda18218.c fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ fe 234 drivers/media/tuners/tda18218.c static int tda18218_init(struct dvb_frontend *fe) fe 236 drivers/media/tuners/tda18218.c struct tda18218_priv *priv = fe->tuner_priv; fe 241 drivers/media/tuners/tda18218.c if (fe->ops.i2c_gate_ctrl) fe 242 drivers/media/tuners/tda18218.c fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ fe 246 drivers/media/tuners/tda18218.c if (fe->ops.i2c_gate_ctrl) fe 247 drivers/media/tuners/tda18218.c fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ fe 255 drivers/media/tuners/tda18218.c static void tda18218_release(struct dvb_frontend *fe) fe 257 drivers/media/tuners/tda18218.c kfree(fe->tuner_priv); fe 258 drivers/media/tuners/tda18218.c fe->tuner_priv = NULL; fe 279 drivers/media/tuners/tda18218.c struct dvb_frontend *tda18218_attach(struct dvb_frontend *fe, fe 301 drivers/media/tuners/tda18218.c fe->tuner_priv = priv; fe 303 drivers/media/tuners/tda18218.c if (fe->ops.i2c_gate_ctrl) fe 304 drivers/media/tuners/tda18218.c fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ fe 319 drivers/media/tuners/tda18218.c memcpy(&fe->ops.tuner_ops, &tda18218_tuner_ops, fe 334 drivers/media/tuners/tda18218.c if (fe->ops.i2c_gate_ctrl) fe 335 drivers/media/tuners/tda18218.c fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ fe 337 drivers/media/tuners/tda18218.c return fe; fe 20 drivers/media/tuners/tda18218.h extern struct dvb_frontend *tda18218_attach(struct dvb_frontend *fe, fe 23 drivers/media/tuners/tda18218.h static inline struct dvb_frontend *tda18218_attach(struct dvb_frontend *fe, fe 13 drivers/media/tuners/tda18250.c static int tda18250_power_control(struct dvb_frontend *fe, fe 16 drivers/media/tuners/tda18250.c struct i2c_client *client = fe->tuner_priv; fe 83 drivers/media/tuners/tda18250.c static int tda18250_wait_for_irq(struct dvb_frontend *fe, fe 86 drivers/media/tuners/tda18250.c struct i2c_client *client = fe->tuner_priv; fe 120 drivers/media/tuners/tda18250.c static int tda18250_init(struct dvb_frontend *fe) fe 122 drivers/media/tuners/tda18250.c struct i2c_client *client = fe->tuner_priv; fe 176 drivers/media/tuners/tda18250.c ret = tda18250_power_control(fe, TDA18250_POWER_NORMAL); fe 218 drivers/media/tuners/tda18250.c ret = tda18250_wait_for_irq(fe, 500, 10, TDA18250_IRQ_HW_INIT); fe 231 drivers/media/tuners/tda18250.c ret = tda18250_wait_for_irq(fe, 500, 10, TDA18250_IRQ_CAL); fe 249 drivers/media/tuners/tda18250.c static int tda18250_set_agc(struct dvb_frontend *fe) fe 251 drivers/media/tuners/tda18250.c struct i2c_client *client = fe->tuner_priv; fe 253 drivers/media/tuners/tda18250.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 428 drivers/media/tuners/tda18250.c static int tda18250_pll_calc(struct dvb_frontend *fe, u8 *rdiv, fe 431 drivers/media/tuners/tda18250.c struct i2c_client *client = fe->tuner_priv; fe 433 drivers/media/tuners/tda18250.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 493 drivers/media/tuners/tda18250.c static int tda18250_set_params(struct dvb_frontend *fe) fe 495 drivers/media/tuners/tda18250.c struct i2c_client *client = fe->tuner_priv; fe 497 drivers/media/tuners/tda18250.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 603 drivers/media/tuners/tda18250.c ret = tda18250_set_agc(fe); fe 636 drivers/media/tuners/tda18250.c ret = tda18250_wait_for_irq(fe, 500, 10, TDA18250_IRQ_TUNE); fe 641 drivers/media/tuners/tda18250.c ret = tda18250_pll_calc(fe, &buf[0], &buf[1], &buf[2]); fe 672 drivers/media/tuners/tda18250.c ret = tda18250_wait_for_irq(fe, 500, 10, TDA18250_IRQ_TUNE); fe 702 drivers/media/tuners/tda18250.c static int tda18250_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 704 drivers/media/tuners/tda18250.c struct i2c_client *client = fe->tuner_priv; fe 711 drivers/media/tuners/tda18250.c static int tda18250_sleep(struct dvb_frontend *fe) fe 713 drivers/media/tuners/tda18250.c struct i2c_client *client = fe->tuner_priv; fe 727 drivers/media/tuners/tda18250.c ret = tda18250_power_control(fe, TDA18250_POWER_STANDBY); fe 748 drivers/media/tuners/tda18250.c struct dvb_frontend *fe = cfg->fe; fe 781 drivers/media/tuners/tda18250.c dev->fe = cfg->fe; fe 844 drivers/media/tuners/tda18250.c fe->tuner_priv = client; fe 845 drivers/media/tuners/tda18250.c memcpy(&fe->ops.tuner_ops, &tda18250_ops, fe 849 drivers/media/tuners/tda18250.c tda18250_power_control(fe, TDA18250_POWER_STANDBY); fe 862 drivers/media/tuners/tda18250.c struct dvb_frontend *fe = dev->fe; fe 866 drivers/media/tuners/tda18250.c memset(&fe->ops.tuner_ops, 0, sizeof(struct dvb_tuner_ops)); fe 867 drivers/media/tuners/tda18250.c fe->tuner_priv = NULL; fe 35 drivers/media/tuners/tda18250.h struct dvb_frontend *fe; fe 118 drivers/media/tuners/tda18250_priv.h struct dvb_frontend *fe; fe 11 drivers/media/tuners/tda18271-common.c static int tda18271_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 13 drivers/media/tuners/tda18271-common.c struct tda18271_priv *priv = fe->tuner_priv; fe 37 drivers/media/tuners/tda18271-common.c if (fe->ops.analog_ops.i2c_gate_ctrl) fe 38 drivers/media/tuners/tda18271-common.c ret = fe->ops.analog_ops.i2c_gate_ctrl(fe, enable); fe 41 drivers/media/tuners/tda18271-common.c if (fe->ops.i2c_gate_ctrl) fe 42 drivers/media/tuners/tda18271-common.c ret = fe->ops.i2c_gate_ctrl(fe, enable); fe 54 drivers/media/tuners/tda18271-common.c static void tda18271_dump_regs(struct dvb_frontend *fe, int extended) fe 56 drivers/media/tuners/tda18271-common.c struct tda18271_priv *priv = fe->tuner_priv; fe 109 drivers/media/tuners/tda18271-common.c int tda18271_read_regs(struct dvb_frontend *fe) fe 111 drivers/media/tuners/tda18271-common.c struct tda18271_priv *priv = fe->tuner_priv; fe 122 drivers/media/tuners/tda18271-common.c tda18271_i2c_gate_ctrl(fe, 1); fe 127 drivers/media/tuners/tda18271-common.c tda18271_i2c_gate_ctrl(fe, 0); fe 133 drivers/media/tuners/tda18271-common.c tda18271_dump_regs(fe, 0); fe 138 drivers/media/tuners/tda18271-common.c int tda18271_read_extended(struct dvb_frontend *fe) fe 140 drivers/media/tuners/tda18271-common.c struct tda18271_priv *priv = fe->tuner_priv; fe 152 drivers/media/tuners/tda18271-common.c tda18271_i2c_gate_ctrl(fe, 1); fe 157 drivers/media/tuners/tda18271-common.c tda18271_i2c_gate_ctrl(fe, 0); fe 173 drivers/media/tuners/tda18271-common.c tda18271_dump_regs(fe, 1); fe 178 drivers/media/tuners/tda18271-common.c static int __tda18271_write_regs(struct dvb_frontend *fe, int idx, int len, fe 181 drivers/media/tuners/tda18271-common.c struct tda18271_priv *priv = fe->tuner_priv; fe 215 drivers/media/tuners/tda18271-common.c tda18271_i2c_gate_ctrl(fe, 1); fe 238 drivers/media/tuners/tda18271-common.c tda18271_i2c_gate_ctrl(fe, 0); fe 248 drivers/media/tuners/tda18271-common.c int tda18271_write_regs(struct dvb_frontend *fe, int idx, int len) fe 250 drivers/media/tuners/tda18271-common.c return __tda18271_write_regs(fe, idx, len, true); fe 255 drivers/media/tuners/tda18271-common.c static int __tda18271_charge_pump_source(struct dvb_frontend *fe, fe 259 drivers/media/tuners/tda18271-common.c struct tda18271_priv *priv = fe->tuner_priv; fe 267 drivers/media/tuners/tda18271-common.c return __tda18271_write_regs(fe, r_cp, 1, lock_i2c); fe 270 drivers/media/tuners/tda18271-common.c int tda18271_charge_pump_source(struct dvb_frontend *fe, fe 273 drivers/media/tuners/tda18271-common.c return __tda18271_charge_pump_source(fe, pll, force, true); fe 277 drivers/media/tuners/tda18271-common.c int tda18271_init_regs(struct dvb_frontend *fe) fe 279 drivers/media/tuners/tda18271-common.c struct tda18271_priv *priv = fe->tuner_priv; fe 290 drivers/media/tuners/tda18271-common.c tda18271_i2c_gate_ctrl(fe, 1); fe 378 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, 0x00, TDA18271_NUM_REGS, false); fe 382 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EB17, 1, false); fe 384 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EB17, 1, false); fe 386 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EB17, 1, false); fe 388 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EB17, 1, false); fe 393 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EB20, 1, false); fe 395 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EB20, 1, false); fe 397 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EB20, 1, false); fe 399 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EB20, 1, false); fe 417 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EP3, 11, false); fe 421 drivers/media/tuners/tda18271-common.c __tda18271_charge_pump_source(fe, TDA18271_MAIN_PLL, 1, false); fe 425 drivers/media/tuners/tda18271-common.c __tda18271_charge_pump_source(fe, TDA18271_MAIN_PLL, 0, false); fe 431 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EP1, 1, false); fe 439 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EP3, 7, false); fe 443 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EP2, 1, false); fe 454 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EP3, 11, false); fe 458 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EP1, 1, false); fe 466 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EP3, 7, false); fe 470 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EP2, 1, false); fe 482 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EP3, 11, false); fe 486 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EP1, 1, false); fe 493 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EP3, 7, false); fe 497 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EP2, 1, false); fe 502 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EP4, 1, false); fe 505 drivers/media/tuners/tda18271-common.c __tda18271_write_regs(fe, R_EP1, 1, false); fe 508 drivers/media/tuners/tda18271-common.c tda18271_i2c_gate_ctrl(fe, 0); fe 531 drivers/media/tuners/tda18271-common.c int tda18271_set_standby_mode(struct dvb_frontend *fe, fe 534 drivers/media/tuners/tda18271-common.c struct tda18271_priv *priv = fe->tuner_priv; fe 545 drivers/media/tuners/tda18271-common.c return tda18271_write_regs(fe, R_EP3, 1); fe 550 drivers/media/tuners/tda18271-common.c int tda18271_calc_main_pll(struct dvb_frontend *fe, u32 freq) fe 553 drivers/media/tuners/tda18271-common.c struct tda18271_priv *priv = fe->tuner_priv; fe 558 drivers/media/tuners/tda18271-common.c int ret = tda18271_lookup_pll_map(fe, MAIN_PLL, &freq, &pd, &d); fe 573 drivers/media/tuners/tda18271-common.c int tda18271_calc_cal_pll(struct dvb_frontend *fe, u32 freq) fe 576 drivers/media/tuners/tda18271-common.c struct tda18271_priv *priv = fe->tuner_priv; fe 581 drivers/media/tuners/tda18271-common.c int ret = tda18271_lookup_pll_map(fe, CAL_PLL, &freq, &pd, &d); fe 598 drivers/media/tuners/tda18271-common.c int tda18271_calc_bp_filter(struct dvb_frontend *fe, u32 *freq) fe 601 drivers/media/tuners/tda18271-common.c struct tda18271_priv *priv = fe->tuner_priv; fe 605 drivers/media/tuners/tda18271-common.c int ret = tda18271_lookup_map(fe, BP_FILTER, freq, &val); fe 615 drivers/media/tuners/tda18271-common.c int tda18271_calc_km(struct dvb_frontend *fe, u32 *freq) fe 618 drivers/media/tuners/tda18271-common.c struct tda18271_priv *priv = fe->tuner_priv; fe 622 drivers/media/tuners/tda18271-common.c int ret = tda18271_lookup_map(fe, RF_CAL_KMCO, freq, &val); fe 632 drivers/media/tuners/tda18271-common.c int tda18271_calc_rf_band(struct dvb_frontend *fe, u32 *freq) fe 635 drivers/media/tuners/tda18271-common.c struct tda18271_priv *priv = fe->tuner_priv; fe 639 drivers/media/tuners/tda18271-common.c int ret = tda18271_lookup_map(fe, RF_BAND, freq, &val); fe 649 drivers/media/tuners/tda18271-common.c int tda18271_calc_gain_taper(struct dvb_frontend *fe, u32 *freq) fe 652 drivers/media/tuners/tda18271-common.c struct tda18271_priv *priv = fe->tuner_priv; fe 656 drivers/media/tuners/tda18271-common.c int ret = tda18271_lookup_map(fe, GAIN_TAPER, freq, &val); fe 666 drivers/media/tuners/tda18271-common.c int tda18271_calc_ir_measure(struct dvb_frontend *fe, u32 *freq) fe 669 drivers/media/tuners/tda18271-common.c struct tda18271_priv *priv = fe->tuner_priv; fe 673 drivers/media/tuners/tda18271-common.c int ret = tda18271_lookup_map(fe, IR_MEASURE, freq, &val); fe 683 drivers/media/tuners/tda18271-common.c int tda18271_calc_rf_cal(struct dvb_frontend *fe, u32 *freq) fe 686 drivers/media/tuners/tda18271-common.c struct tda18271_priv *priv = fe->tuner_priv; fe 690 drivers/media/tuners/tda18271-common.c int ret = tda18271_lookup_map(fe, RF_CAL, freq, &val); fe 28 drivers/media/tuners/tda18271-fe.c static int tda18271_toggle_output(struct dvb_frontend *fe, int standby) fe 30 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 32 drivers/media/tuners/tda18271-fe.c int ret = tda18271_set_standby_mode(fe, standby ? 1 : 0, fe 49 drivers/media/tuners/tda18271-fe.c static inline int charge_pump_source(struct dvb_frontend *fe, int force) fe 51 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 52 drivers/media/tuners/tda18271-fe.c return tda18271_charge_pump_source(fe, fe 58 drivers/media/tuners/tda18271-fe.c static inline void tda18271_set_if_notch(struct dvb_frontend *fe) fe 60 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 73 drivers/media/tuners/tda18271-fe.c static int tda18271_channel_configuration(struct dvb_frontend *fe, fe 77 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 107 drivers/media/tuners/tda18271-fe.c ret = tda18271_write_regs(fe, R_EB22, 1); fe 121 drivers/media/tuners/tda18271-fe.c tda18271_calc_ir_measure(fe, &freq); fe 123 drivers/media/tuners/tda18271-fe.c tda18271_calc_bp_filter(fe, &freq); fe 125 drivers/media/tuners/tda18271-fe.c tda18271_calc_rf_band(fe, &freq); fe 127 drivers/media/tuners/tda18271-fe.c tda18271_calc_gain_taper(fe, &freq); fe 148 drivers/media/tuners/tda18271-fe.c ret = tda18271_write_regs(fe, R_EB1, 1); fe 158 drivers/media/tuners/tda18271-fe.c tda18271_calc_main_pll(fe, N); fe 159 drivers/media/tuners/tda18271-fe.c tda18271_set_if_notch(fe); fe 160 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_MPD, 4); fe 163 drivers/media/tuners/tda18271-fe.c tda18271_calc_cal_pll(fe, N); fe 164 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_CPD, 4); fe 167 drivers/media/tuners/tda18271-fe.c tda18271_set_if_notch(fe); fe 168 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_MPD, 1); fe 172 drivers/media/tuners/tda18271-fe.c ret = tda18271_write_regs(fe, R_TM, 7); fe 177 drivers/media/tuners/tda18271-fe.c charge_pump_source(fe, 1); fe 182 drivers/media/tuners/tda18271-fe.c charge_pump_source(fe, 0); fe 192 drivers/media/tuners/tda18271-fe.c ret = tda18271_write_regs(fe, R_EP3, 1); fe 198 drivers/media/tuners/tda18271-fe.c static int tda18271_read_thermometer(struct dvb_frontend *fe) fe 200 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 206 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_TM, 1); fe 209 drivers/media/tuners/tda18271-fe.c tda18271_read_regs(fe); fe 219 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_TM, 1); fe 224 drivers/media/tuners/tda18271-fe.c tda18271_read_regs(fe); fe 227 drivers/media/tuners/tda18271-fe.c tm = tda18271_lookup_thermometer(fe); fe 231 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_TM, 1); fe 235 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP4, 1); fe 242 drivers/media/tuners/tda18271-fe.c static int tda18271c2_rf_tracking_filters_correction(struct dvb_frontend *fe, fe 245 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 253 drivers/media/tuners/tda18271-fe.c ret = tda18271_set_standby_mode(fe, 0, 0, 0); fe 258 drivers/media/tuners/tda18271-fe.c tm_current = tda18271_read_thermometer(fe); fe 262 drivers/media/tuners/tda18271-fe.c tda18271_calc_rf_cal(fe, &freq); fe 265 drivers/media/tuners/tda18271-fe.c i = tda18271_lookup_rf_band(fe, &freq, NULL); fe 282 drivers/media/tuners/tda18271-fe.c tda18271_lookup_map(fe, RF_CAL_DC_OVER_DT, &freq, &dc_over_dt); fe 288 drivers/media/tuners/tda18271-fe.c ret = tda18271_write_regs(fe, R_EB14, 1); fe 293 drivers/media/tuners/tda18271-fe.c static int tda18271_por(struct dvb_frontend *fe) fe 295 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 301 drivers/media/tuners/tda18271-fe.c ret = tda18271_write_regs(fe, R_EB12, 1); fe 307 drivers/media/tuners/tda18271-fe.c ret = tda18271_write_regs(fe, R_EB18, 1); fe 314 drivers/media/tuners/tda18271-fe.c ret = tda18271_set_standby_mode(fe, 1, 0, 0); fe 321 drivers/media/tuners/tda18271-fe.c ret = tda18271_write_regs(fe, R_EB21, 3); fe 326 drivers/media/tuners/tda18271-fe.c static int tda18271_calibrate_rf(struct dvb_frontend *fe, u32 freq) fe 328 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 334 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP4, 1); fe 340 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EB18, 1); fe 344 drivers/media/tuners/tda18271-fe.c tda18271_calc_bp_filter(fe, &freq); fe 345 drivers/media/tuners/tda18271-fe.c tda18271_calc_gain_taper(fe, &freq); fe 346 drivers/media/tuners/tda18271-fe.c tda18271_calc_rf_band(fe, &freq); fe 347 drivers/media/tuners/tda18271-fe.c tda18271_calc_km(fe, &freq); fe 349 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP1, 3); fe 350 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EB13, 1); fe 353 drivers/media/tuners/tda18271-fe.c tda18271_charge_pump_source(fe, TDA18271_MAIN_PLL, 1); fe 356 drivers/media/tuners/tda18271-fe.c tda18271_charge_pump_source(fe, TDA18271_CAL_PLL, 1); fe 360 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EB14, 1); fe 364 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EB20, 1); fe 368 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP4, 2); fe 375 drivers/media/tuners/tda18271-fe.c tda18271_calc_cal_pll(fe, N); fe 376 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_CPD, 4); fe 381 drivers/media/tuners/tda18271-fe.c tda18271_calc_main_pll(fe, N); fe 382 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_MPD, 4); fe 386 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP2, 1); fe 387 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP1, 1); fe 388 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP2, 1); fe 389 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP1, 1); fe 394 drivers/media/tuners/tda18271-fe.c tda18271_charge_pump_source(fe, TDA18271_MAIN_PLL, 0); fe 397 drivers/media/tuners/tda18271-fe.c tda18271_charge_pump_source(fe, TDA18271_CAL_PLL, 0); fe 403 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EB20, 1); fe 416 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EB18, 1); fe 418 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP3, 2); fe 421 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP1, 1); fe 424 drivers/media/tuners/tda18271-fe.c tda18271_read_extended(fe); fe 429 drivers/media/tuners/tda18271-fe.c static int tda18271_powerscan(struct dvb_frontend *fe, fe 432 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 441 drivers/media/tuners/tda18271-fe.c tda18271_calc_rf_band(fe, &freq); fe 442 drivers/media/tuners/tda18271-fe.c tda18271_calc_rf_cal(fe, &freq); fe 443 drivers/media/tuners/tda18271-fe.c tda18271_calc_gain_taper(fe, &freq); fe 444 drivers/media/tuners/tda18271-fe.c tda18271_lookup_cid_target(fe, &freq, &cid_target, &count_limit); fe 446 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP2, 1); fe 447 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EB14, 1); fe 452 drivers/media/tuners/tda18271-fe.c tda18271_calc_main_pll(fe, freq); fe 453 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_MPD, 4); fe 460 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP4, 1); fe 463 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP2, 1); fe 466 drivers/media/tuners/tda18271-fe.c ret = tda18271_read_extended(fe); fe 481 drivers/media/tuners/tda18271-fe.c tda18271_calc_main_pll(fe, freq); fe 482 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_MPD, 4); fe 491 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP2, 1); fe 494 drivers/media/tuners/tda18271-fe.c ret = tda18271_read_extended(fe); fe 523 drivers/media/tuners/tda18271-fe.c static int tda18271_powerscan_init(struct dvb_frontend *fe) fe 525 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 539 drivers/media/tuners/tda18271-fe.c ret = tda18271_write_regs(fe, R_EP3, 2); fe 544 drivers/media/tuners/tda18271-fe.c ret = tda18271_write_regs(fe, R_EB18, 1); fe 554 drivers/media/tuners/tda18271-fe.c ret = tda18271_write_regs(fe, R_EB21, 3); fe 559 drivers/media/tuners/tda18271-fe.c static int tda18271_rf_tracking_filters_init(struct dvb_frontend *fe, u32 freq) fe 561 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 574 drivers/media/tuners/tda18271-fe.c i = tda18271_lookup_rf_band(fe, &freq, NULL); fe 589 drivers/media/tuners/tda18271-fe.c bcal = tda18271_powerscan(fe, &rf_default[rf], &rf_freq[rf]); fe 593 drivers/media/tuners/tda18271-fe.c tda18271_calc_rf_cal(fe, &rf_freq[rf]); fe 598 drivers/media/tuners/tda18271-fe.c (s32)tda18271_calibrate_rf(fe, rf_freq[rf]); fe 631 drivers/media/tuners/tda18271-fe.c static int tda18271_calc_rf_filter_curve(struct dvb_frontend *fe) fe 633 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 642 drivers/media/tuners/tda18271-fe.c ret = tda18271_powerscan_init(fe); fe 649 drivers/media/tuners/tda18271-fe.c tda18271_rf_tracking_filters_init(fe, 1000 * fe 655 drivers/media/tuners/tda18271-fe.c priv->tm_rfcal = tda18271_read_thermometer(fe); fe 662 drivers/media/tuners/tda18271-fe.c static int tda18271c2_rf_cal_init(struct dvb_frontend *fe) fe 664 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 675 drivers/media/tuners/tda18271-fe.c ret = tda18271_calc_rf_filter_curve(fe); fe 679 drivers/media/tuners/tda18271-fe.c ret = tda18271_por(fe); fe 693 drivers/media/tuners/tda18271-fe.c static int tda18271c1_rf_tracking_filter_calibration(struct dvb_frontend *fe, fe 696 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 702 drivers/media/tuners/tda18271-fe.c tda18271_calc_bp_filter(fe, &freq); fe 703 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP1, 1); fe 707 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EB4, 1); fe 710 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EB7, 1); fe 713 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EB14, 1); fe 716 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EB20, 1); fe 732 drivers/media/tuners/tda18271-fe.c tda18271_calc_cal_pll(fe, N); fe 745 drivers/media/tuners/tda18271-fe.c tda18271_calc_main_pll(fe, N); fe 747 drivers/media/tuners/tda18271-fe.c ret = tda18271_write_regs(fe, R_EP3, 11); fe 754 drivers/media/tuners/tda18271-fe.c tda18271_calc_km(fe, &freq); fe 755 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EB13, 1); fe 758 drivers/media/tuners/tda18271-fe.c tda18271_calc_rf_band(fe, &freq); fe 761 drivers/media/tuners/tda18271-fe.c tda18271_calc_gain_taper(fe, &freq); fe 763 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP2, 1); fe 764 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP1, 1); fe 765 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP2, 1); fe 766 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP1, 1); fe 770 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EB4, 1); fe 773 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EB7, 1); fe 777 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EB20, 1); fe 781 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP4, 1); fe 783 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EP1, 1); fe 786 drivers/media/tuners/tda18271-fe.c if (0 == tda18271_calc_rf_cal(fe, &freq)) fe 787 drivers/media/tuners/tda18271-fe.c tda18271_write_regs(fe, R_EB14, 1); fe 794 drivers/media/tuners/tda18271-fe.c static int tda18271_ir_cal_init(struct dvb_frontend *fe) fe 796 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 800 drivers/media/tuners/tda18271-fe.c ret = tda18271_read_regs(fe); fe 806 drivers/media/tuners/tda18271-fe.c ret = tda18271_init_regs(fe); fe 811 drivers/media/tuners/tda18271-fe.c static int tda18271_init(struct dvb_frontend *fe) fe 813 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 819 drivers/media/tuners/tda18271-fe.c ret = tda18271_set_standby_mode(fe, 0, 0, 0); fe 824 drivers/media/tuners/tda18271-fe.c ret = tda18271_ir_cal_init(fe); fe 829 drivers/media/tuners/tda18271-fe.c tda18271c2_rf_cal_init(fe); fe 836 drivers/media/tuners/tda18271-fe.c static int tda18271_sleep(struct dvb_frontend *fe) fe 838 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 844 drivers/media/tuners/tda18271-fe.c ret = tda18271_toggle_output(fe, 1); fe 853 drivers/media/tuners/tda18271-fe.c static int tda18271_agc(struct dvb_frontend *fe) fe 855 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 867 drivers/media/tuners/tda18271-fe.c if (fe->callback) fe 868 drivers/media/tuners/tda18271-fe.c ret = fe->callback(priv->i2c_props.adap->algo_data, fe 884 drivers/media/tuners/tda18271-fe.c static int tda18271_tune(struct dvb_frontend *fe, fe 887 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 893 drivers/media/tuners/tda18271-fe.c ret = tda18271_agc(fe); fe 897 drivers/media/tuners/tda18271-fe.c ret = tda18271_init(fe); fe 905 drivers/media/tuners/tda18271-fe.c tda18271c1_rf_tracking_filter_calibration(fe, freq, bw); fe 908 drivers/media/tuners/tda18271-fe.c tda18271c2_rf_tracking_filters_correction(fe, freq); fe 911 drivers/media/tuners/tda18271-fe.c ret = tda18271_channel_configuration(fe, map, freq, bw); fe 920 drivers/media/tuners/tda18271-fe.c static int tda18271_set_params(struct dvb_frontend *fe) fe 922 drivers/media/tuners/tda18271-fe.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 926 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 968 drivers/media/tuners/tda18271-fe.c if (fe->ops.analog_ops.standby) fe 969 drivers/media/tuners/tda18271-fe.c fe->ops.analog_ops.standby(fe); fe 971 drivers/media/tuners/tda18271-fe.c ret = tda18271_tune(fe, map, freq, bw); fe 983 drivers/media/tuners/tda18271-fe.c static int tda18271_set_analog_params(struct dvb_frontend *fe, fe 986 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 1027 drivers/media/tuners/tda18271-fe.c ret = tda18271_tune(fe, map, freq, 0); fe 1039 drivers/media/tuners/tda18271-fe.c static void tda18271_release(struct dvb_frontend *fe) fe 1041 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 1050 drivers/media/tuners/tda18271-fe.c fe->tuner_priv = NULL; fe 1053 drivers/media/tuners/tda18271-fe.c static int tda18271_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 1055 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 1060 drivers/media/tuners/tda18271-fe.c static int tda18271_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) fe 1062 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 1067 drivers/media/tuners/tda18271-fe.c static int tda18271_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 1069 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 1093 drivers/media/tuners/tda18271-fe.c static int tda18271_dump_std_map(struct dvb_frontend *fe) fe 1095 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 1118 drivers/media/tuners/tda18271-fe.c static int tda18271_update_std_map(struct dvb_frontend *fe, fe 1121 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 1146 drivers/media/tuners/tda18271-fe.c static int tda18271_get_id(struct dvb_frontend *fe) fe 1148 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 1154 drivers/media/tuners/tda18271-fe.c ret = tda18271_read_regs(fe); fe 1186 drivers/media/tuners/tda18271-fe.c static int tda18271_setup_configuration(struct dvb_frontend *fe, fe 1189 drivers/media/tuners/tda18271-fe.c struct tda18271_priv *priv = fe->tuner_priv; fe 1212 drivers/media/tuners/tda18271-fe.c static int tda18271_set_config(struct dvb_frontend *fe, void *priv_cfg) fe 1216 drivers/media/tuners/tda18271-fe.c tda18271_setup_configuration(fe, cfg); fe 1219 drivers/media/tuners/tda18271-fe.c tda18271_init(fe); fe 1223 drivers/media/tuners/tda18271-fe.c tda18271_update_std_map(fe, cfg->std_map); fe 1246 drivers/media/tuners/tda18271-fe.c struct dvb_frontend *tda18271_attach(struct dvb_frontend *fe, u8 addr, fe 1263 drivers/media/tuners/tda18271-fe.c fe->tuner_priv = priv; fe 1265 drivers/media/tuners/tda18271-fe.c tda18271_setup_configuration(fe, cfg); fe 1270 drivers/media/tuners/tda18271-fe.c ret = tda18271_get_id(fe); fe 1274 drivers/media/tuners/tda18271-fe.c ret = tda18271_assign_map_layout(fe); fe 1284 drivers/media/tuners/tda18271-fe.c tda18271_init_regs(fe); fe 1288 drivers/media/tuners/tda18271-fe.c tda18271c2_rf_cal_init(fe); fe 1291 drivers/media/tuners/tda18271-fe.c ret = tda18271_toggle_output(fe, 1); fe 1298 drivers/media/tuners/tda18271-fe.c fe->tuner_priv = priv; fe 1313 drivers/media/tuners/tda18271-fe.c tda18271_update_std_map(fe, cfg->std_map); fe 1316 drivers/media/tuners/tda18271-fe.c tda18271_init(fe); fe 1322 drivers/media/tuners/tda18271-fe.c tda18271_update_std_map(fe, cfg->std_map); fe 1326 drivers/media/tuners/tda18271-fe.c memcpy(&fe->ops.tuner_ops, &tda18271_tuner_ops, fe 1330 drivers/media/tuners/tda18271-fe.c tda18271_dump_std_map(fe); fe 1332 drivers/media/tuners/tda18271-fe.c return fe; fe 1336 drivers/media/tuners/tda18271-fe.c tda18271_release(fe); fe 920 drivers/media/tuners/tda18271-maps.c int tda18271_lookup_thermometer(struct dvb_frontend *fe) fe 922 drivers/media/tuners/tda18271-maps.c struct tda18271_priv *priv = fe->tuner_priv; fe 966 drivers/media/tuners/tda18271-maps.c int tda18271_lookup_cid_target(struct dvb_frontend *fe, fe 969 drivers/media/tuners/tda18271-maps.c struct tda18271_priv *priv = fe->tuner_priv; fe 1007 drivers/media/tuners/tda18271-maps.c int tda18271_lookup_rf_band(struct dvb_frontend *fe, u32 *freq, u8 *rf_band) fe 1009 drivers/media/tuners/tda18271-maps.c struct tda18271_priv *priv = fe->tuner_priv; fe 1051 drivers/media/tuners/tda18271-maps.c int tda18271_lookup_pll_map(struct dvb_frontend *fe, fe 1055 drivers/media/tuners/tda18271-maps.c struct tda18271_priv *priv = fe->tuner_priv; fe 1102 drivers/media/tuners/tda18271-maps.c int tda18271_lookup_map(struct dvb_frontend *fe, fe 1106 drivers/media/tuners/tda18271-maps.c struct tda18271_priv *priv = fe->tuner_priv; fe 1269 drivers/media/tuners/tda18271-maps.c int tda18271_assign_map_layout(struct dvb_frontend *fe) fe 1271 drivers/media/tuners/tda18271-maps.c struct tda18271_priv *priv = fe->tuner_priv; fe 178 drivers/media/tuners/tda18271-priv.h extern int tda18271_lookup_pll_map(struct dvb_frontend *fe, fe 181 drivers/media/tuners/tda18271-priv.h extern int tda18271_lookup_map(struct dvb_frontend *fe, fe 185 drivers/media/tuners/tda18271-priv.h extern int tda18271_lookup_thermometer(struct dvb_frontend *fe); fe 187 drivers/media/tuners/tda18271-priv.h extern int tda18271_lookup_rf_band(struct dvb_frontend *fe, fe 190 drivers/media/tuners/tda18271-priv.h extern int tda18271_lookup_cid_target(struct dvb_frontend *fe, fe 194 drivers/media/tuners/tda18271-priv.h extern int tda18271_assign_map_layout(struct dvb_frontend *fe); fe 198 drivers/media/tuners/tda18271-priv.h extern int tda18271_read_regs(struct dvb_frontend *fe); fe 199 drivers/media/tuners/tda18271-priv.h extern int tda18271_read_extended(struct dvb_frontend *fe); fe 200 drivers/media/tuners/tda18271-priv.h extern int tda18271_write_regs(struct dvb_frontend *fe, int idx, int len); fe 201 drivers/media/tuners/tda18271-priv.h extern int tda18271_init_regs(struct dvb_frontend *fe); fe 203 drivers/media/tuners/tda18271-priv.h extern int tda18271_charge_pump_source(struct dvb_frontend *fe, fe 205 drivers/media/tuners/tda18271-priv.h extern int tda18271_set_standby_mode(struct dvb_frontend *fe, fe 208 drivers/media/tuners/tda18271-priv.h extern int tda18271_calc_main_pll(struct dvb_frontend *fe, u32 freq); fe 209 drivers/media/tuners/tda18271-priv.h extern int tda18271_calc_cal_pll(struct dvb_frontend *fe, u32 freq); fe 211 drivers/media/tuners/tda18271-priv.h extern int tda18271_calc_bp_filter(struct dvb_frontend *fe, u32 *freq); fe 212 drivers/media/tuners/tda18271-priv.h extern int tda18271_calc_km(struct dvb_frontend *fe, u32 *freq); fe 213 drivers/media/tuners/tda18271-priv.h extern int tda18271_calc_rf_band(struct dvb_frontend *fe, u32 *freq); fe 214 drivers/media/tuners/tda18271-priv.h extern int tda18271_calc_gain_taper(struct dvb_frontend *fe, u32 *freq); fe 215 drivers/media/tuners/tda18271-priv.h extern int tda18271_calc_ir_measure(struct dvb_frontend *fe, u32 *freq); fe 216 drivers/media/tuners/tda18271-priv.h extern int tda18271_calc_rf_cal(struct dvb_frontend *fe, u32 *freq); fe 113 drivers/media/tuners/tda18271.h extern struct dvb_frontend *tda18271_attach(struct dvb_frontend *fe, u8 addr, fe 117 drivers/media/tuners/tda18271.h static inline struct dvb_frontend *tda18271_attach(struct dvb_frontend *fe, fe 37 drivers/media/tuners/tda827x.c static void tda827x_set_std(struct dvb_frontend *fe, fe 40 drivers/media/tuners/tda827x.c struct tda827x_priv *priv = fe->tuner_priv; fe 123 drivers/media/tuners/tda827x.c static int tuner_transfer(struct dvb_frontend *fe, fe 128 drivers/media/tuners/tda827x.c struct tda827x_priv *priv = fe->tuner_priv; fe 130 drivers/media/tuners/tda827x.c if (fe->ops.i2c_gate_ctrl) fe 131 drivers/media/tuners/tda827x.c fe->ops.i2c_gate_ctrl(fe, 1); fe 133 drivers/media/tuners/tda827x.c if (fe->ops.i2c_gate_ctrl) fe 134 drivers/media/tuners/tda827x.c fe->ops.i2c_gate_ctrl(fe, 0); fe 142 drivers/media/tuners/tda827x.c static int tda827xo_set_params(struct dvb_frontend *fe) fe 144 drivers/media/tuners/tda827x.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 145 drivers/media/tuners/tda827x.c struct tda827x_priv *priv = fe->tuner_priv; fe 194 drivers/media/tuners/tda827x.c rc = tuner_transfer(fe, &msg, 1); fe 204 drivers/media/tuners/tda827x.c rc = tuner_transfer(fe, &msg, 1); fe 219 drivers/media/tuners/tda827x.c static int tda827xo_sleep(struct dvb_frontend *fe) fe 221 drivers/media/tuners/tda827x.c struct tda827x_priv *priv = fe->tuner_priv; fe 227 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 230 drivers/media/tuners/tda827x.c priv->cfg->sleep(fe); fe 237 drivers/media/tuners/tda827x.c static int tda827xo_set_analog_params(struct dvb_frontend *fe, fe 244 drivers/media/tuners/tda827x.c struct tda827x_priv *priv = fe->tuner_priv; fe 248 drivers/media/tuners/tda827x.c tda827x_set_std(fe, params); fe 277 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 283 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 287 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 291 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 296 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 301 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 306 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 310 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 314 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 321 drivers/media/tuners/tda827x.c static void tda827xo_agcf(struct dvb_frontend *fe) fe 323 drivers/media/tuners/tda827x.c struct tda827x_priv *priv = fe->tuner_priv; fe 328 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 431 drivers/media/tuners/tda827x.c static int tda827xa_sleep(struct dvb_frontend *fe) fe 433 drivers/media/tuners/tda827x.c struct tda827x_priv *priv = fe->tuner_priv; fe 440 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 443 drivers/media/tuners/tda827x.c priv->cfg->sleep(fe); fe 448 drivers/media/tuners/tda827x.c static void tda827xa_lna_gain(struct dvb_frontend *fe, int high, fe 451 drivers/media/tuners/tda827x.c struct tda827x_priv *priv = fe->tuner_priv; fe 484 drivers/media/tuners/tda827x.c if (fe->callback) fe 485 drivers/media/tuners/tda827x.c fe->callback(priv->i2c_adap->algo_data, fe 491 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 494 drivers/media/tuners/tda827x.c if (fe->callback) fe 495 drivers/media/tuners/tda827x.c fe->callback(priv->i2c_adap->algo_data, fe 501 drivers/media/tuners/tda827x.c static int tda827xa_set_params(struct dvb_frontend *fe) fe 503 drivers/media/tuners/tda827x.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 504 drivers/media/tuners/tda827x.c struct tda827x_priv *priv = fe->tuner_priv; fe 516 drivers/media/tuners/tda827x.c tda827xa_lna_gain(fe, 1, NULL); fe 563 drivers/media/tuners/tda827x.c rc = tuner_transfer(fe, &msg, 1); fe 573 drivers/media/tuners/tda827x.c rc = tuner_transfer(fe, &msg, 1); fe 580 drivers/media/tuners/tda827x.c rc = tuner_transfer(fe, &msg, 1); fe 586 drivers/media/tuners/tda827x.c rc = tuner_transfer(fe, &msg, 1); fe 594 drivers/media/tuners/tda827x.c tda827xa_lna_gain(fe, 0, NULL); fe 597 drivers/media/tuners/tda827x.c rc = tuner_transfer(fe, &msg, 1); fe 604 drivers/media/tuners/tda827x.c rc = tuner_transfer(fe, &msg, 1); fe 610 drivers/media/tuners/tda827x.c rc = tuner_transfer(fe, &msg, 1); fe 617 drivers/media/tuners/tda827x.c rc = tuner_transfer(fe, &msg, 1); fe 624 drivers/media/tuners/tda827x.c rc = tuner_transfer(fe, &msg, 1); fe 632 drivers/media/tuners/tda827x.c rc = tuner_transfer(fe, &msg, 1); fe 648 drivers/media/tuners/tda827x.c static int tda827xa_set_analog_params(struct dvb_frontend *fe, fe 654 drivers/media/tuners/tda827x.c struct tda827x_priv *priv = fe->tuner_priv; fe 659 drivers/media/tuners/tda827x.c tda827x_set_std(fe, params); fe 661 drivers/media/tuners/tda827x.c tda827xa_lna_gain(fe, 1, params); fe 692 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 700 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 705 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 709 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 712 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 717 drivers/media/tuners/tda827x.c tda827xa_lna_gain(fe, 0, params); fe 722 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 727 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 731 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 735 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 739 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 746 drivers/media/tuners/tda827x.c static void tda827xa_agcf(struct dvb_frontend *fe) fe 748 drivers/media/tuners/tda827x.c struct tda827x_priv *priv = fe->tuner_priv; fe 752 drivers/media/tuners/tda827x.c tuner_transfer(fe, &msg, 1); fe 757 drivers/media/tuners/tda827x.c static void tda827x_release(struct dvb_frontend *fe) fe 759 drivers/media/tuners/tda827x.c kfree(fe->tuner_priv); fe 760 drivers/media/tuners/tda827x.c fe->tuner_priv = NULL; fe 763 drivers/media/tuners/tda827x.c static int tda827x_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 765 drivers/media/tuners/tda827x.c struct tda827x_priv *priv = fe->tuner_priv; fe 770 drivers/media/tuners/tda827x.c static int tda827x_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) fe 772 drivers/media/tuners/tda827x.c struct tda827x_priv *priv = fe->tuner_priv; fe 777 drivers/media/tuners/tda827x.c static int tda827x_init(struct dvb_frontend *fe) fe 779 drivers/media/tuners/tda827x.c struct tda827x_priv *priv = fe->tuner_priv; fe 782 drivers/media/tuners/tda827x.c priv->cfg->init(fe); fe 787 drivers/media/tuners/tda827x.c static int tda827x_probe_version(struct dvb_frontend *fe); fe 789 drivers/media/tuners/tda827x.c static int tda827x_initial_init(struct dvb_frontend *fe) fe 792 drivers/media/tuners/tda827x.c ret = tda827x_probe_version(fe); fe 795 drivers/media/tuners/tda827x.c return fe->ops.tuner_ops.init(fe); fe 798 drivers/media/tuners/tda827x.c static int tda827x_initial_sleep(struct dvb_frontend *fe) fe 801 drivers/media/tuners/tda827x.c ret = tda827x_probe_version(fe); fe 804 drivers/media/tuners/tda827x.c return fe->ops.tuner_ops.sleep(fe); fe 839 drivers/media/tuners/tda827x.c static int tda827x_probe_version(struct dvb_frontend *fe) fe 843 drivers/media/tuners/tda827x.c struct tda827x_priv *priv = fe->tuner_priv; fe 847 drivers/media/tuners/tda827x.c rc = tuner_transfer(fe, &msg, 1); fe 856 drivers/media/tuners/tda827x.c fe->ops.tuner_ops.init = tda827x_init; fe 857 drivers/media/tuners/tda827x.c fe->ops.tuner_ops.sleep = tda827xo_sleep; fe 862 drivers/media/tuners/tda827x.c memcpy(&fe->ops.tuner_ops, &tda827xa_tuner_ops, sizeof(struct dvb_tuner_ops)); fe 869 drivers/media/tuners/tda827x.c struct dvb_frontend *tda827x_attach(struct dvb_frontend *fe, int addr, fe 883 drivers/media/tuners/tda827x.c memcpy(&fe->ops.tuner_ops, &tda827xo_tuner_ops, sizeof(struct dvb_tuner_ops)); fe 884 drivers/media/tuners/tda827x.c fe->tuner_priv = priv; fe 886 drivers/media/tuners/tda827x.c dprintk("type set to %s\n", fe->ops.tuner_ops.info.name); fe 888 drivers/media/tuners/tda827x.c return fe; fe 21 drivers/media/tuners/tda827x.h int (*init) (struct dvb_frontend *fe); fe 22 drivers/media/tuners/tda827x.h int (*sleep) (struct dvb_frontend *fe); fe 28 drivers/media/tuners/tda827x.h void (*agcf)(struct dvb_frontend *fe); fe 42 drivers/media/tuners/tda827x.h extern struct dvb_frontend* tda827x_attach(struct dvb_frontend *fe, int addr, fe 46 drivers/media/tuners/tda827x.h static inline struct dvb_frontend* tda827x_attach(struct dvb_frontend *fe, fe 50 drivers/media/tuners/tda8290.c static int tda8290_i2c_bridge(struct dvb_frontend *fe, int close) fe 52 drivers/media/tuners/tda8290.c struct tda8290_priv *priv = fe->analog_demod_priv; fe 71 drivers/media/tuners/tda8290.c static int tda8295_i2c_bridge(struct dvb_frontend *fe, int close) fe 73 drivers/media/tuners/tda8290.c struct tda8290_priv *priv = fe->analog_demod_priv; fe 103 drivers/media/tuners/tda8290.c static void set_audio(struct dvb_frontend *fe, fe 106 drivers/media/tuners/tda8290.c struct tda8290_priv *priv = fe->analog_demod_priv; fe 164 drivers/media/tuners/tda8290.c static void tda8290_set_params(struct dvb_frontend *fe, fe 167 drivers/media/tuners/tda8290.c struct tda8290_priv *priv = fe->analog_demod_priv; fe 191 drivers/media/tuners/tda8290.c set_audio(fe, params); fe 225 drivers/media/tuners/tda8290.c if (fe->ops.analog_ops.i2c_gate_ctrl) fe 226 drivers/media/tuners/tda8290.c fe->ops.analog_ops.i2c_gate_ctrl(fe, 1); fe 228 drivers/media/tuners/tda8290.c if (fe->ops.tuner_ops.set_analog_params) fe 229 drivers/media/tuners/tda8290.c fe->ops.tuner_ops.set_analog_params(fe, params); fe 262 drivers/media/tuners/tda8290.c priv->cfg.agcf(fe); fe 295 drivers/media/tuners/tda8290.c if (fe->ops.analog_ops.i2c_gate_ctrl) fe 296 drivers/media/tuners/tda8290.c fe->ops.analog_ops.i2c_gate_ctrl(fe, 0); fe 302 drivers/media/tuners/tda8290.c static void tda8295_power(struct dvb_frontend *fe, int enable) fe 304 drivers/media/tuners/tda8290.c struct tda8290_priv *priv = fe->analog_demod_priv; fe 317 drivers/media/tuners/tda8290.c static void tda8295_set_easy_mode(struct dvb_frontend *fe, int enable) fe 319 drivers/media/tuners/tda8290.c struct tda8290_priv *priv = fe->analog_demod_priv; fe 332 drivers/media/tuners/tda8290.c static void tda8295_set_video_std(struct dvb_frontend *fe) fe 334 drivers/media/tuners/tda8290.c struct tda8290_priv *priv = fe->analog_demod_priv; fe 339 drivers/media/tuners/tda8290.c tda8295_set_easy_mode(fe, 1); fe 341 drivers/media/tuners/tda8290.c tda8295_set_easy_mode(fe, 0); fe 346 drivers/media/tuners/tda8290.c static void tda8295_agc1_out(struct dvb_frontend *fe, int enable) fe 348 drivers/media/tuners/tda8290.c struct tda8290_priv *priv = fe->analog_demod_priv; fe 361 drivers/media/tuners/tda8290.c static void tda8295_agc2_out(struct dvb_frontend *fe, int enable) fe 363 drivers/media/tuners/tda8290.c struct tda8290_priv *priv = fe->analog_demod_priv; fe 382 drivers/media/tuners/tda8290.c static int tda8295_has_signal(struct dvb_frontend *fe, u16 *signal) fe 384 drivers/media/tuners/tda8290.c struct tda8290_priv *priv = fe->analog_demod_priv; fe 396 drivers/media/tuners/tda8290.c static void tda8295_set_params(struct dvb_frontend *fe, fe 399 drivers/media/tuners/tda8290.c struct tda8290_priv *priv = fe->analog_demod_priv; fe 403 drivers/media/tuners/tda8290.c set_audio(fe, params); fe 407 drivers/media/tuners/tda8290.c tda8295_power(fe, 1); fe 408 drivers/media/tuners/tda8290.c tda8295_agc1_out(fe, 1); fe 413 drivers/media/tuners/tda8290.c tda8295_set_video_std(fe); fe 419 drivers/media/tuners/tda8290.c if (fe->ops.analog_ops.i2c_gate_ctrl) fe 420 drivers/media/tuners/tda8290.c fe->ops.analog_ops.i2c_gate_ctrl(fe, 1); fe 422 drivers/media/tuners/tda8290.c if (fe->ops.tuner_ops.set_analog_params) fe 423 drivers/media/tuners/tda8290.c fe->ops.tuner_ops.set_analog_params(fe, params); fe 426 drivers/media/tuners/tda8290.c priv->cfg.agcf(fe); fe 428 drivers/media/tuners/tda8290.c tda8295_has_signal(fe, &signal); fe 434 drivers/media/tuners/tda8290.c if (fe->ops.analog_ops.i2c_gate_ctrl) fe 435 drivers/media/tuners/tda8290.c fe->ops.analog_ops.i2c_gate_ctrl(fe, 0); fe 440 drivers/media/tuners/tda8290.c static int tda8290_has_signal(struct dvb_frontend *fe, u16 *signal) fe 442 drivers/media/tuners/tda8290.c struct tda8290_priv *priv = fe->analog_demod_priv; fe 455 drivers/media/tuners/tda8290.c static void tda8290_standby(struct dvb_frontend *fe) fe 457 drivers/media/tuners/tda8290.c struct tda8290_priv *priv = fe->analog_demod_priv; fe 464 drivers/media/tuners/tda8290.c if (fe->ops.analog_ops.i2c_gate_ctrl) fe 465 drivers/media/tuners/tda8290.c fe->ops.analog_ops.i2c_gate_ctrl(fe, 1); fe 469 drivers/media/tuners/tda8290.c if (fe->ops.analog_ops.i2c_gate_ctrl) fe 470 drivers/media/tuners/tda8290.c fe->ops.analog_ops.i2c_gate_ctrl(fe, 0); fe 475 drivers/media/tuners/tda8290.c static void tda8295_standby(struct dvb_frontend *fe) fe 477 drivers/media/tuners/tda8290.c tda8295_agc1_out(fe, 0); /* Put AGC in tri-state */ fe 479 drivers/media/tuners/tda8290.c tda8295_power(fe, 0); fe 482 drivers/media/tuners/tda8290.c static void tda8290_init_if(struct dvb_frontend *fe) fe 484 drivers/media/tuners/tda8290.c struct tda8290_priv *priv = fe->analog_demod_priv; fe 498 drivers/media/tuners/tda8290.c static void tda8295_init_if(struct dvb_frontend *fe) fe 500 drivers/media/tuners/tda8290.c struct tda8290_priv *priv = fe->analog_demod_priv; fe 510 drivers/media/tuners/tda8290.c tda8295_power(fe, 1); fe 512 drivers/media/tuners/tda8290.c tda8295_set_easy_mode(fe, 0); fe 513 drivers/media/tuners/tda8290.c tda8295_set_video_std(fe); fe 523 drivers/media/tuners/tda8290.c tda8295_agc1_out(fe, 0); fe 524 drivers/media/tuners/tda8290.c tda8295_agc2_out(fe, 0); fe 527 drivers/media/tuners/tda8290.c static void tda8290_init_tuner(struct dvb_frontend *fe) fe 529 drivers/media/tuners/tda8290.c struct tda8290_priv *priv = fe->analog_demod_priv; fe 541 drivers/media/tuners/tda8290.c if (fe->ops.analog_ops.i2c_gate_ctrl) fe 542 drivers/media/tuners/tda8290.c fe->ops.analog_ops.i2c_gate_ctrl(fe, 1); fe 544 drivers/media/tuners/tda8290.c if (fe->ops.analog_ops.i2c_gate_ctrl) fe 545 drivers/media/tuners/tda8290.c fe->ops.analog_ops.i2c_gate_ctrl(fe, 0); fe 550 drivers/media/tuners/tda8290.c static void tda829x_release(struct dvb_frontend *fe) fe 552 drivers/media/tuners/tda8290.c struct tda8290_priv *priv = fe->analog_demod_priv; fe 557 drivers/media/tuners/tda8290.c if (fe->ops.tuner_ops.release) fe 558 drivers/media/tuners/tda8290.c fe->ops.tuner_ops.release(fe); fe 560 drivers/media/tuners/tda8290.c kfree(fe->analog_demod_priv); fe 561 drivers/media/tuners/tda8290.c fe->analog_demod_priv = NULL; fe 568 drivers/media/tuners/tda8290.c static int tda829x_find_tuner(struct dvb_frontend *fe) fe 570 drivers/media/tuners/tda8290.c struct tda8290_priv *priv = fe->analog_demod_priv; fe 576 drivers/media/tuners/tda8290.c if (fe->ops.analog_ops.i2c_gate_ctrl) fe 577 drivers/media/tuners/tda8290.c fe->ops.analog_ops.i2c_gate_ctrl(fe, 1); fe 595 drivers/media/tuners/tda8290.c if (fe->ops.analog_ops.i2c_gate_ctrl) fe 596 drivers/media/tuners/tda8290.c fe->ops.analog_ops.i2c_gate_ctrl(fe, 0); fe 619 drivers/media/tuners/tda8290.c if (fe->ops.analog_ops.i2c_gate_ctrl) fe 620 drivers/media/tuners/tda8290.c fe->ops.analog_ops.i2c_gate_ctrl(fe, 1); fe 625 drivers/media/tuners/tda8290.c if (fe->ops.analog_ops.i2c_gate_ctrl) fe 626 drivers/media/tuners/tda8290.c fe->ops.analog_ops.i2c_gate_ctrl(fe, 0); fe 634 drivers/media/tuners/tda8290.c dvb_attach(tda18271_attach, fe, priv->tda827x_addr, fe 642 drivers/media/tuners/tda8290.c dvb_attach(tda827x_attach, fe, priv->tda827x_addr, fe 646 drivers/media/tuners/tda8290.c if (fe->ops.tuner_ops.init) fe 647 drivers/media/tuners/tda8290.c fe->ops.tuner_ops.init(fe); fe 649 drivers/media/tuners/tda8290.c if (fe->ops.tuner_ops.sleep) fe 650 drivers/media/tuners/tda8290.c fe->ops.tuner_ops.sleep(fe); fe 652 drivers/media/tuners/tda8290.c if (fe->ops.analog_ops.i2c_gate_ctrl) fe 653 drivers/media/tuners/tda8290.c fe->ops.analog_ops.i2c_gate_ctrl(fe, 0); fe 730 drivers/media/tuners/tda8290.c struct dvb_frontend *tda829x_attach(struct dvb_frontend *fe, fe 740 drivers/media/tuners/tda8290.c fe->analog_demod_priv = priv; fe 752 drivers/media/tuners/tda8290.c memcpy(&fe->ops.analog_ops, &tda8290_ops, fe 758 drivers/media/tuners/tda8290.c memcpy(&fe->ops.analog_ops, &tda8295_ops, fe 763 drivers/media/tuners/tda8290.c fe->ops.analog_ops.i2c_gate_ctrl = NULL; fe 766 drivers/media/tuners/tda8290.c tda8295_power(fe, 1); fe 767 drivers/media/tuners/tda8290.c if (tda829x_find_tuner(fe) < 0) fe 801 drivers/media/tuners/tda8290.c fe->ops.analog_ops.info.name = name; fe 805 drivers/media/tuners/tda8290.c tda8290_init_tuner(fe); fe 806 drivers/media/tuners/tda8290.c tda8290_init_if(fe); fe 808 drivers/media/tuners/tda8290.c tda8295_init_if(fe); fe 810 drivers/media/tuners/tda8290.c return fe; fe 813 drivers/media/tuners/tda8290.c memset(&fe->ops.analog_ops, 0, sizeof(struct analog_demod_ops)); fe 815 drivers/media/tuners/tda8290.c tda829x_release(fe); fe 32 drivers/media/tuners/tda8290.h extern struct dvb_frontend *tda829x_attach(struct dvb_frontend *fe, fe 43 drivers/media/tuners/tda8290.h static inline struct dvb_frontend *tda829x_attach(struct dvb_frontend *fe, fe 271 drivers/media/tuners/tda9887.c static void dump_read_message(struct dvb_frontend *fe, unsigned char *buf) fe 273 drivers/media/tuners/tda9887.c struct tda9887_priv *priv = fe->analog_demod_priv; fe 301 drivers/media/tuners/tda9887.c static void dump_write_message(struct dvb_frontend *fe, unsigned char *buf) fe 303 drivers/media/tuners/tda9887.c struct tda9887_priv *priv = fe->analog_demod_priv; fe 401 drivers/media/tuners/tda9887.c static int tda9887_set_tvnorm(struct dvb_frontend *fe) fe 403 drivers/media/tuners/tda9887.c struct tda9887_priv *priv = fe->analog_demod_priv; fe 443 drivers/media/tuners/tda9887.c static int tda9887_set_insmod(struct dvb_frontend *fe) fe 445 drivers/media/tuners/tda9887.c struct tda9887_priv *priv = fe->analog_demod_priv; fe 475 drivers/media/tuners/tda9887.c static int tda9887_do_config(struct dvb_frontend *fe) fe 477 drivers/media/tuners/tda9887.c struct tda9887_priv *priv = fe->analog_demod_priv; fe 534 drivers/media/tuners/tda9887.c static int tda9887_status(struct dvb_frontend *fe) fe 536 drivers/media/tuners/tda9887.c struct tda9887_priv *priv = fe->analog_demod_priv; fe 543 drivers/media/tuners/tda9887.c dump_read_message(fe, buf); fe 547 drivers/media/tuners/tda9887.c static void tda9887_configure(struct dvb_frontend *fe) fe 549 drivers/media/tuners/tda9887.c struct tda9887_priv *priv = fe->analog_demod_priv; fe 553 drivers/media/tuners/tda9887.c tda9887_set_tvnorm(fe); fe 571 drivers/media/tuners/tda9887.c tda9887_do_config(fe); fe 572 drivers/media/tuners/tda9887.c tda9887_set_insmod(fe); fe 580 drivers/media/tuners/tda9887.c dump_write_message(fe, priv->data); fe 587 drivers/media/tuners/tda9887.c tda9887_status(fe); fe 593 drivers/media/tuners/tda9887.c static void tda9887_tuner_status(struct dvb_frontend *fe) fe 595 drivers/media/tuners/tda9887.c struct tda9887_priv *priv = fe->analog_demod_priv; fe 600 drivers/media/tuners/tda9887.c static int tda9887_get_afc(struct dvb_frontend *fe, s32 *afc) fe 602 drivers/media/tuners/tda9887.c struct tda9887_priv *priv = fe->analog_demod_priv; fe 618 drivers/media/tuners/tda9887.c static void tda9887_standby(struct dvb_frontend *fe) fe 620 drivers/media/tuners/tda9887.c struct tda9887_priv *priv = fe->analog_demod_priv; fe 624 drivers/media/tuners/tda9887.c tda9887_configure(fe); fe 627 drivers/media/tuners/tda9887.c static void tda9887_set_params(struct dvb_frontend *fe, fe 630 drivers/media/tuners/tda9887.c struct tda9887_priv *priv = fe->analog_demod_priv; fe 636 drivers/media/tuners/tda9887.c tda9887_configure(fe); fe 639 drivers/media/tuners/tda9887.c static int tda9887_set_config(struct dvb_frontend *fe, void *priv_cfg) fe 641 drivers/media/tuners/tda9887.c struct tda9887_priv *priv = fe->analog_demod_priv; fe 644 drivers/media/tuners/tda9887.c tda9887_configure(fe); fe 649 drivers/media/tuners/tda9887.c static void tda9887_release(struct dvb_frontend *fe) fe 651 drivers/media/tuners/tda9887.c struct tda9887_priv *priv = fe->analog_demod_priv; fe 660 drivers/media/tuners/tda9887.c fe->analog_demod_priv = NULL; fe 675 drivers/media/tuners/tda9887.c struct dvb_frontend *tda9887_attach(struct dvb_frontend *fe, fe 692 drivers/media/tuners/tda9887.c fe->analog_demod_priv = priv; fe 697 drivers/media/tuners/tda9887.c fe->analog_demod_priv = priv; fe 703 drivers/media/tuners/tda9887.c memcpy(&fe->ops.analog_ops, &tda9887_ops, fe 706 drivers/media/tuners/tda9887.c return fe; fe 13 drivers/media/tuners/tda9887.h extern struct dvb_frontend *tda9887_attach(struct dvb_frontend *fe, fe 17 drivers/media/tuners/tda9887.h static inline struct dvb_frontend *tda9887_attach(struct dvb_frontend *fe, fe 136 drivers/media/tuners/tea5761.c static int __set_radio_freq(struct dvb_frontend *fe, fe 140 drivers/media/tuners/tea5761.c struct tea5761_priv *priv = fe->tuner_priv; fe 178 drivers/media/tuners/tea5761.c static int set_radio_freq(struct dvb_frontend *fe, fe 181 drivers/media/tuners/tea5761.c struct tea5761_priv *priv = fe->analog_demod_priv; fe 185 drivers/media/tuners/tea5761.c return __set_radio_freq(fe, params->frequency, fe 189 drivers/media/tuners/tea5761.c static int set_radio_sleep(struct dvb_frontend *fe) fe 191 drivers/media/tuners/tea5761.c struct tea5761_priv *priv = fe->analog_demod_priv; fe 195 drivers/media/tuners/tea5761.c return __set_radio_freq(fe, priv->frequency, false); fe 198 drivers/media/tuners/tea5761.c static int tea5761_read_status(struct dvb_frontend *fe, char *buffer) fe 200 drivers/media/tuners/tea5761.c struct tea5761_priv *priv = fe->tuner_priv; fe 212 drivers/media/tuners/tea5761.c static inline int tea5761_signal(struct dvb_frontend *fe, const char *buffer) fe 214 drivers/media/tuners/tea5761.c struct tea5761_priv *priv = fe->tuner_priv; fe 223 drivers/media/tuners/tea5761.c static inline int tea5761_stereo(struct dvb_frontend *fe, const char *buffer) fe 225 drivers/media/tuners/tea5761.c struct tea5761_priv *priv = fe->tuner_priv; fe 234 drivers/media/tuners/tea5761.c static int tea5761_get_status(struct dvb_frontend *fe, u32 *status) fe 240 drivers/media/tuners/tea5761.c if (0 == tea5761_read_status(fe, buffer)) { fe 241 drivers/media/tuners/tea5761.c if (tea5761_signal(fe, buffer)) fe 243 drivers/media/tuners/tea5761.c if (tea5761_stereo(fe, buffer)) fe 250 drivers/media/tuners/tea5761.c static int tea5761_get_rf_strength(struct dvb_frontend *fe, u16 *strength) fe 256 drivers/media/tuners/tea5761.c if (0 == tea5761_read_status(fe, buffer)) fe 257 drivers/media/tuners/tea5761.c *strength = tea5761_signal(fe, buffer); fe 284 drivers/media/tuners/tea5761.c static void tea5761_release(struct dvb_frontend *fe) fe 286 drivers/media/tuners/tea5761.c kfree(fe->tuner_priv); fe 287 drivers/media/tuners/tea5761.c fe->tuner_priv = NULL; fe 290 drivers/media/tuners/tea5761.c static int tea5761_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 292 drivers/media/tuners/tea5761.c struct tea5761_priv *priv = fe->tuner_priv; fe 309 drivers/media/tuners/tea5761.c struct dvb_frontend *tea5761_attach(struct dvb_frontend *fe, fe 321 drivers/media/tuners/tea5761.c fe->tuner_priv = priv; fe 327 drivers/media/tuners/tea5761.c memcpy(&fe->ops.tuner_ops, &tea5761_tuner_ops, fe 332 drivers/media/tuners/tea5761.c return fe; fe 14 drivers/media/tuners/tea5761.h extern struct dvb_frontend *tea5761_attach(struct dvb_frontend *fe, fe 26 drivers/media/tuners/tea5761.h static inline struct dvb_frontend *tea5761_attach(struct dvb_frontend *fe, fe 187 drivers/media/tuners/tea5767.c static int set_radio_freq(struct dvb_frontend *fe, fe 190 drivers/media/tuners/tea5767.c struct tea5767_priv *priv = fe->tuner_priv; fe 284 drivers/media/tuners/tea5767.c static int tea5767_read_status(struct dvb_frontend *fe, char *buffer) fe 286 drivers/media/tuners/tea5767.c struct tea5767_priv *priv = fe->tuner_priv; fe 298 drivers/media/tuners/tea5767.c static inline int tea5767_signal(struct dvb_frontend *fe, const char *buffer) fe 300 drivers/media/tuners/tea5767.c struct tea5767_priv *priv = fe->tuner_priv; fe 309 drivers/media/tuners/tea5767.c static inline int tea5767_stereo(struct dvb_frontend *fe, const char *buffer) fe 311 drivers/media/tuners/tea5767.c struct tea5767_priv *priv = fe->tuner_priv; fe 320 drivers/media/tuners/tea5767.c static int tea5767_get_status(struct dvb_frontend *fe, u32 *status) fe 326 drivers/media/tuners/tea5767.c if (0 == tea5767_read_status(fe, buffer)) { fe 327 drivers/media/tuners/tea5767.c if (tea5767_signal(fe, buffer)) fe 329 drivers/media/tuners/tea5767.c if (tea5767_stereo(fe, buffer)) fe 336 drivers/media/tuners/tea5767.c static int tea5767_get_rf_strength(struct dvb_frontend *fe, u16 *strength) fe 342 drivers/media/tuners/tea5767.c if (0 == tea5767_read_status(fe, buffer)) fe 343 drivers/media/tuners/tea5767.c *strength = tea5767_signal(fe, buffer); fe 348 drivers/media/tuners/tea5767.c static int tea5767_standby(struct dvb_frontend *fe) fe 351 drivers/media/tuners/tea5767.c struct tea5767_priv *priv = fe->tuner_priv; fe 401 drivers/media/tuners/tea5767.c static void tea5767_release(struct dvb_frontend *fe) fe 403 drivers/media/tuners/tea5767.c kfree(fe->tuner_priv); fe 404 drivers/media/tuners/tea5767.c fe->tuner_priv = NULL; fe 407 drivers/media/tuners/tea5767.c static int tea5767_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 409 drivers/media/tuners/tea5767.c struct tea5767_priv *priv = fe->tuner_priv; fe 415 drivers/media/tuners/tea5767.c static int tea5767_set_config (struct dvb_frontend *fe, void *priv_cfg) fe 417 drivers/media/tuners/tea5767.c struct tea5767_priv *priv = fe->tuner_priv; fe 438 drivers/media/tuners/tea5767.c struct dvb_frontend *tea5767_attach(struct dvb_frontend *fe, fe 447 drivers/media/tuners/tea5767.c fe->tuner_priv = priv; fe 460 drivers/media/tuners/tea5767.c memcpy(&fe->ops.tuner_ops, &tea5767_tuner_ops, fe 465 drivers/media/tuners/tea5767.c return fe; fe 33 drivers/media/tuners/tea5767.h extern struct dvb_frontend *tea5767_attach(struct dvb_frontend *fe, fe 45 drivers/media/tuners/tea5767.h static inline struct dvb_frontend *tea5767_attach(struct dvb_frontend *fe, fe 10 drivers/media/tuners/tua9001.c static int tua9001_init(struct dvb_frontend *fe) fe 12 drivers/media/tuners/tua9001.c struct tua9001_dev *dev = fe->tuner_priv; fe 35 drivers/media/tuners/tua9001.c if (fe->callback) { fe 36 drivers/media/tuners/tua9001.c ret = fe->callback(client->adapter, fe 54 drivers/media/tuners/tua9001.c static int tua9001_sleep(struct dvb_frontend *fe) fe 56 drivers/media/tuners/tua9001.c struct tua9001_dev *dev = fe->tuner_priv; fe 62 drivers/media/tuners/tua9001.c if (fe->callback) { fe 63 drivers/media/tuners/tua9001.c ret = fe->callback(client->adapter, fe 75 drivers/media/tuners/tua9001.c static int tua9001_set_params(struct dvb_frontend *fe) fe 77 drivers/media/tuners/tua9001.c struct tua9001_dev *dev = fe->tuner_priv; fe 79 drivers/media/tuners/tua9001.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 118 drivers/media/tuners/tua9001.c if (fe->callback) { fe 119 drivers/media/tuners/tua9001.c ret = fe->callback(client->adapter, fe 132 drivers/media/tuners/tua9001.c if (fe->callback) { fe 133 drivers/media/tuners/tua9001.c ret = fe->callback(client->adapter, fe 145 drivers/media/tuners/tua9001.c static int tua9001_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) fe 147 drivers/media/tuners/tua9001.c struct tua9001_dev *dev = fe->tuner_priv; fe 175 drivers/media/tuners/tua9001.c struct dvb_frontend *fe = pdata->dvb_frontend; fe 188 drivers/media/tuners/tua9001.c dev->fe = pdata->dvb_frontend; fe 196 drivers/media/tuners/tua9001.c if (fe->callback) { fe 197 drivers/media/tuners/tua9001.c ret = fe->callback(client->adapter, fe 203 drivers/media/tuners/tua9001.c ret = fe->callback(client->adapter, fe 209 drivers/media/tuners/tua9001.c ret = fe->callback(client->adapter, fe 216 drivers/media/tuners/tua9001.c fe->tuner_priv = dev; fe 217 drivers/media/tuners/tua9001.c memcpy(&fe->ops.tuner_ops, &tua9001_tuner_ops, fe 233 drivers/media/tuners/tua9001.c struct dvb_frontend *fe = dev->fe; fe 238 drivers/media/tuners/tua9001.c if (fe->callback) { fe 239 drivers/media/tuners/tua9001.c ret = fe->callback(client->adapter, fe 21 drivers/media/tuners/tua9001_priv.h struct dvb_frontend *fe; fe 124 drivers/media/tuners/tuner-simple.c static int tuner_read_status(struct dvb_frontend *fe) fe 126 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 167 drivers/media/tuners/tuner-simple.c static int simple_get_status(struct dvb_frontend *fe, u32 *status) fe 169 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 175 drivers/media/tuners/tuner-simple.c tuner_status = tuner_read_status(fe); fe 189 drivers/media/tuners/tuner-simple.c static int simple_get_rf_strength(struct dvb_frontend *fe, u16 *strength) fe 191 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 197 drivers/media/tuners/tuner-simple.c signal = tuner_signal(tuner_read_status(fe)); fe 235 drivers/media/tuners/tuner-simple.c static struct tuner_params *simple_tuner_params(struct dvb_frontend *fe, fe 238 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 259 drivers/media/tuners/tuner-simple.c static int simple_config_lookup(struct dvb_frontend *fe, fe 263 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 288 drivers/media/tuners/tuner-simple.c static void simple_set_rf_input(struct dvb_frontend *fe, fe 291 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 319 drivers/media/tuners/tuner-simple.c static int simple_std_setup(struct dvb_frontend *fe, fe 323 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 417 drivers/media/tuners/tuner-simple.c simple_set_rf_input(fe, config, cb, atv_input[priv->nr]); fe 422 drivers/media/tuners/tuner-simple.c static int simple_set_aux_byte(struct dvb_frontend *fe, u8 config, u8 aux) fe 424 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 440 drivers/media/tuners/tuner-simple.c static int simple_post_tune(struct dvb_frontend *fe, u8 *buffer, fe 443 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 448 drivers/media/tuners/tuner-simple.c simple_set_aux_byte(fe, config, 0x20); fe 451 drivers/media/tuners/tuner-simple.c simple_set_aux_byte(fe, config, 0x60); /* External AGC */ fe 495 drivers/media/tuners/tuner-simple.c static int simple_radio_bandswitch(struct dvb_frontend *fe, u8 *buffer) fe 497 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 543 drivers/media/tuners/tuner-simple.c static int simple_set_tv_freq(struct dvb_frontend *fe, fe 546 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 581 drivers/media/tuners/tuner-simple.c t_params = simple_tuner_params(fe, desired_type); fe 583 drivers/media/tuners/tuner-simple.c i = simple_config_lookup(fe, t_params, ¶ms->frequency, fe 594 drivers/media/tuners/tuner-simple.c simple_std_setup(fe, params, &config, &cb); fe 659 drivers/media/tuners/tuner-simple.c simple_post_tune(fe, &buffer[0], div, config, cb); fe 664 drivers/media/tuners/tuner-simple.c static int simple_set_radio_freq(struct dvb_frontend *fe, fe 668 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 705 drivers/media/tuners/tuner-simple.c simple_radio_bandswitch(fe, &buffer[0]); fe 768 drivers/media/tuners/tuner-simple.c static int simple_set_params(struct dvb_frontend *fe, fe 771 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 780 drivers/media/tuners/tuner-simple.c ret = simple_set_radio_freq(fe, params); fe 786 drivers/media/tuners/tuner-simple.c ret = simple_set_tv_freq(fe, params); fe 795 drivers/media/tuners/tuner-simple.c static void simple_set_dvb(struct dvb_frontend *fe, u8 *buf, fe 800 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 835 drivers/media/tuners/tuner-simple.c simple_set_rf_input(fe, &buf[2], &buf[3], new_rf); fe 843 drivers/media/tuners/tuner-simple.c static u32 simple_dvb_configure(struct dvb_frontend *fe, u8 *buf, fe 849 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 865 drivers/media/tuners/tuner-simple.c t_params = simple_tuner_params(fe, TUNER_PARAM_TYPE_DIGITAL); fe 866 drivers/media/tuners/tuner-simple.c ret = simple_config_lookup(fe, t_params, &frequency, &config, &cb); fe 878 drivers/media/tuners/tuner-simple.c simple_set_dvb(fe, buf, delsys, freq, bw); fe 887 drivers/media/tuners/tuner-simple.c static int simple_dvb_calc_regs(struct dvb_frontend *fe, fe 890 drivers/media/tuners/tuner-simple.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 893 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 899 drivers/media/tuners/tuner-simple.c frequency = simple_dvb_configure(fe, buf+1, delsys, c->frequency, bw); fe 911 drivers/media/tuners/tuner-simple.c static int simple_dvb_set_params(struct dvb_frontend *fe) fe 913 drivers/media/tuners/tuner-simple.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 917 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 929 drivers/media/tuners/tuner-simple.c frequency = simple_dvb_configure(fe, buf+1, delsys, freq, bw); fe 939 drivers/media/tuners/tuner-simple.c if (fe->ops.analog_ops.standby) fe 940 drivers/media/tuners/tuner-simple.c fe->ops.analog_ops.standby(fe); fe 942 drivers/media/tuners/tuner-simple.c if (fe->ops.i2c_gate_ctrl) fe 943 drivers/media/tuners/tuner-simple.c fe->ops.i2c_gate_ctrl(fe, 1); fe 960 drivers/media/tuners/tuner-simple.c static int simple_init(struct dvb_frontend *fe) fe 962 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 970 drivers/media/tuners/tuner-simple.c if (fe->ops.i2c_gate_ctrl) fe 971 drivers/media/tuners/tuner-simple.c fe->ops.i2c_gate_ctrl(fe, 1); fe 983 drivers/media/tuners/tuner-simple.c static int simple_sleep(struct dvb_frontend *fe) fe 985 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 993 drivers/media/tuners/tuner-simple.c if (fe->ops.i2c_gate_ctrl) fe 994 drivers/media/tuners/tuner-simple.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1006 drivers/media/tuners/tuner-simple.c static void simple_release(struct dvb_frontend *fe) fe 1008 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 1017 drivers/media/tuners/tuner-simple.c fe->tuner_priv = NULL; fe 1020 drivers/media/tuners/tuner-simple.c static int simple_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 1022 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 1027 drivers/media/tuners/tuner-simple.c static int simple_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) fe 1029 drivers/media/tuners/tuner-simple.c struct tuner_simple_priv *priv = fe->tuner_priv; fe 1047 drivers/media/tuners/tuner-simple.c struct dvb_frontend *simple_tuner_attach(struct dvb_frontend *fe, fe 1072 drivers/media/tuners/tuner-simple.c if (fe->ops.i2c_gate_ctrl) fe 1073 drivers/media/tuners/tuner-simple.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1080 drivers/media/tuners/tuner-simple.c if (fe->ops.i2c_gate_ctrl) fe 1081 drivers/media/tuners/tuner-simple.c fe->ops.i2c_gate_ctrl(fe, 0); fe 1095 drivers/media/tuners/tuner-simple.c fe->tuner_priv = priv; fe 1102 drivers/media/tuners/tuner-simple.c fe->tuner_priv = priv; fe 1108 drivers/media/tuners/tuner-simple.c memcpy(&fe->ops.tuner_ops, &simple_tuner_ops, fe 1134 drivers/media/tuners/tuner-simple.c strscpy(fe->ops.tuner_ops.info.name, priv->tun->name, fe 1135 drivers/media/tuners/tuner-simple.c sizeof(fe->ops.tuner_ops.info.name)); fe 1137 drivers/media/tuners/tuner-simple.c return fe; fe 12 drivers/media/tuners/tuner-simple.h extern struct dvb_frontend *simple_tuner_attach(struct dvb_frontend *fe, fe 17 drivers/media/tuners/tuner-simple.h static inline struct dvb_frontend *simple_tuner_attach(struct dvb_frontend *fe, fe 301 drivers/media/tuners/tuner-xc2028.c static int load_all_firmwares(struct dvb_frontend *fe, fe 304 drivers/media/tuners/tuner-xc2028.c struct xc2028_data *priv = fe->tuner_priv; fe 431 drivers/media/tuners/tuner-xc2028.c static int seek_firmware(struct dvb_frontend *fe, unsigned int type, fe 434 drivers/media/tuners/tuner-xc2028.c struct xc2028_data *priv = fe->tuner_priv; fe 525 drivers/media/tuners/tuner-xc2028.c static inline int do_tuner_callback(struct dvb_frontend *fe, int cmd, int arg) fe 527 drivers/media/tuners/tuner-xc2028.c struct xc2028_data *priv = fe->tuner_priv; fe 536 drivers/media/tuners/tuner-xc2028.c return (!fe->callback) ? -EINVAL : fe 537 drivers/media/tuners/tuner-xc2028.c fe->callback(((fe->dvb) && (fe->dvb->priv)) ? fe 538 drivers/media/tuners/tuner-xc2028.c fe->dvb->priv : priv->i2c_props.adap->algo_data, fe 542 drivers/media/tuners/tuner-xc2028.c static int load_firmware(struct dvb_frontend *fe, unsigned int type, fe 545 drivers/media/tuners/tuner-xc2028.c struct xc2028_data *priv = fe->tuner_priv; fe 554 drivers/media/tuners/tuner-xc2028.c pos = seek_firmware(fe, type, id); fe 583 drivers/media/tuners/tuner-xc2028.c rc = do_tuner_callback(fe, XC2028_TUNER_RESET, 0); fe 594 drivers/media/tuners/tuner-xc2028.c rc = do_tuner_callback(fe, XC2028_RESET_CLK, 0); fe 644 drivers/media/tuners/tuner-xc2028.c rc = do_tuner_callback(fe, XC2028_I2C_FLUSH, 0); fe 653 drivers/media/tuners/tuner-xc2028.c static int load_scode(struct dvb_frontend *fe, unsigned int type, fe 656 drivers/media/tuners/tuner-xc2028.c struct xc2028_data *priv = fe->tuner_priv; fe 663 drivers/media/tuners/tuner-xc2028.c pos = seek_firmware(fe, type, id); fe 715 drivers/media/tuners/tuner-xc2028.c static int xc2028_sleep(struct dvb_frontend *fe); fe 717 drivers/media/tuners/tuner-xc2028.c static int check_firmware(struct dvb_frontend *fe, unsigned int type, fe 720 drivers/media/tuners/tuner-xc2028.c struct xc2028_data *priv = fe->tuner_priv; fe 772 drivers/media/tuners/tuner-xc2028.c rc = do_tuner_callback(fe, XC2028_TUNER_RESET, 0); fe 778 drivers/media/tuners/tuner-xc2028.c rc = load_firmware(fe, BASE | new_fw.type, &std0); fe 788 drivers/media/tuners/tuner-xc2028.c rc = load_firmware(fe, BASE | INIT1 | new_fw.type, &std0); fe 790 drivers/media/tuners/tuner-xc2028.c rc = load_firmware(fe, (BASE | INIT1 | new_fw.type) & ~F8MHZ, fe 812 drivers/media/tuners/tuner-xc2028.c rc = load_firmware(fe, new_fw.type, &new_fw.id); fe 814 drivers/media/tuners/tuner-xc2028.c rc = load_firmware(fe, new_fw.type & ~F8MHZ, &new_fw.id); fe 832 drivers/media/tuners/tuner-xc2028.c rc = load_scode(fe, new_fw.type | new_fw.scode_table, &new_fw.id, fe 896 drivers/media/tuners/tuner-xc2028.c xc2028_sleep(fe); fe 903 drivers/media/tuners/tuner-xc2028.c static int xc2028_signal(struct dvb_frontend *fe, u16 *strength) fe 905 drivers/media/tuners/tuner-xc2028.c struct xc2028_data *priv = fe->tuner_priv; fe 957 drivers/media/tuners/tuner-xc2028.c static int xc2028_get_afc(struct dvb_frontend *fe, s32 *afc) fe 959 drivers/media/tuners/tuner-xc2028.c struct xc2028_data *priv = fe->tuner_priv; fe 1008 drivers/media/tuners/tuner-xc2028.c static int generic_set_freq(struct dvb_frontend *fe, u32 freq /* in HZ */, fe 1014 drivers/media/tuners/tuner-xc2028.c struct xc2028_data *priv = fe->tuner_priv; fe 1025 drivers/media/tuners/tuner-xc2028.c if (check_firmware(fe, type, std, int_freq) < 0) fe 1130 drivers/media/tuners/tuner-xc2028.c do_tuner_callback(fe, XC2028_RESET_CLK, 1); fe 1157 drivers/media/tuners/tuner-xc2028.c static int xc2028_set_analog_freq(struct dvb_frontend *fe, fe 1160 drivers/media/tuners/tuner-xc2028.c struct xc2028_data *priv = fe->tuner_priv; fe 1169 drivers/media/tuners/tuner-xc2028.c return generic_set_freq(fe, (625l * p->frequency) / 10, fe 1184 drivers/media/tuners/tuner-xc2028.c return generic_set_freq(fe, 62500l * p->frequency, fe 1188 drivers/media/tuners/tuner-xc2028.c static int xc2028_set_params(struct dvb_frontend *fe) fe 1190 drivers/media/tuners/tuner-xc2028.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1193 drivers/media/tuners/tuner-xc2028.c struct xc2028_data *priv = fe->tuner_priv; fe 1282 drivers/media/tuners/tuner-xc2028.c return generic_set_freq(fe, c->frequency, fe 1286 drivers/media/tuners/tuner-xc2028.c static int xc2028_sleep(struct dvb_frontend *fe) fe 1288 drivers/media/tuners/tuner-xc2028.c struct xc2028_data *priv = fe->tuner_priv; fe 1324 drivers/media/tuners/tuner-xc2028.c static void xc2028_dvb_release(struct dvb_frontend *fe) fe 1326 drivers/media/tuners/tuner-xc2028.c struct xc2028_data *priv = fe->tuner_priv; fe 1341 drivers/media/tuners/tuner-xc2028.c fe->tuner_priv = NULL; fe 1344 drivers/media/tuners/tuner-xc2028.c static int xc2028_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 1346 drivers/media/tuners/tuner-xc2028.c struct xc2028_data *priv = fe->tuner_priv; fe 1363 drivers/media/tuners/tuner-xc2028.c struct dvb_frontend *fe = context; fe 1364 drivers/media/tuners/tuner-xc2028.c struct xc2028_data *priv = fe->tuner_priv; fe 1374 drivers/media/tuners/tuner-xc2028.c rc = load_all_firmwares(fe, fw); fe 1383 drivers/media/tuners/tuner-xc2028.c static int xc2028_set_config(struct dvb_frontend *fe, void *priv_cfg) fe 1385 drivers/media/tuners/tuner-xc2028.c struct xc2028_data *priv = fe->tuner_priv; fe 1424 drivers/media/tuners/tuner-xc2028.c fe, load_firmware_cb); fe 1456 drivers/media/tuners/tuner-xc2028.c struct dvb_frontend *xc2028_attach(struct dvb_frontend *fe, fe 1468 drivers/media/tuners/tuner-xc2028.c if (!fe) { fe 1489 drivers/media/tuners/tuner-xc2028.c fe->tuner_priv = priv; fe 1493 drivers/media/tuners/tuner-xc2028.c fe->tuner_priv = priv; fe 1497 drivers/media/tuners/tuner-xc2028.c memcpy(&fe->ops.tuner_ops, &xc2028_dvb_tuner_ops, fe 1503 drivers/media/tuners/tuner-xc2028.c xc2028_set_config(fe, cfg->ctrl); fe 1507 drivers/media/tuners/tuner-xc2028.c return fe; fe 1511 drivers/media/tuners/tuner-xc2028.c xc2028_dvb_release(fe); fe 61 drivers/media/tuners/tuner-xc2028.h extern struct dvb_frontend *xc2028_attach(struct dvb_frontend *fe, fe 64 drivers/media/tuners/tuner-xc2028.h static inline struct dvb_frontend *xc2028_attach(struct dvb_frontend *fe, fe 238 drivers/media/tuners/xc4000.c static int xc4000_tuner_reset(struct dvb_frontend *fe); fe 258 drivers/media/tuners/xc4000.c static int xc4000_tuner_reset(struct dvb_frontend *fe) fe 260 drivers/media/tuners/xc4000.c struct xc4000_priv *priv = fe->tuner_priv; fe 265 drivers/media/tuners/xc4000.c if (fe->callback) { fe 266 drivers/media/tuners/xc4000.c ret = fe->callback(((fe->dvb) && (fe->dvb->priv)) ? fe 267 drivers/media/tuners/xc4000.c fe->dvb->priv : fe 296 drivers/media/tuners/xc4000.c static int xc_load_i2c_sequence(struct dvb_frontend *fe, const u8 *i2c_sequence) fe 298 drivers/media/tuners/xc4000.c struct xc4000_priv *priv = fe->tuner_priv; fe 618 drivers/media/tuners/xc4000.c static int seek_firmware(struct dvb_frontend *fe, unsigned int type, fe 621 drivers/media/tuners/xc4000.c struct xc4000_priv *priv = fe->tuner_priv; fe 682 drivers/media/tuners/xc4000.c static int load_firmware(struct dvb_frontend *fe, unsigned int type, fe 685 drivers/media/tuners/xc4000.c struct xc4000_priv *priv = fe->tuner_priv; fe 689 drivers/media/tuners/xc4000.c pos = seek_firmware(fe, type, id); fe 698 drivers/media/tuners/xc4000.c rc = xc_load_i2c_sequence(fe, p); fe 705 drivers/media/tuners/xc4000.c static int xc4000_fwupload(struct dvb_frontend *fe) fe 707 drivers/media/tuners/xc4000.c struct xc4000_priv *priv = fe->tuner_priv; fe 858 drivers/media/tuners/xc4000.c static int load_scode(struct dvb_frontend *fe, unsigned int type, fe 861 drivers/media/tuners/xc4000.c struct xc4000_priv *priv = fe->tuner_priv; fe 870 drivers/media/tuners/xc4000.c pos = seek_firmware(fe, type, id); fe 923 drivers/media/tuners/xc4000.c static int check_firmware(struct dvb_frontend *fe, unsigned int type, fe 926 drivers/media/tuners/xc4000.c struct xc4000_priv *priv = fe->tuner_priv; fe 936 drivers/media/tuners/xc4000.c rc = xc4000_fwupload(fe); fe 971 drivers/media/tuners/xc4000.c rc = xc4000_tuner_reset(fe); fe 977 drivers/media/tuners/xc4000.c rc = load_firmware(fe, BASE, &std0); fe 986 drivers/media/tuners/xc4000.c rc = load_firmware(fe, BASE | INIT1, &std0); fe 988 drivers/media/tuners/xc4000.c rc = load_firmware(fe, BASE | INIT1, &std0); fe 1010 drivers/media/tuners/xc4000.c rc = load_firmware(fe, new_fw.type, &new_fw.id); fe 1023 drivers/media/tuners/xc4000.c rc = load_scode(fe, new_fw.type | new_fw.scode_table, &new_fw.id, fe 1138 drivers/media/tuners/xc4000.c static int xc4000_set_params(struct dvb_frontend *fe) fe 1140 drivers/media/tuners/xc4000.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 1143 drivers/media/tuners/xc4000.c struct xc4000_priv *priv = fe->tuner_priv; fe 1204 drivers/media/tuners/xc4000.c if (check_firmware(fe, type, 0, priv->if_khz) != 0) fe 1256 drivers/media/tuners/xc4000.c static int xc4000_set_analog_params(struct dvb_frontend *fe, fe 1259 drivers/media/tuners/xc4000.c struct xc4000_priv *priv = fe->tuner_priv; fe 1398 drivers/media/tuners/xc4000.c if (check_firmware(fe, type, params->std, fe 1451 drivers/media/tuners/xc4000.c static int xc4000_get_signal(struct dvb_frontend *fe, u16 *strength) fe 1453 drivers/media/tuners/xc4000.c struct xc4000_priv *priv = fe->tuner_priv; fe 1516 drivers/media/tuners/xc4000.c static int xc4000_get_frequency(struct dvb_frontend *fe, u32 *freq) fe 1518 drivers/media/tuners/xc4000.c struct xc4000_priv *priv = fe->tuner_priv; fe 1542 drivers/media/tuners/xc4000.c static int xc4000_get_bandwidth(struct dvb_frontend *fe, u32 *bw) fe 1544 drivers/media/tuners/xc4000.c struct xc4000_priv *priv = fe->tuner_priv; fe 1551 drivers/media/tuners/xc4000.c static int xc4000_get_status(struct dvb_frontend *fe, u32 *status) fe 1553 drivers/media/tuners/xc4000.c struct xc4000_priv *priv = fe->tuner_priv; fe 1573 drivers/media/tuners/xc4000.c static int xc4000_sleep(struct dvb_frontend *fe) fe 1575 drivers/media/tuners/xc4000.c struct xc4000_priv *priv = fe->tuner_priv; fe 1603 drivers/media/tuners/xc4000.c static int xc4000_init(struct dvb_frontend *fe) fe 1610 drivers/media/tuners/xc4000.c static void xc4000_release(struct dvb_frontend *fe) fe 1612 drivers/media/tuners/xc4000.c struct xc4000_priv *priv = fe->tuner_priv; fe 1623 drivers/media/tuners/xc4000.c fe->tuner_priv = NULL; fe 1646 drivers/media/tuners/xc4000.c struct dvb_frontend *xc4000_attach(struct dvb_frontend *fe, fe 1675 drivers/media/tuners/xc4000.c fe->tuner_priv = priv; fe 1679 drivers/media/tuners/xc4000.c fe->tuner_priv = priv; fe 1728 drivers/media/tuners/xc4000.c memcpy(&fe->ops.tuner_ops, &xc4000_tuner_ops, fe 1734 drivers/media/tuners/xc4000.c ret = xc4000_fwupload(fe); fe 1740 drivers/media/tuners/xc4000.c return fe; fe 1744 drivers/media/tuners/xc4000.c xc4000_release(fe); fe 40 drivers/media/tuners/xc4000.h extern struct dvb_frontend *xc4000_attach(struct dvb_frontend *fe, fe 44 drivers/media/tuners/xc4000.h static inline struct dvb_frontend *xc4000_attach(struct dvb_frontend *fe, fe 58 drivers/media/tuners/xc5000.c struct dvb_frontend *fe; fe 239 drivers/media/tuners/xc5000.c static int xc_load_fw_and_init_tuner(struct dvb_frontend *fe, int force); fe 240 drivers/media/tuners/xc5000.c static int xc5000_is_firmware_loaded(struct dvb_frontend *fe); fe 242 drivers/media/tuners/xc5000.c static int xc5000_tuner_reset(struct dvb_frontend *fe); fe 293 drivers/media/tuners/xc5000.c static int xc5000_tuner_reset(struct dvb_frontend *fe) fe 295 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 300 drivers/media/tuners/xc5000.c if (fe->callback) { fe 301 drivers/media/tuners/xc5000.c ret = fe->callback(((fe->dvb) && (fe->dvb->priv)) ? fe 302 drivers/media/tuners/xc5000.c fe->dvb->priv : fe 349 drivers/media/tuners/xc5000.c static int xc_load_i2c_sequence(struct dvb_frontend *fe, const u8 *i2c_sequence) fe 351 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 363 drivers/media/tuners/xc5000.c result = xc5000_tuner_reset(fe); fe 570 drivers/media/tuners/xc5000.c static int xc_set_xtal(struct dvb_frontend *fe) fe 572 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 596 drivers/media/tuners/xc5000.c static int xc5000_fwupload(struct dvb_frontend *fe, fe 600 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 613 drivers/media/tuners/xc5000.c ret = xc_load_i2c_sequence(fe, fw->data); fe 615 drivers/media/tuners/xc5000.c ret = xc_set_xtal(fe); fe 683 drivers/media/tuners/xc5000.c static int xc5000_tune_digital(struct dvb_frontend *fe) fe 685 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 687 drivers/media/tuners/xc5000.c u32 bw = fe->dtv_property_cache.bandwidth_hz; fe 726 drivers/media/tuners/xc5000.c static int xc5000_set_digital_params(struct dvb_frontend *fe) fe 729 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 730 drivers/media/tuners/xc5000.c u32 bw = fe->dtv_property_cache.bandwidth_hz; fe 731 drivers/media/tuners/xc5000.c u32 freq = fe->dtv_property_cache.frequency; fe 732 drivers/media/tuners/xc5000.c u32 delsys = fe->dtv_property_cache.delivery_system; fe 734 drivers/media/tuners/xc5000.c if (xc_load_fw_and_init_tuner(fe, 0) != 0) { fe 814 drivers/media/tuners/xc5000.c return xc5000_tune_digital(fe); fe 817 drivers/media/tuners/xc5000.c static int xc5000_is_firmware_loaded(struct dvb_frontend *fe) fe 819 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 837 drivers/media/tuners/xc5000.c static void xc5000_config_tv(struct dvb_frontend *fe, fe 840 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 897 drivers/media/tuners/xc5000.c static int xc5000_set_tv_freq(struct dvb_frontend *fe) fe 899 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 937 drivers/media/tuners/xc5000.c if (xc_load_fw_and_init_tuner(fe, 1) != 0) { fe 948 drivers/media/tuners/xc5000.c static int xc5000_config_radio(struct dvb_frontend *fe, fe 952 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 968 drivers/media/tuners/xc5000.c static int xc5000_set_radio_freq(struct dvb_frontend *fe) fe 970 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 1013 drivers/media/tuners/xc5000.c static int xc5000_set_params(struct dvb_frontend *fe) fe 1015 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 1017 drivers/media/tuners/xc5000.c if (xc_load_fw_and_init_tuner(fe, 0) != 0) { fe 1024 drivers/media/tuners/xc5000.c return xc5000_set_radio_freq(fe); fe 1026 drivers/media/tuners/xc5000.c return xc5000_set_tv_freq(fe); fe 1028 drivers/media/tuners/xc5000.c return xc5000_tune_digital(fe); fe 1034 drivers/media/tuners/xc5000.c static int xc5000_set_analog_params(struct dvb_frontend *fe, fe 1037 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 1045 drivers/media/tuners/xc5000.c ret = xc5000_config_radio(fe, params); fe 1050 drivers/media/tuners/xc5000.c xc5000_config_tv(fe, params); fe 1057 drivers/media/tuners/xc5000.c return xc5000_set_params(fe); fe 1060 drivers/media/tuners/xc5000.c static int xc5000_get_frequency(struct dvb_frontend *fe, u32 *freq) fe 1062 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 1068 drivers/media/tuners/xc5000.c static int xc5000_get_if_frequency(struct dvb_frontend *fe, u32 *freq) fe 1070 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 1076 drivers/media/tuners/xc5000.c static int xc5000_get_bandwidth(struct dvb_frontend *fe, u32 *bw) fe 1078 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 1085 drivers/media/tuners/xc5000.c static int xc5000_get_status(struct dvb_frontend *fe, u32 *status) fe 1087 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 1099 drivers/media/tuners/xc5000.c static int xc_load_fw_and_init_tuner(struct dvb_frontend *fe, int force) fe 1101 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 1110 drivers/media/tuners/xc5000.c if (!force && xc5000_is_firmware_loaded(fe) == 0) fe 1136 drivers/media/tuners/xc5000.c ret = xc5000_fwupload(fe, desired_fw, fw); fe 1220 drivers/media/tuners/xc5000.c struct dvb_frontend *fe = priv->fe; fe 1228 drivers/media/tuners/xc5000.c ret = xc5000_tuner_reset(fe); fe 1235 drivers/media/tuners/xc5000.c static int xc5000_sleep(struct dvb_frontend *fe) fe 1237 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 1251 drivers/media/tuners/xc5000.c static int xc5000_suspend(struct dvb_frontend *fe) fe 1253 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 1260 drivers/media/tuners/xc5000.c ret = xc5000_tuner_reset(fe); fe 1269 drivers/media/tuners/xc5000.c static int xc5000_resume(struct dvb_frontend *fe) fe 1271 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 1280 drivers/media/tuners/xc5000.c return xc5000_set_params(fe); fe 1283 drivers/media/tuners/xc5000.c static int xc5000_init(struct dvb_frontend *fe) fe 1285 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 1288 drivers/media/tuners/xc5000.c if (xc_load_fw_and_init_tuner(fe, 0) != 0) { fe 1299 drivers/media/tuners/xc5000.c static void xc5000_release(struct dvb_frontend *fe) fe 1301 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 1318 drivers/media/tuners/xc5000.c fe->tuner_priv = NULL; fe 1321 drivers/media/tuners/xc5000.c static int xc5000_set_config(struct dvb_frontend *fe, void *priv_cfg) fe 1323 drivers/media/tuners/xc5000.c struct xc5000_priv *priv = fe->tuner_priv; fe 1364 drivers/media/tuners/xc5000.c struct dvb_frontend *xc5000_attach(struct dvb_frontend *fe, fe 1387 drivers/media/tuners/xc5000.c fe->tuner_priv = priv; fe 1388 drivers/media/tuners/xc5000.c priv->fe = fe; fe 1393 drivers/media/tuners/xc5000.c fe->tuner_priv = priv; fe 1453 drivers/media/tuners/xc5000.c memcpy(&fe->ops.tuner_ops, &xc5000_tuner_ops, fe 1456 drivers/media/tuners/xc5000.c return fe; fe 1460 drivers/media/tuners/xc5000.c xc5000_release(fe); fe 47 drivers/media/tuners/xc5000.h extern struct dvb_frontend *xc5000_attach(struct dvb_frontend *fe, fe 51 drivers/media/tuners/xc5000.h static inline struct dvb_frontend *xc5000_attach(struct dvb_frontend *fe, fe 359 drivers/media/usb/au0828/au0828-dvb.c static int au0828_set_frontend(struct dvb_frontend *fe) fe 361 drivers/media/usb/au0828/au0828-dvb.c struct au0828_dev *dev = fe->dvb->priv; fe 382 drivers/media/usb/au0828/au0828-dvb.c ret = dvb->set_frontend(fe); fe 98 drivers/media/usb/au0828/au0828.h int (*set_frontend)(struct dvb_frontend *fe); fe 347 drivers/media/usb/cx231xx/cx231xx-dvb.c static int cx231xx_dvb_bus_ctrl(struct dvb_frontend *fe, int acquire) fe 349 drivers/media/usb/cx231xx/cx231xx-dvb.c struct cx231xx *dev = fe->dvb->priv; fe 373 drivers/media/usb/cx231xx/cx231xx-dvb.c struct dvb_frontend *fe; fe 386 drivers/media/usb/cx231xx/cx231xx-dvb.c fe = dvb_attach(xc5000_attach, dev->dvb->frontend[0], &cfg); fe 387 drivers/media/usb/cx231xx/cx231xx-dvb.c if (!fe) { fe 774 drivers/media/usb/cx231xx/cx231xx-dvb.c si2165_pdata.fe = &dev->dvb->frontend[0]; fe 806 drivers/media/usb/cx231xx/cx231xx-dvb.c si2165_pdata.fe = &dev->dvb->frontend[0]; fe 826 drivers/media/usb/cx231xx/cx231xx-dvb.c si2157_config.fe = dev->dvb->frontend[0]; fe 852 drivers/media/usb/cx231xx/cx231xx-dvb.c lgdt3306a_config.fe = &dev->dvb->frontend[0]; fe 871 drivers/media/usb/cx231xx/cx231xx-dvb.c si2157_config.fe = dev->dvb->frontend[0]; fe 924 drivers/media/usb/cx231xx/cx231xx-dvb.c si2168_config.fe = &dev->dvb->frontend[0]; fe 939 drivers/media/usb/cx231xx/cx231xx-dvb.c si2157_config.fe = dev->dvb->frontend[0]; fe 965 drivers/media/usb/cx231xx/cx231xx-dvb.c mn88473_config.fe = &dev->dvb->frontend[0]; fe 993 drivers/media/usb/cx231xx/cx231xx-dvb.c si2168_config.fe = &dev->dvb->frontend[0]; fe 1012 drivers/media/usb/cx231xx/cx231xx-dvb.c si2157_config.fe = dev->dvb->frontend[0]; fe 1040 drivers/media/usb/cx231xx/cx231xx-dvb.c lgdt3306a_config.fe = &dev->dvb->frontend[0]; fe 1055 drivers/media/usb/cx231xx/cx231xx-dvb.c si2168_config.fe = &dev->dvb->frontend[1]; fe 1075 drivers/media/usb/cx231xx/cx231xx-dvb.c si2157_config.fe = dev->dvb->frontend[0]; fe 537 drivers/media/usb/dvb-usb-v2/af9015.c static int af9015_get_stream_config(struct dvb_frontend *fe, u8 *ts_type, fe 540 drivers/media/usb/dvb-usb-v2/af9015.c struct dvb_usb_device *d = fe_to_d(fe); fe 543 drivers/media/usb/dvb-usb-v2/af9015.c dev_dbg(&intf->dev, "adap %u\n", fe_to_adap(fe)->id); fe 551 drivers/media/usb/dvb-usb-v2/af9015.c static int af9015_streaming_ctrl(struct dvb_frontend *fe, int onoff) fe 553 drivers/media/usb/dvb-usb-v2/af9015.c struct dvb_usb_device *d = fe_to_d(fe); fe 559 drivers/media/usb/dvb-usb-v2/af9015.c const unsigned int adap_id = fe_to_adap(fe)->id; fe 666 drivers/media/usb/dvb-usb-v2/af9015.c static int af9015_af9013_set_frontend(struct dvb_frontend *fe) fe 669 drivers/media/usb/dvb-usb-v2/af9015.c struct af9015_state *state = fe_to_priv(fe); fe 674 drivers/media/usb/dvb-usb-v2/af9015.c ret = state->set_frontend[fe_to_adap(fe)->id](fe); fe 682 drivers/media/usb/dvb-usb-v2/af9015.c static int af9015_af9013_read_status(struct dvb_frontend *fe, fe 686 drivers/media/usb/dvb-usb-v2/af9015.c struct af9015_state *state = fe_to_priv(fe); fe 691 drivers/media/usb/dvb-usb-v2/af9015.c ret = state->read_status[fe_to_adap(fe)->id](fe, status); fe 699 drivers/media/usb/dvb-usb-v2/af9015.c static int af9015_af9013_init(struct dvb_frontend *fe) fe 702 drivers/media/usb/dvb-usb-v2/af9015.c struct af9015_state *state = fe_to_priv(fe); fe 707 drivers/media/usb/dvb-usb-v2/af9015.c ret = state->init[fe_to_adap(fe)->id](fe); fe 715 drivers/media/usb/dvb-usb-v2/af9015.c static int af9015_af9013_sleep(struct dvb_frontend *fe) fe 718 drivers/media/usb/dvb-usb-v2/af9015.c struct af9015_state *state = fe_to_priv(fe); fe 723 drivers/media/usb/dvb-usb-v2/af9015.c ret = state->sleep[fe_to_adap(fe)->id](fe); fe 731 drivers/media/usb/dvb-usb-v2/af9015.c static int af9015_tuner_init(struct dvb_frontend *fe) fe 734 drivers/media/usb/dvb-usb-v2/af9015.c struct af9015_state *state = fe_to_priv(fe); fe 739 drivers/media/usb/dvb-usb-v2/af9015.c ret = state->tuner_init[fe_to_adap(fe)->id](fe); fe 747 drivers/media/usb/dvb-usb-v2/af9015.c static int af9015_tuner_sleep(struct dvb_frontend *fe) fe 750 drivers/media/usb/dvb-usb-v2/af9015.c struct af9015_state *state = fe_to_priv(fe); fe 755 drivers/media/usb/dvb-usb-v2/af9015.c ret = state->tuner_sleep[fe_to_adap(fe)->id](fe); fe 891 drivers/media/usb/dvb-usb-v2/af9015.c adap->fe[0] = state->af9013_pdata[adap->id].get_dvb_frontend(client); fe 901 drivers/media/usb/dvb-usb-v2/af9015.c if (adap->fe[0]) { fe 902 drivers/media/usb/dvb-usb-v2/af9015.c state->set_frontend[adap->id] = adap->fe[0]->ops.set_frontend; fe 903 drivers/media/usb/dvb-usb-v2/af9015.c adap->fe[0]->ops.set_frontend = af9015_af9013_set_frontend; fe 904 drivers/media/usb/dvb-usb-v2/af9015.c state->read_status[adap->id] = adap->fe[0]->ops.read_status; fe 905 drivers/media/usb/dvb-usb-v2/af9015.c adap->fe[0]->ops.read_status = af9015_af9013_read_status; fe 906 drivers/media/usb/dvb-usb-v2/af9015.c state->init[adap->id] = adap->fe[0]->ops.init; fe 907 drivers/media/usb/dvb-usb-v2/af9015.c adap->fe[0]->ops.init = af9015_af9013_init; fe 908 drivers/media/usb/dvb-usb-v2/af9015.c state->sleep[adap->id] = adap->fe[0]->ops.sleep; fe 909 drivers/media/usb/dvb-usb-v2/af9015.c adap->fe[0]->ops.sleep = af9015_af9013_sleep; fe 1014 drivers/media/usb/dvb-usb-v2/af9015.c ret = dvb_attach(mt2060_attach, adap->fe[0], adapter, fe 1020 drivers/media/usb/dvb-usb-v2/af9015.c ret = dvb_attach(qt1010_attach, adap->fe[0], adapter, fe 1024 drivers/media/usb/dvb-usb-v2/af9015.c ret = dvb_attach(tda18271_attach, adap->fe[0], 0x60, adapter, fe 1028 drivers/media/usb/dvb-usb-v2/af9015.c ret = dvb_attach(tda18218_attach, adap->fe[0], adapter, fe 1032 drivers/media/usb/dvb-usb-v2/af9015.c ret = dvb_attach(mxl5005s_attach, adap->fe[0], adapter, fe 1037 drivers/media/usb/dvb-usb-v2/af9015.c ret = dvb_attach(mxl5005s_attach, adap->fe[0], adapter, fe 1041 drivers/media/usb/dvb-usb-v2/af9015.c ret = dvb_attach(dvb_pll_attach, adap->fe[0], 0x60, adapter, fe 1045 drivers/media/usb/dvb-usb-v2/af9015.c ret = dvb_attach(mc44s803_attach, adap->fe[0], adapter, fe 1049 drivers/media/usb/dvb-usb-v2/af9015.c ret = dvb_attach(mxl5007t_attach, adap->fe[0], adapter, fe 1059 drivers/media/usb/dvb-usb-v2/af9015.c if (adap->fe[0]->ops.tuner_ops.init) { fe 1061 drivers/media/usb/dvb-usb-v2/af9015.c adap->fe[0]->ops.tuner_ops.init; fe 1062 drivers/media/usb/dvb-usb-v2/af9015.c adap->fe[0]->ops.tuner_ops.init = af9015_tuner_init; fe 1065 drivers/media/usb/dvb-usb-v2/af9015.c if (adap->fe[0]->ops.tuner_ops.sleep) { fe 1067 drivers/media/usb/dvb-usb-v2/af9015.c adap->fe[0]->ops.tuner_ops.sleep; fe 1068 drivers/media/usb/dvb-usb-v2/af9015.c adap->fe[0]->ops.tuner_ops.sleep = af9015_tuner_sleep; fe 1081 drivers/media/usb/dvb-usb-v2/af9015.c ret = pdata->pid_filter_ctrl(adap->fe[0], onoff); fe 1095 drivers/media/usb/dvb-usb-v2/af9015.c ret = pdata->pid_filter(adap->fe[0], index, pid, onoff); fe 113 drivers/media/usb/dvb-usb-v2/af9015.h int (*set_frontend[2]) (struct dvb_frontend *fe); fe 114 drivers/media/usb/dvb-usb-v2/af9015.h int (*read_status[2]) (struct dvb_frontend *fe, enum fe_status *status); fe 115 drivers/media/usb/dvb-usb-v2/af9015.h int (*init[2]) (struct dvb_frontend *fe); fe 116 drivers/media/usb/dvb-usb-v2/af9015.h int (*sleep[2]) (struct dvb_frontend *fe); fe 117 drivers/media/usb/dvb-usb-v2/af9015.h int (*tuner_init[2]) (struct dvb_frontend *fe); fe 118 drivers/media/usb/dvb-usb-v2/af9015.h int (*tuner_sleep[2]) (struct dvb_frontend *fe); fe 1176 drivers/media/usb/dvb-usb-v2/af9035.c state->af9033_config[adap->id].fe = &adap->fe[0]; fe 1183 drivers/media/usb/dvb-usb-v2/af9035.c if (adap->fe[0] == NULL) { fe 1189 drivers/media/usb/dvb-usb-v2/af9035.c adap->fe[0]->ops.i2c_gate_ctrl = NULL; fe 1190 drivers/media/usb/dvb-usb-v2/af9035.c adap->fe[0]->callback = af9035_frontend_callback; fe 1255 drivers/media/usb/dvb-usb-v2/af9035.c si2168_config.fe = &adap->fe[0]; fe 1258 drivers/media/usb/dvb-usb-v2/af9035.c state->af9033_config[adap->id].fe = &adap->fe[0]; fe 1266 drivers/media/usb/dvb-usb-v2/af9035.c if (adap->fe[0] == NULL) { fe 1346 drivers/media/usb/dvb-usb-v2/af9035.c struct dvb_frontend *fe; fe 1360 drivers/media/usb/dvb-usb-v2/af9035.c .dvb_frontend = adap->fe[0], fe 1391 drivers/media/usb/dvb-usb-v2/af9035.c fe = adap->fe[0]; fe 1395 drivers/media/usb/dvb-usb-v2/af9035.c fe = dvb_attach(fc0011_attach, adap->fe[0], fe 1450 drivers/media/usb/dvb-usb-v2/af9035.c fe = dvb_attach(mxl5007t_attach, adap->fe[0], &d->i2c_adap, fe 1455 drivers/media/usb/dvb-usb-v2/af9035.c fe = dvb_attach(tda18218_attach, adap->fe[0], fe 1460 drivers/media/usb/dvb-usb-v2/af9035.c .dvb_frontend = adap->fe[0], fe 1483 drivers/media/usb/dvb-usb-v2/af9035.c fe = adap->fe[0]; fe 1523 drivers/media/usb/dvb-usb-v2/af9035.c fe = dvb_attach(fc0012_attach, adap->fe[0], &d->i2c_adap, fe 1537 drivers/media/usb/dvb-usb-v2/af9035.c .fe = adap->fe[0], fe 1581 drivers/media/usb/dvb-usb-v2/af9035.c fe = adap->fe[0]; fe 1585 drivers/media/usb/dvb-usb-v2/af9035.c fe = NULL; fe 1588 drivers/media/usb/dvb-usb-v2/af9035.c if (fe == NULL) { fe 1612 drivers/media/usb/dvb-usb-v2/af9035.c si2157_config.fe = adap->fe[0]; fe 1899 drivers/media/usb/dvb-usb-v2/af9035.c static int af9035_get_stream_config(struct dvb_frontend *fe, u8 *ts_type, fe 1902 drivers/media/usb/dvb-usb-v2/af9035.c struct dvb_usb_device *d = fe_to_d(fe); fe 1905 drivers/media/usb/dvb-usb-v2/af9035.c dev_dbg(&intf->dev, "adap=%d\n", fe_to_adap(fe)->id); fe 1917 drivers/media/usb/dvb-usb-v2/af9035.c return state->ops.pid_filter_ctrl(adap->fe[0], onoff); fe 1925 drivers/media/usb/dvb-usb-v2/af9035.c return state->ops.pid_filter(adap->fe[0], index, pid, onoff); fe 170 drivers/media/usb/dvb-usb-v2/anysee.c static int anysee_streaming_ctrl(struct dvb_frontend *fe, int onoff) fe 173 drivers/media/usb/dvb-usb-v2/anysee.c dev_dbg(&fe_to_d(fe)->udev->dev, "%s: onoff=%d\n", __func__, onoff); fe 174 drivers/media/usb/dvb-usb-v2/anysee.c return anysee_ctrl_msg(fe_to_d(fe), buf, sizeof(buf), NULL, 0); fe 252 drivers/media/usb/dvb-usb-v2/anysee.c static int anysee_mt352_demod_init(struct dvb_frontend *fe) fe 261 drivers/media/usb/dvb-usb-v2/anysee.c mt352_write(fe, clock_config, sizeof(clock_config)); fe 263 drivers/media/usb/dvb-usb-v2/anysee.c mt352_write(fe, reset, sizeof(reset)); fe 264 drivers/media/usb/dvb-usb-v2/anysee.c mt352_write(fe, adc_ctl_1_cfg, sizeof(adc_ctl_1_cfg)); fe 266 drivers/media/usb/dvb-usb-v2/anysee.c mt352_write(fe, agc_cfg, sizeof(agc_cfg)); fe 267 drivers/media/usb/dvb-usb-v2/anysee.c mt352_write(fe, gpp_ctl_cfg, sizeof(gpp_ctl_cfg)); fe 268 drivers/media/usb/dvb-usb-v2/anysee.c mt352_write(fe, capt_range_cfg, sizeof(capt_range_cfg)); fe 519 drivers/media/usb/dvb-usb-v2/anysee.c static int anysee_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 522 drivers/media/usb/dvb-usb-v2/anysee.c return anysee_wr_reg_mask(fe_to_d(fe), REG_IOE, (enable << 4), 0x10); fe 525 drivers/media/usb/dvb-usb-v2/anysee.c static int anysee_frontend_ctrl(struct dvb_frontend *fe, int onoff) fe 527 drivers/media/usb/dvb-usb-v2/anysee.c struct anysee_state *state = fe_to_priv(fe); fe 528 drivers/media/usb/dvb-usb-v2/anysee.c struct dvb_usb_device *d = fe_to_d(fe); fe 530 drivers/media/usb/dvb-usb-v2/anysee.c dev_dbg(&d->udev->dev, "%s: fe=%d onoff=%d\n", __func__, fe->id, onoff); fe 541 drivers/media/usb/dvb-usb-v2/anysee.c if (fe->id == 0) { fe 579 drivers/media/usb/dvb-usb-v2/anysee.c if (fe->id == 0) { fe 731 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[0] = dvb_attach(mt352_attach, &anysee_mt352_config, fe 733 drivers/media/usb/dvb-usb-v2/anysee.c if (adap->fe[0]) fe 737 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[0] = dvb_attach(zl10353_attach, &anysee_zl10353_config, fe 755 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[0] = dvb_attach(zl10353_attach, &anysee_zl10353_config, fe 768 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[0] = dvb_attach(tda10023_attach, fe 781 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[0] = dvb_attach(cx24116_attach, &anysee_cx24116_config, fe 823 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[0] = dvb_attach(tda10023_attach, fe 828 drivers/media/usb/dvb-usb-v2/anysee.c if (adap->fe[0]) fe 829 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[0]->ops.i2c_gate_ctrl = fe 833 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[0] = dvb_attach(tda10023_attach, fe 839 drivers/media/usb/dvb-usb-v2/anysee.c if (!adap->fe[0]) fe 855 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[1] = dvb_attach(zl10353_attach, fe 860 drivers/media/usb/dvb-usb-v2/anysee.c if (adap->fe[1]) fe 861 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[1]->ops.i2c_gate_ctrl = fe 865 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[1] = dvb_attach(zl10353_attach, fe 887 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[0] = dvb_attach(tda10023_attach, fe 892 drivers/media/usb/dvb-usb-v2/anysee.c if (adap->fe[0]) fe 893 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[0]->ops.i2c_gate_ctrl = anysee_i2c_gate_ctrl; fe 896 drivers/media/usb/dvb-usb-v2/anysee.c if (!adap->fe[0]) fe 910 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[1] = dvb_attach(zl10353_attach, fe 915 drivers/media/usb/dvb-usb-v2/anysee.c if (adap->fe[1]) fe 916 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[1]->ops.i2c_gate_ctrl = anysee_i2c_gate_ctrl; fe 932 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[0] = dvb_attach(stv0900_attach, fe 947 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[0] = dvb_attach(cxd2820r_attach, fe 955 drivers/media/usb/dvb-usb-v2/anysee.c if (!adap->fe[0]) { fe 970 drivers/media/usb/dvb-usb-v2/anysee.c struct dvb_frontend *fe; fe 979 drivers/media/usb/dvb-usb-v2/anysee.c fe = dvb_attach(dvb_pll_attach, adap->fe[0], (0xc2 >> 1), NULL, fe 987 drivers/media/usb/dvb-usb-v2/anysee.c fe = dvb_attach(dvb_pll_attach, adap->fe[0], (0xc2 >> 1), fe 995 drivers/media/usb/dvb-usb-v2/anysee.c fe = dvb_attach(dvb_pll_attach, adap->fe[0], (0xc0 >> 1), fe 1003 drivers/media/usb/dvb-usb-v2/anysee.c fe = dvb_attach(isl6423_attach, adap->fe[0], &d->i2c_adap, fe 1019 drivers/media/usb/dvb-usb-v2/anysee.c tda18212_config.fe = adap->fe[0]; fe 1026 drivers/media/usb/dvb-usb-v2/anysee.c if (adap->fe[1]) { fe 1027 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[1]->tuner_priv = fe 1028 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[0]->tuner_priv; fe 1029 drivers/media/usb/dvb-usb-v2/anysee.c memcpy(&adap->fe[1]->ops.tuner_ops, fe 1030 drivers/media/usb/dvb-usb-v2/anysee.c &adap->fe[0]->ops.tuner_ops, fe 1037 drivers/media/usb/dvb-usb-v2/anysee.c fe = dvb_attach(dvb_pll_attach, adap->fe[0], fe 1041 drivers/media/usb/dvb-usb-v2/anysee.c if (fe && adap->fe[1]) { fe 1043 drivers/media/usb/dvb-usb-v2/anysee.c fe = dvb_attach(dvb_pll_attach, adap->fe[1], fe 1057 drivers/media/usb/dvb-usb-v2/anysee.c tda18212_config.fe = adap->fe[0]; fe 1063 drivers/media/usb/dvb-usb-v2/anysee.c if (adap->fe[1]) { fe 1064 drivers/media/usb/dvb-usb-v2/anysee.c adap->fe[1]->tuner_priv = adap->fe[0]->tuner_priv; fe 1065 drivers/media/usb/dvb-usb-v2/anysee.c memcpy(&adap->fe[1]->ops.tuner_ops, fe 1066 drivers/media/usb/dvb-usb-v2/anysee.c &adap->fe[0]->ops.tuner_ops, fe 1078 drivers/media/usb/dvb-usb-v2/anysee.c fe = dvb_attach(stv6110_attach, adap->fe[0], fe 1081 drivers/media/usb/dvb-usb-v2/anysee.c if (fe) { fe 1083 drivers/media/usb/dvb-usb-v2/anysee.c fe = dvb_attach(isl6423_attach, adap->fe[0], fe 1095 drivers/media/usb/dvb-usb-v2/anysee.c tda18212_config.fe = adap->fe[0]; fe 1103 drivers/media/usb/dvb-usb-v2/anysee.c fe = NULL; fe 1106 drivers/media/usb/dvb-usb-v2/anysee.c if (fe) fe 132 drivers/media/usb/dvb-usb-v2/au6610.c adap->fe[0] = dvb_attach(zl10353_attach, &au6610_zl10353_config, fe 134 drivers/media/usb/dvb-usb-v2/au6610.c if (adap->fe[0] == NULL) fe 146 drivers/media/usb/dvb-usb-v2/au6610.c return dvb_attach(qt1010_attach, adap->fe[0], fe 76 drivers/media/usb/dvb-usb-v2/az6007.c static int drxk_gate_ctrl(struct dvb_frontend *fe, int enable) fe 78 drivers/media/usb/dvb-usb-v2/az6007.c struct az6007_device_state *st = fe_to_priv(fe); fe 79 drivers/media/usb/dvb-usb-v2/az6007.c struct dvb_usb_adapter *adap = fe->sec_priv; fe 88 drivers/media/usb/dvb-usb-v2/az6007.c status = st->gate_ctrl(fe, 1); fe 90 drivers/media/usb/dvb-usb-v2/az6007.c status = st->gate_ctrl(fe, 0); fe 188 drivers/media/usb/dvb-usb-v2/az6007.c static int az6007_streaming_ctrl(struct dvb_frontend *fe, int onoff) fe 190 drivers/media/usb/dvb-usb-v2/az6007.c struct dvb_usb_device *d = fe_to_d(fe); fe 633 drivers/media/usb/dvb-usb-v2/az6007.c adap->fe[0] = dvb_attach(drxk_attach, &terratec_h7_drxk, fe 635 drivers/media/usb/dvb-usb-v2/az6007.c if (!adap->fe[0]) fe 638 drivers/media/usb/dvb-usb-v2/az6007.c adap->fe[0]->sec_priv = adap; fe 639 drivers/media/usb/dvb-usb-v2/az6007.c st->gate_ctrl = adap->fe[0]->ops.i2c_gate_ctrl; fe 640 drivers/media/usb/dvb-usb-v2/az6007.c adap->fe[0]->ops.i2c_gate_ctrl = drxk_gate_ctrl; fe 654 drivers/media/usb/dvb-usb-v2/az6007.c adap->fe[0] = dvb_attach(drxk_attach, &cablestar_hdci_drxk, fe 656 drivers/media/usb/dvb-usb-v2/az6007.c if (!adap->fe[0]) fe 659 drivers/media/usb/dvb-usb-v2/az6007.c adap->fe[0]->sec_priv = adap; fe 660 drivers/media/usb/dvb-usb-v2/az6007.c st->gate_ctrl = adap->fe[0]->ops.i2c_gate_ctrl; fe 661 drivers/media/usb/dvb-usb-v2/az6007.c adap->fe[0]->ops.i2c_gate_ctrl = drxk_gate_ctrl; fe 675 drivers/media/usb/dvb-usb-v2/az6007.c if (adap->fe[0]->ops.i2c_gate_ctrl) fe 676 drivers/media/usb/dvb-usb-v2/az6007.c adap->fe[0]->ops.i2c_gate_ctrl(adap->fe[0], 1); fe 677 drivers/media/usb/dvb-usb-v2/az6007.c if (!dvb_attach(mt2063_attach, adap->fe[0], fe 682 drivers/media/usb/dvb-usb-v2/az6007.c if (adap->fe[0]->ops.i2c_gate_ctrl) fe 683 drivers/media/usb/dvb-usb-v2/az6007.c adap->fe[0]->ops.i2c_gate_ctrl(adap->fe[0], 0); fe 171 drivers/media/usb/dvb-usb-v2/ce6230.c adap->fe[0] = dvb_attach(zl10353_attach, &ce6230_zl10353_config, fe 173 drivers/media/usb/dvb-usb-v2/ce6230.c if (adap->fe[0] == NULL) fe 203 drivers/media/usb/dvb-usb-v2/ce6230.c ret = dvb_attach(mxl5005s_attach, adap->fe[0], &d->i2c_adap, fe 49 drivers/media/usb/dvb-usb-v2/dvb_usb.h #define fe_to_adap(fe) ((struct dvb_usb_adapter *) ((fe)->dvb->priv)) fe 50 drivers/media/usb/dvb-usb-v2/dvb_usb.h #define fe_to_d(fe) (adap_to_d(fe_to_adap(fe))) fe 51 drivers/media/usb/dvb-usb-v2/dvb_usb.h #define fe_to_priv(fe) (fe_to_d(fe)->priv) fe 338 drivers/media/usb/dvb-usb-v2/dvb_usb.h struct dvb_frontend *fe[MAX_NO_OF_FE_PER_ADAP]; fe 269 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->get_stream_config(adap->fe[adap->active_fe], fe 306 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->streaming_ctrl(adap->fe[adap->active_fe], 1); fe 357 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->streaming_ctrl(adap->fe[adap->active_fe], 0); fe 552 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c static int dvb_usb_fe_init(struct dvb_frontend *fe) fe 555 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 558 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c fe->id); fe 561 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c adap->active_fe = fe->id; fe 570 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->frontend_ctrl(fe, 1); fe 575 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (adap->fe_init[fe->id]) { fe 576 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = adap->fe_init[fe->id](fe); fe 591 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c static int dvb_usb_fe_sleep(struct dvb_frontend *fe) fe 594 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 597 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c fe->id); fe 605 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (adap->fe_sleep[fe->id]) { fe 606 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = adap->fe_sleep[fe->id](fe); fe 612 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = d->props->frontend_ctrl(fe, 0); fe 637 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c memset(adap->fe, 0, sizeof(adap->fe)); fe 655 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c for (i = 0; i < MAX_NO_OF_FE_PER_ADAP && adap->fe[i]; i++) { fe 656 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c adap->fe[i]->id = i; fe 658 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c adap->fe_init[i] = adap->fe[i]->ops.init; fe 659 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c adap->fe[i]->ops.init = dvb_usb_fe_init; fe 660 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c adap->fe_sleep[i] = adap->fe[i]->ops.sleep; fe 661 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c adap->fe[i]->ops.sleep = dvb_usb_fe_sleep; fe 663 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = dvb_register_frontend(&adap->dvb_adap, adap->fe[i]); fe 693 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c dvb_unregister_frontend(adap->fe[i]); fe 697 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (adap->fe[i]) { fe 698 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c dvb_frontend_detach(adap->fe[i]); fe 699 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c adap->fe[i] = NULL; fe 716 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (adap->fe[i]) { fe 717 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c dvb_unregister_frontend(adap->fe[i]); fe 718 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c dvb_frontend_detach(adap->fe[i]); fe 809 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c if (adap->fe[1]) fe 1035 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c struct dvb_frontend *fe; fe 1045 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c fe = d->adapter[i].fe[active_fe]; fe 1049 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c d->props->streaming_ctrl(fe, 0); fe 1054 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = dvb_frontend_suspend(fe); fe 1065 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c struct dvb_frontend *fe; fe 1071 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c fe = d->adapter[i].fe[active_fe]; fe 1073 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = dvb_frontend_resume(fe); fe 1079 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c d->props->streaming_ctrl(fe, 1); fe 34 drivers/media/usb/dvb-usb-v2/dvbsky.c int (*fe_set_voltage)(struct dvb_frontend *fe, fe 36 drivers/media/usb/dvb-usb-v2/dvbsky.c int (*fe_read_status)(struct dvb_frontend *fe, fe 77 drivers/media/usb/dvb-usb-v2/dvbsky.c static int dvbsky_streaming_ctrl(struct dvb_frontend *fe, int onoff) fe 79 drivers/media/usb/dvb-usb-v2/dvbsky.c struct dvb_usb_device *d = fe_to_d(fe); fe 215 drivers/media/usb/dvb-usb-v2/dvbsky.c static int dvbsky_usb_set_voltage(struct dvb_frontend *fe, fe 218 drivers/media/usb/dvb-usb-v2/dvbsky.c struct dvb_usb_device *d = fe_to_d(fe); fe 228 drivers/media/usb/dvb-usb-v2/dvbsky.c return state->fe_set_voltage(fe, voltage); fe 256 drivers/media/usb/dvb-usb-v2/dvbsky.c static int dvbsky_usb_read_status(struct dvb_frontend *fe, fe 259 drivers/media/usb/dvb-usb-v2/dvbsky.c struct dvb_usb_device *d = fe_to_d(fe); fe 263 drivers/media/usb/dvb-usb-v2/dvbsky.c ret = state->fe_read_status(fe, status); fe 298 drivers/media/usb/dvb-usb-v2/dvbsky.c adap->fe[0] = m88ds3103_pdata.get_dvb_frontend(state->i2c_client_demod); fe 302 drivers/media/usb/dvb-usb-v2/dvbsky.c ts2020_config.fe = adap->fe[0]; fe 314 drivers/media/usb/dvb-usb-v2/dvbsky.c adap->fe[0]->ops.read_signal_strength = fe 315 drivers/media/usb/dvb-usb-v2/dvbsky.c adap->fe[0]->ops.tuner_ops.get_rf_strength; fe 318 drivers/media/usb/dvb-usb-v2/dvbsky.c state->fe_read_status = adap->fe[0]->ops.read_status; fe 319 drivers/media/usb/dvb-usb-v2/dvbsky.c adap->fe[0]->ops.read_status = dvbsky_usb_read_status; fe 322 drivers/media/usb/dvb-usb-v2/dvbsky.c state->fe_set_voltage = adap->fe[0]->ops.set_voltage; fe 323 drivers/media/usb/dvb-usb-v2/dvbsky.c adap->fe[0]->ops.set_voltage = dvbsky_usb_set_voltage; fe 328 drivers/media/usb/dvb-usb-v2/dvbsky.c static int dvbsky_usb_ci_set_voltage(struct dvb_frontend *fe, fe 331 drivers/media/usb/dvb-usb-v2/dvbsky.c struct dvb_usb_device *d = fe_to_d(fe); fe 341 drivers/media/usb/dvb-usb-v2/dvbsky.c return state->fe_set_voltage(fe, voltage); fe 401 drivers/media/usb/dvb-usb-v2/dvbsky.c adap->fe[0] = m88ds3103_pdata.get_dvb_frontend(state->i2c_client_demod); fe 405 drivers/media/usb/dvb-usb-v2/dvbsky.c ts2020_config.fe = adap->fe[0]; fe 432 drivers/media/usb/dvb-usb-v2/dvbsky.c adap->fe[0]->ops.read_signal_strength = fe 433 drivers/media/usb/dvb-usb-v2/dvbsky.c adap->fe[0]->ops.tuner_ops.get_rf_strength; fe 436 drivers/media/usb/dvb-usb-v2/dvbsky.c state->fe_read_status = adap->fe[0]->ops.read_status; fe 437 drivers/media/usb/dvb-usb-v2/dvbsky.c adap->fe[0]->ops.read_status = dvbsky_usb_read_status; fe 440 drivers/media/usb/dvb-usb-v2/dvbsky.c state->fe_set_voltage = adap->fe[0]->ops.set_voltage; fe 441 drivers/media/usb/dvb-usb-v2/dvbsky.c adap->fe[0]->ops.set_voltage = dvbsky_usb_ci_set_voltage; fe 457 drivers/media/usb/dvb-usb-v2/dvbsky.c si2168_config.fe = &adap->fe[0]; fe 467 drivers/media/usb/dvb-usb-v2/dvbsky.c si2157_config.fe = adap->fe[0]; fe 506 drivers/media/usb/dvb-usb-v2/dvbsky.c si2168_config.fe = &adap->fe[0]; fe 517 drivers/media/usb/dvb-usb-v2/dvbsky.c si2157_config.fe = adap->fe[0]; fe 541 drivers/media/usb/dvb-usb-v2/dvbsky.c si2168_config.fe = &adap->fe[0]; fe 554 drivers/media/usb/dvb-usb-v2/dvbsky.c si2157_config.fe = adap->fe[0]; fe 264 drivers/media/usb/dvb-usb-v2/ec168.c adap->fe[0] = dvb_attach(ec100_attach, &ec168_ec100_config, fe 266 drivers/media/usb/dvb-usb-v2/ec168.c if (adap->fe[0] == NULL) fe 294 drivers/media/usb/dvb-usb-v2/ec168.c return dvb_attach(mxl5005s_attach, adap->fe[0], &d->i2c_adap, fe 298 drivers/media/usb/dvb-usb-v2/ec168.c static int ec168_streaming_ctrl(struct dvb_frontend *fe, int onoff) fe 300 drivers/media/usb/dvb-usb-v2/ec168.c struct dvb_usb_device *d = fe_to_d(fe); fe 116 drivers/media/usb/dvb-usb-v2/gl861.c adap->fe[0] = dvb_attach(zl10353_attach, &gl861_zl10353_config, fe 118 drivers/media/usb/dvb-usb-v2/gl861.c if (adap->fe[0] == NULL) fe 131 drivers/media/usb/dvb-usb-v2/gl861.c adap->fe[0], &adap_to_d(adap)->i2c_adap, fe 499 drivers/media/usb/dvb-usb-v2/gl861.c adap->fe[0] = cfg.fe; fe 534 drivers/media/usb/dvb-usb-v2/gl861.c cfg.fe = adap->fe[0]; fe 595 drivers/media/usb/dvb-usb-v2/gl861.c static int friio_streaming_ctrl(struct dvb_frontend *fe, int onoff) fe 600 drivers/media/usb/dvb-usb-v2/gl861.c return friio_ext_ctl(fe_to_d(fe), led_color, true); fe 217 drivers/media/usb/dvb-usb-v2/lmedm04.c struct dvb_frontend *fe = adap->fe[0]; fe 221 drivers/media/usb/dvb-usb-v2/lmedm04.c if (!fe) fe 224 drivers/media/usb/dvb-usb-v2/lmedm04.c c = &fe->dtv_property_cache; fe 556 drivers/media/usb/dvb-usb-v2/lmedm04.c static int lme2510_streaming_ctrl(struct dvb_frontend *fe, int onoff) fe 558 drivers/media/usb/dvb-usb-v2/lmedm04.c struct dvb_usb_adapter *adap = fe_to_adap(fe); fe 813 drivers/media/usb/dvb-usb-v2/lmedm04.c static int dm04_lme2510_set_voltage(struct dvb_frontend *fe, fe 816 drivers/media/usb/dvb-usb-v2/lmedm04.c struct dvb_usb_device *d = fe_to_d(fe); fe 817 drivers/media/usb/dvb-usb-v2/lmedm04.c struct lme2510_state *st = fe_to_priv(fe); fe 843 drivers/media/usb/dvb-usb-v2/lmedm04.c st->fe_set_voltage(fe, voltage); fe 849 drivers/media/usb/dvb-usb-v2/lmedm04.c static int dm04_read_status(struct dvb_frontend *fe, enum fe_status *status) fe 851 drivers/media/usb/dvb-usb-v2/lmedm04.c struct dvb_usb_device *d = fe_to_d(fe); fe 857 drivers/media/usb/dvb-usb-v2/lmedm04.c ret = st->fe_read_status(fe, status); fe 884 drivers/media/usb/dvb-usb-v2/lmedm04.c struct dvb_usb_adapter *adap = fe_to_adap(fe); fe 894 drivers/media/usb/dvb-usb-v2/lmedm04.c static int dm04_read_signal_strength(struct dvb_frontend *fe, u16 *strength) fe 896 drivers/media/usb/dvb-usb-v2/lmedm04.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 897 drivers/media/usb/dvb-usb-v2/lmedm04.c struct lme2510_state *st = fe_to_priv(fe); fe 900 drivers/media/usb/dvb-usb-v2/lmedm04.c return st->fe_read_signal_strength(fe, strength); fe 910 drivers/media/usb/dvb-usb-v2/lmedm04.c static int dm04_read_snr(struct dvb_frontend *fe, u16 *snr) fe 912 drivers/media/usb/dvb-usb-v2/lmedm04.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 913 drivers/media/usb/dvb-usb-v2/lmedm04.c struct lme2510_state *st = fe_to_priv(fe); fe 916 drivers/media/usb/dvb-usb-v2/lmedm04.c return st->fe_read_snr(fe, snr); fe 926 drivers/media/usb/dvb-usb-v2/lmedm04.c static int dm04_read_ber(struct dvb_frontend *fe, u32 *ber) fe 928 drivers/media/usb/dvb-usb-v2/lmedm04.c struct lme2510_state *st = fe_to_priv(fe); fe 931 drivers/media/usb/dvb-usb-v2/lmedm04.c return st->fe_read_ber(fe, ber); fe 938 drivers/media/usb/dvb-usb-v2/lmedm04.c static int dm04_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 940 drivers/media/usb/dvb-usb-v2/lmedm04.c struct lme2510_state *st = fe_to_priv(fe); fe 943 drivers/media/usb/dvb-usb-v2/lmedm04.c return st->fe_read_ucblocks(fe, ucblocks); fe 958 drivers/media/usb/dvb-usb-v2/lmedm04.c char *name = adap->fe[0]->ops.info.name; fe 977 drivers/media/usb/dvb-usb-v2/lmedm04.c adap->fe[0] = dvb_attach(tda10086_attach, fe 979 drivers/media/usb/dvb-usb-v2/lmedm04.c if (adap->fe[0]) { fe 993 drivers/media/usb/dvb-usb-v2/lmedm04.c adap->fe[0] = dvb_attach(stv0299_attach, fe 995 drivers/media/usb/dvb-usb-v2/lmedm04.c if (adap->fe[0]) { fe 1009 drivers/media/usb/dvb-usb-v2/lmedm04.c adap->fe[0] = dvb_attach(stv0288_attach, &lme_config, fe 1012 drivers/media/usb/dvb-usb-v2/lmedm04.c if (adap->fe[0]) { fe 1027 drivers/media/usb/dvb-usb-v2/lmedm04.c adap->fe[0] = dvb_attach(m88rs2000_attach, fe 1030 drivers/media/usb/dvb-usb-v2/lmedm04.c if (adap->fe[0]) { fe 1037 drivers/media/usb/dvb-usb-v2/lmedm04.c adap->fe[0]->ops.set_voltage; fe 1042 drivers/media/usb/dvb-usb-v2/lmedm04.c if (adap->fe[0] == NULL) { fe 1048 drivers/media/usb/dvb-usb-v2/lmedm04.c if (adap->fe[0]) { fe 1049 drivers/media/usb/dvb-usb-v2/lmedm04.c dvb_frontend_detach(adap->fe[0]); fe 1050 drivers/media/usb/dvb-usb-v2/lmedm04.c adap->fe[0] = NULL; fe 1056 drivers/media/usb/dvb-usb-v2/lmedm04.c st->fe_read_status = adap->fe[0]->ops.read_status; fe 1057 drivers/media/usb/dvb-usb-v2/lmedm04.c st->fe_read_signal_strength = adap->fe[0]->ops.read_signal_strength; fe 1058 drivers/media/usb/dvb-usb-v2/lmedm04.c st->fe_read_snr = adap->fe[0]->ops.read_snr; fe 1059 drivers/media/usb/dvb-usb-v2/lmedm04.c st->fe_read_ber = adap->fe[0]->ops.read_ber; fe 1060 drivers/media/usb/dvb-usb-v2/lmedm04.c st->fe_read_ucblocks = adap->fe[0]->ops.read_ucblocks; fe 1062 drivers/media/usb/dvb-usb-v2/lmedm04.c adap->fe[0]->ops.read_status = dm04_read_status; fe 1063 drivers/media/usb/dvb-usb-v2/lmedm04.c adap->fe[0]->ops.read_signal_strength = dm04_read_signal_strength; fe 1064 drivers/media/usb/dvb-usb-v2/lmedm04.c adap->fe[0]->ops.read_snr = dm04_read_snr; fe 1065 drivers/media/usb/dvb-usb-v2/lmedm04.c adap->fe[0]->ops.read_ber = dm04_read_ber; fe 1066 drivers/media/usb/dvb-usb-v2/lmedm04.c adap->fe[0]->ops.read_ucblocks = dm04_read_ucblocks; fe 1067 drivers/media/usb/dvb-usb-v2/lmedm04.c adap->fe[0]->ops.set_voltage = dm04_lme2510_set_voltage; fe 1082 drivers/media/usb/dvb-usb-v2/lmedm04.c if (dvb_attach(tda826x_attach, adap->fe[0], 0x60, fe 1087 drivers/media/usb/dvb-usb-v2/lmedm04.c if (dvb_attach(ix2505v_attach , adap->fe[0], &lme_tuner, fe 1092 drivers/media/usb/dvb-usb-v2/lmedm04.c if (dvb_attach(dvb_pll_attach , adap->fe[0], 0x60, fe 1097 drivers/media/usb/dvb-usb-v2/lmedm04.c if (dvb_attach(ts2020_attach, adap->fe[0], fe 1170 drivers/media/usb/dvb-usb-v2/lmedm04.c static int lme2510_get_stream_config(struct dvb_frontend *fe, u8 *ts_type, fe 1173 drivers/media/usb/dvb-usb-v2/lmedm04.c struct dvb_usb_adapter *adap = fe_to_adap(fe); fe 27 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c struct dvb_frontend fe; fe 274 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c static int mxl111sf_demod_set_frontend(struct dvb_frontend *fe) fe 276 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c struct mxl111sf_demod_state *state = fe->demodulator_priv; fe 291 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c if (fe->ops.tuner_ops.set_params) { fe 292 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c ret = fe->ops.tuner_ops.set_params(fe); fe 326 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c static int mxl111sf_demod_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) fe 328 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c struct mxl111sf_demod_state *state = fe->demodulator_priv; fe 374 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c static int mxl111sf_demod_read_ber(struct dvb_frontend *fe, u32 *ber) fe 376 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c struct mxl111sf_demod_state *state = fe->demodulator_priv; fe 417 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c static int mxl111sf_demod_read_snr(struct dvb_frontend *fe, u16 *snr) fe 419 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c struct mxl111sf_demod_state *state = fe->demodulator_priv; fe 430 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c static int mxl111sf_demod_read_status(struct dvb_frontend *fe, fe 433 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c struct mxl111sf_demod_state *state = fe->demodulator_priv; fe 466 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c static int mxl111sf_demod_read_signal_strength(struct dvb_frontend *fe, fe 469 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c struct mxl111sf_demod_state *state = fe->demodulator_priv; fe 502 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c static int mxl111sf_demod_get_frontend(struct dvb_frontend *fe, fe 505 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c struct mxl111sf_demod_state *state = fe->demodulator_priv; fe 511 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c if (fe->ops.tuner_ops.get_bandwidth) fe 512 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c fe->ops.tuner_ops.get_bandwidth(fe, &p->bandwidth_hz); fe 513 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c if (fe->ops.tuner_ops.get_frequency) fe 514 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c fe->ops.tuner_ops.get_frequency(fe, &p->frequency); fe 529 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c int mxl111sf_demod_get_tune_settings(struct dvb_frontend *fe, fe 536 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c static void mxl111sf_demod_release(struct dvb_frontend *fe) fe 538 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c struct mxl111sf_demod_state *state = fe->demodulator_priv; fe 541 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c fe->demodulator_priv = NULL; fe 587 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c memcpy(&state->fe.ops, &mxl111sf_demod_ops, fe 590 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c state->fe.demodulator_priv = state; fe 591 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c return &state->fe; fe 186 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c static int mxl1x1sf_tune_rf(struct dvb_frontend *fe, u32 freq, u8 bw) fe 188 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c struct mxl111sf_tuner_state *state = fe->tuner_priv; fe 226 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c state->cfg->ant_hunt(fe); fe 262 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c static int mxl111sf_tuner_set_params(struct dvb_frontend *fe) fe 264 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 266 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c struct mxl111sf_tuner_state *state = fe->tuner_priv; fe 300 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c ret = mxl1x1sf_tune_rf(fe, c->frequency, bw); fe 313 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c static int mxl111sf_tuner_init(struct dvb_frontend *fe) fe 315 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c struct mxl111sf_tuner_state *state = fe->tuner_priv; fe 323 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c static int mxl111sf_tuner_sleep(struct dvb_frontend *fe) fe 325 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c struct mxl111sf_tuner_state *state = fe->tuner_priv; fe 336 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c static int mxl111sf_tuner_get_status(struct dvb_frontend *fe, u32 *status) fe 338 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c struct mxl111sf_tuner_state *state = fe->tuner_priv; fe 355 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c static int mxl111sf_get_rf_strength(struct dvb_frontend *fe, u16 *strength) fe 357 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c struct mxl111sf_tuner_state *state = fe->tuner_priv; fe 383 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c static int mxl111sf_tuner_get_frequency(struct dvb_frontend *fe, u32 *frequency) fe 385 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c struct mxl111sf_tuner_state *state = fe->tuner_priv; fe 390 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c static int mxl111sf_tuner_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) fe 392 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c struct mxl111sf_tuner_state *state = fe->tuner_priv; fe 397 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c static int mxl111sf_tuner_get_if_frequency(struct dvb_frontend *fe, fe 400 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c struct mxl111sf_tuner_state *state = fe->tuner_priv; fe 445 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c static void mxl111sf_tuner_release(struct dvb_frontend *fe) fe 447 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c struct mxl111sf_tuner_state *state = fe->tuner_priv; fe 450 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c fe->tuner_priv = NULL; fe 477 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c struct dvb_frontend *mxl111sf_tuner_attach(struct dvb_frontend *fe, fe 492 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c memcpy(&fe->ops.tuner_ops, &mxl111sf_tuner_tuner_ops, fe 495 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c fe->tuner_priv = state; fe 496 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c return fe; fe 44 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.h int (*ant_hunt)(struct dvb_frontend *fe); fe 51 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.h struct dvb_frontend *mxl111sf_tuner_attach(struct dvb_frontend *fe, fe 56 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.h struct dvb_frontend *mxl111sf_tuner_attach(struct dvb_frontend *fe, fe 265 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_adap_fe_init(struct dvb_frontend *fe) fe 267 drivers/media/usb/dvb-usb-v2/mxl111sf.c struct dvb_usb_device *d = fe_to_d(fe); fe 268 drivers/media/usb/dvb-usb-v2/mxl111sf.c struct mxl111sf_state *state = fe_to_priv(fe); fe 269 drivers/media/usb/dvb-usb-v2/mxl111sf.c struct mxl111sf_adap_state *adap_state = &state->adap_state[fe->id]; fe 311 drivers/media/usb/dvb-usb-v2/mxl111sf.c err = fe->ops.init(fe); fe 317 drivers/media/usb/dvb-usb-v2/mxl111sf.c return (adap_state->fe_init) ? adap_state->fe_init(fe) : 0; fe 322 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_adap_fe_sleep(struct dvb_frontend *fe) fe 324 drivers/media/usb/dvb-usb-v2/mxl111sf.c struct mxl111sf_state *state = fe_to_priv(fe); fe 325 drivers/media/usb/dvb-usb-v2/mxl111sf.c struct mxl111sf_adap_state *adap_state = &state->adap_state[fe->id]; fe 336 drivers/media/usb/dvb-usb-v2/mxl111sf.c err = (adap_state->fe_sleep) ? adap_state->fe_sleep(fe) : 0; fe 346 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_ep6_streaming_ctrl(struct dvb_frontend *fe, int onoff) fe 348 drivers/media/usb/dvb-usb-v2/mxl111sf.c struct mxl111sf_state *state = fe_to_priv(fe); fe 349 drivers/media/usb/dvb-usb-v2/mxl111sf.c struct mxl111sf_adap_state *adap_state = &state->adap_state[fe->id]; fe 371 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_ep5_streaming_ctrl(struct dvb_frontend *fe, int onoff) fe 373 drivers/media/usb/dvb-usb-v2/mxl111sf.c struct mxl111sf_state *state = fe_to_priv(fe); fe 397 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_ep4_streaming_ctrl(struct dvb_frontend *fe, int onoff) fe 399 drivers/media/usb/dvb-usb-v2/mxl111sf.c struct mxl111sf_state *state = fe_to_priv(fe); fe 472 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap->fe[fe_id] = dvb_attach(lgdt3305_attach, fe 475 drivers/media/usb/dvb-usb-v2/mxl111sf.c if (adap->fe[fe_id]) { fe 477 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap_state->fe_init = adap->fe[fe_id]->ops.init; fe 478 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap->fe[fe_id]->ops.init = mxl111sf_adap_fe_init; fe 479 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; fe 480 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; fe 547 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap->fe[fe_id] = dvb_attach(lg2160_attach, fe 550 drivers/media/usb/dvb-usb-v2/mxl111sf.c if (adap->fe[fe_id]) { fe 552 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap_state->fe_init = adap->fe[fe_id]->ops.init; fe 553 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap->fe[fe_id]->ops.init = mxl111sf_adap_fe_init; fe 554 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; fe 555 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; fe 632 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap->fe[fe_id] = dvb_attach(lg2160_attach, fe 637 drivers/media/usb/dvb-usb-v2/mxl111sf.c if (adap->fe[fe_id]) { fe 639 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap_state->fe_init = adap->fe[fe_id]->ops.init; fe 640 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap->fe[fe_id]->ops.init = mxl111sf_adap_fe_init; fe 641 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; fe 642 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; fe 719 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap->fe[fe_id] = dvb_attach(lg2160_attach, fe 724 drivers/media/usb/dvb-usb-v2/mxl111sf.c if (adap->fe[fe_id]) { fe 726 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap_state->fe_init = adap->fe[fe_id]->ops.init; fe 727 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap->fe[fe_id]->ops.init = mxl111sf_adap_fe_init; fe 728 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; fe 729 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; fe 786 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap->fe[fe_id] = dvb_attach(mxl111sf_demod_attach, state, fe 788 drivers/media/usb/dvb-usb-v2/mxl111sf.c if (adap->fe[fe_id]) { fe 790 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap_state->fe_init = adap->fe[fe_id]->ops.init; fe 791 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap->fe[fe_id]->ops.init = mxl111sf_adap_fe_init; fe 792 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; fe 793 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; fe 818 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_ant_hunt(struct dvb_frontend *fe) fe 820 drivers/media/usb/dvb-usb-v2/mxl111sf.c struct mxl111sf_state *state = fe_to_priv(fe); fe 833 drivers/media/usb/dvb-usb-v2/mxl111sf.c fe->ops.tuner_ops.get_rf_strength(fe, &rxPwrA); fe 837 drivers/media/usb/dvb-usb-v2/mxl111sf.c fe->ops.tuner_ops.get_rf_strength(fe, &rxPwr0); fe 841 drivers/media/usb/dvb-usb-v2/mxl111sf.c fe->ops.tuner_ops.get_rf_strength(fe, &rxPwr1); fe 845 drivers/media/usb/dvb-usb-v2/mxl111sf.c fe->ops.tuner_ops.get_rf_strength(fe, &rxPwr2); fe 883 drivers/media/usb/dvb-usb-v2/mxl111sf.c if (dvb_attach(mxl111sf_tuner_attach, adap->fe[i], state, fe 886 drivers/media/usb/dvb-usb-v2/mxl111sf.c adap->fe[i]->ops.read_signal_strength = adap->fe[i]->ops.tuner_ops.get_rf_strength; fe 1064 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_get_stream_config_dvbt(struct dvb_frontend *fe, fe 1067 drivers/media/usb/dvb-usb-v2/mxl111sf.c pr_debug("%s: fe=%d\n", __func__, fe->id); fe 1105 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_get_stream_config_atsc(struct dvb_frontend *fe, fe 1108 drivers/media/usb/dvb-usb-v2/mxl111sf.c pr_debug("%s: fe=%d\n", __func__, fe->id); fe 1146 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_get_stream_config_mh(struct dvb_frontend *fe, fe 1149 drivers/media/usb/dvb-usb-v2/mxl111sf.c pr_debug("%s: fe=%d\n", __func__, fe->id); fe 1187 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_get_stream_config_atsc_mh(struct dvb_frontend *fe, fe 1190 drivers/media/usb/dvb-usb-v2/mxl111sf.c pr_debug("%s: fe=%d\n", __func__, fe->id); fe 1192 drivers/media/usb/dvb-usb-v2/mxl111sf.c if (fe->id == 0) { fe 1198 drivers/media/usb/dvb-usb-v2/mxl111sf.c } else if (fe->id == 1) { fe 1204 drivers/media/usb/dvb-usb-v2/mxl111sf.c } else if (fe->id == 2) { fe 1214 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_streaming_ctrl_atsc_mh(struct dvb_frontend *fe, int onoff) fe 1216 drivers/media/usb/dvb-usb-v2/mxl111sf.c pr_debug("%s: fe=%d onoff=%d\n", __func__, fe->id, onoff); fe 1218 drivers/media/usb/dvb-usb-v2/mxl111sf.c if (fe->id == 0) fe 1219 drivers/media/usb/dvb-usb-v2/mxl111sf.c return mxl111sf_ep6_streaming_ctrl(fe, onoff); fe 1220 drivers/media/usb/dvb-usb-v2/mxl111sf.c else if (fe->id == 1) fe 1221 drivers/media/usb/dvb-usb-v2/mxl111sf.c return mxl111sf_ep4_streaming_ctrl(fe, onoff); fe 1222 drivers/media/usb/dvb-usb-v2/mxl111sf.c else if (fe->id == 2) fe 1223 drivers/media/usb/dvb-usb-v2/mxl111sf.c return mxl111sf_ep5_streaming_ctrl(fe, onoff); fe 1257 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_get_stream_config_mercury(struct dvb_frontend *fe, fe 1260 drivers/media/usb/dvb-usb-v2/mxl111sf.c pr_debug("%s: fe=%d\n", __func__, fe->id); fe 1262 drivers/media/usb/dvb-usb-v2/mxl111sf.c if (fe->id == 0) { fe 1268 drivers/media/usb/dvb-usb-v2/mxl111sf.c } else if (fe->id == 1) { fe 1274 drivers/media/usb/dvb-usb-v2/mxl111sf.c } else if (fe->id == 2 && dvb_usb_mxl111sf_spi) { fe 1280 drivers/media/usb/dvb-usb-v2/mxl111sf.c } else if (fe->id == 2 && !dvb_usb_mxl111sf_spi) { fe 1290 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_streaming_ctrl_mercury(struct dvb_frontend *fe, int onoff) fe 1292 drivers/media/usb/dvb-usb-v2/mxl111sf.c pr_debug("%s: fe=%d onoff=%d\n", __func__, fe->id, onoff); fe 1294 drivers/media/usb/dvb-usb-v2/mxl111sf.c if (fe->id == 0) fe 1295 drivers/media/usb/dvb-usb-v2/mxl111sf.c return mxl111sf_ep6_streaming_ctrl(fe, onoff); fe 1296 drivers/media/usb/dvb-usb-v2/mxl111sf.c else if (fe->id == 1) fe 1297 drivers/media/usb/dvb-usb-v2/mxl111sf.c return mxl111sf_ep4_streaming_ctrl(fe, onoff); fe 1298 drivers/media/usb/dvb-usb-v2/mxl111sf.c else if (fe->id == 2 && dvb_usb_mxl111sf_spi) fe 1299 drivers/media/usb/dvb-usb-v2/mxl111sf.c return mxl111sf_ep5_streaming_ctrl(fe, onoff); fe 1300 drivers/media/usb/dvb-usb-v2/mxl111sf.c else if (fe->id == 2 && !dvb_usb_mxl111sf_spi) fe 1301 drivers/media/usb/dvb-usb-v2/mxl111sf.c return mxl111sf_ep6_streaming_ctrl(fe, onoff); fe 1335 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_get_stream_config_mercury_mh(struct dvb_frontend *fe, fe 1338 drivers/media/usb/dvb-usb-v2/mxl111sf.c pr_debug("%s: fe=%d\n", __func__, fe->id); fe 1340 drivers/media/usb/dvb-usb-v2/mxl111sf.c if (fe->id == 0) { fe 1346 drivers/media/usb/dvb-usb-v2/mxl111sf.c } else if (fe->id == 1 && dvb_usb_mxl111sf_spi) { fe 1352 drivers/media/usb/dvb-usb-v2/mxl111sf.c } else if (fe->id == 1 && !dvb_usb_mxl111sf_spi) { fe 1362 drivers/media/usb/dvb-usb-v2/mxl111sf.c static int mxl111sf_streaming_ctrl_mercury_mh(struct dvb_frontend *fe, int onoff) fe 1364 drivers/media/usb/dvb-usb-v2/mxl111sf.c pr_debug("%s: fe=%d onoff=%d\n", __func__, fe->id, onoff); fe 1366 drivers/media/usb/dvb-usb-v2/mxl111sf.c if (fe->id == 0) fe 1367 drivers/media/usb/dvb-usb-v2/mxl111sf.c return mxl111sf_ep4_streaming_ctrl(fe, onoff); fe 1368 drivers/media/usb/dvb-usb-v2/mxl111sf.c else if (fe->id == 1 && dvb_usb_mxl111sf_spi) fe 1369 drivers/media/usb/dvb-usb-v2/mxl111sf.c return mxl111sf_ep5_streaming_ctrl(fe, onoff); fe 1370 drivers/media/usb/dvb-usb-v2/mxl111sf.c else if (fe->id == 1 && !dvb_usb_mxl111sf_spi) fe 1371 drivers/media/usb/dvb-usb-v2/mxl111sf.c return mxl111sf_ep6_streaming_ctrl(fe, onoff); fe 712 drivers/media/usb/dvb-usb-v2/rtl28xxu.c adap->fe[0] = pdata->get_dvb_frontend(client); fe 933 drivers/media/usb/dvb-usb-v2/rtl28xxu.c adap->fe[0] = pdata->get_dvb_frontend(client); fe 939 drivers/media/usb/dvb-usb-v2/rtl28xxu.c adap->fe[0]->callback = rtl2832u_frontend_callback; fe 954 drivers/media/usb/dvb-usb-v2/rtl28xxu.c mn88472_config.fe = &adap->fe[1]; fe 979 drivers/media/usb/dvb-usb-v2/rtl28xxu.c mn88473_config.fe = &adap->fe[1]; fe 1006 drivers/media/usb/dvb-usb-v2/rtl28xxu.c adap->fe[1] = dvb_attach(cxd2841er_attach_t_c, fe 1009 drivers/media/usb/dvb-usb-v2/rtl28xxu.c if (!adap->fe[1]) { fe 1013 drivers/media/usb/dvb-usb-v2/rtl28xxu.c adap->fe[1]->id = 1; fe 1020 drivers/media/usb/dvb-usb-v2/rtl28xxu.c si2168_config.fe = &adap->fe[1]; fe 1119 drivers/media/usb/dvb-usb-v2/rtl28xxu.c struct dvb_frontend *fe; fe 1125 drivers/media/usb/dvb-usb-v2/rtl28xxu.c fe = dvb_attach(qt1010_attach, adap->fe[0], fe 1130 drivers/media/usb/dvb-usb-v2/rtl28xxu.c fe = dvb_attach(mt2060_attach, adap->fe[0], fe 1135 drivers/media/usb/dvb-usb-v2/rtl28xxu.c fe = dvb_attach(mxl5005s_attach, adap->fe[0], fe 1140 drivers/media/usb/dvb-usb-v2/rtl28xxu.c fe = NULL; fe 1144 drivers/media/usb/dvb-usb-v2/rtl28xxu.c if (fe == NULL) { fe 1179 drivers/media/usb/dvb-usb-v2/rtl28xxu.c struct dvb_frontend *fe = NULL; fe 1193 drivers/media/usb/dvb-usb-v2/rtl28xxu.c fe = dvb_attach(fc0012_attach, adap->fe[0], fe 1198 drivers/media/usb/dvb-usb-v2/rtl28xxu.c adap->fe[0]->ops.read_signal_strength = fe 1199 drivers/media/usb/dvb-usb-v2/rtl28xxu.c adap->fe[0]->ops.tuner_ops.get_rf_strength; fe 1202 drivers/media/usb/dvb-usb-v2/rtl28xxu.c fe = dvb_attach(fc0013_attach, adap->fe[0], fe 1206 drivers/media/usb/dvb-usb-v2/rtl28xxu.c adap->fe[0]->ops.read_signal_strength = fe 1207 drivers/media/usb/dvb-usb-v2/rtl28xxu.c adap->fe[0]->ops.tuner_ops.get_rf_strength; fe 1211 drivers/media/usb/dvb-usb-v2/rtl28xxu.c .fe = adap->fe[0], fe 1235 drivers/media/usb/dvb-usb-v2/rtl28xxu.c .dvb_frontend = adap->fe[0], fe 1257 drivers/media/usb/dvb-usb-v2/rtl28xxu.c .dvb_frontend = adap->fe[0], fe 1285 drivers/media/usb/dvb-usb-v2/rtl28xxu.c fe = dvb_attach(r820t_attach, adap->fe[0], fe 1290 drivers/media/usb/dvb-usb-v2/rtl28xxu.c adap->fe[0]->ops.read_signal_strength = fe 1291 drivers/media/usb/dvb-usb-v2/rtl28xxu.c adap->fe[0]->ops.tuner_ops.get_rf_strength; fe 1294 drivers/media/usb/dvb-usb-v2/rtl28xxu.c fe = dvb_attach(r820t_attach, adap->fe[0], fe 1297 drivers/media/usb/dvb-usb-v2/rtl28xxu.c adap->fe[0]->ops.read_signal_strength = fe 1298 drivers/media/usb/dvb-usb-v2/rtl28xxu.c adap->fe[0]->ops.tuner_ops.get_rf_strength; fe 1300 drivers/media/usb/dvb-usb-v2/rtl28xxu.c if (adap->fe[1]) { fe 1301 drivers/media/usb/dvb-usb-v2/rtl28xxu.c fe = dvb_attach(r820t_attach, adap->fe[1], fe 1304 drivers/media/usb/dvb-usb-v2/rtl28xxu.c adap->fe[1]->ops.read_signal_strength = fe 1305 drivers/media/usb/dvb-usb-v2/rtl28xxu.c adap->fe[1]->ops.tuner_ops.get_rf_strength; fe 1310 drivers/media/usb/dvb-usb-v2/rtl28xxu.c .fe = adap->fe[0], fe 1332 drivers/media/usb/dvb-usb-v2/rtl28xxu.c if (adap->fe[1]) { fe 1333 drivers/media/usb/dvb-usb-v2/rtl28xxu.c adap->fe[1]->tuner_priv = fe 1334 drivers/media/usb/dvb-usb-v2/rtl28xxu.c adap->fe[0]->tuner_priv; fe 1335 drivers/media/usb/dvb-usb-v2/rtl28xxu.c memcpy(&adap->fe[1]->ops.tuner_ops, fe 1336 drivers/media/usb/dvb-usb-v2/rtl28xxu.c &adap->fe[0]->ops.tuner_ops, fe 1344 drivers/media/usb/dvb-usb-v2/rtl28xxu.c if (fe == NULL && dev->i2c_client_tuner == NULL) { fe 1360 drivers/media/usb/dvb-usb-v2/rtl28xxu.c pdata.dvb_frontend = adap->fe[0]; fe 1581 drivers/media/usb/dvb-usb-v2/rtl28xxu.c static int rtl28xxu_frontend_ctrl(struct dvb_frontend *fe, int onoff) fe 1583 drivers/media/usb/dvb-usb-v2/rtl28xxu.c struct dvb_usb_device *d = fe_to_d(fe); fe 1584 drivers/media/usb/dvb-usb-v2/rtl28xxu.c struct rtl28xxu_dev *dev = fe_to_priv(fe); fe 1589 drivers/media/usb/dvb-usb-v2/rtl28xxu.c dev_dbg(&d->intf->dev, "fe=%d onoff=%d\n", fe->id, onoff); fe 1594 drivers/media/usb/dvb-usb-v2/rtl28xxu.c if (fe->id == 0) { fe 1604 drivers/media/usb/dvb-usb-v2/rtl28xxu.c } else if (fe->id == 1) { fe 1832 drivers/media/usb/dvb-usb-v2/rtl28xxu.c return pdata->pid_filter_ctrl(adap->fe[0], onoff); fe 1836 drivers/media/usb/dvb-usb-v2/rtl28xxu.c return pdata->pid_filter_ctrl(adap->fe[0], onoff); fe 1848 drivers/media/usb/dvb-usb-v2/rtl28xxu.c return pdata->pid_filter(adap->fe[0], index, pid, onoff); fe 1852 drivers/media/usb/dvb-usb-v2/rtl28xxu.c return pdata->pid_filter(adap->fe[0], index, pid, onoff); fe 187 drivers/media/usb/dvb-usb-v2/zd1301.c adap->fe[0] = frontend; fe 229 drivers/media/usb/dvb-usb-v2/zd1301.c static int zd1301_streaming_ctrl(struct dvb_frontend *fe, int onoff) fe 231 drivers/media/usb/dvb-usb-v2/zd1301.c struct dvb_usb_device *d = fe_to_d(fe); fe 90 drivers/media/usb/dvb-usb/a800.c .fe = {{ fe 91 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_is_fecmon_available(struct dvb_frontend *fe, int *available) fe 93 drivers/media/usb/dvb-usb/af9005-fe.c struct af9005_fe_state *state = fe->demodulator_priv; fe 119 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_get_post_vit_err_cw_count(struct dvb_frontend *fe, fe 124 drivers/media/usb/dvb-usb/af9005-fe.c struct af9005_fe_state *state = fe->demodulator_priv; fe 203 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_get_post_vit_ber(struct dvb_frontend *fe, fe 212 drivers/media/usb/dvb-usb/af9005-fe.c af9005_get_post_vit_err_cw_count(fe, &loc_err_count, &loc_cw_count, fe 223 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_get_pre_vit_err_bit_count(struct dvb_frontend *fe, fe 227 drivers/media/usb/dvb-usb/af9005-fe.c struct af9005_fe_state *state = fe->demodulator_priv; fe 320 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_reset_pre_viterbi(struct dvb_frontend *fe) fe 322 drivers/media/usb/dvb-usb/af9005-fe.c struct af9005_fe_state *state = fe->demodulator_priv; fe 344 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_reset_post_viterbi(struct dvb_frontend *fe) fe 346 drivers/media/usb/dvb-usb/af9005-fe.c struct af9005_fe_state *state = fe->demodulator_priv; fe 369 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_get_statistic(struct dvb_frontend *fe) fe 371 drivers/media/usb/dvb-usb/af9005-fe.c struct af9005_fe_state *state = fe->demodulator_priv; fe 376 drivers/media/usb/dvb-usb/af9005-fe.c ret = af9005_is_fecmon_available(fe, &fecavailable); fe 384 drivers/media/usb/dvb-usb/af9005-fe.c ret = af9005_get_pre_vit_err_bit_count(fe, &state->pre_vit_error_count, fe 387 drivers/media/usb/dvb-usb/af9005-fe.c af9005_reset_pre_viterbi(fe); fe 401 drivers/media/usb/dvb-usb/af9005-fe.c ret = af9005_get_post_vit_ber(fe, &state->post_vit_error_count, fe 405 drivers/media/usb/dvb-usb/af9005-fe.c ret = af9005_reset_post_viterbi(fe); fe 413 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_fe_refresh_state(struct dvb_frontend *fe) fe 415 drivers/media/usb/dvb-usb/af9005-fe.c struct af9005_fe_state *state = fe->demodulator_priv; fe 420 drivers/media/usb/dvb-usb/af9005-fe.c if (af9005_get_statistic(fe)) fe 427 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_fe_read_status(struct dvb_frontend *fe, fe 430 drivers/media/usb/dvb-usb/af9005-fe.c struct af9005_fe_state *state = fe->demodulator_priv; fe 434 drivers/media/usb/dvb-usb/af9005-fe.c if (fe->ops.tuner_ops.release == NULL) fe 477 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_fe_read_ber(struct dvb_frontend *fe, u32 * ber) fe 479 drivers/media/usb/dvb-usb/af9005-fe.c struct af9005_fe_state *state = fe->demodulator_priv; fe 480 drivers/media/usb/dvb-usb/af9005-fe.c if (fe->ops.tuner_ops.release == NULL) fe 482 drivers/media/usb/dvb-usb/af9005-fe.c af9005_fe_refresh_state(fe); fe 487 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_fe_read_unc_blocks(struct dvb_frontend *fe, u32 * unc) fe 489 drivers/media/usb/dvb-usb/af9005-fe.c struct af9005_fe_state *state = fe->demodulator_priv; fe 490 drivers/media/usb/dvb-usb/af9005-fe.c if (fe->ops.tuner_ops.release == NULL) fe 492 drivers/media/usb/dvb-usb/af9005-fe.c af9005_fe_refresh_state(fe); fe 497 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_fe_read_signal_strength(struct dvb_frontend *fe, fe 500 drivers/media/usb/dvb-usb/af9005-fe.c struct af9005_fe_state *state = fe->demodulator_priv; fe 504 drivers/media/usb/dvb-usb/af9005-fe.c if (fe->ops.tuner_ops.release == NULL) fe 522 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_fe_read_snr(struct dvb_frontend *fe, u16 * snr) fe 785 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_fe_power(struct dvb_frontend *fe, int on) fe 787 drivers/media/usb/dvb-usb/af9005-fe.c struct af9005_fe_state *state = fe->demodulator_priv; fe 803 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_fe_init(struct dvb_frontend *fe) fe 805 drivers/media/usb/dvb-usb/af9005-fe.c struct af9005_fe_state *state = fe->demodulator_priv; fe 806 drivers/media/usb/dvb-usb/af9005-fe.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 1027 drivers/media/usb/dvb-usb/af9005-fe.c if (fe->ops.tuner_ops.release == NULL) { fe 1044 drivers/media/usb/dvb-usb/af9005-fe.c if (dvb_attach(mt2060_attach, fe, &adap->dev->i2c_adap, fe 1052 drivers/media/usb/dvb-usb/af9005-fe.c if (dvb_attach(qt1010_attach, fe, &adap->dev->i2c_adap, fe 1062 drivers/media/usb/dvb-usb/af9005-fe.c ret = fe->ops.tuner_ops.init(fe); fe 1071 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_fe_sleep(struct dvb_frontend *fe) fe 1073 drivers/media/usb/dvb-usb/af9005-fe.c return af9005_fe_power(fe, 0); fe 1076 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_ts_bus_ctrl(struct dvb_frontend *fe, int acquire) fe 1078 drivers/media/usb/dvb-usb/af9005-fe.c struct af9005_fe_state *state = fe->demodulator_priv; fe 1091 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_fe_set_frontend(struct dvb_frontend *fe) fe 1093 drivers/media/usb/dvb-usb/af9005-fe.c struct dtv_frontend_properties *fep = &fe->dtv_property_cache; fe 1094 drivers/media/usb/dvb-usb/af9005-fe.c struct af9005_fe_state *state = fe->demodulator_priv; fe 1100 drivers/media/usb/dvb-usb/af9005-fe.c if (fe->ops.tuner_ops.release == NULL) { fe 1181 drivers/media/usb/dvb-usb/af9005-fe.c ret = fe->ops.tuner_ops.set_params(fe); fe 1202 drivers/media/usb/dvb-usb/af9005-fe.c af9005_reset_pre_viterbi(fe); fe 1203 drivers/media/usb/dvb-usb/af9005-fe.c af9005_reset_post_viterbi(fe); fe 1217 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_fe_get_frontend(struct dvb_frontend *fe, fe 1220 drivers/media/usb/dvb-usb/af9005-fe.c struct af9005_fe_state *state = fe->demodulator_priv; fe 1413 drivers/media/usb/dvb-usb/af9005-fe.c static void af9005_fe_release(struct dvb_frontend *fe) fe 1416 drivers/media/usb/dvb-usb/af9005-fe.c (struct af9005_fe_state *)fe->demodulator_priv; fe 819 drivers/media/usb/dvb-usb/af9005.c adap->fe_adap[0].fe = af9005_fe_attach(adap->dev); fe 1029 drivers/media/usb/dvb-usb/af9005.c .fe = {{ fe 778 drivers/media/usb/dvb-usb/az6027.c static int az6027_set_voltage(struct dvb_frontend *fe, fe 783 drivers/media/usb/dvb-usb/az6027.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 910 drivers/media/usb/dvb-usb/az6027.c adap->fe_adap[0].fe = stb0899_attach(&az6027_stb0899_config, &adap->dev->i2c_adap); fe 912 drivers/media/usb/dvb-usb/az6027.c if (adap->fe_adap[0].fe) { fe 914 drivers/media/usb/dvb-usb/az6027.c if (stb6100_attach(adap->fe_adap[0].fe, &az6027_stb6100_config, &adap->dev->i2c_adap)) { fe 916 drivers/media/usb/dvb-usb/az6027.c adap->fe_adap[0].fe->ops.set_voltage = az6027_set_voltage; fe 919 drivers/media/usb/dvb-usb/az6027.c adap->fe_adap[0].fe = NULL; fe 1108 drivers/media/usb/dvb-usb/az6027.c .fe = {{ fe 74 drivers/media/usb/dvb-usb/cinergyT2-core.c adap->fe_adap[0].fe = cinergyt2_fe_attach(adap->dev); fe 212 drivers/media/usb/dvb-usb/cinergyT2-core.c .fe = {{ fe 126 drivers/media/usb/dvb-usb/cinergyT2-fe.c struct dvb_frontend fe; fe 135 drivers/media/usb/dvb-usb/cinergyT2-fe.c static int cinergyt2_fe_read_status(struct dvb_frontend *fe, fe 138 drivers/media/usb/dvb-usb/cinergyT2-fe.c struct cinergyt2_fe_state *state = fe->demodulator_priv; fe 173 drivers/media/usb/dvb-usb/cinergyT2-fe.c static int cinergyt2_fe_read_ber(struct dvb_frontend *fe, u32 *ber) fe 175 drivers/media/usb/dvb-usb/cinergyT2-fe.c struct cinergyt2_fe_state *state = fe->demodulator_priv; fe 181 drivers/media/usb/dvb-usb/cinergyT2-fe.c static int cinergyt2_fe_read_unc_blocks(struct dvb_frontend *fe, u32 *unc) fe 183 drivers/media/usb/dvb-usb/cinergyT2-fe.c struct cinergyt2_fe_state *state = fe->demodulator_priv; fe 189 drivers/media/usb/dvb-usb/cinergyT2-fe.c static int cinergyt2_fe_read_signal_strength(struct dvb_frontend *fe, fe 192 drivers/media/usb/dvb-usb/cinergyT2-fe.c struct cinergyt2_fe_state *state = fe->demodulator_priv; fe 198 drivers/media/usb/dvb-usb/cinergyT2-fe.c static int cinergyt2_fe_read_snr(struct dvb_frontend *fe, u16 *snr) fe 200 drivers/media/usb/dvb-usb/cinergyT2-fe.c struct cinergyt2_fe_state *state = fe->demodulator_priv; fe 206 drivers/media/usb/dvb-usb/cinergyT2-fe.c static int cinergyt2_fe_init(struct dvb_frontend *fe) fe 211 drivers/media/usb/dvb-usb/cinergyT2-fe.c static int cinergyt2_fe_sleep(struct dvb_frontend *fe) fe 217 drivers/media/usb/dvb-usb/cinergyT2-fe.c static int cinergyt2_fe_get_tune_settings(struct dvb_frontend *fe, fe 224 drivers/media/usb/dvb-usb/cinergyT2-fe.c static int cinergyt2_fe_set_frontend(struct dvb_frontend *fe) fe 226 drivers/media/usb/dvb-usb/cinergyT2-fe.c struct dtv_frontend_properties *fep = &fe->dtv_property_cache; fe 227 drivers/media/usb/dvb-usb/cinergyT2-fe.c struct cinergyt2_fe_state *state = fe->demodulator_priv; fe 261 drivers/media/usb/dvb-usb/cinergyT2-fe.c static void cinergyt2_fe_release(struct dvb_frontend *fe) fe 263 drivers/media/usb/dvb-usb/cinergyT2-fe.c struct cinergyt2_fe_state *state = fe->demodulator_priv; fe 277 drivers/media/usb/dvb-usb/cinergyT2-fe.c memcpy(&s->fe.ops, &cinergyt2_fe_ops, sizeof(struct dvb_frontend_ops)); fe 278 drivers/media/usb/dvb-usb/cinergyT2-fe.c s->fe.demodulator_priv = s; fe 280 drivers/media/usb/dvb-usb/cinergyT2-fe.c return &s->fe; fe 483 drivers/media/usb/dvb-usb/cxusb.c struct usb_data_stream_properties *p = &d->props.adapter[0].fe[0].stream; fe 565 drivers/media/usb/dvb-usb/cxusb.c static int cxusb_dee1601_demod_init(struct dvb_frontend *fe) fe 574 drivers/media/usb/dvb-usb/cxusb.c mt352_write(fe, clock_config, sizeof(clock_config)); fe 576 drivers/media/usb/dvb-usb/cxusb.c mt352_write(fe, reset, sizeof(reset)); fe 577 drivers/media/usb/dvb-usb/cxusb.c mt352_write(fe, adc_ctl_1_cfg, sizeof(adc_ctl_1_cfg)); fe 579 drivers/media/usb/dvb-usb/cxusb.c mt352_write(fe, agc_cfg, sizeof(agc_cfg)); fe 580 drivers/media/usb/dvb-usb/cxusb.c mt352_write(fe, gpp_ctl_cfg, sizeof(gpp_ctl_cfg)); fe 581 drivers/media/usb/dvb-usb/cxusb.c mt352_write(fe, capt_range_cfg, sizeof(capt_range_cfg)); fe 586 drivers/media/usb/dvb-usb/cxusb.c static int cxusb_mt352_demod_init(struct dvb_frontend *fe) fe 596 drivers/media/usb/dvb-usb/cxusb.c mt352_write(fe, clock_config, sizeof(clock_config)); fe 598 drivers/media/usb/dvb-usb/cxusb.c mt352_write(fe, reset, sizeof(reset)); fe 599 drivers/media/usb/dvb-usb/cxusb.c mt352_write(fe, adc_ctl_1_cfg, sizeof(adc_ctl_1_cfg)); fe 601 drivers/media/usb/dvb-usb/cxusb.c mt352_write(fe, agc_cfg, sizeof(agc_cfg)); fe 602 drivers/media/usb/dvb-usb/cxusb.c mt352_write(fe, gpp_ctl_cfg, sizeof(gpp_ctl_cfg)); fe 603 drivers/media/usb/dvb-usb/cxusb.c mt352_write(fe, capt_range_cfg, sizeof(capt_range_cfg)); fe 707 drivers/media/usb/dvb-usb/cxusb.c dvb_attach(simple_tuner_attach, adap->fe_adap[0].fe, fe 711 drivers/media/usb/dvb-usb/cxusb.c if (is_medion && adap->fe_adap[0].fe) fe 716 drivers/media/usb/dvb-usb/cxusb.c adap->fe_adap[0].fe->ops.tuner_ops.sleep = NULL; fe 723 drivers/media/usb/dvb-usb/cxusb.c dvb_attach(dvb_pll_attach, adap->fe_adap[0].fe, 0x61, fe 730 drivers/media/usb/dvb-usb/cxusb.c dvb_attach(dvb_pll_attach, adap->fe_adap[0].fe, 0x61, fe 737 drivers/media/usb/dvb-usb/cxusb.c dvb_attach(dvb_pll_attach, adap->fe_adap[0].fe, 0x60, fe 744 drivers/media/usb/dvb-usb/cxusb.c dvb_attach(simple_tuner_attach, adap->fe_adap[0].fe, fe 776 drivers/media/usb/dvb-usb/cxusb.c struct dvb_frontend *fe; fe 788 drivers/media/usb/dvb-usb/cxusb.c adap->fe_adap[0].fe->callback = dvico_bluebird_xc2028_callback; fe 790 drivers/media/usb/dvb-usb/cxusb.c fe = dvb_attach(xc2028_attach, adap->fe_adap[0].fe, &cfg); fe 791 drivers/media/usb/dvb-usb/cxusb.c if (!fe || !fe->ops.tuner_ops.set_config) fe 794 drivers/media/usb/dvb-usb/cxusb.c fe->ops.tuner_ops.set_config(fe, &ctl); fe 801 drivers/media/usb/dvb-usb/cxusb.c dvb_attach(mxl5005s_attach, adap->fe_adap[0].fe, fe 808 drivers/media/usb/dvb-usb/cxusb.c struct dvb_frontend *fe; fe 810 drivers/media/usb/dvb-usb/cxusb.c fe = dvb_attach(mxl5005s_attach, adap->fe_adap[0].fe, fe 812 drivers/media/usb/dvb-usb/cxusb.c return (!fe) ? -EIO : 0; fe 817 drivers/media/usb/dvb-usb/cxusb.c struct dvb_frontend *fe; fe 819 drivers/media/usb/dvb-usb/cxusb.c fe = dvb_attach(max2165_attach, adap->fe_adap[0].fe, fe 821 drivers/media/usb/dvb-usb/cxusb.c return (!fe) ? -EIO : 0; fe 824 drivers/media/usb/dvb-usb/cxusb.c static int cxusb_medion_fe_ts_bus_ctrl(struct dvb_frontend *fe, int acquire) fe 826 drivers/media/usb/dvb-usb/cxusb.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 913 drivers/media/usb/dvb-usb/cxusb.c adap->fe_adap[0].fe = dvb_attach(cx22702_attach, &cxusb_cx22702_config, fe 915 drivers/media/usb/dvb-usb/cxusb.c if (!adap->fe_adap[0].fe) fe 919 drivers/media/usb/dvb-usb/cxusb.c adap->fe_adap[0].fe->ops.ts_bus_ctrl = fe 932 drivers/media/usb/dvb-usb/cxusb.c adap->fe_adap[0].fe = dvb_attach(lgdt330x_attach, fe 936 drivers/media/usb/dvb-usb/cxusb.c if (adap->fe_adap[0].fe) fe 944 drivers/media/usb/dvb-usb/cxusb.c adap->fe_adap[0].fe = dvb_attach(lgdt330x_attach, fe 948 drivers/media/usb/dvb-usb/cxusb.c if (adap->fe_adap[0].fe) fe 962 drivers/media/usb/dvb-usb/cxusb.c adap->fe_adap[0].fe = dvb_attach(mt352_attach, &cxusb_mt352_config, fe 964 drivers/media/usb/dvb-usb/cxusb.c if (adap->fe_adap[0].fe) fe 977 drivers/media/usb/dvb-usb/cxusb.c adap->fe_adap[0].fe = dvb_attach(mt352_attach, &cxusb_dee1601_config, fe 979 drivers/media/usb/dvb-usb/cxusb.c if (adap->fe_adap[0].fe) fe 982 drivers/media/usb/dvb-usb/cxusb.c adap->fe_adap[0].fe = dvb_attach(zl10353_attach, fe 985 drivers/media/usb/dvb-usb/cxusb.c if (adap->fe_adap[0].fe) fe 1012 drivers/media/usb/dvb-usb/cxusb.c adap->fe_adap[0].fe = fe 1016 drivers/media/usb/dvb-usb/cxusb.c if (!adap->fe_adap[0].fe) fe 1114 drivers/media/usb/dvb-usb/cxusb.c int (*set_param_save)(struct dvb_frontend *fe); fe 1138 drivers/media/usb/dvb-usb/cxusb.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, fe 1141 drivers/media/usb/dvb-usb/cxusb.c if (!adap->fe_adap[0].fe) fe 1147 drivers/media/usb/dvb-usb/cxusb.c static int dib7070_tuner_reset(struct dvb_frontend *fe, int onoff) fe 1149 drivers/media/usb/dvb-usb/cxusb.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 1152 drivers/media/usb/dvb-usb/cxusb.c return state->dib7000p_ops.set_gpio(fe, 8, 0, !onoff); fe 1155 drivers/media/usb/dvb-usb/cxusb.c static int dib7070_tuner_sleep(struct dvb_frontend *fe, int onoff) fe 1167 drivers/media/usb/dvb-usb/cxusb.c static int dib7070_set_param_override(struct dvb_frontend *fe) fe 1169 drivers/media/usb/dvb-usb/cxusb.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1170 drivers/media/usb/dvb-usb/cxusb.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 1186 drivers/media/usb/dvb-usb/cxusb.c state->dib7000p_ops.set_wbd_ref(fe, offset + dib0070_wbd_offset(fe)); fe 1188 drivers/media/usb/dvb-usb/cxusb.c return state->set_param_save(fe); fe 1201 drivers/media/usb/dvb-usb/cxusb.c tun_i2c = st->dib7000p_ops.get_i2c_master(adap->fe_adap[0].fe, fe 1204 drivers/media/usb/dvb-usb/cxusb.c if (dvb_attach(dib0070_attach, adap->fe_adap[0].fe, tun_i2c, fe 1208 drivers/media/usb/dvb-usb/cxusb.c st->set_param_save = adap->fe_adap[0].fe->ops.tuner_ops.set_params; fe 1209 drivers/media/usb/dvb-usb/cxusb.c adap->fe_adap[0].fe->ops.tuner_ops.set_params = dib7070_set_param_override; fe 1225 drivers/media/usb/dvb-usb/cxusb.c adap->fe_adap[0].fe = dvb_attach(zl10353_attach, fe 1228 drivers/media/usb/dvb-usb/cxusb.c if (adap->fe_adap[0].fe) fe 1231 drivers/media/usb/dvb-usb/cxusb.c adap->fe_adap[0].fe = dvb_attach(mt352_attach, fe 1234 drivers/media/usb/dvb-usb/cxusb.c if (adap->fe_adap[0].fe) fe 1272 drivers/media/usb/dvb-usb/cxusb.c d->props.adapter[0].fe[0].stream.endpoint)); fe 1294 drivers/media/usb/dvb-usb/cxusb.c adap->fe_adap[0].fe = dvb_attach(lgs8gxx_attach, fe 1296 drivers/media/usb/dvb-usb/cxusb.c if (!adap->fe_adap[0].fe) fe 1333 drivers/media/usb/dvb-usb/cxusb.c d->props.adapter[0].fe[0].stream.endpoint)); fe 1348 drivers/media/usb/dvb-usb/cxusb.c adap->fe_adap[0].fe = dvb_attach(atbm8830_attach, fe 1351 drivers/media/usb/dvb-usb/cxusb.c if (!adap->fe_adap[0].fe) fe 1779 drivers/media/usb/dvb-usb/cxusb.c .fe = {{ fe 1830 drivers/media/usb/dvb-usb/cxusb.c .fe = {{ fe 1890 drivers/media/usb/dvb-usb/cxusb.c .fe = {{ fe 1957 drivers/media/usb/dvb-usb/cxusb.c .fe = {{ fe 2016 drivers/media/usb/dvb-usb/cxusb.c .fe = {{ fe 2069 drivers/media/usb/dvb-usb/cxusb.c .fe = {{ fe 2123 drivers/media/usb/dvb-usb/cxusb.c .fe = {{ fe 2180 drivers/media/usb/dvb-usb/cxusb.c .fe = {{ fe 2234 drivers/media/usb/dvb-usb/cxusb.c .fe = {{ fe 2280 drivers/media/usb/dvb-usb/cxusb.c .fe = {{ fe 2333 drivers/media/usb/dvb-usb/cxusb.c .fe = {{ fe 2388 drivers/media/usb/dvb-usb/cxusb.c .fe = {{ fe 79 drivers/media/usb/dvb-usb/cxusb.h int (*fe_read_status)(struct dvb_frontend *fe, fe 49 drivers/media/usb/dvb-usb/dib0700.h int (*sleep)(struct dvb_frontend* fe); fe 566 drivers/media/usb/dvb-usb/dib0700_core.c dib0700_devices[i].adapter[adap_num].fe[0].stream.u.bulk.buffersize = 188*nb_packet_buffer_size; fe 570 drivers/media/usb/dvb-usb/dib0700_core.c dib0700_devices[i].adapter[adap_num].fe[0].stream.u.bulk.buffersize = ((188*nb_packet_buffer_size+188/2)/512)*512; fe 571 drivers/media/usb/dvb-usb/dib0700_core.c if (dib0700_devices[i].adapter[adap_num].fe[0].stream.u.bulk.buffersize < 512) fe 572 drivers/media/usb/dvb-usb/dib0700_core.c dib0700_devices[i].adapter[adap_num].fe[0].stream.u.bulk.buffersize = 512; fe 105 drivers/media/usb/dvb-usb/dib0700_devices.c return (adap->fe_adap[0].fe = dvb_attach(dib3000mc_attach, &adap->dev->i2c_adap, fe 122 drivers/media/usb/dvb-usb/dib0700_devices.c struct i2c_adapter *tun_i2c = dib3000mc_get_tuner_i2c_master(adap->fe_adap[0].fe, 1); fe 129 drivers/media/usb/dvb-usb/dib0700_devices.c return dvb_attach(mt2060_attach, adap->fe_adap[0].fe, tun_i2c, fe 299 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, fe 303 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 333 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, fe 337 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 345 drivers/media/usb/dvb-usb/dib0700_devices.c tun_i2c = state->dib7000p_ops.get_i2c_master(adap->fe_adap[0].fe, fe 347 drivers/media/usb/dvb-usb/dib0700_devices.c return dvb_attach(mt2266_attach, adap->fe_adap[0].fe, tun_i2c, fe 428 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 0); fe 430 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); fe 486 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, fe 489 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 497 drivers/media/usb/dvb-usb/dib0700_devices.c tun_i2c = state->dib7000p_ops.get_i2c_master(adap->fe_adap[0].fe, fe 503 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe->callback = stk7700ph_xc3028_callback; fe 505 drivers/media/usb/dvb-usb/dib0700_devices.c return dvb_attach(xc2028_attach, adap->fe_adap[0].fe, &stk7700ph_xc3028_config) fe 726 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 18, &stk7700p_dib7000p_config); fe 730 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = dvb_attach(dib7000m_attach, &adap->dev->i2c_adap, 18, &stk7700p_dib7000m_config); fe 733 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 754 drivers/media/usb/dvb-usb/dib0700_devices.c tun_i2c = state->dib7000p_ops.get_i2c_master(adap->fe_adap[0].fe, DIBX000_I2C_INTERFACE_TUNER, 1); fe 756 drivers/media/usb/dvb-usb/dib0700_devices.c tun_i2c = dib7000m_get_i2c_master(adap->fe_adap[0].fe, DIBX000_I2C_INTERFACE_TUNER, 1); fe 758 drivers/media/usb/dvb-usb/dib0700_devices.c return dvb_attach(mt2060_attach, adap->fe_adap[0].fe, tun_i2c, &stk7700p_mt2060_config, fe 796 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib7070_tuner_reset(struct dvb_frontend *fe, int onoff) fe 798 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 802 drivers/media/usb/dvb-usb/dib0700_devices.c return state->dib7000p_ops.set_gpio(fe, 8, 0, !onoff); fe 805 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib7070_tuner_sleep(struct dvb_frontend *fe, int onoff) fe 807 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 811 drivers/media/usb/dvb-usb/dib0700_devices.c return state->dib7000p_ops.set_gpio(fe, 9, 0, onoff); fe 841 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib7070_set_param_override(struct dvb_frontend *fe) fe 843 drivers/media/usb/dvb-usb/dib0700_devices.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 844 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 854 drivers/media/usb/dvb-usb/dib0700_devices.c deb_info("WBD for DiB7000P: %d\n", offset + dib0070_wbd_offset(fe)); fe 855 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.set_wbd_ref(fe, offset + dib0070_wbd_offset(fe)); fe 856 drivers/media/usb/dvb-usb/dib0700_devices.c return state->set_param_save(fe); fe 859 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib7770_set_param_override(struct dvb_frontend *fe) fe 861 drivers/media/usb/dvb-usb/dib0700_devices.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 862 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 869 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.set_gpio(fe, 0, 0, 1); fe 874 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.set_gpio(fe, 0, 0, 0); fe 878 drivers/media/usb/dvb-usb/dib0700_devices.c deb_info("WBD for DiB7000P: %d\n", offset + dib0070_wbd_offset(fe)); fe 879 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.set_wbd_ref(fe, offset + dib0070_wbd_offset(fe)); fe 880 drivers/media/usb/dvb-usb/dib0700_devices.c return state->set_param_save(fe); fe 886 drivers/media/usb/dvb-usb/dib0700_devices.c struct i2c_adapter *tun_i2c = st->dib7000p_ops.get_i2c_master(adap->fe_adap[0].fe, fe 889 drivers/media/usb/dvb-usb/dib0700_devices.c if (dvb_attach(dib0070_attach, adap->fe_adap[0].fe, tun_i2c, fe 893 drivers/media/usb/dvb-usb/dib0700_devices.c st->set_param_save = adap->fe_adap[0].fe->ops.tuner_ops.set_params; fe 894 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe->ops.tuner_ops.set_params = dib7770_set_param_override; fe 901 drivers/media/usb/dvb-usb/dib0700_devices.c struct i2c_adapter *tun_i2c = st->dib7000p_ops.get_i2c_master(adap->fe_adap[0].fe, DIBX000_I2C_INTERFACE_TUNER, 1); fe 904 drivers/media/usb/dvb-usb/dib0700_devices.c if (dvb_attach(dib0070_attach, adap->fe_adap[0].fe, tun_i2c, &dib7070p_dib0070_config[0]) == NULL) fe 907 drivers/media/usb/dvb-usb/dib0700_devices.c if (dvb_attach(dib0070_attach, adap->fe_adap[0].fe, tun_i2c, &dib7070p_dib0070_config[1]) == NULL) fe 911 drivers/media/usb/dvb-usb/dib0700_devices.c st->set_param_save = adap->fe_adap[0].fe->ops.tuner_ops.set_params; fe 912 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe->ops.tuner_ops.set_params = dib7070_set_param_override; fe 923 drivers/media/usb/dvb-usb/dib0700_devices.c return state->dib7000p_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff); fe 924 drivers/media/usb/dvb-usb/dib0700_devices.c return dib7000m_pid_filter(adapter->fe_adap[0].fe, index, pid, onoff); fe 932 drivers/media/usb/dvb-usb/dib0700_devices.c return state->dib7000p_ops.pid_filter_ctrl(adapter->fe_adap[0].fe, onoff); fe 933 drivers/media/usb/dvb-usb/dib0700_devices.c return dib7000m_pid_filter_ctrl(adapter->fe_adap[0].fe, onoff); fe 939 drivers/media/usb/dvb-usb/dib0700_devices.c return state->dib7000p_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff); fe 945 drivers/media/usb/dvb-usb/dib0700_devices.c return state->dib7000p_ops.pid_filter_ctrl(adapter->fe_adap[0].fe, onoff); fe 1018 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, fe 1020 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 1076 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, fe 1078 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 1230 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib80xx_tuner_reset(struct dvb_frontend *fe, int onoff) fe 1232 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 1235 drivers/media/usb/dvb-usb/dib0700_devices.c return state->dib8000_ops.set_gpio(fe, 5, 0, !onoff); fe 1238 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib80xx_tuner_sleep(struct dvb_frontend *fe, int onoff) fe 1240 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 1243 drivers/media/usb/dvb-usb/dib0700_devices.c return state->dib8000_ops.set_gpio(fe, 0, 0, onoff); fe 1283 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib807x_set_param_override(struct dvb_frontend *fe) fe 1285 drivers/media/usb/dvb-usb/dib0700_devices.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1286 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 1289 drivers/media/usb/dvb-usb/dib0700_devices.c u16 offset = dib0070_wbd_offset(fe); fe 1300 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.set_wbd_ref(fe, offset); fe 1302 drivers/media/usb/dvb-usb/dib0700_devices.c return state->set_param_save(fe); fe 1308 drivers/media/usb/dvb-usb/dib0700_devices.c struct i2c_adapter *tun_i2c = st->dib8000_ops.get_i2c_master(adap->fe_adap[0].fe, fe 1312 drivers/media/usb/dvb-usb/dib0700_devices.c if (dvb_attach(dib0070_attach, adap->fe_adap[0].fe, tun_i2c, fe 1316 drivers/media/usb/dvb-usb/dib0700_devices.c if (dvb_attach(dib0070_attach, adap->fe_adap[0].fe, tun_i2c, fe 1321 drivers/media/usb/dvb-usb/dib0700_devices.c st->set_param_save = adap->fe_adap[0].fe->ops.tuner_ops.set_params; fe 1322 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe->ops.tuner_ops.set_params = dib807x_set_param_override; fe 1331 drivers/media/usb/dvb-usb/dib0700_devices.c return state->dib8000_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff); fe 1339 drivers/media/usb/dvb-usb/dib0700_devices.c return state->dib8000_ops.pid_filter_ctrl(adapter->fe_adap[0].fe, onoff); fe 1368 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x80, fe 1371 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 1402 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x80, fe 1405 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 1418 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x82, fe 1421 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 1536 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib8090_get_adc_power(struct dvb_frontend *fe) fe 1538 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 1541 drivers/media/usb/dvb-usb/dib0700_devices.c return state->dib8000_ops.get_adc_power(fe, 1); fe 1544 drivers/media/usb/dvb-usb/dib0700_devices.c static void dib8090_agc_control(struct dvb_frontend *fe, u8 restart) fe 1547 drivers/media/usb/dvb-usb/dib0700_devices.c dib0090_dcc_freq(fe, restart); fe 1550 drivers/media/usb/dvb-usb/dib0700_devices.c dib0090_set_dc_servo(fe, 1); fe 1626 drivers/media/usb/dvb-usb/dib0700_devices.c static u8 dib8090_compute_pll_parameters(struct dvb_frontend *fe) fe 1634 drivers/media/usb/dvb-usb/dib0700_devices.c ratio = ((fe->dtv_property_cache.frequency / 1000) * (1 << 8) / 1000) / freq_adc; fe 1635 drivers/media/usb/dvb-usb/dib0700_devices.c rest = ((fe->dtv_property_cache.frequency / 1000) * (1 << 8) / 1000) - ratio * freq_adc; fe 1650 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib8096_set_param_override(struct dvb_frontend *fe) fe 1652 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 1654 drivers/media/usb/dvb-usb/dib0700_devices.c u8 pll_ratio, band = BAND_OF_FREQUENCY(fe->dtv_property_cache.frequency / 1000); fe 1662 drivers/media/usb/dvb-usb/dib0700_devices.c deb_info("Warning : Rf frequency (%iHz) is not in the supported range, using VHF switch ", fe->dtv_property_cache.frequency); fe 1665 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.set_gpio(fe, 3, 0, 1); fe 1668 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.set_gpio(fe, 3, 0, 0); fe 1672 drivers/media/usb/dvb-usb/dib0700_devices.c ret = state->set_param_save(fe); fe 1676 drivers/media/usb/dvb-usb/dib0700_devices.c if (fe->dtv_property_cache.bandwidth_hz != 6000000) { fe 1682 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.update_pll(fe, &dib8090_pll_config_12mhz, fe->dtv_property_cache.bandwidth_hz / 1000, 0); fe 1685 drivers/media/usb/dvb-usb/dib0700_devices.c pll_ratio = dib8090_compute_pll_parameters(fe); fe 1696 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.update_pll(fe, &dib8090_pll_config_12mhz, fe->dtv_property_cache.bandwidth_hz / 1000, pll_ratio); fe 1698 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.ctrl_timf(fe, DEMOD_TIMF_SET, timf); fe 1702 drivers/media/usb/dvb-usb/dib0700_devices.c target = (dib0090_get_wbd_target(fe) * 8 * 18 / 33 + 1) / 2; fe 1703 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.set_wbd_ref(fe, target); fe 1708 drivers/media/usb/dvb-usb/dib0700_devices.c dib0090_set_tune_state(fe, CT_AGC_START); fe 1711 drivers/media/usb/dvb-usb/dib0700_devices.c ret = dib0090_gain_control(fe); fe 1713 drivers/media/usb/dvb-usb/dib0700_devices.c tune_state = dib0090_get_tune_state(fe); fe 1715 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.set_gpio(fe, 6, 0, 1); fe 1717 drivers/media/usb/dvb-usb/dib0700_devices.c dib0090_get_current_gain(fe, NULL, NULL, &rf_gain_limit, <gain); fe 1719 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.set_gpio(fe, 6, 0, 0); fe 1724 drivers/media/usb/dvb-usb/dib0700_devices.c dib0090_pwm_gain_reset(fe); fe 1725 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.pwm_agc_reset(fe); fe 1726 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.set_tune_state(fe, CT_DEMOD_START); fe 1730 drivers/media/usb/dvb-usb/dib0700_devices.c dib0090_pwm_gain_reset(fe); fe 1739 drivers/media/usb/dvb-usb/dib0700_devices.c struct i2c_adapter *tun_i2c = st->dib8000_ops.get_i2c_master(adap->fe_adap[0].fe, DIBX000_I2C_INTERFACE_TUNER, 1); fe 1742 drivers/media/usb/dvb-usb/dib0700_devices.c if (dvb_attach(dib0090_register, adap->fe_adap[0].fe, tun_i2c, &dib809x_dib0090_config) == NULL) fe 1746 drivers/media/usb/dvb-usb/dib0700_devices.c if (dvb_attach(dib0090_register, adap->fe_adap[0].fe, tun_i2c, &dib809x_dib0090_config) == NULL) fe 1750 drivers/media/usb/dvb-usb/dib0700_devices.c st->set_param_save = adap->fe_adap[0].fe->ops.tuner_ops.set_params; fe 1751 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe->ops.tuner_ops.set_params = dib8096_set_param_override; fe 1779 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x80, &dib809x_dib8000_config[0]); fe 1781 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 1793 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x82, &dib809x_dib8000_config[1]); fe 1795 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 1802 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_frontend *fe_slave = st->dib8000_ops.get_slave_frontend(adap->fe_adap[0].fe, 1); fe 1808 drivers/media/usb/dvb-usb/dib0700_devices.c fe_slave->dvb = adap->fe_adap[0].fe->dvb; fe 1811 drivers/media/usb/dvb-usb/dib0700_devices.c tun_i2c = st->dib8000_ops.get_i2c_master(adap->fe_adap[0].fe, DIBX000_I2C_INTERFACE_TUNER, 1); fe 1812 drivers/media/usb/dvb-usb/dib0700_devices.c if (dvb_attach(dib0090_register, adap->fe_adap[0].fe, tun_i2c, &dib809x_dib0090_config) == NULL) fe 1815 drivers/media/usb/dvb-usb/dib0700_devices.c st->set_param_save = adap->fe_adap[0].fe->ops.tuner_ops.set_params; fe 1816 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe->ops.tuner_ops.set_params = dib8096_set_param_override; fe 1848 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x80, &dib809x_dib8000_config[0]); fe 1849 drivers/media/usb/dvb-usb/dib0700_devices.c if (adap->fe_adap[0].fe == NULL) fe 1857 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.set_slave_frontend(adap->fe_adap[0].fe, fe_slave); fe 2045 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib8096p_get_best_sampling(struct dvb_frontend *fe, struct dibx090p_best_adc *adc) fe 2060 drivers/media/usb/dvb-usb/dib0700_devices.c deb_info("bandwidth = %d", fe->dtv_property_cache.bandwidth_hz); fe 2086 drivers/media/usb/dvb-usb/dib0700_devices.c if ((fdem >= fdem_min) && (fmem <= fmem_max) && (fs >= fe->dtv_property_cache.bandwidth_hz / 1000)) { fe 2089 drivers/media/usb/dvb-usb/dib0700_devices.c for (harmonic_id = (fe->dtv_property_cache.frequency / (1000 * fs)); harmonic_id <= ((fe->dtv_property_cache.frequency / (1000 * fs)) + 1); harmonic_id++) { fe 2090 drivers/media/usb/dvb-usb/dib0700_devices.c if (((fs * harmonic_id) >= (fe->dtv_property_cache.frequency / 1000 - (fe->dtv_property_cache.bandwidth_hz / 2000))) && ((fs * harmonic_id) <= (fe->dtv_property_cache.frequency / 1000 + (fe->dtv_property_cache.bandwidth_hz / 2000)))) { fe 2102 drivers/media/usb/dvb-usb/dib0700_devices.c deb_info("RF %6d; BW %6d; Xtal %6d; Fmem %6d; Fdem %6d; Fs %6d; Prediv %2d; Loopdiv %2d; Timf %8d;", fe->dtv_property_cache.frequency, fe->dtv_property_cache.bandwidth_hz, xtal, fmem, fdem, fs, prediv, loopdiv, adc->timf); fe 2117 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib8096p_agc_startup(struct dvb_frontend *fe) fe 2119 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 2126 drivers/media/usb/dvb-usb/dib0700_devices.c ret = state->set_param_save(fe); fe 2131 drivers/media/usb/dvb-usb/dib0700_devices.c dib0090_pwm_gain_reset(fe); fe 2134 drivers/media/usb/dvb-usb/dib0700_devices.c target = (dib0090_get_wbd_target(fe) * 8 + 1) / 2; fe 2135 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.set_wbd_ref(fe, target); fe 2137 drivers/media/usb/dvb-usb/dib0700_devices.c if (dib8096p_get_best_sampling(fe, &adc) == 0) { fe 2142 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.update_pll(fe, &pll, fe->dtv_property_cache.bandwidth_hz / 1000, 0); fe 2143 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib8000_ops.ctrl_timf(fe, DEMOD_TIMF_SET, adc.timf); fe 2179 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, fe 2182 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 2188 drivers/media/usb/dvb-usb/dib0700_devices.c struct i2c_adapter *tun_i2c = st->dib8000_ops.get_i2c_tuner(adap->fe_adap[0].fe); fe 2194 drivers/media/usb/dvb-usb/dib0700_devices.c if (dvb_attach(dib0090_register, adap->fe_adap[0].fe, tun_i2c, fe 2198 drivers/media/usb/dvb-usb/dib0700_devices.c st->dib8000_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); fe 2200 drivers/media/usb/dvb-usb/dib0700_devices.c st->set_param_save = adap->fe_adap[0].fe->ops.tuner_ops.set_params; fe 2201 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe->ops.tuner_ops.set_params = dib8096p_agc_startup; fe 2208 drivers/media/usb/dvb-usb/dib0700_devices.c return dib9000_fw_pid_filter(adapter->fe_adap[0].fe, index, pid, onoff); fe 2213 drivers/media/usb/dvb-usb/dib0700_devices.c return dib9000_fw_pid_filter_ctrl(adapter->fe_adap[0].fe, onoff); fe 2216 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib90x0_tuner_reset(struct dvb_frontend *fe, int onoff) fe 2218 drivers/media/usb/dvb-usb/dib0700_devices.c return dib9000_set_gpio(fe, 5, 0, !onoff); fe 2221 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib90x0_tuner_sleep(struct dvb_frontend *fe, int onoff) fe 2223 drivers/media/usb/dvb-usb/dib0700_devices.c return dib9000_set_gpio(fe, 0, 0, onoff); fe 2425 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = dvb_attach(dib9000_attach, &adap->dev->i2c_adap, 0x80, &stk9090m_config); fe 2427 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 2433 drivers/media/usb/dvb-usb/dib0700_devices.c struct i2c_adapter *i2c = dib9000_get_tuner_interface(adap->fe_adap[0].fe); fe 2444 drivers/media/usb/dvb-usb/dib0700_devices.c if (dvb_attach(dib0090_fw_register, adap->fe_adap[0].fe, i2c, &dib9090_dib0090_config) == NULL) fe 2446 drivers/media/usb/dvb-usb/dib0700_devices.c i2c = dib9000_get_i2c_master(adap->fe_adap[0].fe, DIBX000_I2C_INTERFACE_GPIO_1_2, 0); fe 2452 drivers/media/usb/dvb-usb/dib0700_devices.c if (dib9000_firmware_post_pll_init(adap->fe_adap[0].fe) < 0) fe 2498 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = dvb_attach(dib9000_attach, &adap->dev->i2c_adap, 0x80, &nim9090md_config[0]); fe 2500 drivers/media/usb/dvb-usb/dib0700_devices.c if (adap->fe_adap[0].fe == NULL) fe 2503 drivers/media/usb/dvb-usb/dib0700_devices.c i2c = dib9000_get_i2c_master(adap->fe_adap[0].fe, DIBX000_I2C_INTERFACE_GPIO_3_4, 0); fe 2507 drivers/media/usb/dvb-usb/dib0700_devices.c dib9000_set_slave_frontend(adap->fe_adap[0].fe, fe_slave); fe 2526 drivers/media/usb/dvb-usb/dib0700_devices.c i2c = dib9000_get_tuner_interface(adap->fe_adap[0].fe); fe 2527 drivers/media/usb/dvb-usb/dib0700_devices.c if (dvb_attach(dib0090_fw_register, adap->fe_adap[0].fe, i2c, &nim9090md_dib0090_config[0]) == NULL) fe 2529 drivers/media/usb/dvb-usb/dib0700_devices.c i2c = dib9000_get_i2c_master(adap->fe_adap[0].fe, DIBX000_I2C_INTERFACE_GPIO_1_2, 0); fe 2536 drivers/media/usb/dvb-usb/dib0700_devices.c if (dib9000_firmware_post_pll_init(adap->fe_adap[0].fe) < 0) fe 2539 drivers/media/usb/dvb-usb/dib0700_devices.c fe_slave = dib9000_get_slave_frontend(adap->fe_adap[0].fe, 1); fe 2541 drivers/media/usb/dvb-usb/dib0700_devices.c i2c = dib9000_get_component_bus_interface(adap->fe_adap[0].fe); fe 2547 drivers/media/usb/dvb-usb/dib0700_devices.c fe_slave->dvb = adap->fe_adap[0].fe->dvb; fe 2548 drivers/media/usb/dvb-usb/dib0700_devices.c dib9000_fw_set_component_bus_speed(adap->fe_adap[0].fe, 1500); fe 2558 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib7090p_get_best_sampling(struct dvb_frontend *fe , struct dibx090p_best_adc *adc) fe 2574 drivers/media/usb/dvb-usb/dib0700_devices.c deb_info("bandwidth = %d fdem_min =%d", fe->dtv_property_cache.bandwidth_hz, fdem_min); fe 2599 drivers/media/usb/dvb-usb/dib0700_devices.c if ((fdem >= fdem_min) && (fdem <= fdem_max) && (fs >= fe->dtv_property_cache.bandwidth_hz/1000)) { fe 2602 drivers/media/usb/dvb-usb/dib0700_devices.c for (harmonic_id = (fe->dtv_property_cache.frequency / (1000*fs)) ; harmonic_id <= ((fe->dtv_property_cache.frequency / (1000*fs))+1) ; harmonic_id++) { fe 2603 drivers/media/usb/dvb-usb/dib0700_devices.c if (((fs*harmonic_id) >= ((fe->dtv_property_cache.frequency/1000) - (fe->dtv_property_cache.bandwidth_hz/2000))) && ((fs*harmonic_id) <= ((fe->dtv_property_cache.frequency/1000) + (fe->dtv_property_cache.bandwidth_hz/2000)))) { fe 2631 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib7090_agc_startup(struct dvb_frontend *fe) fe 2633 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 2640 drivers/media/usb/dvb-usb/dib0700_devices.c ret = state->set_param_save(fe); fe 2645 drivers/media/usb/dvb-usb/dib0700_devices.c dib0090_pwm_gain_reset(fe); fe 2646 drivers/media/usb/dvb-usb/dib0700_devices.c target = (dib0090_get_wbd_target(fe) * 8 + 1) / 2; fe 2647 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.set_wbd_ref(fe, target); fe 2649 drivers/media/usb/dvb-usb/dib0700_devices.c if (dib7090p_get_best_sampling(fe, &adc) == 0) { fe 2653 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.update_pll(fe, &pll); fe 2654 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.ctrl_timf(fe, DEMOD_TIMF_SET, adc.timf); fe 2659 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib7090_agc_restart(struct dvb_frontend *fe, u8 restart) fe 2663 drivers/media/usb/dvb-usb/dib0700_devices.c dib0090_set_dc_servo(fe, 1); fe 2667 drivers/media/usb/dvb-usb/dib0700_devices.c static int tfe7790p_update_lna(struct dvb_frontend *fe, u16 agc_global) fe 2669 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 2675 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.set_gpio(fe, 8, 0, 0); fe 2676 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.set_agc1_min(fe, 0); fe 2678 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.set_gpio(fe, 8, 0, 1); fe 2679 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.set_agc1_min(fe, 32768); fe 2822 drivers/media/usb/dvb-usb/dib0700_devices.c static int tfe7090p_pvr_update_lna(struct dvb_frontend *fe, u16 agc_global) fe 2824 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 2829 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.set_gpio(fe, 5, 0, 0); fe 2830 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.set_agc1_min(fe, 0); fe 2832 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.set_gpio(fe, 5, 0, 1); fe 2833 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.set_agc1_min(fe, 32768); fe 3072 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, &nim7090_dib7000p_config); fe 3074 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 3080 drivers/media/usb/dvb-usb/dib0700_devices.c struct i2c_adapter *tun_i2c = st->dib7000p_ops.get_i2c_tuner(adap->fe_adap[0].fe); fe 3086 drivers/media/usb/dvb-usb/dib0700_devices.c if (dvb_attach(dib0090_register, adap->fe_adap[0].fe, tun_i2c, &nim7090_dib0090_config) == NULL) fe 3089 drivers/media/usb/dvb-usb/dib0700_devices.c st->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); fe 3091 drivers/media/usb/dvb-usb/dib0700_devices.c st->set_param_save = adap->fe_adap[0].fe->ops.tuner_ops.set_params; fe 3092 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe->ops.tuner_ops.set_params = dib7090_agc_startup; fe 3127 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x90, &tfe7090pvr_dib7000p_config[0]); fe 3128 drivers/media/usb/dvb-usb/dib0700_devices.c if (adap->fe_adap[0].fe == NULL) fe 3131 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.slave_reset(adap->fe_adap[0].fe); fe 3141 drivers/media/usb/dvb-usb/dib0700_devices.c if (adap->dev->adapter[0].fe_adap[0].fe == NULL) { fe 3149 drivers/media/usb/dvb-usb/dib0700_devices.c i2c = state->dib7000p_ops.get_i2c_master(adap->dev->adapter[0].fe_adap[0].fe, DIBX000_I2C_INTERFACE_GPIO_6_7, 1); fe 3156 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(i2c, 0x92, &tfe7090pvr_dib7000p_config[1]); fe 3159 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 3165 drivers/media/usb/dvb-usb/dib0700_devices.c struct i2c_adapter *tun_i2c = st->dib7000p_ops.get_i2c_tuner(adap->fe_adap[0].fe); fe 3171 drivers/media/usb/dvb-usb/dib0700_devices.c if (dvb_attach(dib0090_register, adap->fe_adap[0].fe, tun_i2c, &tfe7090pvr_dib0090_config[0]) == NULL) fe 3174 drivers/media/usb/dvb-usb/dib0700_devices.c st->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); fe 3176 drivers/media/usb/dvb-usb/dib0700_devices.c st->set_param_save = adap->fe_adap[0].fe->ops.tuner_ops.set_params; fe 3177 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe->ops.tuner_ops.set_params = dib7090_agc_startup; fe 3184 drivers/media/usb/dvb-usb/dib0700_devices.c struct i2c_adapter *tun_i2c = st->dib7000p_ops.get_i2c_tuner(adap->fe_adap[0].fe); fe 3190 drivers/media/usb/dvb-usb/dib0700_devices.c if (dvb_attach(dib0090_register, adap->fe_adap[0].fe, tun_i2c, &tfe7090pvr_dib0090_config[1]) == NULL) fe 3193 drivers/media/usb/dvb-usb/dib0700_devices.c st->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); fe 3195 drivers/media/usb/dvb-usb/dib0700_devices.c st->set_param_save = adap->fe_adap[0].fe->ops.tuner_ops.set_params; fe 3196 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe->ops.tuner_ops.set_params = dib7090_agc_startup; fe 3230 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, fe 3233 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 3240 drivers/media/usb/dvb-usb/dib0700_devices.c st->dib7000p_ops.get_i2c_tuner(adap->fe_adap[0].fe); fe 3247 drivers/media/usb/dvb-usb/dib0700_devices.c if (dvb_attach(dib0090_register, adap->fe_adap[0].fe, tun_i2c, fe 3251 drivers/media/usb/dvb-usb/dib0700_devices.c st->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); fe 3253 drivers/media/usb/dvb-usb/dib0700_devices.c st->set_param_save = adap->fe_adap[0].fe->ops.tuner_ops.set_params; fe 3254 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe->ops.tuner_ops.set_params = dib7090_agc_startup; fe 3326 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, &stk7070pd_dib7000p_config[0]); fe 3327 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 3337 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x82, &stk7070pd_dib7000p_config[1]); fe 3338 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 3341 drivers/media/usb/dvb-usb/dib0700_devices.c static int novatd_read_status_override(struct dvb_frontend *fe, fe 3344 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 3349 drivers/media/usb/dvb-usb/dib0700_devices.c ret = state->read_status(fe, stat); fe 3358 drivers/media/usb/dvb-usb/dib0700_devices.c static int novatd_sleep_override(struct dvb_frontend* fe) fe 3360 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 3367 drivers/media/usb/dvb-usb/dib0700_devices.c return state->sleep(fe); fe 3402 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&dev->i2c_adap, fe 3406 drivers/media/usb/dvb-usb/dib0700_devices.c if (adap->fe_adap[0].fe == NULL) fe 3409 drivers/media/usb/dvb-usb/dib0700_devices.c st->read_status = adap->fe_adap[0].fe->ops.read_status; fe 3410 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe->ops.read_status = novatd_read_status_override; fe 3411 drivers/media/usb/dvb-usb/dib0700_devices.c st->sleep = adap->fe_adap[0].fe->ops.sleep; fe 3412 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe->ops.sleep = novatd_sleep_override; fe 3469 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = dvb_attach(s5h1411_attach, &pinnacle_801e_config, fe 3471 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 3501 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe->callback = dib0700_xc5000_tuner_callback; fe 3503 drivers/media/usb/dvb-usb/dib0700_devices.c return dvb_attach(xc5000_attach, adap->fe_adap[0].fe, &adap->dev->i2c_adap, fe 3516 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 0); fe 3518 drivers/media/usb/dvb-usb/dib0700_devices.c state->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); fe 3637 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x12, fe 3641 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 3658 drivers/media/usb/dvb-usb/dib0700_devices.c tun_i2c = state->dib7000p_ops.get_i2c_master(adap->fe_adap[0].fe, fe 3666 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe->callback = dib0700_xc4000_tuner_callback; fe 3668 drivers/media/usb/dvb-usb/dib0700_devices.c return dvb_attach(xc4000_attach, adap->fe_adap[0].fe, tun_i2c, fe 3724 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = dvb_attach(lgdt3305_attach, fe 3728 drivers/media/usb/dvb-usb/dib0700_devices.c return adap->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 3733 drivers/media/usb/dvb-usb/dib0700_devices.c return dvb_attach(mxl5007t_attach, adap->fe_adap[0].fe, fe 3765 drivers/media/usb/dvb-usb/dib0700_devices.c mn88472_config.fe = &adap->fe_adap[0].fe; fe 3783 drivers/media/usb/dvb-usb/dib0700_devices.c adap->fe_adap[0].fe = mn88472_config.get_dvb_frontend(client_demod); fe 3795 drivers/media/usb/dvb-usb/dib0700_devices.c tda18250_config.fe = adap->fe_adap[0].fe; fe 3954 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4018 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4026 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4058 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4070 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4123 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4168 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4249 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4294 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4306 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4351 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4363 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4417 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4429 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4466 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4538 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4574 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4600 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4650 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4694 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4707 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4743 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4780 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4817 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4854 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4891 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4928 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4942 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 4979 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 5014 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 5051 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 5089 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 5104 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = { { fe 5143 drivers/media/usb/dvb-usb/dib0700_devices.c .fe = {{ fe 27 drivers/media/usb/dvb-usb/dibusb-common.c if (st->ops.fifo_ctrl(adap->fe_adap[0].fe, onoff)) { fe 41 drivers/media/usb/dvb-usb/dibusb-common.c st->ops.pid_ctrl(adap->fe_adap[0].fe, fe 53 drivers/media/usb/dvb-usb/dibusb-common.c if (st->ops.pid_parse(adap->fe_adap[0].fe, onoff) < 0) fe 16 drivers/media/usb/dvb-usb/dibusb-mb.c static int dib3000mb_i2c_gate_ctrl(struct dvb_frontend* fe, int enable) fe 18 drivers/media/usb/dvb-usb/dibusb-mb.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 21 drivers/media/usb/dvb-usb/dibusb-mb.c return st->ops.tuner_pass_ctrl(fe, enable, st->tuner_addr); fe 31 drivers/media/usb/dvb-usb/dibusb-mb.c adap->fe_adap[0].fe = dvb_attach(dib3000mb_attach, &demod_cfg, fe 33 drivers/media/usb/dvb-usb/dibusb-mb.c if ((adap->fe_adap[0].fe) == NULL) fe 36 drivers/media/usb/dvb-usb/dibusb-mb.c adap->fe_adap[0].fe->ops.i2c_gate_ctrl = dib3000mb_i2c_gate_ctrl; fe 47 drivers/media/usb/dvb-usb/dibusb-mb.c dvb_attach(dvb_pll_attach, adap->fe_adap[0].fe, 0x61, &adap->dev->i2c_adap, fe 58 drivers/media/usb/dvb-usb/dibusb-mb.c dvb_attach(dvb_pll_attach, adap->fe_adap[0].fe, 0x60, &adap->dev->i2c_adap, fe 79 drivers/media/usb/dvb-usb/dibusb-mb.c if (adap->fe_adap[0].fe->ops.i2c_gate_ctrl) fe 80 drivers/media/usb/dvb-usb/dibusb-mb.c adap->fe_adap[0].fe->ops.i2c_gate_ctrl(adap->fe_adap[0].fe, 1); fe 87 drivers/media/usb/dvb-usb/dibusb-mb.c if (adap->fe_adap[0].fe->ops.i2c_gate_ctrl) fe 88 drivers/media/usb/dvb-usb/dibusb-mb.c adap->fe_adap[0].fe->ops.i2c_gate_ctrl(adap->fe_adap[0].fe, 0); fe 187 drivers/media/usb/dvb-usb/dibusb-mb.c .fe = {{ fe 277 drivers/media/usb/dvb-usb/dibusb-mb.c .fe = {{ fe 346 drivers/media/usb/dvb-usb/dibusb-mb.c .fe = {{ fe 409 drivers/media/usb/dvb-usb/dibusb-mb.c .fe = {{ fe 91 drivers/media/usb/dvb-usb/dibusb-mc-common.c adap->fe_adap[0].fe = dvb_attach(dib3000mc_attach, fe 95 drivers/media/usb/dvb-usb/dibusb-mc-common.c if ((adap->fe_adap[0].fe) == NULL) fe 96 drivers/media/usb/dvb-usb/dibusb-mc-common.c adap->fe_adap[0].fe = dvb_attach(dib3000mc_attach, fe 100 drivers/media/usb/dvb-usb/dibusb-mc-common.c if ((adap->fe_adap[0].fe) != NULL) { fe 154 drivers/media/usb/dvb-usb/dibusb-mc-common.c tun_i2c = dib3000mc_get_tuner_i2c_master(adap->fe_adap[0].fe, 1); fe 155 drivers/media/usb/dvb-usb/dibusb-mc-common.c if (dvb_attach(mt2060_attach, adap->fe_adap[0].fe, tun_i2c, &stk3000p_mt2060_config, if1) == NULL) { fe 157 drivers/media/usb/dvb-usb/dibusb-mc-common.c if (dvb_attach(dvb_pll_attach, adap->fe_adap[0].fe, 0x60, tun_i2c, DVB_PLL_ENV57H1XD5) == NULL) fe 162 drivers/media/usb/dvb-usb/dibusb-mc-common.c dib3000mc_set_config(adap->fe_adap[0].fe, &stk3000p_dib3000p_config); fe 58 drivers/media/usb/dvb-usb/dibusb-mc.c .fe = {{ fe 101 drivers/media/usb/dvb-usb/digitv.c static int digitv_mt352_demod_init(struct dvb_frontend *fe) fe 111 drivers/media/usb/dvb-usb/digitv.c mt352_write(fe, &reset_buf[i], 2); fe 116 drivers/media/usb/dvb-usb/digitv.c mt352_write(fe, &init_buf[i], 2); fe 125 drivers/media/usb/dvb-usb/digitv.c static int digitv_nxt6000_tuner_set_params(struct dvb_frontend *fe) fe 127 drivers/media/usb/dvb-usb/digitv.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 130 drivers/media/usb/dvb-usb/digitv.c fe->ops.tuner_ops.calc_regs(fe, b, sizeof(b)); fe 131 drivers/media/usb/dvb-usb/digitv.c if (fe->ops.i2c_gate_ctrl) fe 132 drivers/media/usb/dvb-usb/digitv.c fe->ops.i2c_gate_ctrl(fe, 1); fe 144 drivers/media/usb/dvb-usb/digitv.c adap->fe_adap[0].fe = dvb_attach(mt352_attach, &digitv_mt352_config, fe 146 drivers/media/usb/dvb-usb/digitv.c if ((adap->fe_adap[0].fe) != NULL) { fe 150 drivers/media/usb/dvb-usb/digitv.c adap->fe_adap[0].fe = dvb_attach(nxt6000_attach, fe 153 drivers/media/usb/dvb-usb/digitv.c if ((adap->fe_adap[0].fe) != NULL) { fe 164 drivers/media/usb/dvb-usb/digitv.c if (!dvb_attach(dvb_pll_attach, adap->fe_adap[0].fe, 0x60, NULL, DVB_PLL_TDED4)) fe 168 drivers/media/usb/dvb-usb/digitv.c adap->fe_adap[0].fe->ops.tuner_ops.set_params = digitv_nxt6000_tuner_set_params; fe 309 drivers/media/usb/dvb-usb/digitv.c .fe = {{ fe 23 drivers/media/usb/dvb-usb/dtt200u-fe.c static int dtt200u_fe_read_status(struct dvb_frontend *fe, fe 26 drivers/media/usb/dvb-usb/dtt200u-fe.c struct dtt200u_fe_state *state = fe->demodulator_priv; fe 56 drivers/media/usb/dvb-usb/dtt200u-fe.c static int dtt200u_fe_read_ber(struct dvb_frontend* fe, u32 *ber) fe 58 drivers/media/usb/dvb-usb/dtt200u-fe.c struct dtt200u_fe_state *state = fe->demodulator_priv; fe 72 drivers/media/usb/dvb-usb/dtt200u-fe.c static int dtt200u_fe_read_unc_blocks(struct dvb_frontend* fe, u32 *unc) fe 74 drivers/media/usb/dvb-usb/dtt200u-fe.c struct dtt200u_fe_state *state = fe->demodulator_priv; fe 88 drivers/media/usb/dvb-usb/dtt200u-fe.c static int dtt200u_fe_read_signal_strength(struct dvb_frontend* fe, u16 *strength) fe 90 drivers/media/usb/dvb-usb/dtt200u-fe.c struct dtt200u_fe_state *state = fe->demodulator_priv; fe 104 drivers/media/usb/dvb-usb/dtt200u-fe.c static int dtt200u_fe_read_snr(struct dvb_frontend* fe, u16 *snr) fe 106 drivers/media/usb/dvb-usb/dtt200u-fe.c struct dtt200u_fe_state *state = fe->demodulator_priv; fe 120 drivers/media/usb/dvb-usb/dtt200u-fe.c static int dtt200u_fe_init(struct dvb_frontend* fe) fe 122 drivers/media/usb/dvb-usb/dtt200u-fe.c struct dtt200u_fe_state *state = fe->demodulator_priv; fe 134 drivers/media/usb/dvb-usb/dtt200u-fe.c static int dtt200u_fe_sleep(struct dvb_frontend* fe) fe 136 drivers/media/usb/dvb-usb/dtt200u-fe.c return dtt200u_fe_init(fe); fe 139 drivers/media/usb/dvb-usb/dtt200u-fe.c static int dtt200u_fe_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings *tune) fe 147 drivers/media/usb/dvb-usb/dtt200u-fe.c static int dtt200u_fe_set_frontend(struct dvb_frontend *fe) fe 149 drivers/media/usb/dvb-usb/dtt200u-fe.c struct dtv_frontend_properties *fep = &fe->dtv_property_cache; fe 150 drivers/media/usb/dvb-usb/dtt200u-fe.c struct dtt200u_fe_state *state = fe->demodulator_priv; fe 187 drivers/media/usb/dvb-usb/dtt200u-fe.c static int dtt200u_fe_get_frontend(struct dvb_frontend* fe, fe 190 drivers/media/usb/dvb-usb/dtt200u-fe.c struct dtt200u_fe_state *state = fe->demodulator_priv; fe 196 drivers/media/usb/dvb-usb/dtt200u-fe.c static void dtt200u_fe_release(struct dvb_frontend* fe) fe 198 drivers/media/usb/dvb-usb/dtt200u-fe.c struct dtt200u_fe_state *state = (struct dtt200u_fe_state*) fe->demodulator_priv; fe 133 drivers/media/usb/dvb-usb/dtt200u.c adap->fe_adap[0].fe = dtt200u_fe_attach(adap->dev); fe 186 drivers/media/usb/dvb-usb/dtt200u.c .fe = {{ fe 238 drivers/media/usb/dvb-usb/dtt200u.c .fe = {{ fe 290 drivers/media/usb/dvb-usb/dtt200u.c .fe = {{ fe 342 drivers/media/usb/dvb-usb/dtt200u.c .fe = {{ fe 111 drivers/media/usb/dvb-usb/dtv5100.c adap->fe_adap[0].fe = dvb_attach(zl10353_attach, &dtv5100_zl10353_config, fe 113 drivers/media/usb/dvb-usb/dtv5100.c if (adap->fe_adap[0].fe == NULL) fe 117 drivers/media/usb/dvb-usb/dtv5100.c adap->fe_adap[0].fe->ops.i2c_gate_ctrl = NULL; fe 129 drivers/media/usb/dvb-usb/dtv5100.c adap->fe_adap[0].fe, &adap->dev->i2c_adap, fe 177 drivers/media/usb/dvb-usb/dtv5100.c .fe = {{ fe 34 drivers/media/usb/dvb-usb/dvb-usb-dvb.c if (adap->props.fe[adap->active_fe].streaming_ctrl != NULL) { fe 35 drivers/media/usb/dvb-usb/dvb-usb-dvb.c ret = adap->props.fe[adap->active_fe].streaming_ctrl(adap, 0); fe 50 drivers/media/usb/dvb-usb/dvb-usb-dvb.c if (adap->props.fe[adap->active_fe].caps & DVB_USB_ADAP_HAS_PID_FILTER && fe 52 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->props.fe[adap->active_fe].pid_filter != NULL) fe 53 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->props.fe[adap->active_fe].pid_filter(adap, dvbdmxfeed->index, dvbdmxfeed->pid, onoff); fe 60 drivers/media/usb/dvb-usb/dvb-usb-dvb.c if (adap->props.fe[adap->active_fe].caps & DVB_USB_ADAP_HAS_PID_FILTER && fe 61 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->props.fe[adap->active_fe].caps & fe 63 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->props.fe[adap->active_fe].pid_filter_ctrl != NULL) { fe 64 drivers/media/usb/dvb-usb/dvb-usb-dvb.c ret = adap->props.fe[adap->active_fe].pid_filter_ctrl(adap, fe 72 drivers/media/usb/dvb-usb/dvb-usb-dvb.c if (adap->props.fe[adap->active_fe].streaming_ctrl != NULL) { fe 73 drivers/media/usb/dvb-usb/dvb-usb-dvb.c ret = adap->props.fe[adap->active_fe].streaming_ctrl(adap, 1); fe 233 drivers/media/usb/dvb-usb/dvb-usb-dvb.c static int dvb_usb_set_active_fe(struct dvb_frontend *fe, int onoff) fe 235 drivers/media/usb/dvb-usb/dvb-usb-dvb.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 238 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->props.frontend_ctrl(fe, onoff) : 0; fe 245 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->active_fe = fe->id; fe 250 drivers/media/usb/dvb-usb/dvb-usb-dvb.c static int dvb_usb_fe_wakeup(struct dvb_frontend *fe) fe 252 drivers/media/usb/dvb-usb/dvb-usb-dvb.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 256 drivers/media/usb/dvb-usb/dvb-usb-dvb.c dvb_usb_set_active_fe(fe, 1); fe 258 drivers/media/usb/dvb-usb/dvb-usb-dvb.c if (adap->fe_adap[fe->id].fe_init) fe 259 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->fe_adap[fe->id].fe_init(fe); fe 264 drivers/media/usb/dvb-usb/dvb-usb-dvb.c static int dvb_usb_fe_sleep(struct dvb_frontend *fe) fe 266 drivers/media/usb/dvb-usb/dvb-usb-dvb.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 268 drivers/media/usb/dvb-usb/dvb-usb-dvb.c if (adap->fe_adap[fe->id].fe_sleep) fe 269 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->fe_adap[fe->id].fe_sleep(fe); fe 271 drivers/media/usb/dvb-usb/dvb-usb-dvb.c dvb_usb_set_active_fe(fe, 0); fe 283 drivers/media/usb/dvb-usb/dvb-usb-dvb.c if (adap->props.fe[i].frontend_attach == NULL) { fe 290 drivers/media/usb/dvb-usb/dvb-usb-dvb.c ret = adap->props.fe[i].frontend_attach(adap); fe 291 drivers/media/usb/dvb-usb/dvb-usb-dvb.c if (ret || adap->fe_adap[i].fe == NULL) { fe 300 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->fe_adap[i].fe->id = i; fe 303 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->fe_adap[i].fe_init = adap->fe_adap[i].fe->ops.init; fe 304 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->fe_adap[i].fe->ops.init = dvb_usb_fe_wakeup; fe 305 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->fe_adap[i].fe_sleep = adap->fe_adap[i].fe->ops.sleep; fe 306 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->fe_adap[i].fe->ops.sleep = dvb_usb_fe_sleep; fe 308 drivers/media/usb/dvb-usb/dvb-usb-dvb.c if (dvb_register_frontend(&adap->dvb_adap, adap->fe_adap[i].fe)) { fe 310 drivers/media/usb/dvb-usb/dvb-usb-dvb.c dvb_frontend_detach(adap->fe_adap[i].fe); fe 311 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->fe_adap[i].fe = NULL; fe 321 drivers/media/usb/dvb-usb/dvb-usb-dvb.c if (adap->props.fe[i].tuner_attach != NULL) fe 322 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->props.fe[i].tuner_attach(adap); fe 342 drivers/media/usb/dvb-usb/dvb-usb-dvb.c if (adap->fe_adap[i].fe != NULL) { fe 343 drivers/media/usb/dvb-usb/dvb-usb-dvb.c dvb_unregister_frontend(adap->fe_adap[i].fe); fe 344 drivers/media/usb/dvb-usb/dvb-usb-dvb.c dvb_frontend_detach(adap->fe_adap[i].fe); fe 39 drivers/media/usb/dvb-usb/dvb-usb-init.c struct dvb_usb_adapter_fe_properties *props = &adap->props.fe[o]; fe 89 drivers/media/usb/dvb-usb/dvb-usb-init.c if (adap->fe_adap[1].fe) fe 98 drivers/media/usb/dvb-usb/dvb-usb-urb.c if (adap->props.fe[i].caps & DVB_USB_ADAP_RECEIVES_204_BYTE_TS) fe 102 drivers/media/usb/dvb-usb/dvb-usb-urb.c if (adap->props.fe[i].caps & DVB_USB_ADAP_RECEIVES_RAW_PAYLOAD) fe 109 drivers/media/usb/dvb-usb/dvb-usb-urb.c &adap->props.fe[i].stream); fe 171 drivers/media/usb/dvb-usb/dvb-usb.h struct dvb_usb_adapter_fe_properties fe[MAX_NO_OF_FE_PER_ADAP]; fe 371 drivers/media/usb/dvb-usb/dvb-usb.h struct dvb_frontend *fe; fe 72 drivers/media/usb/dvb-usb/dw2102.c int (*fe_read_status)(struct dvb_frontend *fe, fe 968 drivers/media/usb/dvb-usb/dw2102.c static int dw210x_set_voltage(struct dvb_frontend *fe, fe 982 drivers/media/usb/dvb-usb/dw2102.c (struct dvb_usb_adapter *)(fe->dvb->priv); fe 993 drivers/media/usb/dvb-usb/dw2102.c static int s660_set_voltage(struct dvb_frontend *fe, fe 997 drivers/media/usb/dvb-usb/dw2102.c (struct dvb_usb_adapter *)(fe->dvb->priv); fe 1000 drivers/media/usb/dvb-usb/dw2102.c dw210x_set_voltage(fe, voltage); fe 1002 drivers/media/usb/dvb-usb/dw2102.c st->old_set_voltage(fe, voltage); fe 1007 drivers/media/usb/dvb-usb/dw2102.c static void dw210x_led_ctrl(struct dvb_frontend *fe, int offon) fe 1018 drivers/media/usb/dvb-usb/dw2102.c (struct dvb_usb_adapter *)(fe->dvb->priv); fe 1025 drivers/media/usb/dvb-usb/dw2102.c static int tt_s2_4600_read_status(struct dvb_frontend *fe, fe 1029 drivers/media/usb/dvb-usb/dw2102.c (struct dvb_usb_adapter *)(fe->dvb->priv); fe 1033 drivers/media/usb/dvb-usb/dw2102.c ret = st->fe_read_status(fe, status); fe 1188 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe = dvb_attach(stv0900_attach, &dw2104a_stv0900_config, fe 1190 drivers/media/usb/dvb-usb/dw2102.c if (d->fe_adap[0].fe != NULL) { fe 1191 drivers/media/usb/dvb-usb/dw2102.c if (dvb_attach(stb6100_attach, d->fe_adap[0].fe, fe 1194 drivers/media/usb/dvb-usb/dw2102.c tuner_ops = &d->fe_adap[0].fe->ops.tuner_ops; fe 1199 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe->ops.set_voltage = dw210x_set_voltage; fe 1207 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe = dvb_attach(stv0900_attach, &dw2104_stv0900_config, fe 1209 drivers/media/usb/dvb-usb/dw2102.c if (d->fe_adap[0].fe != NULL) { fe 1210 drivers/media/usb/dvb-usb/dw2102.c if (dvb_attach(stv6110_attach, d->fe_adap[0].fe, fe 1213 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe->ops.set_voltage = dw210x_set_voltage; fe 1221 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe = dvb_attach(cx24116_attach, &dw2104_config, fe 1223 drivers/media/usb/dvb-usb/dw2102.c if (d->fe_adap[0].fe != NULL) { fe 1224 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe->ops.set_voltage = dw210x_set_voltage; fe 1230 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe = dvb_attach(ds3000_attach, &dw2104_ds3000_config, fe 1232 drivers/media/usb/dvb-usb/dw2102.c if (d->fe_adap[0].fe != NULL) { fe 1233 drivers/media/usb/dvb-usb/dw2102.c dvb_attach(ts2020_attach, d->fe_adap[0].fe, fe 1235 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe->ops.set_voltage = dw210x_set_voltage; fe 1251 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe = dvb_attach(si21xx_attach, &serit_sp1511lhb_config, fe 1253 drivers/media/usb/dvb-usb/dw2102.c if (d->fe_adap[0].fe != NULL) { fe 1254 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe->ops.set_voltage = dw210x_set_voltage; fe 1261 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe = dvb_attach(stv0288_attach, &earda_config, fe 1263 drivers/media/usb/dvb-usb/dw2102.c if (d->fe_adap[0].fe != NULL) { fe 1264 drivers/media/usb/dvb-usb/dw2102.c if (dvb_attach(stb6000_attach, d->fe_adap[0].fe, 0x61, fe 1266 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe->ops.set_voltage = dw210x_set_voltage; fe 1275 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe = dvb_attach(stv0299_attach, &sharp_z0194a_config, fe 1277 drivers/media/usb/dvb-usb/dw2102.c if (d->fe_adap[0].fe != NULL) { fe 1278 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe->ops.set_voltage = dw210x_set_voltage; fe 1288 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe = dvb_attach(tda10023_attach, &dw3101_tda10023_config, fe 1290 drivers/media/usb/dvb-usb/dw2102.c if (d->fe_adap[0].fe != NULL) { fe 1299 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe = dvb_attach(mt312_attach, &zl313_config, fe 1301 drivers/media/usb/dvb-usb/dw2102.c if (d->fe_adap[0].fe != NULL) { fe 1302 drivers/media/usb/dvb-usb/dw2102.c if (dvb_attach(zl10039_attach, d->fe_adap[0].fe, 0x60, fe 1304 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe->ops.set_voltage = dw210x_set_voltage; fe 1317 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe = dvb_attach(stv0288_attach, &earda_config, fe 1320 drivers/media/usb/dvb-usb/dw2102.c if (d->fe_adap[0].fe == NULL) fe 1323 drivers/media/usb/dvb-usb/dw2102.c if (NULL == dvb_attach(stb6000_attach, d->fe_adap[0].fe, 0x61, &d->dev->i2c_adap)) fe 1326 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe->ops.set_voltage = dw210x_set_voltage; fe 1341 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe = dvb_attach(ds3000_attach, &s660_ds3000_config, fe 1344 drivers/media/usb/dvb-usb/dw2102.c if (d->fe_adap[0].fe == NULL) fe 1347 drivers/media/usb/dvb-usb/dw2102.c dvb_attach(ts2020_attach, d->fe_adap[0].fe, &s660_ts2020_config, fe 1350 drivers/media/usb/dvb-usb/dw2102.c st->old_set_voltage = d->fe_adap[0].fe->ops.set_voltage; fe 1351 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe->ops.set_voltage = s660_set_voltage; fe 1364 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe = dvb_attach(stv0900_attach, &prof_7500_stv0900_config, fe 1366 drivers/media/usb/dvb-usb/dw2102.c if (d->fe_adap[0].fe == NULL) fe 1369 drivers/media/usb/dvb-usb/dw2102.c d->fe_adap[0].fe->ops.set_voltage = dw210x_set_voltage; fe 1421 drivers/media/usb/dvb-usb/dw2102.c adap->fe_adap[0].fe = dvb_attach(ds3000_attach, &su3000_ds3000_config, fe 1423 drivers/media/usb/dvb-usb/dw2102.c if (adap->fe_adap[0].fe == NULL) fe 1426 drivers/media/usb/dvb-usb/dw2102.c if (dvb_attach(ts2020_attach, adap->fe_adap[0].fe, fe 1481 drivers/media/usb/dvb-usb/dw2102.c adap->fe_adap[0].fe = dvb_attach(cxd2820r_attach, &cxd2820r_config, fe 1483 drivers/media/usb/dvb-usb/dw2102.c if (adap->fe_adap[0].fe != NULL) { fe 1484 drivers/media/usb/dvb-usb/dw2102.c if (dvb_attach(tda18271_attach, adap->fe_adap[0].fe, 0x60, fe 1509 drivers/media/usb/dvb-usb/dw2102.c adap->fe_adap[0].fe = dvb_attach(m88rs2000_attach, fe 1513 drivers/media/usb/dvb-usb/dw2102.c if (adap->fe_adap[0].fe == NULL) fe 1516 drivers/media/usb/dvb-usb/dw2102.c if (dvb_attach(ts2020_attach, adap->fe_adap[0].fe, fe 1600 drivers/media/usb/dvb-usb/dw2102.c adap->fe_adap[0].fe = m88ds3103_pdata.get_dvb_frontend(client); fe 1606 drivers/media/usb/dvb-usb/dw2102.c ts2020_config.fe = adap->fe_adap[0].fe; fe 1615 drivers/media/usb/dvb-usb/dw2102.c dvb_frontend_detach(adap->fe_adap[0].fe); fe 1621 drivers/media/usb/dvb-usb/dw2102.c dvb_frontend_detach(adap->fe_adap[0].fe); fe 1626 drivers/media/usb/dvb-usb/dw2102.c adap->fe_adap[0].fe->ops.read_signal_strength = fe 1627 drivers/media/usb/dvb-usb/dw2102.c adap->fe_adap[0].fe->ops.tuner_ops.get_rf_strength; fe 1632 drivers/media/usb/dvb-usb/dw2102.c state->fe_read_status = adap->fe_adap[0].fe->ops.read_status; fe 1633 drivers/media/usb/dvb-usb/dw2102.c adap->fe_adap[0].fe->ops.read_status = tt_s2_4600_read_status; fe 1642 drivers/media/usb/dvb-usb/dw2102.c dvb_attach(dvb_pll_attach, adap->fe_adap[0].fe, 0x60, fe 1649 drivers/media/usb/dvb-usb/dw2102.c dvb_attach(dvb_pll_attach, adap->fe_adap[0].fe, 0x60, fe 1861 drivers/media/usb/dvb-usb/dw2102.c dw2102_properties.adapter->fe[0].tuner_attach = &dw2102_tuner_attach; fe 1923 drivers/media/usb/dvb-usb/dw2102.c .fe = {{ fe 1978 drivers/media/usb/dvb-usb/dw2102.c .fe = {{ fe 2029 drivers/media/usb/dvb-usb/dw2102.c .fe = {{ fe 2077 drivers/media/usb/dvb-usb/dw2102.c .fe = {{ fe 2167 drivers/media/usb/dvb-usb/dw2102.c .fe = {{ fe 2236 drivers/media/usb/dvb-usb/dw2102.c .fe = { { fe 2285 drivers/media/usb/dvb-usb/dw2102.c .fe = {{ fe 2346 drivers/media/usb/dvb-usb/dw2102.c p1100->adapter->fe[0].frontend_attach = stv0288_frontend_attach; fe 2358 drivers/media/usb/dvb-usb/dw2102.c s660->adapter->fe[0].frontend_attach = ds3000_frontend_attach; fe 2369 drivers/media/usb/dvb-usb/dw2102.c p7500->adapter->fe[0].frontend_attach = prof_7500_frontend_attach; fe 2380 drivers/media/usb/dvb-usb/dw2102.c s421->adapter->fe[0].frontend_attach = m88rs2000_frontend_attach; fe 292 drivers/media/usb/dvb-usb/gp8psk.c adap->fe_adap[0].fe = dvb_attach(gp8psk_fe_attach, fe 334 drivers/media/usb/dvb-usb/gp8psk.c .fe = {{ fe 93 drivers/media/usb/dvb-usb/m920x.c flags |= d->adapter[i].props.fe[0].caps; fe 98 drivers/media/usb/dvb-usb/m920x.c epi = d->adapter[i].props.fe[0].stream.endpoint - 0x81; fe 340 drivers/media/usb/dvb-usb/m920x.c int ep = adap->props.fe[0].stream.endpoint; fe 475 drivers/media/usb/dvb-usb/m920x.c static int m920x_mt352_demod_init(struct dvb_frontend *fe) fe 489 drivers/media/usb/dvb-usb/m920x.c if ((ret = mt352_write(fe, config, ARRAY_SIZE(config))) != 0) fe 491 drivers/media/usb/dvb-usb/m920x.c if ((ret = mt352_write(fe, clock, ARRAY_SIZE(clock))) != 0) fe 493 drivers/media/usb/dvb-usb/m920x.c if ((ret = mt352_write(fe, reset, ARRAY_SIZE(reset))) != 0) fe 495 drivers/media/usb/dvb-usb/m920x.c if ((ret = mt352_write(fe, adc_ctl, ARRAY_SIZE(adc_ctl))) != 0) fe 497 drivers/media/usb/dvb-usb/m920x.c if ((ret = mt352_write(fe, agc, ARRAY_SIZE(agc))) != 0) fe 499 drivers/media/usb/dvb-usb/m920x.c if ((ret = mt352_write(fe, sec_agc, ARRAY_SIZE(sec_agc))) != 0) fe 501 drivers/media/usb/dvb-usb/m920x.c if ((ret = mt352_write(fe, unk1, ARRAY_SIZE(unk1))) != 0) fe 503 drivers/media/usb/dvb-usb/m920x.c if ((ret = mt352_write(fe, unk2, ARRAY_SIZE(unk2))) != 0) fe 555 drivers/media/usb/dvb-usb/m920x.c adap->fe_adap[0].fe = dvb_attach(mt352_attach, fe 558 drivers/media/usb/dvb-usb/m920x.c if ((adap->fe_adap[0].fe) == NULL) fe 599 drivers/media/usb/dvb-usb/m920x.c adap->fe_adap[0].fe = dvb_attach(tda10046_attach, fe 602 drivers/media/usb/dvb-usb/m920x.c if ((adap->fe_adap[0].fe) == NULL) fe 612 drivers/media/usb/dvb-usb/m920x.c adap->fe_adap[0].fe = dvb_attach(tda10046_attach, fe 615 drivers/media/usb/dvb-usb/m920x.c if ((adap->fe_adap[0].fe) == NULL) fe 625 drivers/media/usb/dvb-usb/m920x.c if (dvb_attach(qt1010_attach, adap->fe_adap[0].fe, &adap->dev->i2c_adap, &m920x_qt1010_config) == NULL) fe 635 drivers/media/usb/dvb-usb/m920x.c if (dvb_attach(tda827x_attach, adap->fe_adap[0].fe, 0x60, &adap->dev->i2c_adap, NULL) == NULL) fe 645 drivers/media/usb/dvb-usb/m920x.c if (dvb_attach(tda827x_attach, adap->fe_adap[0].fe, 0x61, &adap->dev->i2c_adap, NULL) == NULL) fe 653 drivers/media/usb/dvb-usb/m920x.c dvb_attach(simple_tuner_attach, adap->fe_adap[0].fe, fe 663 drivers/media/usb/dvb-usb/m920x.c if (dvb_attach(mt2060_attach, adap->fe_adap[0].fe, &adap->dev->i2c_adap, fe 926 drivers/media/usb/dvb-usb/m920x.c .fe = {{ fe 974 drivers/media/usb/dvb-usb/m920x.c .fe = {{ fe 1037 drivers/media/usb/dvb-usb/m920x.c .fe = {{ fe 1061 drivers/media/usb/dvb-usb/m920x.c .fe = {{ fe 1109 drivers/media/usb/dvb-usb/m920x.c .fe = {{ fe 1157 drivers/media/usb/dvb-usb/m920x.c .fe = {{ fe 1214 drivers/media/usb/dvb-usb/m920x.c .fe = {{ fe 178 drivers/media/usb/dvb-usb/nova-t-usb2.c .fe = {{ fe 167 drivers/media/usb/dvb-usb/opera1.c static int opera1_set_voltage(struct dvb_frontend *fe, fe 176 drivers/media/usb/dvb-usb/opera1.c (struct dvb_usb_adapter *)(fe->dvb->priv); fe 185 drivers/media/usb/dvb-usb/opera1.c static int opera1_stv0299_set_symbol_rate(struct dvb_frontend *fe, u32 srate, fe 188 drivers/media/usb/dvb-usb/opera1.c stv0299_writereg(fe, 0x13, 0x98); fe 189 drivers/media/usb/dvb-usb/opera1.c stv0299_writereg(fe, 0x14, 0x95); fe 190 drivers/media/usb/dvb-usb/opera1.c stv0299_writereg(fe, REG_1F_SYMBOLRATE_BYTE0, (ratio >> 16) & 0xff); fe 191 drivers/media/usb/dvb-usb/opera1.c stv0299_writereg(fe, REG_20_SYMBOLRATE_BYTE1, (ratio >> 8) & 0xff); fe 192 drivers/media/usb/dvb-usb/opera1.c stv0299_writereg(fe, REG_21_SYMBOLRATE_BYTE2, (ratio) & 0xf0); fe 264 drivers/media/usb/dvb-usb/opera1.c d->fe_adap[0].fe = dvb_attach(stv0299_attach, &opera1_stv0299_config, fe 266 drivers/media/usb/dvb-usb/opera1.c if ((d->fe_adap[0].fe) != NULL) { fe 267 drivers/media/usb/dvb-usb/opera1.c d->fe_adap[0].fe->ops.set_voltage = opera1_set_voltage; fe 277 drivers/media/usb/dvb-usb/opera1.c dvb_pll_attach, adap->fe_adap[0].fe, 0xc0>>1, fe 517 drivers/media/usb/dvb-usb/opera1.c .fe = {{ fe 908 drivers/media/usb/dvb-usb/pctv452e.c a->fe_adap[0].fe = dvb_attach(stb0899_attach, &stb0899_config, fe 910 drivers/media/usb/dvb-usb/pctv452e.c if (!a->fe_adap[0].fe) fe 912 drivers/media/usb/dvb-usb/pctv452e.c if ((dvb_attach(lnbp22_attach, a->fe_adap[0].fe, fe 927 drivers/media/usb/dvb-usb/pctv452e.c if (!a->fe_adap[0].fe) fe 929 drivers/media/usb/dvb-usb/pctv452e.c if (dvb_attach(stb6100_attach, a->fe_adap[0].fe, &stb6100_config, fe 965 drivers/media/usb/dvb-usb/pctv452e.c .fe = {{ fe 1018 drivers/media/usb/dvb-usb/pctv452e.c .fe = {{ fe 301 drivers/media/usb/dvb-usb/technisat-usb2.c struct dvb_frontend *fe = state->dev->adapter[0].fe_adap[0].fe; fe 306 drivers/media/usb/dvb-usb/technisat-usb2.c if (fe != NULL) { fe 309 drivers/media/usb/dvb-usb/technisat-usb2.c if (fe->ops.read_status(fe, &status) != 0) fe 315 drivers/media/usb/dvb-usb/technisat-usb2.c if (fe->ops.read_ber(fe, &ber) != 0) fe 467 drivers/media/usb/dvb-usb/technisat-usb2.c static int technisat_usb2_set_voltage(struct dvb_frontend *fe, fe 489 drivers/media/usb/dvb-usb/technisat-usb2.c if (technisat_usb2_stv090x_config.set_gpio(fe, i+2, 0, fe 523 drivers/media/usb/dvb-usb/technisat-usb2.c a->fe_adap[0].fe = dvb_attach(stv090x_attach, &technisat_usb2_stv090x_config, fe 526 drivers/media/usb/dvb-usb/technisat-usb2.c if (a->fe_adap[0].fe) { fe 530 drivers/media/usb/dvb-usb/technisat-usb2.c a->fe_adap[0].fe, fe 550 drivers/media/usb/dvb-usb/technisat-usb2.c if (a->fe_adap[0].fe->ops.init) fe 551 drivers/media/usb/dvb-usb/technisat-usb2.c a->fe_adap[0].fe->ops.init(a->fe_adap[0].fe); fe 566 drivers/media/usb/dvb-usb/technisat-usb2.c a->fe_adap[0].fe->ops.set_voltage = technisat_usb2_set_voltage; fe 569 drivers/media/usb/dvb-usb/technisat-usb2.c strscpy(a->fe_adap[0].fe->ops.info.name, fe 571 drivers/media/usb/dvb-usb/technisat-usb2.c sizeof(a->fe_adap[0].fe->ops.info.name)); fe 573 drivers/media/usb/dvb-usb/technisat-usb2.c dvb_frontend_detach(a->fe_adap[0].fe); fe 574 drivers/media/usb/dvb-usb/technisat-usb2.c a->fe_adap[0].fe = NULL; fe 580 drivers/media/usb/dvb-usb/technisat-usb2.c return a->fe_adap[0].fe == NULL ? -ENODEV : 0; fe 718 drivers/media/usb/dvb-usb/technisat-usb2.c .fe = {{ fe 527 drivers/media/usb/dvb-usb/ttusb2.c if ((adap->fe_adap[0].fe = dvb_attach(tda10086_attach, &tda10086_config, &adap->dev->i2c_adap)) == NULL) { fe 535 drivers/media/usb/dvb-usb/ttusb2.c static int ttusb2_ct3650_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) fe 537 drivers/media/usb/dvb-usb/ttusb2.c struct dvb_usb_adapter *adap = fe->dvb->priv; fe 539 drivers/media/usb/dvb-usb/ttusb2.c return adap->fe_adap[0].fe->ops.i2c_gate_ctrl(adap->fe_adap[0].fe, enable); fe 547 drivers/media/usb/dvb-usb/ttusb2.c if (adap->fe_adap[0].fe == NULL) { fe 549 drivers/media/usb/dvb-usb/ttusb2.c adap->fe_adap[0].fe = dvb_attach(tda10023_attach, fe 552 drivers/media/usb/dvb-usb/ttusb2.c if (adap->fe_adap[0].fe == NULL) { fe 558 drivers/media/usb/dvb-usb/ttusb2.c adap->fe_adap[1].fe = dvb_attach(tda10048_attach, fe 561 drivers/media/usb/dvb-usb/ttusb2.c if (adap->fe_adap[1].fe == NULL) { fe 567 drivers/media/usb/dvb-usb/ttusb2.c adap->fe_adap[1].fe->ops.i2c_gate_ctrl = ttusb2_ct3650_i2c_gate_ctrl; fe 576 drivers/media/usb/dvb-usb/ttusb2.c struct dvb_frontend *fe; fe 579 drivers/media/usb/dvb-usb/ttusb2.c if (adap->fe_adap[1].fe == NULL) fe 580 drivers/media/usb/dvb-usb/ttusb2.c fe = adap->fe_adap[0].fe; fe 582 drivers/media/usb/dvb-usb/ttusb2.c fe = adap->fe_adap[1].fe; fe 585 drivers/media/usb/dvb-usb/ttusb2.c if (dvb_attach(tda827x_attach, fe, 0x61, &adap->dev->i2c_adap, &tda827x_config) == NULL) { fe 594 drivers/media/usb/dvb-usb/ttusb2.c if (dvb_attach(tda826x_attach, adap->fe_adap[0].fe, 0x60, &adap->dev->i2c_adap, 0) == NULL) { fe 599 drivers/media/usb/dvb-usb/ttusb2.c if (dvb_attach(lnbp21_attach, adap->fe_adap[0].fe, &adap->dev->i2c_adap, 0, 0) == NULL) { fe 657 drivers/media/usb/dvb-usb/ttusb2.c .fe = {{ fe 712 drivers/media/usb/dvb-usb/ttusb2.c .fe = {{ fe 773 drivers/media/usb/dvb-usb/ttusb2.c .fe = {{ fe 15 drivers/media/usb/dvb-usb/umt-010.c static int umt_mt352_demod_init(struct dvb_frontend *fe) fe 32 drivers/media/usb/dvb-usb/umt-010.c mt352_write(fe, mt352_clock_config, sizeof(mt352_clock_config)); fe 34 drivers/media/usb/dvb-usb/umt-010.c mt352_write(fe, mt352_reset, sizeof(mt352_reset)); fe 35 drivers/media/usb/dvb-usb/umt-010.c mt352_write(fe, mt352_mclk_ratio, sizeof(mt352_mclk_ratio)); fe 37 drivers/media/usb/dvb-usb/umt-010.c mt352_write(fe, mt352_adc_ctl_1_cfg, sizeof(mt352_adc_ctl_1_cfg)); fe 38 drivers/media/usb/dvb-usb/umt-010.c mt352_write(fe, mt352_agc_cfg, sizeof(mt352_agc_cfg)); fe 40 drivers/media/usb/dvb-usb/umt-010.c mt352_write(fe, mt352_sec_agc_cfg1, sizeof(mt352_sec_agc_cfg1)); fe 41 drivers/media/usb/dvb-usb/umt-010.c mt352_write(fe, mt352_sec_agc_cfg2, sizeof(mt352_sec_agc_cfg2)); fe 42 drivers/media/usb/dvb-usb/umt-010.c mt352_write(fe, mt352_sec_agc_cfg3, sizeof(mt352_sec_agc_cfg3)); fe 43 drivers/media/usb/dvb-usb/umt-010.c mt352_write(fe, mt352_sec_agc_cfg4, sizeof(mt352_sec_agc_cfg4)); fe 44 drivers/media/usb/dvb-usb/umt-010.c mt352_write(fe, mt352_sec_agc_cfg5, sizeof(mt352_sec_agc_cfg5)); fe 46 drivers/media/usb/dvb-usb/umt-010.c mt352_write(fe, mt352_acq_ctl, sizeof(mt352_acq_ctl)); fe 47 drivers/media/usb/dvb-usb/umt-010.c mt352_write(fe, mt352_input_freq_1, sizeof(mt352_input_freq_1)); fe 60 drivers/media/usb/dvb-usb/umt-010.c adap->fe_adap[0].fe = dvb_attach(mt352_attach, &umt_config, &adap->dev->i2c_adap); fe 67 drivers/media/usb/dvb-usb/umt-010.c dvb_attach(dvb_pll_attach, adap->fe_adap[0].fe, 0x61, NULL, DVB_PLL_TUA6034); fe 101 drivers/media/usb/dvb-usb/umt-010.c .fe = {{ fe 20 drivers/media/usb/dvb-usb/vp702x-fe.c struct dvb_frontend fe; fe 71 drivers/media/usb/dvb-usb/vp702x-fe.c static int vp702x_fe_read_status(struct dvb_frontend *fe, fe 74 drivers/media/usb/dvb-usb/vp702x-fe.c struct vp702x_fe_state *st = fe->demodulator_priv; fe 91 drivers/media/usb/dvb-usb/vp702x-fe.c static int vp702x_fe_read_ber(struct dvb_frontend* fe, u32 *ber) fe 93 drivers/media/usb/dvb-usb/vp702x-fe.c struct vp702x_fe_state *st = fe->demodulator_priv; fe 100 drivers/media/usb/dvb-usb/vp702x-fe.c static int vp702x_fe_read_unc_blocks(struct dvb_frontend* fe, u32 *unc) fe 102 drivers/media/usb/dvb-usb/vp702x-fe.c struct vp702x_fe_state *st = fe->demodulator_priv; fe 108 drivers/media/usb/dvb-usb/vp702x-fe.c static int vp702x_fe_read_signal_strength(struct dvb_frontend* fe, u16 *strength) fe 110 drivers/media/usb/dvb-usb/vp702x-fe.c struct vp702x_fe_state *st = fe->demodulator_priv; fe 117 drivers/media/usb/dvb-usb/vp702x-fe.c static int vp702x_fe_read_snr(struct dvb_frontend* fe, u16 *snr) fe 120 drivers/media/usb/dvb-usb/vp702x-fe.c struct vp702x_fe_state *st = fe->demodulator_priv; fe 128 drivers/media/usb/dvb-usb/vp702x-fe.c static int vp702x_fe_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings *tune) fe 135 drivers/media/usb/dvb-usb/vp702x-fe.c static int vp702x_fe_set_frontend(struct dvb_frontend *fe) fe 137 drivers/media/usb/dvb-usb/vp702x-fe.c struct dtv_frontend_properties *fep = &fe->dtv_property_cache; fe 138 drivers/media/usb/dvb-usb/vp702x-fe.c struct vp702x_fe_state *st = fe->demodulator_priv; fe 197 drivers/media/usb/dvb-usb/vp702x-fe.c static int vp702x_fe_init(struct dvb_frontend *fe) fe 199 drivers/media/usb/dvb-usb/vp702x-fe.c struct vp702x_fe_state *st = fe->demodulator_priv; fe 205 drivers/media/usb/dvb-usb/vp702x-fe.c static int vp702x_fe_sleep(struct dvb_frontend *fe) fe 211 drivers/media/usb/dvb-usb/vp702x-fe.c static int vp702x_fe_send_diseqc_msg (struct dvb_frontend* fe, fe 215 drivers/media/usb/dvb-usb/vp702x-fe.c struct vp702x_fe_state *st = fe->demodulator_priv; fe 243 drivers/media/usb/dvb-usb/vp702x-fe.c static int vp702x_fe_send_diseqc_burst(struct dvb_frontend *fe, fe 250 drivers/media/usb/dvb-usb/vp702x-fe.c static int vp702x_fe_set_tone(struct dvb_frontend *fe, fe 253 drivers/media/usb/dvb-usb/vp702x-fe.c struct vp702x_fe_state *st = fe->demodulator_priv; fe 284 drivers/media/usb/dvb-usb/vp702x-fe.c static int vp702x_fe_set_voltage(struct dvb_frontend *fe, fe 287 drivers/media/usb/dvb-usb/vp702x-fe.c struct vp702x_fe_state *st = fe->demodulator_priv; fe 316 drivers/media/usb/dvb-usb/vp702x-fe.c static void vp702x_fe_release(struct dvb_frontend* fe) fe 318 drivers/media/usb/dvb-usb/vp702x-fe.c struct vp702x_fe_state *st = fe->demodulator_priv; fe 332 drivers/media/usb/dvb-usb/vp702x-fe.c memcpy(&s->fe.ops,&vp702x_fe_ops,sizeof(struct dvb_frontend_ops)); fe 333 drivers/media/usb/dvb-usb/vp702x-fe.c s->fe.demodulator_priv = s; fe 338 drivers/media/usb/dvb-usb/vp702x-fe.c return &s->fe; fe 321 drivers/media/usb/dvb-usb/vp702x.c adap->fe_adap[0].fe = vp702x_fe_attach(adap->dev); fe 385 drivers/media/usb/dvb-usb/vp702x.c .fe = {{ fe 21 drivers/media/usb/dvb-usb/vp7045-fe.c struct dvb_frontend fe; fe 25 drivers/media/usb/dvb-usb/vp7045-fe.c static int vp7045_fe_read_status(struct dvb_frontend *fe, fe 28 drivers/media/usb/dvb-usb/vp7045-fe.c struct vp7045_fe_state *state = fe->demodulator_priv; fe 52 drivers/media/usb/dvb-usb/vp7045-fe.c static int vp7045_fe_read_ber(struct dvb_frontend* fe, u32 *ber) fe 54 drivers/media/usb/dvb-usb/vp7045-fe.c struct vp7045_fe_state *state = fe->demodulator_priv; fe 61 drivers/media/usb/dvb-usb/vp7045-fe.c static int vp7045_fe_read_unc_blocks(struct dvb_frontend* fe, u32 *unc) fe 63 drivers/media/usb/dvb-usb/vp7045-fe.c struct vp7045_fe_state *state = fe->demodulator_priv; fe 69 drivers/media/usb/dvb-usb/vp7045-fe.c static int vp7045_fe_read_signal_strength(struct dvb_frontend* fe, u16 *strength) fe 71 drivers/media/usb/dvb-usb/vp7045-fe.c struct vp7045_fe_state *state = fe->demodulator_priv; fe 79 drivers/media/usb/dvb-usb/vp7045-fe.c static int vp7045_fe_read_snr(struct dvb_frontend* fe, u16 *snr) fe 81 drivers/media/usb/dvb-usb/vp7045-fe.c struct vp7045_fe_state *state = fe->demodulator_priv; fe 87 drivers/media/usb/dvb-usb/vp7045-fe.c static int vp7045_fe_init(struct dvb_frontend* fe) fe 92 drivers/media/usb/dvb-usb/vp7045-fe.c static int vp7045_fe_sleep(struct dvb_frontend* fe) fe 97 drivers/media/usb/dvb-usb/vp7045-fe.c static int vp7045_fe_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings *tune) fe 103 drivers/media/usb/dvb-usb/vp7045-fe.c static int vp7045_fe_set_frontend(struct dvb_frontend *fe) fe 105 drivers/media/usb/dvb-usb/vp7045-fe.c struct dtv_frontend_properties *fep = &fe->dtv_property_cache; fe 106 drivers/media/usb/dvb-usb/vp7045-fe.c struct vp7045_fe_state *state = fe->demodulator_priv; fe 133 drivers/media/usb/dvb-usb/vp7045-fe.c static void vp7045_fe_release(struct dvb_frontend* fe) fe 135 drivers/media/usb/dvb-usb/vp7045-fe.c struct vp7045_fe_state *state = fe->demodulator_priv; fe 148 drivers/media/usb/dvb-usb/vp7045-fe.c memcpy(&s->fe.ops, &vp7045_fe_ops, sizeof(struct dvb_frontend_ops)); fe 149 drivers/media/usb/dvb-usb/vp7045-fe.c s->fe.demodulator_priv = s; fe 151 drivers/media/usb/dvb-usb/vp7045-fe.c return &s->fe; fe 161 drivers/media/usb/dvb-usb/vp7045.c adap->fe_adap[0].fe = vp7045_fe_attach(adap->dev); fe 193 drivers/media/usb/dvb-usb/vp7045.c .fe = {{ fe 84 drivers/media/usb/em28xx/em28xx-dvb.c struct dvb_frontend *fe[2]; fe 99 drivers/media/usb/em28xx/em28xx-dvb.c int (*gate_ctrl)(struct dvb_frontend *fe, int gate); fe 291 drivers/media/usb/em28xx/em28xx-dvb.c static int em28xx_dvb_bus_ctrl(struct dvb_frontend *fe, int acquire) fe 293 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_i2c_bus *i2c_bus = fe->dvb->priv; fe 452 drivers/media/usb/em28xx/em28xx-dvb.c static int drxk_gate_ctrl(struct dvb_frontend *fe, int enable) fe 454 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_dvb *dvb = fe->sec_priv; fe 462 drivers/media/usb/em28xx/em28xx-dvb.c status = dvb->gate_ctrl(fe, 1); fe 464 drivers/media/usb/em28xx/em28xx-dvb.c status = dvb->gate_ctrl(fe, 0); fe 728 drivers/media/usb/em28xx/em28xx-dvb.c static int em28xx_pctv_290e_set_lna(struct dvb_frontend *fe) fe 730 drivers/media/usb/em28xx/em28xx-dvb.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 731 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_i2c_bus *i2c_bus = fe->dvb->priv; fe 757 drivers/media/usb/em28xx/em28xx-dvb.c static int em28xx_pctv_292e_set_lna(struct dvb_frontend *fe) fe 759 drivers/media/usb/em28xx/em28xx-dvb.c struct dtv_frontend_properties *c = &fe->dtv_property_cache; fe 760 drivers/media/usb/em28xx/em28xx-dvb.c struct em28xx_i2c_bus *i2c_bus = fe->dvb->priv; fe 772 drivers/media/usb/em28xx/em28xx-dvb.c static int em28xx_mt352_terratec_xs_init(struct dvb_frontend *fe) fe 786 drivers/media/usb/em28xx/em28xx-dvb.c mt352_write(fe, clock_config, sizeof(clock_config)); fe 788 drivers/media/usb/em28xx/em28xx-dvb.c mt352_write(fe, reset, sizeof(reset)); fe 789 drivers/media/usb/em28xx/em28xx-dvb.c mt352_write(fe, adc_ctl_1_cfg, sizeof(adc_ctl_1_cfg)); fe 790 drivers/media/usb/em28xx/em28xx-dvb.c mt352_write(fe, agc_cfg, sizeof(agc_cfg)); fe 791 drivers/media/usb/em28xx/em28xx-dvb.c mt352_write(fe, input_freq_cfg, sizeof(input_freq_cfg)); fe 792 drivers/media/usb/em28xx/em28xx-dvb.c mt352_write(fe, rs_err_cfg, sizeof(rs_err_cfg)); fe 793 drivers/media/usb/em28xx/em28xx-dvb.c mt352_write(fe, capt_range_cfg, sizeof(capt_range_cfg)); fe 794 drivers/media/usb/em28xx/em28xx-dvb.c mt352_write(fe, trl_nom_cfg, sizeof(trl_nom_cfg)); fe 795 drivers/media/usb/em28xx/em28xx-dvb.c mt352_write(fe, tps_given_cfg, sizeof(tps_given_cfg)); fe 796 drivers/media/usb/em28xx/em28xx-dvb.c mt352_write(fe, tuner_go, sizeof(tuner_go)); fe 943 drivers/media/usb/em28xx/em28xx-dvb.c struct dvb_frontend *fe; fe 955 drivers/media/usb/em28xx/em28xx-dvb.c if (!dev->dvb->fe[0]) { fe 961 drivers/media/usb/em28xx/em28xx-dvb.c fe = dvb_attach(xc2028_attach, dev->dvb->fe[0], &cfg); fe 962 drivers/media/usb/em28xx/em28xx-dvb.c if (!fe) { fe 964 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dev->dvb->fe[0]); fe 965 drivers/media/usb/em28xx/em28xx-dvb.c dev->dvb->fe[0] = NULL; fe 999 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.ts_bus_ctrl = em28xx_dvb_bus_ctrl; fe 1000 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1]) fe 1001 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[1]->ops.ts_bus_ctrl = em28xx_dvb_bus_ctrl; fe 1006 drivers/media/usb/em28xx/em28xx-dvb.c result = dvb_register_frontend(&dvb->adapter, dvb->fe[0]); fe 1015 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1]) { fe 1016 drivers/media/usb/em28xx/em28xx-dvb.c result = dvb_register_frontend(&dvb->adapter, dvb->fe[1]); fe 1104 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1]) fe 1105 drivers/media/usb/em28xx/em28xx-dvb.c dvb_unregister_frontend(dvb->fe[1]); fe 1106 drivers/media/usb/em28xx/em28xx-dvb.c dvb_unregister_frontend(dvb->fe[0]); fe 1108 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1]) fe 1109 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dvb->fe[1]); fe 1111 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dvb->fe[0]); fe 1124 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1]) fe 1125 drivers/media/usb/em28xx/em28xx-dvb.c dvb_unregister_frontend(dvb->fe[1]); fe 1126 drivers/media/usb/em28xx/em28xx-dvb.c dvb_unregister_frontend(dvb->fe[0]); fe 1127 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1] && !dvb->dont_attach_fe1) fe 1128 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dvb->fe[1]); fe 1129 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dvb->fe[0]); fe 1152 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = tda10071_pdata.get_dvb_frontend(dvb->i2c_client_demod); fe 1155 drivers/media/usb/em28xx/em28xx-dvb.c a8293_pdata.dvb_frontend = dvb->fe[0]; fe 1190 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = m88ds3103_pdata.get_dvb_frontend(dvb->i2c_client_demod); fe 1194 drivers/media/usb/em28xx/em28xx-dvb.c ts2020_config.fe = dvb->fe[0]; fe 1205 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.read_signal_strength = fe 1206 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.tuner_ops.get_rf_strength; fe 1209 drivers/media/usb/em28xx/em28xx-dvb.c a8293_pdata.dvb_frontend = dvb->fe[0]; fe 1231 drivers/media/usb/em28xx/em28xx-dvb.c si2168_config.fe = &dvb->fe[0]; fe 1242 drivers/media/usb/em28xx/em28xx-dvb.c si2157_config.fe = dvb->fe[0]; fe 1254 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.set_lna = em28xx_pctv_292e_set_lna; fe 1268 drivers/media/usb/em28xx/em28xx-dvb.c si2168_config.fe = &dvb->fe[0]; fe 1279 drivers/media/usb/em28xx/em28xx-dvb.c si2157_config.fe = dvb->fe[0]; fe 1309 drivers/media/usb/em28xx/em28xx-dvb.c qm1d1c0042_config.fe = tc90522_config.fe; fe 1320 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = tc90522_config.fe; fe 1336 drivers/media/usb/em28xx/em28xx-dvb.c si2168_config.fe = &dvb->fe[0]; fe 1349 drivers/media/usb/em28xx/em28xx-dvb.c si2157_config.fe = dvb->fe[0]; fe 1377 drivers/media/usb/em28xx/em28xx-dvb.c lgdt3306a_config.fe = &dvb->fe[0]; fe 1388 drivers/media/usb/em28xx/em28xx-dvb.c si2157_config.fe = dvb->fe[0]; fe 1430 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = NULL; fe 1431 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[1] = NULL; fe 1460 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(s921_attach, fe 1464 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { fe 1474 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(lgdt330x_attach, fe 1484 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(zl10353_attach, fe 1496 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(zl10353_attach, fe 1513 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(zl10353_attach, fe 1516 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) fe 1517 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(mt352_attach, fe 1527 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(zl10353_attach, fe 1530 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { fe 1531 drivers/media/usb/em28xx/em28xx-dvb.c dvb_attach(mt2060_attach, dvb->fe[0], fe 1537 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(zl10353_attach, fe 1540 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) fe 1541 drivers/media/usb/em28xx/em28xx-dvb.c dvb_attach(qt1010_attach, dvb->fe[0], fe 1547 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(s5h1409_attach, fe 1556 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(lgdt330x_attach, fe 1560 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { fe 1561 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(simple_tuner_attach, dvb->fe[0], fe 1571 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(drxd_attach, &em28xx_drxd, NULL, fe 1581 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(tda10023_attach, fe 1585 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { fe 1586 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(simple_tuner_attach, dvb->fe[0], fe 1595 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(lgdt3305_attach, fe 1598 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { fe 1602 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(tda18271_attach, dvb->fe[0], 0x60, fe 1605 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dvb->fe[0]); fe 1614 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(cxd2820r_attach, fe 1618 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { fe 1621 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0], fe 1625 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dvb->fe[0]); fe 1643 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.set_lna = em28xx_pctv_290e_set_lna; fe 1653 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(drxk_attach, fe 1656 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { fe 1661 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->sec_priv = dvb; fe 1663 drivers/media/usb/em28xx/em28xx-dvb.c dvb->gate_ctrl = dvb->fe[0]->ops.i2c_gate_ctrl; fe 1664 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.i2c_gate_ctrl = drxk_gate_ctrl; fe 1670 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]->ops.i2c_gate_ctrl) fe 1671 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.i2c_gate_ctrl(dvb->fe[0], 1); fe 1672 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(xc5000_attach, dvb->fe[0], fe 1677 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]->ops.i2c_gate_ctrl) fe 1678 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.i2c_gate_ctrl(dvb->fe[0], 0); fe 1685 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(drxk_attach, &terratec_h5_drxk, fe 1687 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { fe 1692 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->sec_priv = dvb; fe 1694 drivers/media/usb/em28xx/em28xx-dvb.c dvb->gate_ctrl = dvb->fe[0]->ops.i2c_gate_ctrl; fe 1695 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.i2c_gate_ctrl = drxk_gate_ctrl; fe 1698 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]->ops.i2c_gate_ctrl) fe 1699 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.i2c_gate_ctrl(dvb->fe[0], 1); fe 1700 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(tda18271c2dd_attach, dvb->fe[0], fe 1705 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]->ops.i2c_gate_ctrl) fe 1706 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.i2c_gate_ctrl(dvb->fe[0], 0); fe 1710 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(mb86a20s_attach, fe 1713 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) fe 1714 drivers/media/usb/em28xx/em28xx-dvb.c dvb_attach(tda18271_attach, dvb->fe[0], 0x60, fe 1726 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(drxk_attach, &maxmedia_ub425_tc_drxk, fe 1729 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { fe 1731 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->ops.i2c_gate_ctrl = NULL; fe 1734 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(tda18271_attach, dvb->fe[0], 0x60, fe 1737 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dvb->fe[0]); fe 1748 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(drxk_attach, &pctv_520e_drxk, fe 1751 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { fe 1753 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(tda18271_attach, dvb->fe[0], 0x60, fe 1756 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dvb->fe[0]); fe 1768 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(drxk_attach, &terratec_htc_stick_drxk, fe 1770 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { fe 1776 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(tda18271_attach, dvb->fe[0], 0x60, fe 1787 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(drxk_attach, &terratec_htc_stick_drxk, fe 1789 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { fe 1795 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(tda18271_attach, dvb->fe[0], 0x60, fe 1803 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(lgdt3305_attach, fe 1806 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { fe 1812 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb_attach(tda18271_attach, dvb->fe[0], 0x60, fe 1823 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(lgdt3305_attach, fe 1826 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { fe 1832 drivers/media/usb/em28xx/em28xx-dvb.c kworld_ub435q_v3_config.fe = dvb->fe[0]; fe 1838 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_detach(dvb->fe[0]); fe 1845 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(drx39xxj_attach, fe 1847 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { fe 1848 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0] = dvb_attach(tda18271_attach, dvb->fe[0], fe 1852 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { fe 1893 drivers/media/usb/em28xx/em28xx-dvb.c if (!dvb->fe[0]) { fe 1899 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->callback = em28xx_tuner_callback; fe 1900 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1]) fe 1901 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[1]->callback = em28xx_tuner_callback; fe 1967 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { fe 1968 drivers/media/usb/em28xx/em28xx-dvb.c prevent_sleep(&dvb->fe[0]->ops); fe 1969 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[0]->exit = DVB_FE_DEVICE_REMOVED; fe 1971 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1]) { fe 1972 drivers/media/usb/em28xx/em28xx-dvb.c prevent_sleep(&dvb->fe[1]->ops); fe 1973 drivers/media/usb/em28xx/em28xx-dvb.c dvb->fe[1]->exit = DVB_FE_DEVICE_REMOVED; fe 2005 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { fe 2006 drivers/media/usb/em28xx/em28xx-dvb.c ret = dvb_frontend_suspend(dvb->fe[0]); fe 2009 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1]) { fe 2010 drivers/media/usb/em28xx/em28xx-dvb.c dvb_frontend_suspend(dvb->fe[1]); fe 2032 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[0]) { fe 2033 drivers/media/usb/em28xx/em28xx-dvb.c ret = dvb_frontend_resume(dvb->fe[0]); fe 2037 drivers/media/usb/em28xx/em28xx-dvb.c if (dvb->fe[1]) { fe 2038 drivers/media/usb/em28xx/em28xx-dvb.c ret = dvb_frontend_resume(dvb->fe[1]); fe 184 drivers/media/usb/pvrusb2/pvrusb2-devattr.c adap->fe[0] = dvb_attach(lgdt330x_attach, &pvr2_lgdt3303_config, fe 187 drivers/media/usb/pvrusb2/pvrusb2-devattr.c if (adap->fe[0]) fe 195 drivers/media/usb/pvrusb2/pvrusb2-devattr.c dvb_attach(simple_tuner_attach, adap->fe[0], fe 244 drivers/media/usb/pvrusb2/pvrusb2-devattr.c adap->fe[0] = dvb_attach(lgdt330x_attach, &pvr2_lgdt3302_config, fe 247 drivers/media/usb/pvrusb2/pvrusb2-devattr.c if (adap->fe[0]) fe 255 drivers/media/usb/pvrusb2/pvrusb2-devattr.c dvb_attach(simple_tuner_attach, adap->fe[0], fe 331 drivers/media/usb/pvrusb2/pvrusb2-devattr.c adap->fe[0] = dvb_attach(tda10048_attach, &hauppauge_tda10048_config, fe 333 drivers/media/usb/pvrusb2/pvrusb2-devattr.c if (adap->fe[0]) fe 341 drivers/media/usb/pvrusb2/pvrusb2-devattr.c dvb_attach(tda829x_attach, adap->fe[0], fe 344 drivers/media/usb/pvrusb2/pvrusb2-devattr.c dvb_attach(tda18271_attach, adap->fe[0], 0x60, fe 429 drivers/media/usb/pvrusb2/pvrusb2-devattr.c adap->fe[0] = dvb_attach(s5h1409_attach, &pvr2_s5h1409_config, fe 431 drivers/media/usb/pvrusb2/pvrusb2-devattr.c if (adap->fe[0]) fe 439 drivers/media/usb/pvrusb2/pvrusb2-devattr.c adap->fe[0] = dvb_attach(s5h1411_attach, &pvr2_s5h1411_config, fe 441 drivers/media/usb/pvrusb2/pvrusb2-devattr.c if (adap->fe[0]) fe 449 drivers/media/usb/pvrusb2/pvrusb2-devattr.c dvb_attach(tda829x_attach, adap->fe[0], fe 452 drivers/media/usb/pvrusb2/pvrusb2-devattr.c dvb_attach(tda18271_attach, adap->fe[0], 0x60, fe 545 drivers/media/usb/pvrusb2/pvrusb2-devattr.c si2157_config.fe = adap->fe[0]; fe 564 drivers/media/usb/pvrusb2/pvrusb2-devattr.c si2168_config.fe = &adap->fe[1]; fe 588 drivers/media/usb/pvrusb2/pvrusb2-devattr.c lgdt3306a_config.fe = &adap->fe[0]; fe 235 drivers/media/usb/pvrusb2/pvrusb2-dvb.c static int pvr2_dvb_bus_ctrl(struct dvb_frontend *fe, int acquire) fe 237 drivers/media/usb/pvrusb2/pvrusb2-dvb.c struct pvr2_dvb_adapter *adap = fe->dvb->priv; fe 337 drivers/media/usb/pvrusb2/pvrusb2-dvb.c if (dvb_props->frontend_attach(adap) == 0 && adap->fe[0]) { fe 338 drivers/media/usb/pvrusb2/pvrusb2-dvb.c if (dvb_register_frontend(&adap->dvb_adap, adap->fe[0])) { fe 344 drivers/media/usb/pvrusb2/pvrusb2-dvb.c if (adap->fe[0]->ops.analog_ops.standby) fe 345 drivers/media/usb/pvrusb2/pvrusb2-dvb.c adap->fe[0]->ops.analog_ops.standby(adap->fe[0]); fe 348 drivers/media/usb/pvrusb2/pvrusb2-dvb.c adap->fe[0]->id); fe 349 drivers/media/usb/pvrusb2/pvrusb2-dvb.c adap->fe[0]->ops.ts_bus_ctrl = pvr2_dvb_bus_ctrl; fe 363 drivers/media/usb/pvrusb2/pvrusb2-dvb.c if (adap->fe[1]) { fe 364 drivers/media/usb/pvrusb2/pvrusb2-dvb.c adap->fe[1]->id = 1; fe 365 drivers/media/usb/pvrusb2/pvrusb2-dvb.c adap->fe[1]->tuner_priv = adap->fe[0]->tuner_priv; fe 366 drivers/media/usb/pvrusb2/pvrusb2-dvb.c memcpy(&adap->fe[1]->ops.tuner_ops, fe 367 drivers/media/usb/pvrusb2/pvrusb2-dvb.c &adap->fe[0]->ops.tuner_ops, fe 370 drivers/media/usb/pvrusb2/pvrusb2-dvb.c if (dvb_register_frontend(&adap->dvb_adap, adap->fe[1])) { fe 379 drivers/media/usb/pvrusb2/pvrusb2-dvb.c if (adap->fe[1]->ops.analog_ops.standby) fe 380 drivers/media/usb/pvrusb2/pvrusb2-dvb.c adap->fe[1]->ops.analog_ops.standby(adap->fe[1]); fe 383 drivers/media/usb/pvrusb2/pvrusb2-dvb.c adap->fe[1]->id); fe 384 drivers/media/usb/pvrusb2/pvrusb2-dvb.c adap->fe[1]->ops.ts_bus_ctrl = pvr2_dvb_bus_ctrl; fe 391 drivers/media/usb/pvrusb2/pvrusb2-dvb.c dvb_frontend_detach(adap->fe[1]); fe 392 drivers/media/usb/pvrusb2/pvrusb2-dvb.c adap->fe[1] = NULL; fe 394 drivers/media/usb/pvrusb2/pvrusb2-dvb.c dvb_unregister_frontend(adap->fe[0]); fe 396 drivers/media/usb/pvrusb2/pvrusb2-dvb.c dvb_frontend_detach(adap->fe[0]); fe 397 drivers/media/usb/pvrusb2/pvrusb2-dvb.c adap->fe[0] = NULL; fe 407 drivers/media/usb/pvrusb2/pvrusb2-dvb.c if (adap->fe[1]) { fe 408 drivers/media/usb/pvrusb2/pvrusb2-dvb.c dvb_unregister_frontend(adap->fe[1]); fe 409 drivers/media/usb/pvrusb2/pvrusb2-dvb.c dvb_frontend_detach(adap->fe[1]); fe 410 drivers/media/usb/pvrusb2/pvrusb2-dvb.c adap->fe[1] = NULL; fe 412 drivers/media/usb/pvrusb2/pvrusb2-dvb.c if (adap->fe[0]) { fe 413 drivers/media/usb/pvrusb2/pvrusb2-dvb.c dvb_unregister_frontend(adap->fe[0]); fe 414 drivers/media/usb/pvrusb2/pvrusb2-dvb.c dvb_frontend_detach(adap->fe[0]); fe 415 drivers/media/usb/pvrusb2/pvrusb2-dvb.c adap->fe[0] = NULL; fe 21 drivers/media/usb/pvrusb2/pvrusb2-dvb.h struct dvb_frontend *fe[2]; fe 1352 drivers/media/usb/s2255/s2255drv.c struct v4l2_frmsizeenum *fe) fe 1358 drivers/media/usb/s2255/s2255drv.c if (fe->index >= NUM_SIZE_ENUMS) fe 1361 drivers/media/usb/s2255/s2255drv.c fmt = format_by_fourcc(fe->pixel_format); fe 1364 drivers/media/usb/s2255/s2255drv.c fe->type = V4L2_FRMSIZE_TYPE_DISCRETE; fe 1365 drivers/media/usb/s2255/s2255drv.c fe->discrete = is_ntsc ? ntsc_sizes[fe->index] : pal_sizes[fe->index]; fe 1370 drivers/media/usb/s2255/s2255drv.c struct v4l2_frmivalenum *fe) fe 1380 drivers/media/usb/s2255/s2255drv.c if (fe->index >= NUM_FRAME_ENUMS) fe 1383 drivers/media/usb/s2255/s2255drv.c fmt = format_by_fourcc(fe->pixel_format); fe 1389 drivers/media/usb/s2255/s2255drv.c if (fe->width == sizes->width && fe 1390 drivers/media/usb/s2255/s2255drv.c fe->height == sizes->height) fe 1395 drivers/media/usb/s2255/s2255drv.c fe->type = V4L2_FRMIVAL_TYPE_DISCRETE; fe 1396 drivers/media/usb/s2255/s2255drv.c fe->discrete.denominator = is_ntsc ? 30000 : 25000; fe 1397 drivers/media/usb/s2255/s2255drv.c fe->discrete.numerator = (is_ntsc ? 1001 : 1000) * frm_dec[fe->index]; fe 1399 drivers/media/usb/s2255/s2255drv.c fe->discrete.numerator, fe 1400 drivers/media/usb/s2255/s2255drv.c fe->discrete.denominator); fe 126 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct dvb_frontend* fe; fe 468 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c static int ttusb_send_diseqc(struct dvb_frontend* fe, fe 471 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv; fe 509 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c static int ttusb_set_voltage(struct dvb_frontend *fe, fe 512 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv; fe 519 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c static int ttusb_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) fe 521 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv; fe 1007 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c static int alps_tdmb7_tuner_set_params(struct dvb_frontend *fe) fe 1009 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1010 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv; fe 1022 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (fe->ops.i2c_gate_ctrl) fe 1023 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1036 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c static int philips_tdm1316l_tuner_init(struct dvb_frontend* fe) fe 1038 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv; fe 1044 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (fe->ops.i2c_gate_ctrl) fe 1045 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1053 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (fe->ops.i2c_gate_ctrl) fe 1054 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1062 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c static int philips_tdm1316l_tuner_set_params(struct dvb_frontend *fe) fe 1064 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1065 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv; fe 1099 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c tda1004x_writereg(fe, 0x0C, 0); fe 1104 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c tda1004x_writereg(fe, 0x0C, 0); fe 1109 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c tda1004x_writereg(fe, 0x0C, 0xFF); fe 1127 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (fe->ops.i2c_gate_ctrl) fe 1128 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1136 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c static int philips_tdm1316l_request_firmware(struct dvb_frontend* fe, const struct firmware **fw, char* name) fe 1138 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv; fe 1235 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c static int alps_stv0299_set_symbol_rate(struct dvb_frontend *fe, u32 srate, u32 ratio) fe 1260 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c stv0299_writereg(fe, 0x13, aclk); fe 1261 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c stv0299_writereg(fe, 0x14, bclk); fe 1262 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c stv0299_writereg(fe, 0x1f, (ratio >> 16) & 0xff); fe 1263 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c stv0299_writereg(fe, 0x20, (ratio >> 8) & 0xff); fe 1264 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c stv0299_writereg(fe, 0x21, (ratio) & 0xf0); fe 1269 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c static int philips_tsa5059_tuner_set_params(struct dvb_frontend *fe) fe 1271 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1272 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv; fe 1293 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (fe->ops.i2c_gate_ctrl) fe 1294 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1313 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c static int ttusb_novas_grundig_29504_491_tuner_set_params(struct dvb_frontend *fe) fe 1315 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1316 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv; fe 1328 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (fe->ops.i2c_gate_ctrl) fe 1329 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1341 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c static int alps_tdbe2_tuner_set_params(struct dvb_frontend *fe) fe 1343 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1344 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb* ttusb = fe->dvb->priv; fe 1356 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (fe->ops.i2c_gate_ctrl) fe 1357 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1386 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c static int dvbc_philips_tdm1316l_tuner_set_params(struct dvb_frontend *fe) fe 1388 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 1389 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c struct ttusb *ttusb = (struct ttusb *) fe->dvb->priv; fe 1426 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (fe->ops.i2c_gate_ctrl) fe 1427 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1435 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (fe->ops.i2c_gate_ctrl) fe 1436 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c fe->ops.i2c_gate_ctrl(fe, 1); fe 1560 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe = dvb_attach(stv0299_attach, &alps_stv0299_config, &ttusb->i2c_adap); fe 1561 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (ttusb->fe != NULL) { fe 1562 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe->ops.tuner_ops.set_params = philips_tsa5059_tuner_set_params; fe 1566 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c dvb_attach(lnbp21_attach, ttusb->fe, &ttusb->i2c_adap, 0, 0); fe 1568 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe->ops.set_voltage = ttusb_set_voltage; fe 1574 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe = dvb_attach(tda8083_attach, &ttusb_novas_grundig_29504_491_config, &ttusb->i2c_adap); fe 1575 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (ttusb->fe != NULL) { fe 1576 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe->ops.tuner_ops.set_params = ttusb_novas_grundig_29504_491_tuner_set_params; fe 1577 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe->ops.set_voltage = ttusb_set_voltage; fe 1583 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe = dvb_attach(ves1820_attach, &alps_tdbe2_config, &ttusb->i2c_adap, read_pwm(ttusb)); fe 1584 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (ttusb->fe != NULL) { fe 1585 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe->ops.tuner_ops.set_params = alps_tdbe2_tuner_set_params; fe 1589 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe = dvb_attach(stv0297_attach, &dvbc_philips_tdm1316l_config, &ttusb->i2c_adap); fe 1590 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (ttusb->fe != NULL) { fe 1591 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe->ops.tuner_ops.set_params = dvbc_philips_tdm1316l_tuner_set_params; fe 1598 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe = dvb_attach(cx22700_attach, &alps_tdmb7_config, &ttusb->i2c_adap); fe 1599 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (ttusb->fe != NULL) { fe 1600 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe->ops.tuner_ops.set_params = alps_tdmb7_tuner_set_params; fe 1605 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe = dvb_attach(tda10046_attach, &philips_tdm1316l_config, &ttusb->i2c_adap); fe 1606 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (ttusb->fe != NULL) { fe 1607 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe->ops.tuner_ops.init = philips_tdm1316l_tuner_init; fe 1608 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe->ops.tuner_ops.set_params = philips_tdm1316l_tuner_set_params; fe 1614 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (ttusb->fe == NULL) { fe 1619 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (dvb_register_frontend(&ttusb->adapter, ttusb->fe)) { fe 1621 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c dvb_frontend_detach(ttusb->fe); fe 1622 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->fe = NULL; fe 1770 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c if (ttusb->fe != NULL) { fe 1771 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c dvb_unregister_frontend(ttusb->fe); fe 1772 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c dvb_frontend_detach(ttusb->fe); fe 101 drivers/media/usb/ttusb-dec/ttusb_dec.c struct dvb_frontend* fe; fe 1552 drivers/media/usb/ttusb-dec/ttusb_dec.c if (dec->fe) { fe 1553 drivers/media/usb/ttusb-dec/ttusb_dec.c dvb_unregister_frontend(dec->fe); fe 1554 drivers/media/usb/ttusb-dec/ttusb_dec.c if (dec->fe->ops.release) fe 1555 drivers/media/usb/ttusb-dec/ttusb_dec.c dec->fe->ops.release(dec->fe); fe 1631 drivers/media/usb/ttusb-dec/ttusb_dec.c static int fe_send_command(struct dvb_frontend* fe, const u8 command, fe 1635 drivers/media/usb/ttusb-dec/ttusb_dec.c struct ttusb_dec* dec = fe->dvb->priv; fe 1690 drivers/media/usb/ttusb-dec/ttusb_dec.c dec->fe = ttusbdecfe_dvbs_attach(&fe_config); fe 1695 drivers/media/usb/ttusb-dec/ttusb_dec.c dec->fe = ttusbdecfe_dvbt_attach(&fe_config); fe 1699 drivers/media/usb/ttusb-dec/ttusb_dec.c if (dec->fe == NULL) { fe 1704 drivers/media/usb/ttusb-dec/ttusb_dec.c if (dvb_register_frontend(&dec->adapter, dec->fe)) { fe 1706 drivers/media/usb/ttusb-dec/ttusb_dec.c if (dec->fe->ops.release) fe 1707 drivers/media/usb/ttusb-dec/ttusb_dec.c dec->fe->ops.release(dec->fe); fe 1708 drivers/media/usb/ttusb-dec/ttusb_dec.c dec->fe = NULL; fe 27 drivers/media/usb/ttusb-dec/ttusbdecfe.c static int ttusbdecfe_dvbs_read_status(struct dvb_frontend *fe, fe 36 drivers/media/usb/ttusb-dec/ttusbdecfe.c static int ttusbdecfe_dvbt_read_status(struct dvb_frontend *fe, fe 39 drivers/media/usb/ttusb-dec/ttusbdecfe.c struct ttusbdecfe_state* state = fe->demodulator_priv; fe 47 drivers/media/usb/ttusb-dec/ttusbdecfe.c ret=state->config->send_command(fe, 0x73, sizeof(b), b, &len, result); fe 76 drivers/media/usb/ttusb-dec/ttusbdecfe.c static int ttusbdecfe_dvbt_set_frontend(struct dvb_frontend *fe) fe 78 drivers/media/usb/ttusb-dec/ttusbdecfe.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 79 drivers/media/usb/ttusb-dec/ttusbdecfe.c struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; fe 88 drivers/media/usb/ttusb-dec/ttusbdecfe.c state->config->send_command(fe, 0x71, sizeof(b), b, NULL, NULL); fe 93 drivers/media/usb/ttusb-dec/ttusbdecfe.c static int ttusbdecfe_dvbt_get_tune_settings(struct dvb_frontend* fe, fe 103 drivers/media/usb/ttusb-dec/ttusbdecfe.c static int ttusbdecfe_dvbs_set_frontend(struct dvb_frontend *fe) fe 105 drivers/media/usb/ttusb-dec/ttusbdecfe.c struct dtv_frontend_properties *p = &fe->dtv_property_cache; fe 106 drivers/media/usb/ttusb-dec/ttusbdecfe.c struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; fe 133 drivers/media/usb/ttusb-dec/ttusbdecfe.c state->config->send_command(fe, 0x71, sizeof(b), b, NULL, NULL); fe 138 drivers/media/usb/ttusb-dec/ttusbdecfe.c static int ttusbdecfe_dvbs_diseqc_send_master_cmd(struct dvb_frontend* fe, struct dvb_diseqc_master_cmd *cmd) fe 140 drivers/media/usb/ttusb-dec/ttusbdecfe.c struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; fe 150 drivers/media/usb/ttusb-dec/ttusbdecfe.c state->config->send_command(fe, 0x72, fe 158 drivers/media/usb/ttusb-dec/ttusbdecfe.c static int ttusbdecfe_dvbs_set_tone(struct dvb_frontend *fe, fe 161 drivers/media/usb/ttusb-dec/ttusbdecfe.c struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; fe 169 drivers/media/usb/ttusb-dec/ttusbdecfe.c static int ttusbdecfe_dvbs_set_voltage(struct dvb_frontend *fe, fe 172 drivers/media/usb/ttusb-dec/ttusbdecfe.c struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; fe 188 drivers/media/usb/ttusb-dec/ttusbdecfe.c static void ttusbdecfe_release(struct dvb_frontend* fe) fe 190 drivers/media/usb/ttusb-dec/ttusbdecfe.c struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv; fe 15 drivers/media/usb/ttusb-dec/ttusbdecfe.h int (*send_command)(struct dvb_frontend* fe, const u8 command, fe 150 drivers/media/v4l2-core/tuner-core.c struct dvb_frontend fe; fe 201 drivers/media/v4l2-core/tuner-core.c static void tuner_detach(struct dvb_frontend *fe) fe 203 drivers/media/v4l2-core/tuner-core.c if (fe->ops.tuner_ops.release) { fe 204 drivers/media/v4l2-core/tuner-core.c fe->ops.tuner_ops.release(fe); fe 205 drivers/media/v4l2-core/tuner-core.c symbol_put_addr(fe->ops.tuner_ops.release); fe 207 drivers/media/v4l2-core/tuner-core.c if (fe->ops.analog_ops.release) { fe 208 drivers/media/v4l2-core/tuner-core.c fe->ops.analog_ops.release(fe); fe 209 drivers/media/v4l2-core/tuner-core.c symbol_put_addr(fe->ops.analog_ops.release); fe 217 drivers/media/v4l2-core/tuner-core.c static void tuner_detach(struct dvb_frontend *fe) fe 219 drivers/media/v4l2-core/tuner-core.c if (fe->ops.tuner_ops.release) fe 220 drivers/media/v4l2-core/tuner-core.c fe->ops.tuner_ops.release(fe); fe 221 drivers/media/v4l2-core/tuner-core.c if (fe->ops.analog_ops.release) fe 222 drivers/media/v4l2-core/tuner-core.c fe->ops.analog_ops.release(fe); fe 236 drivers/media/v4l2-core/tuner-core.c static void fe_set_params(struct dvb_frontend *fe, fe 239 drivers/media/v4l2-core/tuner-core.c struct dvb_tuner_ops *fe_tuner_ops = &fe->ops.tuner_ops; fe 240 drivers/media/v4l2-core/tuner-core.c struct tuner *t = fe->analog_demod_priv; fe 246 drivers/media/v4l2-core/tuner-core.c fe_tuner_ops->set_analog_params(fe, params); fe 249 drivers/media/v4l2-core/tuner-core.c static void fe_standby(struct dvb_frontend *fe) fe 251 drivers/media/v4l2-core/tuner-core.c struct dvb_tuner_ops *fe_tuner_ops = &fe->ops.tuner_ops; fe 254 drivers/media/v4l2-core/tuner-core.c fe_tuner_ops->sleep(fe); fe 257 drivers/media/v4l2-core/tuner-core.c static int fe_set_config(struct dvb_frontend *fe, void *priv_cfg) fe 259 drivers/media/v4l2-core/tuner-core.c struct dvb_tuner_ops *fe_tuner_ops = &fe->ops.tuner_ops; fe 260 drivers/media/v4l2-core/tuner-core.c struct tuner *t = fe->analog_demod_priv; fe 263 drivers/media/v4l2-core/tuner-core.c return fe_tuner_ops->set_config(fe, priv_cfg); fe 270 drivers/media/v4l2-core/tuner-core.c static void tuner_status(struct dvb_frontend *fe); fe 302 drivers/media/v4l2-core/tuner-core.c struct dvb_tuner_ops *fe_tuner_ops = &t->fe.ops.tuner_ops; fe 303 drivers/media/v4l2-core/tuner-core.c struct analog_demod_ops *analog_ops = &t->fe.ops.analog_ops; fe 316 drivers/media/v4l2-core/tuner-core.c t->fe.callback = tuner_callback; fe 320 drivers/media/v4l2-core/tuner-core.c tuner_detach(&t->fe); fe 321 drivers/media/v4l2-core/tuner-core.c t->fe.analog_demod_priv = NULL; fe 326 drivers/media/v4l2-core/tuner-core.c &t->fe, t->i2c->adapter, t->i2c->addr)) fe 331 drivers/media/v4l2-core/tuner-core.c if (!dvb_attach(tda829x_attach, &t->fe, t->i2c->adapter, fe 337 drivers/media/v4l2-core/tuner-core.c if (!dvb_attach(tea5767_attach, &t->fe, fe 343 drivers/media/v4l2-core/tuner-core.c if (!dvb_attach(tea5761_attach, &t->fe, fe 359 drivers/media/v4l2-core/tuner-core.c if (!dvb_attach(simple_tuner_attach, &t->fe, fe 369 drivers/media/v4l2-core/tuner-core.c if (!dvb_attach(simple_tuner_attach, &t->fe, fe 379 drivers/media/v4l2-core/tuner-core.c if (!dvb_attach(xc2028_attach, &t->fe, &cfg)) fe 386 drivers/media/v4l2-core/tuner-core.c &t->fe, t->i2c->adapter, t->i2c->addr)) fe 398 drivers/media/v4l2-core/tuner-core.c &t->fe, t->i2c->adapter, &xc5000_cfg)) fe 413 drivers/media/v4l2-core/tuner-core.c &t->fe, t->i2c->adapter, &xc5000c_cfg)) fe 424 drivers/media/v4l2-core/tuner-core.c if (!dvb_attach(tda18271_attach, &t->fe, t->i2c->addr, fe 442 drivers/media/v4l2-core/tuner-core.c &t->fe, t->i2c->adapter, &xc4000_cfg)) fe 448 drivers/media/v4l2-core/tuner-core.c if (!dvb_attach(simple_tuner_attach, &t->fe, fe 460 drivers/media/v4l2-core/tuner-core.c t->fe.analog_demod_priv = t; fe 558 drivers/media/v4l2-core/tuner-core.c struct analog_demod_ops *analog_ops = &t->fe.ops.analog_ops; fe 564 drivers/media/v4l2-core/tuner-core.c analog_ops->set_config(&t->fe, cfg->priv); fe 766 drivers/media/v4l2-core/tuner-core.c set_type(client, t->type, t->mode_mask, t->config, t->fe.callback); fe 787 drivers/media/v4l2-core/tuner-core.c tuner_detach(&t->fe); fe 788 drivers/media/v4l2-core/tuner-core.c t->fe.analog_demod_priv = NULL; fe 844 drivers/media/v4l2-core/tuner-core.c struct analog_demod_ops *analog_ops = &t->fe.ops.analog_ops; fe 852 drivers/media/v4l2-core/tuner-core.c analog_ops->standby(&t->fe); fe 894 drivers/media/v4l2-core/tuner-core.c struct analog_demod_ops *analog_ops = &t->fe.ops.analog_ops; fe 927 drivers/media/v4l2-core/tuner-core.c analog_ops->set_params(&t->fe, ¶ms); fe 1035 drivers/media/v4l2-core/tuner-core.c struct analog_demod_ops *analog_ops = &t->fe.ops.analog_ops; fe 1068 drivers/media/v4l2-core/tuner-core.c analog_ops->set_params(&t->fe, ¶ms); fe 1087 drivers/media/v4l2-core/tuner-core.c static void tuner_status(struct dvb_frontend *fe) fe 1089 drivers/media/v4l2-core/tuner-core.c struct tuner *t = fe->analog_demod_priv; fe 1091 drivers/media/v4l2-core/tuner-core.c struct dvb_tuner_ops *fe_tuner_ops = &fe->ops.tuner_ops; fe 1092 drivers/media/v4l2-core/tuner-core.c struct analog_demod_ops *analog_ops = &fe->ops.analog_ops; fe 1123 drivers/media/v4l2-core/tuner-core.c fe_tuner_ops->get_status(&t->fe, &tuner_status); fe 1132 drivers/media/v4l2-core/tuner-core.c if (!analog_ops->has_signal(fe, &signal)) fe 1161 drivers/media/v4l2-core/tuner-core.c struct analog_demod_ops *analog_ops = &t->fe.ops.analog_ops; fe 1166 drivers/media/v4l2-core/tuner-core.c analog_ops->standby(&t->fe); fe 1206 drivers/media/v4l2-core/tuner-core.c struct dvb_tuner_ops *fe_tuner_ops = &t->fe.ops.tuner_ops; fe 1213 drivers/media/v4l2-core/tuner-core.c fe_tuner_ops->get_frequency(&t->fe, &abs_freq); fe 1237 drivers/media/v4l2-core/tuner-core.c struct analog_demod_ops *analog_ops = &t->fe.ops.analog_ops; fe 1238 drivers/media/v4l2-core/tuner-core.c struct dvb_tuner_ops *fe_tuner_ops = &t->fe.ops.tuner_ops; fe 1243 drivers/media/v4l2-core/tuner-core.c analog_ops->get_afc(&t->fe, &vt->afc); fe 1247 drivers/media/v4l2-core/tuner-core.c if (!analog_ops->has_signal(&t->fe, &signal)) fe 1263 drivers/media/v4l2-core/tuner-core.c fe_tuner_ops->get_status(&t->fe, &tuner_status); fe 1314 drivers/media/v4l2-core/tuner-core.c struct analog_demod_ops *analog_ops = &t->fe.ops.analog_ops; fe 1317 drivers/media/v4l2-core/tuner-core.c analog_ops->tuner_status(&t->fe); fe 1326 drivers/media/v4l2-core/tuner-core.c struct analog_demod_ops *analog_ops = &t->fe.ops.analog_ops; fe 1330 drivers/media/v4l2-core/tuner-core.c if (t->fe.ops.tuner_ops.suspend) fe 1331 drivers/media/v4l2-core/tuner-core.c t->fe.ops.tuner_ops.suspend(&t->fe); fe 1333 drivers/media/v4l2-core/tuner-core.c analog_ops->standby(&t->fe); fe 1345 drivers/media/v4l2-core/tuner-core.c if (t->fe.ops.tuner_ops.resume) fe 1346 drivers/media/v4l2-core/tuner-core.c t->fe.ops.tuner_ops.resume(&t->fe); fe 1323 drivers/net/ethernet/freescale/gianfar.h struct gfar_filer_entry fe[MAX_FILER_CACHE_IDX + 20]; fe 860 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].ctrl = RQFCR_AND | RQFCR_PID_MASK | RQFCR_CMP_EXACT; fe 861 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].prop = mask; fe 869 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].ctrl = RQFCR_CMP_EXACT | RQFCR_PID_PARSE | fe 871 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].prop = value; fe 879 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].ctrl = RQFCR_CMP_EXACT | RQFCR_AND | flag; fe 880 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].prop = value; fe 1175 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].ctrl = 0x20; fe 1176 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].prop = 0x0; fe 1181 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index - 1].ctrl &= (~RQFCR_AND); fe 1185 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index - 1].ctrl |= RQFCR_RJE; fe 1187 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index - 1].ctrl |= (rule->ring_cookie << 10); fe 1191 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[old_index + 1].ctrl |= RQFCR_CLE; fe 1192 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index - 1].ctrl |= RQFCR_CLE; fe 1213 drivers/net/ethernet/freescale/gianfar_ethtool.c for (; i < MAX_FILER_IDX && (tab->fe[i].ctrl | tab->fe[i].prop); i++) fe 1214 drivers/net/ethernet/freescale/gianfar_ethtool.c gfar_write_filer(priv, i, tab->fe[i].ctrl, tab->fe[i].prop); fe 333 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c struct mvpp2_cls_flow_entry *fe) fe 335 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->index = index; fe 337 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[0] = mvpp2_read(priv, MVPP2_CLS_FLOW_TBL0_REG); fe 338 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[1] = mvpp2_read(priv, MVPP2_CLS_FLOW_TBL1_REG); fe 339 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[2] = mvpp2_read(priv, MVPP2_CLS_FLOW_TBL2_REG); fe 344 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c struct mvpp2_cls_flow_entry *fe) fe 346 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_write(priv, MVPP2_CLS_FLOW_INDEX_REG, fe->index); fe 347 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_write(priv, MVPP2_CLS_FLOW_TBL0_REG, fe->data[0]); fe 348 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_write(priv, MVPP2_CLS_FLOW_TBL1_REG, fe->data[1]); fe 349 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_write(priv, MVPP2_CLS_FLOW_TBL2_REG, fe->data[2]); fe 383 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static int mvpp2_cls_flow_hek_num_get(struct mvpp2_cls_flow_entry *fe) fe 385 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c return fe->data[1] & MVPP2_CLS_FLOW_TBL1_N_FIELDS_MASK; fe 388 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static void mvpp2_cls_flow_hek_num_set(struct mvpp2_cls_flow_entry *fe, fe 391 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[1] &= ~MVPP2_CLS_FLOW_TBL1_N_FIELDS_MASK; fe 392 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[1] |= MVPP2_CLS_FLOW_TBL1_N_FIELDS(num_of_fields); fe 395 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static int mvpp2_cls_flow_hek_get(struct mvpp2_cls_flow_entry *fe, fe 398 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c return (fe->data[2] >> MVPP2_CLS_FLOW_TBL2_FLD_OFFS(field_index)) & fe 402 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static void mvpp2_cls_flow_hek_set(struct mvpp2_cls_flow_entry *fe, fe 405 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[2] &= ~MVPP2_CLS_FLOW_TBL2_FLD(field_index, fe 407 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[2] |= MVPP2_CLS_FLOW_TBL2_FLD(field_index, field_id); fe 410 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static void mvpp2_cls_flow_eng_set(struct mvpp2_cls_flow_entry *fe, fe 413 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[0] &= ~MVPP2_CLS_FLOW_TBL0_ENG(MVPP2_CLS_FLOW_TBL0_ENG_MASK); fe 414 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[0] |= MVPP2_CLS_FLOW_TBL0_ENG(engine); fe 417 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c int mvpp2_cls_flow_eng_get(struct mvpp2_cls_flow_entry *fe) fe 419 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c return (fe->data[0] >> MVPP2_CLS_FLOW_TBL0_OFFS) & fe 423 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static void mvpp2_cls_flow_port_id_sel(struct mvpp2_cls_flow_entry *fe, fe 427 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[0] |= MVPP2_CLS_FLOW_TBL0_PORT_ID_SEL; fe 429 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[0] &= ~MVPP2_CLS_FLOW_TBL0_PORT_ID_SEL; fe 432 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static void mvpp2_cls_flow_last_set(struct mvpp2_cls_flow_entry *fe, fe 435 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[0] &= ~MVPP2_CLS_FLOW_TBL0_LAST; fe 436 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[0] |= !!is_last; fe 439 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static void mvpp2_cls_flow_pri_set(struct mvpp2_cls_flow_entry *fe, int prio) fe 441 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[1] &= ~MVPP2_CLS_FLOW_TBL1_PRIO(MVPP2_CLS_FLOW_TBL1_PRIO_MASK); fe 442 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[1] |= MVPP2_CLS_FLOW_TBL1_PRIO(prio); fe 445 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static void mvpp2_cls_flow_port_add(struct mvpp2_cls_flow_entry *fe, fe 448 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[0] |= MVPP2_CLS_FLOW_TBL0_PORT_ID(port); fe 451 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static void mvpp2_cls_flow_port_remove(struct mvpp2_cls_flow_entry *fe, fe 454 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[0] &= ~MVPP2_CLS_FLOW_TBL0_PORT_ID(port); fe 457 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static void mvpp2_cls_flow_lu_type_set(struct mvpp2_cls_flow_entry *fe, fe 460 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[1] &= ~MVPP2_CLS_FLOW_TBL1_LU_TYPE(MVPP2_CLS_LU_TYPE_MASK); fe 461 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[1] |= MVPP2_CLS_FLOW_TBL1_LU_TYPE(lu_type); fe 579 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c struct mvpp2_cls_flow_entry fe; fe 585 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c memset(&fe, 0, sizeof(fe)); fe 586 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe.index = i; fe 587 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_pri_set(&fe, pri++); fe 590 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_last_set(&fe, 1); fe 592 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_write(priv, &fe); fe 597 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c &fe); fe 599 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_eng_set(&fe, MVPP22_CLS_ENGINE_C2); fe 600 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_port_id_sel(&fe, true); fe 601 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_lu_type_set(&fe, MVPP22_CLS_LU_TYPE_ALL); fe 605 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_port_add(&fe, BIT(i)); fe 607 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_write(priv, &fe); fe 613 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c &fe); fe 618 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_eng_set(&fe, MVPP22_CLS_ENGINE_C3HA); fe 619 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_port_id_sel(&fe, true); fe 620 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_port_add(&fe, BIT(i)); fe 622 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_write(priv, &fe); fe 627 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static int mvpp2_flow_add_hek_field(struct mvpp2_cls_flow_entry *fe, fe 630 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c int nb_fields = mvpp2_cls_flow_hek_num_get(fe); fe 635 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_hek_set(fe, nb_fields, field_id); fe 637 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_hek_num_set(fe, nb_fields + 1); fe 642 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static int mvpp2_flow_set_hek_fields(struct mvpp2_cls_flow_entry *fe, fe 649 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_hek_num_set(fe, 0); fe 650 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->data[2] = 0; fe 684 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c if (mvpp2_flow_add_hek_field(fe, field_id)) fe 738 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c struct mvpp2_cls_flow_entry fe; fe 749 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_read(port->priv, flow_index, &fe); fe 761 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c if (mvpp2_flow_set_hek_fields(&fe, hash_opts)) fe 764 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_eng_set(&fe, engine); fe 766 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_write(port->priv, &fe); fe 772 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c u16 mvpp2_flow_get_hek_fields(struct mvpp2_cls_flow_entry *fe) fe 777 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c n_fields = mvpp2_cls_flow_hek_num_get(fe); fe 780 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c field = mvpp2_cls_flow_hek_get(fe, i); fe 826 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c struct mvpp2_cls_flow_entry fe; fe 837 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_read(port->priv, flow_index, &fe); fe 839 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c hash_opts |= mvpp2_flow_get_hek_fields(&fe); fe 905 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c struct mvpp2_cls_flow_entry fe; fe 913 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c memset(&fe.data, 0, sizeof(fe.data)); fe 915 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe.index = index; fe 916 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_write(priv, &fe); fe 1175 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c struct mvpp2_cls_flow_entry fe; fe 1185 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_read(port->priv, index, &fe); fe 1186 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_port_remove(&fe, BIT(port->id)); fe 1187 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_write(port->priv, &fe); fe 1201 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c struct mvpp2_cls_flow_entry fe; fe 1221 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_read(priv, index, &fe); fe 1222 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_eng_set(&fe, rule->engine); fe 1223 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_port_id_sel(&fe, true); fe 1224 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_flow_set_hek_fields(&fe, rule->hek_fields); fe 1225 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_lu_type_set(&fe, rule->loc); fe 1226 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_port_add(&fe, 0xf); fe 1228 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_write(priv, &fe); fe 284 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h int mvpp2_cls_flow_eng_get(struct mvpp2_cls_flow_entry *fe); fe 286 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h u16 mvpp2_flow_get_hek_fields(struct mvpp2_cls_flow_entry *fe); fe 293 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h struct mvpp2_cls_flow_entry *fe); fe 144 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c struct mvpp2_cls_flow_entry fe; fe 155 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c mvpp2_cls_flow_read(port->priv, flow_index, &fe); fe 157 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c hash_opts = mvpp2_flow_get_hek_fields(&fe); fe 170 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c struct mvpp2_cls_flow_entry fe; fe 180 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c mvpp2_cls_flow_read(port->priv, flow_index, &fe); fe 182 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c engine = mvpp2_cls_flow_eng_get(&fe); fe 1153 drivers/staging/comedi/drivers/ni_mio_common.c unsigned short fe; /* fifo empty */ fe 1155 drivers/staging/comedi/drivers/ni_mio_common.c fe = ni_stc_readw(dev, NISTC_AI_STATUS1_REG) & fe 1157 drivers/staging/comedi/drivers/ni_mio_common.c while (fe == 0) { fe 1160 drivers/staging/comedi/drivers/ni_mio_common.c fe = ni_stc_readw(dev, NISTC_AI_STATUS1_REG) & fe 1162 drivers/staging/comedi/drivers/ni_mio_common.c if (fe) fe 360 drivers/xen/xenbus/xenbus_probe_frontend.c static void xenbus_reset_frontend(char *fe, char *be, int be_state) fe 381 drivers/xen/xenbus/xenbus_probe_frontend.c xenbus_printf(XBT_NIL, fe, "state", "%d", XenbusStateClosing); fe 386 drivers/xen/xenbus/xenbus_probe_frontend.c xenbus_printf(XBT_NIL, fe, "state", "%d", XenbusStateClosed); fe 391 drivers/xen/xenbus/xenbus_probe_frontend.c xenbus_printf(XBT_NIL, fe, "state", "%d", XenbusStateInitialising); fe 555 fs/erofs/zdata.c static bool should_alloc_managed_pages(struct z_erofs_decompress_frontend *fe, fe 562 fs/erofs/zdata.c if (fe->backmost) fe 566 fs/erofs/zdata.c la < fe->headoffset; fe 569 fs/erofs/zdata.c static int z_erofs_do_read_page(struct z_erofs_decompress_frontend *fe, fe 573 fs/erofs/zdata.c struct inode *const inode = fe->inode; fe 575 fs/erofs/zdata.c struct erofs_map_blocks *const map = &fe->map; fe 576 fs/erofs/zdata.c struct z_erofs_collector *const clt = &fe->clt; fe 606 fs/erofs/zdata.c fe->backmost = false; fe 623 fs/erofs/zdata.c if (should_alloc_managed_pages(fe, sbi->cache_strategy, map->m_la)) fe 48 fs/ocfs2/aops.c struct ocfs2_dinode *fe = NULL; fe 71 fs/ocfs2/aops.c fe = (struct ocfs2_dinode *) bh->b_data; fe 74 fs/ocfs2/aops.c le32_to_cpu(fe->i_clusters))) { fe 84 fs/ocfs2/aops.c u64 blkno = le64_to_cpu(fe->id2.i_list.l_recs[0].e_blkno) + fe 114 fs/ocfs2/aops.c le64_to_cpu(fe->id2.i_list.l_recs[0].e_blkno) + iblock); fe 3158 fs/ocfs2/dir.c struct ocfs2_dinode *fe = (struct ocfs2_dinode *) parent_fe_bh->b_data; fe 3159 fs/ocfs2/dir.c struct ocfs2_extent_list *el = &fe->id2.i_list; fe 2310 fs/ocfs2/dlmglue.c struct ocfs2_dinode *fe; fe 2348 fs/ocfs2/dlmglue.c fe = (struct ocfs2_dinode *) (*bh)->b_data; fe 2360 fs/ocfs2/dlmglue.c le32_to_cpu(fe->i_generation), fe 2364 fs/ocfs2/dlmglue.c le32_to_cpu(fe->i_generation), fe 2366 fs/ocfs2/dlmglue.c mlog_bug_on_msg(le64_to_cpu(fe->i_dtime) || fe 2367 fs/ocfs2/dlmglue.c !(fe->i_flags & cpu_to_le32(OCFS2_VALID_FL)), fe 2370 fs/ocfs2/dlmglue.c (unsigned long long)le64_to_cpu(fe->i_dtime), fe 2371 fs/ocfs2/dlmglue.c le32_to_cpu(fe->i_flags)); fe 2373 fs/ocfs2/dlmglue.c ocfs2_refresh_inode(inode, fe); fe 441 fs/ocfs2/file.c struct ocfs2_dinode *fe = NULL; fe 446 fs/ocfs2/file.c fe = (struct ocfs2_dinode *) di_bh->b_data; fe 449 fs/ocfs2/file.c (unsigned long long)le64_to_cpu(fe->i_size), fe 452 fs/ocfs2/file.c mlog_bug_on_msg(le64_to_cpu(fe->i_size) != i_size_read(inode), fe 457 fs/ocfs2/file.c (unsigned long long)le64_to_cpu(fe->i_size), fe 458 fs/ocfs2/file.c le32_to_cpu(fe->i_flags)); fe 460 fs/ocfs2/file.c if (new_i_size > le64_to_cpu(fe->i_size)) { fe 462 fs/ocfs2/file.c (unsigned long long)le64_to_cpu(fe->i_size), fe 560 fs/ocfs2/file.c struct ocfs2_dinode *fe = NULL; fe 580 fs/ocfs2/file.c fe = (struct ocfs2_dinode *) bh->b_data; fe 583 fs/ocfs2/file.c BUG_ON(le32_to_cpu(fe->i_clusters) != OCFS2_I(inode)->ip_clusters); fe 593 fs/ocfs2/file.c credits = ocfs2_calc_extend_credits(osb->sb, &fe->id2.i_list); fe 606 fs/ocfs2/file.c le32_to_cpu(fe->i_clusters), clusters_to_add, fe 673 fs/ocfs2/file.c le32_to_cpu(fe->i_clusters), fe 674 fs/ocfs2/file.c (unsigned long long)le64_to_cpu(fe->i_size), fe 262 fs/ocfs2/inode.c void ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe, fe 280 fs/ocfs2/inode.c BUG_ON(!OCFS2_IS_VALID_DINODE(fe)); /* This means that read_inode fe 284 fs/ocfs2/inode.c BUG_ON(!(fe->i_flags & cpu_to_le32(OCFS2_VALID_FL))); fe 285 fs/ocfs2/inode.c BUG_ON(le32_to_cpu(fe->i_fs_generation) != osb->fs_generation); fe 288 fs/ocfs2/inode.c OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters); fe 289 fs/ocfs2/inode.c OCFS2_I(inode)->ip_attr = le32_to_cpu(fe->i_attr); fe 290 fs/ocfs2/inode.c OCFS2_I(inode)->ip_dyn_features = le16_to_cpu(fe->i_dyn_features); fe 293 fs/ocfs2/inode.c inode->i_generation = le32_to_cpu(fe->i_generation); fe 294 fs/ocfs2/inode.c inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); fe 295 fs/ocfs2/inode.c inode->i_mode = le16_to_cpu(fe->i_mode); fe 296 fs/ocfs2/inode.c i_uid_write(inode, le32_to_cpu(fe->i_uid)); fe 297 fs/ocfs2/inode.c i_gid_write(inode, le32_to_cpu(fe->i_gid)); fe 300 fs/ocfs2/inode.c if (S_ISLNK(inode->i_mode) && !fe->i_clusters) { fe 307 fs/ocfs2/inode.c inode->i_atime.tv_sec = le64_to_cpu(fe->i_atime); fe 308 fs/ocfs2/inode.c inode->i_atime.tv_nsec = le32_to_cpu(fe->i_atime_nsec); fe 309 fs/ocfs2/inode.c inode->i_mtime.tv_sec = le64_to_cpu(fe->i_mtime); fe 310 fs/ocfs2/inode.c inode->i_mtime.tv_nsec = le32_to_cpu(fe->i_mtime_nsec); fe 311 fs/ocfs2/inode.c inode->i_ctime.tv_sec = le64_to_cpu(fe->i_ctime); fe 312 fs/ocfs2/inode.c inode->i_ctime.tv_nsec = le32_to_cpu(fe->i_ctime_nsec); fe 314 fs/ocfs2/inode.c if (OCFS2_I(inode)->ip_blkno != le64_to_cpu(fe->i_blkno)) fe 318 fs/ocfs2/inode.c (unsigned long long)le64_to_cpu(fe->i_blkno)); fe 320 fs/ocfs2/inode.c set_nlink(inode, ocfs2_read_links_count(fe)); fe 323 fs/ocfs2/inode.c le32_to_cpu(fe->i_flags)); fe 324 fs/ocfs2/inode.c if (fe->i_flags & cpu_to_le32(OCFS2_SYSTEM_FL)) { fe 329 fs/ocfs2/inode.c if (fe->i_flags & cpu_to_le32(OCFS2_LOCAL_ALLOC_FL)) { fe 331 fs/ocfs2/inode.c } else if (fe->i_flags & cpu_to_le32(OCFS2_BITMAP_FL)) { fe 333 fs/ocfs2/inode.c } else if (fe->i_flags & cpu_to_le32(OCFS2_QUOTA_FL)) { fe 335 fs/ocfs2/inode.c } else if (fe->i_flags & cpu_to_le32(OCFS2_SUPER_BLOCK_FL)) { fe 348 fs/ocfs2/inode.c i_size_write(inode, le64_to_cpu(fe->i_size)); fe 356 fs/ocfs2/inode.c i_size_write(inode, le64_to_cpu(fe->i_size)); fe 362 fs/ocfs2/inode.c i_size_write(inode, le64_to_cpu(fe->i_size)); fe 373 fs/ocfs2/inode.c le64_to_cpu(fe->i_blkno)); fe 380 fs/ocfs2/inode.c BUG_ON(le32_to_cpu(fe->i_flags) & OCFS2_SYSTEM_FL); fe 408 fs/ocfs2/inode.c struct ocfs2_dinode *fe; fe 528 fs/ocfs2/inode.c fe = (struct ocfs2_dinode *) bh->b_data; fe 535 fs/ocfs2/inode.c mlog_bug_on_msg(!!(fe->i_flags & cpu_to_le32(OCFS2_SYSTEM_FL)) != fe 540 fs/ocfs2/inode.c if (S_ISCHR(le16_to_cpu(fe->i_mode)) || fe 541 fs/ocfs2/inode.c S_ISBLK(le16_to_cpu(fe->i_mode))) fe 542 fs/ocfs2/inode.c inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); fe 544 fs/ocfs2/inode.c ocfs2_populate_inode(inode, fe, 0); fe 546 fs/ocfs2/inode.c BUG_ON(args->fi_blkno != le64_to_cpu(fe->i_blkno)); fe 585 fs/ocfs2/inode.c struct ocfs2_dinode *fe; fe 588 fs/ocfs2/inode.c fe = (struct ocfs2_dinode *) fe_bh->b_data; fe 594 fs/ocfs2/inode.c if (fe->i_clusters) { fe 1294 fs/ocfs2/inode.c struct ocfs2_dinode *fe = (struct ocfs2_dinode *) bh->b_data; fe 1306 fs/ocfs2/inode.c fe->i_clusters = cpu_to_le32(OCFS2_I(inode)->ip_clusters); fe 1308 fs/ocfs2/inode.c fe->i_attr = cpu_to_le32(OCFS2_I(inode)->ip_attr); fe 1309 fs/ocfs2/inode.c fe->i_dyn_features = cpu_to_le16(OCFS2_I(inode)->ip_dyn_features); fe 1312 fs/ocfs2/inode.c fe->i_size = cpu_to_le64(i_size_read(inode)); fe 1313 fs/ocfs2/inode.c ocfs2_set_links_count(fe, inode->i_nlink); fe 1314 fs/ocfs2/inode.c fe->i_uid = cpu_to_le32(i_uid_read(inode)); fe 1315 fs/ocfs2/inode.c fe->i_gid = cpu_to_le32(i_gid_read(inode)); fe 1316 fs/ocfs2/inode.c fe->i_mode = cpu_to_le16(inode->i_mode); fe 1317 fs/ocfs2/inode.c fe->i_atime = cpu_to_le64(inode->i_atime.tv_sec); fe 1318 fs/ocfs2/inode.c fe->i_atime_nsec = cpu_to_le32(inode->i_atime.tv_nsec); fe 1319 fs/ocfs2/inode.c fe->i_ctime = cpu_to_le64(inode->i_ctime.tv_sec); fe 1320 fs/ocfs2/inode.c fe->i_ctime_nsec = cpu_to_le32(inode->i_ctime.tv_nsec); fe 1321 fs/ocfs2/inode.c fe->i_mtime = cpu_to_le64(inode->i_mtime.tv_sec); fe 1322 fs/ocfs2/inode.c fe->i_mtime_nsec = cpu_to_le32(inode->i_mtime.tv_nsec); fe 1336 fs/ocfs2/inode.c struct ocfs2_dinode *fe) fe 1340 fs/ocfs2/inode.c OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters); fe 1341 fs/ocfs2/inode.c OCFS2_I(inode)->ip_attr = le32_to_cpu(fe->i_attr); fe 1342 fs/ocfs2/inode.c OCFS2_I(inode)->ip_dyn_features = le16_to_cpu(fe->i_dyn_features); fe 1344 fs/ocfs2/inode.c i_size_write(inode, le64_to_cpu(fe->i_size)); fe 1345 fs/ocfs2/inode.c set_nlink(inode, ocfs2_read_links_count(fe)); fe 1346 fs/ocfs2/inode.c i_uid_write(inode, le32_to_cpu(fe->i_uid)); fe 1347 fs/ocfs2/inode.c i_gid_write(inode, le32_to_cpu(fe->i_gid)); fe 1348 fs/ocfs2/inode.c inode->i_mode = le16_to_cpu(fe->i_mode); fe 1349 fs/ocfs2/inode.c if (S_ISLNK(inode->i_mode) && le32_to_cpu(fe->i_clusters) == 0) fe 1353 fs/ocfs2/inode.c inode->i_atime.tv_sec = le64_to_cpu(fe->i_atime); fe 1354 fs/ocfs2/inode.c inode->i_atime.tv_nsec = le32_to_cpu(fe->i_atime_nsec); fe 1355 fs/ocfs2/inode.c inode->i_mtime.tv_sec = le64_to_cpu(fe->i_mtime); fe 1356 fs/ocfs2/inode.c inode->i_mtime.tv_nsec = le32_to_cpu(fe->i_mtime_nsec); fe 1357 fs/ocfs2/inode.c inode->i_ctime.tv_sec = le64_to_cpu(fe->i_ctime); fe 1358 fs/ocfs2/inode.c inode->i_ctime.tv_nsec = le32_to_cpu(fe->i_ctime_nsec); fe 133 fs/ocfs2/inode.h void ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe, fe 137 fs/ocfs2/inode.h struct ocfs2_dinode *fe); fe 925 fs/ocfs2/journal.c struct ocfs2_dinode *fe; fe 927 fs/ocfs2/journal.c fe = (struct ocfs2_dinode *)bh->b_data; fe 932 fs/ocfs2/journal.c BUG_ON(!OCFS2_IS_VALID_DINODE(fe)); fe 934 fs/ocfs2/journal.c flags = le32_to_cpu(fe->id1.journal1.ij_flags); fe 939 fs/ocfs2/journal.c fe->id1.journal1.ij_flags = cpu_to_le32(flags); fe 942 fs/ocfs2/journal.c ocfs2_bump_recovery_generation(fe); fe 944 fs/ocfs2/journal.c ocfs2_compute_meta_ecc(osb->sb, bh->b_data, &fe->i_check); fe 1577 fs/ocfs2/journal.c struct ocfs2_dinode *fe; fe 1588 fs/ocfs2/journal.c fe = (struct ocfs2_dinode *)bh->b_data; fe 1589 fs/ocfs2/journal.c slot_reco_gen = ocfs2_get_recovery_generation(fe); fe 1620 fs/ocfs2/journal.c fe = (struct ocfs2_dinode *) bh->b_data; fe 1622 fs/ocfs2/journal.c flags = le32_to_cpu(fe->id1.journal1.ij_flags); fe 1623 fs/ocfs2/journal.c slot_reco_gen = ocfs2_get_recovery_generation(fe); fe 1639 fs/ocfs2/journal.c OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters); fe 1673 fs/ocfs2/journal.c flags = le32_to_cpu(fe->id1.journal1.ij_flags); fe 1675 fs/ocfs2/journal.c fe->id1.journal1.ij_flags = cpu_to_le32(flags); fe 1678 fs/ocfs2/journal.c ocfs2_bump_recovery_generation(fe); fe 1680 fs/ocfs2/journal.c ocfs2_get_recovery_generation(fe); fe 1682 fs/ocfs2/journal.c ocfs2_compute_meta_ecc(osb->sb, bh->b_data, &fe->i_check); fe 502 fs/ocfs2/namei.c struct ocfs2_dinode *fe = NULL; fe 535 fs/ocfs2/namei.c fe = (struct ocfs2_dinode *) (*new_fe_bh)->b_data; fe 536 fs/ocfs2/namei.c memset(fe, 0, osb->sb->s_blocksize); fe 538 fs/ocfs2/namei.c fe->i_generation = cpu_to_le32(inode->i_generation); fe 539 fs/ocfs2/namei.c fe->i_fs_generation = cpu_to_le32(osb->fs_generation); fe 540 fs/ocfs2/namei.c fe->i_blkno = cpu_to_le64(fe_blkno); fe 541 fs/ocfs2/namei.c fe->i_suballoc_loc = cpu_to_le64(suballoc_loc); fe 542 fs/ocfs2/namei.c fe->i_suballoc_bit = cpu_to_le16(suballoc_bit); fe 543 fs/ocfs2/namei.c fe->i_suballoc_slot = cpu_to_le16(inode_ac->ac_alloc_slot); fe 544 fs/ocfs2/namei.c fe->i_uid = cpu_to_le32(i_uid_read(inode)); fe 545 fs/ocfs2/namei.c fe->i_gid = cpu_to_le32(i_gid_read(inode)); fe 546 fs/ocfs2/namei.c fe->i_mode = cpu_to_le16(inode->i_mode); fe 548 fs/ocfs2/namei.c fe->id1.dev1.i_rdev = cpu_to_le64(huge_encode_dev(dev)); fe 550 fs/ocfs2/namei.c ocfs2_set_links_count(fe, inode->i_nlink); fe 552 fs/ocfs2/namei.c fe->i_last_eb_blk = 0; fe 553 fs/ocfs2/namei.c strcpy(fe->i_signature, OCFS2_INODE_SIGNATURE); fe 554 fs/ocfs2/namei.c fe->i_flags |= cpu_to_le32(OCFS2_VALID_FL); fe 556 fs/ocfs2/namei.c fe->i_atime = fe->i_ctime = fe->i_mtime = fe 558 fs/ocfs2/namei.c fe->i_mtime_nsec = fe->i_ctime_nsec = fe->i_atime_nsec = fe 560 fs/ocfs2/namei.c fe->i_dtime = 0; fe 566 fs/ocfs2/namei.c feat = le16_to_cpu(fe->i_dyn_features); fe 568 fs/ocfs2/namei.c fe->i_dyn_features = cpu_to_le16(feat | OCFS2_INLINE_DATA_FL); fe 570 fs/ocfs2/namei.c fe->id2.i_data.id_count = cpu_to_le16( fe 571 fs/ocfs2/namei.c ocfs2_max_inline_data_with_xattr(osb->sb, fe)); fe 573 fs/ocfs2/namei.c fel = &fe->id2.i_list; fe 581 fs/ocfs2/namei.c ocfs2_populate_inode(inode, fe, 1); fe 684 fs/ocfs2/namei.c struct ocfs2_dinode *fe = NULL; fe 765 fs/ocfs2/namei.c fe = (struct ocfs2_dinode *) fe_bh->b_data; fe 766 fs/ocfs2/namei.c if (ocfs2_read_links_count(fe) >= ocfs2_link_max(osb)) { fe 791 fs/ocfs2/namei.c ocfs2_set_links_count(fe, inode->i_nlink); fe 792 fs/ocfs2/namei.c fe->i_ctime = cpu_to_le64(inode->i_ctime.tv_sec); fe 793 fs/ocfs2/namei.c fe->i_ctime_nsec = cpu_to_le32(inode->i_ctime.tv_nsec); fe 800 fs/ocfs2/namei.c ocfs2_add_links_count(fe, -1); fe 876 fs/ocfs2/namei.c struct ocfs2_dinode *fe = NULL; fe 977 fs/ocfs2/namei.c fe = (struct ocfs2_dinode *) fe_bh->b_data; fe 989 fs/ocfs2/namei.c ocfs2_set_links_count(fe, inode->i_nlink); fe 1622 fs/ocfs2/namei.c struct ocfs2_dinode *fe; fe 1627 fs/ocfs2/namei.c fe = (struct ocfs2_dinode *) old_dir_bh->b_data; fe 1628 fs/ocfs2/namei.c ocfs2_set_links_count(fe, old_dir->i_nlink); fe 1792 fs/ocfs2/namei.c struct ocfs2_dinode *fe = NULL; fe 1930 fs/ocfs2/namei.c fe = (struct ocfs2_dinode *) new_fe_bh->b_data; fe 1962 fs/ocfs2/namei.c memcpy((char *) fe->id2.i_symlink, symname, l); fe 2005 fs/ocfs2/namei.c le64_to_cpu(fe->i_blkno), parent_fe_bh, fe 2224 fs/ocfs2/namei.c struct ocfs2_dinode *fe = (struct ocfs2_dinode *) fe_bh->b_data; fe 2283 fs/ocfs2/namei.c fe->i_flags |= cpu_to_le32(OCFS2_DIO_ORPHANED_FL); fe 2284 fs/ocfs2/namei.c fe->i_dio_orphaned_slot = cpu_to_le16(osb->slot_num); fe 2286 fs/ocfs2/namei.c fe->i_flags |= cpu_to_le32(OCFS2_ORPHANED_FL); fe 2292 fs/ocfs2/namei.c fe->i_orphaned_slot = cpu_to_le16(osb->slot_num); fe 88 fs/ocfs2/resize.c struct ocfs2_dinode *fe = (struct ocfs2_dinode *) bm_bh->b_data; fe 89 fs/ocfs2/resize.c struct ocfs2_chain_list *cl = &fe->id2.i_chain; fe 141 fs/ocfs2/resize.c le32_add_cpu(&fe->id1.bitmap1.i_total, num_bits); fe 142 fs/ocfs2/resize.c le32_add_cpu(&fe->i_clusters, new_clusters); fe 146 fs/ocfs2/resize.c le32_add_cpu(&fe->id1.bitmap1.i_used, backups); fe 150 fs/ocfs2/resize.c OCFS2_I(bm_inode)->ip_clusters = le32_to_cpu(fe->i_clusters); fe 151 fs/ocfs2/resize.c le64_add_cpu(&fe->i_size, (u64)new_clusters << osb->s_clustersize_bits); fe 153 fs/ocfs2/resize.c i_size_write(bm_inode, le64_to_cpu(fe->i_size)); fe 266 fs/ocfs2/resize.c struct ocfs2_dinode *fe = NULL; fe 298 fs/ocfs2/resize.c fe = (struct ocfs2_dinode *)main_bm_bh->b_data; fe 302 fs/ocfs2/resize.c BUG_ON(!OCFS2_IS_VALID_DINODE(fe)); fe 304 fs/ocfs2/resize.c if (le16_to_cpu(fe->id2.i_chain.cl_cpg) != fe 313 fs/ocfs2/resize.c first_new_cluster = le32_to_cpu(fe->i_clusters); fe 317 fs/ocfs2/resize.c ret = ocfs2_read_group_descriptor(main_bm_inode, fe, lgd_blkno, fe 325 fs/ocfs2/resize.c cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); fe 327 fs/ocfs2/resize.c le16_to_cpu(fe->id2.i_chain.cl_cpg)) { fe 454 fs/ocfs2/resize.c struct ocfs2_dinode *fe = NULL; fe 483 fs/ocfs2/resize.c fe = (struct ocfs2_dinode *)main_bm_bh->b_data; fe 485 fs/ocfs2/resize.c if (le16_to_cpu(fe->id2.i_chain.cl_cpg) != fe 503 fs/ocfs2/resize.c ret = ocfs2_verify_group_and_input(main_bm_inode, fe, input, group_bh); fe 519 fs/ocfs2/resize.c cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); fe 520 fs/ocfs2/resize.c cl = &fe->id2.i_chain; fe 552 fs/ocfs2/resize.c le32_add_cpu(&fe->id1.bitmap1.i_total, input->clusters *cl_bpc); fe 553 fs/ocfs2/resize.c le32_add_cpu(&fe->id1.bitmap1.i_used, fe 555 fs/ocfs2/resize.c le32_add_cpu(&fe->i_clusters, input->clusters); fe 560 fs/ocfs2/resize.c OCFS2_I(main_bm_inode)->ip_clusters = le32_to_cpu(fe->i_clusters); fe 561 fs/ocfs2/resize.c le64_add_cpu(&fe->i_size, (u64)input->clusters << osb->s_clustersize_bits); fe 563 fs/ocfs2/resize.c i_size_write(main_bm_inode, le64_to_cpu(fe->i_size)); fe 661 fs/ocfs2/suballoc.c struct ocfs2_dinode *fe = (struct ocfs2_dinode *) bh->b_data; fe 671 fs/ocfs2/suballoc.c cl = &fe->id2.i_chain; fe 728 fs/ocfs2/suballoc.c le32_add_cpu(&fe->id1.bitmap1.i_used, le16_to_cpu(bg->bg_bits) - fe 730 fs/ocfs2/suballoc.c le32_add_cpu(&fe->id1.bitmap1.i_total, le16_to_cpu(bg->bg_bits)); fe 731 fs/ocfs2/suballoc.c le32_add_cpu(&fe->i_clusters, le16_to_cpu(cl->cl_cpg)); fe 736 fs/ocfs2/suballoc.c OCFS2_I(alloc_inode)->ip_clusters = le32_to_cpu(fe->i_clusters); fe 737 fs/ocfs2/suballoc.c fe->i_size = cpu_to_le64(ocfs2_clusters_to_bytes(alloc_inode->i_sb, fe 738 fs/ocfs2/suballoc.c le32_to_cpu(fe->i_clusters))); fe 740 fs/ocfs2/suballoc.c i_size_write(alloc_inode, le64_to_cpu(fe->i_size)); fe 775 fs/ocfs2/suballoc.c struct ocfs2_dinode *fe; fe 798 fs/ocfs2/suballoc.c fe = (struct ocfs2_dinode *) bh->b_data; fe 802 fs/ocfs2/suballoc.c BUG_ON(!OCFS2_IS_VALID_DINODE(fe)); fe 804 fs/ocfs2/suballoc.c if (!(fe->i_flags & cpu_to_le32(OCFS2_CHAIN_FL))) { fe 807 fs/ocfs2/suballoc.c (unsigned long long)le64_to_cpu(fe->i_blkno)); fe 811 fs/ocfs2/suballoc.c free_bits = le32_to_cpu(fe->id1.bitmap1.i_total) - fe 812 fs/ocfs2/suballoc.c le32_to_cpu(fe->id1.bitmap1.i_used); fe 842 fs/ocfs2/suballoc.c (le32_to_cpu(fe->id1.bitmap1.i_total) fe 843 fs/ocfs2/suballoc.c - le32_to_cpu(fe->id1.bitmap1.i_used))); fe 1411 fs/ocfs2/suballoc.c struct ocfs2_dinode *fe = (struct ocfs2_dinode *) fe_bh->b_data; fe 1421 fs/ocfs2/suballoc.c (unsigned long long)le64_to_cpu(fe->i_blkno), chain, fe 1442 fs/ocfs2/suballoc.c bg->bg_next_group = fe->id2.i_chain.cl_recs[chain].c_blkno; fe 1450 fs/ocfs2/suballoc.c fe->id2.i_chain.cl_recs[chain].c_blkno = bg->bg_blkno; fe 1747 fs/ocfs2/suballoc.c struct ocfs2_dinode *fe = (struct ocfs2_dinode *) ac->ac_bh->b_data; fe 1748 fs/ocfs2/suballoc.c struct ocfs2_chain_list *cl = (struct ocfs2_chain_list *) &fe->id2.i_chain; fe 1756 fs/ocfs2/suballoc.c status = ocfs2_read_group_descriptor(alloc_inode, fe, fe 1781 fs/ocfs2/suballoc.c status = ocfs2_read_group_descriptor(alloc_inode, fe, fe 1860 fs/ocfs2/suballoc.c (unsigned long long)le64_to_cpu(fe->i_blkno), fe 1886 fs/ocfs2/suballoc.c struct ocfs2_dinode *fe; fe 1892 fs/ocfs2/suballoc.c fe = (struct ocfs2_dinode *) ac->ac_bh->b_data; fe 1896 fs/ocfs2/suballoc.c BUG_ON(!OCFS2_IS_VALID_DINODE(fe)); fe 1898 fs/ocfs2/suballoc.c if (le32_to_cpu(fe->id1.bitmap1.i_used) >= fe 1899 fs/ocfs2/suballoc.c le32_to_cpu(fe->id1.bitmap1.i_total)) { fe 1902 fs/ocfs2/suballoc.c (unsigned long long)le64_to_cpu(fe->i_blkno), fe 1903 fs/ocfs2/suballoc.c le32_to_cpu(fe->id1.bitmap1.i_used), fe 1904 fs/ocfs2/suballoc.c le32_to_cpu(fe->id1.bitmap1.i_total)); fe 1924 fs/ocfs2/suballoc.c cl = (struct ocfs2_chain_list *) &fe->id2.i_chain; fe 2456 fs/ocfs2/suballoc.c struct ocfs2_dinode *fe = (struct ocfs2_dinode *) alloc_bh->b_data; fe 2457 fs/ocfs2/suballoc.c struct ocfs2_chain_list *cl = &fe->id2.i_chain; fe 2466 fs/ocfs2/suballoc.c BUG_ON(!OCFS2_IS_VALID_DINODE(fe)); fe 2474 fs/ocfs2/suballoc.c status = ocfs2_read_group_descriptor(alloc_inode, fe, bg_blkno, fe 2503 fs/ocfs2/suballoc.c tmp_used = le32_to_cpu(fe->id1.bitmap1.i_used); fe 2504 fs/ocfs2/suballoc.c fe->id1.bitmap1.i_used = cpu_to_le32(tmp_used - count); fe 62 fs/ocfs2/symlink.c struct ocfs2_dinode *fe; fe 72 fs/ocfs2/symlink.c fe = (struct ocfs2_dinode *) bh->b_data; fe 73 fs/ocfs2/symlink.c link = (char *) fe->id2.i_symlink; fe 1303 fs/udf/inode.c struct fileEntry *fe; fe 1354 fs/udf/inode.c fe = (struct fileEntry *)bh->b_data; fe 1357 fs/udf/inode.c if (fe->icbTag.strategyType == cpu_to_le16(4096)) { fe 1384 fs/udf/inode.c } else if (fe->icbTag.strategyType != cpu_to_le16(4)) { fe 1386 fs/udf/inode.c le16_to_cpu(fe->icbTag.strategyType)); fe 1389 fs/udf/inode.c if (fe->icbTag.strategyType == cpu_to_le16(4)) fe 1394 fs/udf/inode.c iinfo->i_alloc_type = le16_to_cpu(fe->icbTag.flags) & fe 1408 fs/udf/inode.c if (fe->descTag.tagIdent == cpu_to_le16(TAG_IDENT_EFE)) { fe 1418 fs/udf/inode.c } else if (fe->descTag.tagIdent == cpu_to_le16(TAG_IDENT_FE)) { fe 1427 fs/udf/inode.c } else if (fe->descTag.tagIdent == cpu_to_le16(TAG_IDENT_USE)) { fe 1445 fs/udf/inode.c uid = le32_to_cpu(fe->uid); fe 1452 fs/udf/inode.c gid = le32_to_cpu(fe->gid); fe 1459 fs/udf/inode.c if (fe->icbTag.fileType != ICBTAG_FILE_TYPE_DIRECTORY && fe 1462 fs/udf/inode.c else if (fe->icbTag.fileType == ICBTAG_FILE_TYPE_DIRECTORY && fe 1466 fs/udf/inode.c inode->i_mode = udf_convert_permissions(fe); fe 1468 fs/udf/inode.c iinfo->i_extraPerms = le32_to_cpu(fe->permissions) & ~FE_MAPPED_PERMS; fe 1472 fs/udf/inode.c link_count = le16_to_cpu(fe->fileLinkCount); fe 1482 fs/udf/inode.c inode->i_size = le64_to_cpu(fe->informationLength); fe 1486 fs/udf/inode.c inode->i_blocks = le64_to_cpu(fe->logicalBlocksRecorded) << fe 1489 fs/udf/inode.c udf_disk_stamp_to_time(&inode->i_atime, fe->accessTime); fe 1490 fs/udf/inode.c udf_disk_stamp_to_time(&inode->i_mtime, fe->modificationTime); fe 1491 fs/udf/inode.c udf_disk_stamp_to_time(&inode->i_ctime, fe->attrTime); fe 1493 fs/udf/inode.c iinfo->i_unique = le64_to_cpu(fe->uniqueID); fe 1494 fs/udf/inode.c iinfo->i_lenEAttr = le32_to_cpu(fe->lengthExtendedAttr); fe 1495 fs/udf/inode.c iinfo->i_lenAlloc = le32_to_cpu(fe->lengthAllocDescs); fe 1496 fs/udf/inode.c iinfo->i_checkpoint = le32_to_cpu(fe->checkpoint); fe 1547 fs/udf/inode.c switch (fe->icbTag.fileType) { fe 1595 fs/udf/inode.c inode->i_ino, fe->icbTag.fileType); fe 1624 fs/udf/inode.c static umode_t udf_convert_permissions(struct fileEntry *fe) fe 1630 fs/udf/inode.c permissions = le32_to_cpu(fe->permissions); fe 1631 fs/udf/inode.c flags = le16_to_cpu(fe->icbTag.flags); fe 1681 fs/udf/inode.c struct fileEntry *fe; fe 1701 fs/udf/inode.c fe = (struct fileEntry *)bh->b_data; fe 1719 fs/udf/inode.c fe->uid = cpu_to_le32(UDF_INVALID_ID); fe 1721 fs/udf/inode.c fe->uid = cpu_to_le32(i_uid_read(inode)); fe 1724 fs/udf/inode.c fe->gid = cpu_to_le32(UDF_INVALID_ID); fe 1726 fs/udf/inode.c fe->gid = cpu_to_le32(i_gid_read(inode)); fe 1733 fs/udf/inode.c fe->permissions = cpu_to_le32(udfperms); fe 1736 fs/udf/inode.c fe->fileLinkCount = cpu_to_le16(inode->i_nlink - 1); fe 1738 fs/udf/inode.c fe->fileLinkCount = cpu_to_le16(inode->i_nlink); fe 1740 fs/udf/inode.c fe->informationLength = cpu_to_le64(inode->i_size); fe 1778 fs/udf/inode.c fe->logicalBlocksRecorded = cpu_to_le64(lb_recorded); fe 1780 fs/udf/inode.c udf_time_to_disk_stamp(&fe->accessTime, inode->i_atime); fe 1781 fs/udf/inode.c udf_time_to_disk_stamp(&fe->modificationTime, inode->i_mtime); fe 1782 fs/udf/inode.c udf_time_to_disk_stamp(&fe->attrTime, inode->i_ctime); fe 1783 fs/udf/inode.c memset(&(fe->impIdent), 0, sizeof(struct regid)); fe 1784 fs/udf/inode.c strcpy(fe->impIdent.ident, UDF_ID_DEVELOPER); fe 1785 fs/udf/inode.c fe->impIdent.identSuffix[0] = UDF_OS_CLASS_UNIX; fe 1786 fs/udf/inode.c fe->impIdent.identSuffix[1] = UDF_OS_ID_LINUX; fe 1787 fs/udf/inode.c fe->uniqueID = cpu_to_le64(iinfo->i_unique); fe 1788 fs/udf/inode.c fe->lengthExtendedAttr = cpu_to_le32(iinfo->i_lenEAttr); fe 1789 fs/udf/inode.c fe->lengthAllocDescs = cpu_to_le32(iinfo->i_lenAlloc); fe 1790 fs/udf/inode.c fe->checkpoint = cpu_to_le32(iinfo->i_checkpoint); fe 1791 fs/udf/inode.c fe->descTag.tagIdent = cpu_to_le16(TAG_IDENT_FE); fe 1834 fs/udf/inode.c fe->icbTag.strategyType = cpu_to_le16(4096); fe 1835 fs/udf/inode.c fe->icbTag.strategyParameter = cpu_to_le16(1); fe 1836 fs/udf/inode.c fe->icbTag.numEntries = cpu_to_le16(2); fe 1838 fs/udf/inode.c fe->icbTag.strategyType = cpu_to_le16(4); fe 1839 fs/udf/inode.c fe->icbTag.numEntries = cpu_to_le16(1); fe 1843 fs/udf/inode.c fe->icbTag.fileType = ICBTAG_FILE_TYPE_USE; fe 1845 fs/udf/inode.c fe->icbTag.fileType = ICBTAG_FILE_TYPE_DIRECTORY; fe 1847 fs/udf/inode.c fe->icbTag.fileType = ICBTAG_FILE_TYPE_REGULAR; fe 1849 fs/udf/inode.c fe->icbTag.fileType = ICBTAG_FILE_TYPE_SYMLINK; fe 1851 fs/udf/inode.c fe->icbTag.fileType = ICBTAG_FILE_TYPE_BLOCK; fe 1853 fs/udf/inode.c fe->icbTag.fileType = ICBTAG_FILE_TYPE_CHAR; fe 1855 fs/udf/inode.c fe->icbTag.fileType = ICBTAG_FILE_TYPE_FIFO; fe 1857 fs/udf/inode.c fe->icbTag.fileType = ICBTAG_FILE_TYPE_SOCKET; fe 1863 fs/udf/inode.c (le16_to_cpu(fe->icbTag.flags) & fe 1867 fs/udf/inode.c fe->icbTag.flags = cpu_to_le16(icbflags); fe 1869 fs/udf/inode.c fe->descTag.descVersion = cpu_to_le16(3); fe 1871 fs/udf/inode.c fe->descTag.descVersion = cpu_to_le16(2); fe 1872 fs/udf/inode.c fe->descTag.tagSerialNum = cpu_to_le16(sbi->s_serial_number); fe 1873 fs/udf/inode.c fe->descTag.tagLocation = cpu_to_le32( fe 1876 fs/udf/inode.c fe->descTag.descCRCLength = cpu_to_le16(crclen); fe 1877 fs/udf/inode.c fe->descTag.descCRC = cpu_to_le16(crc_itu_t(0, (char *)fe + sizeof(struct tag), fe 1879 fs/udf/inode.c fe->descTag.tagChecksum = udf_tag_checksum(&fe->descTag); fe 941 fs/udf/super.c struct inode *fe; fe 951 fs/udf/super.c fe = udf_find_metadata_inode_efe(sb, mdata->s_meta_file_loc, fe 953 fs/udf/super.c if (IS_ERR(fe)) { fe 958 fs/udf/super.c fe = udf_find_metadata_inode_efe(sb, mdata->s_mirror_file_loc, fe 961 fs/udf/super.c if (IS_ERR(fe)) { fe 963 fs/udf/super.c return PTR_ERR(fe); fe 965 fs/udf/super.c mdata->s_mirror_fe = fe; fe 967 fs/udf/super.c mdata->s_metadata_fe = fe; fe 982 fs/udf/super.c fe = udf_iget_special(sb, &addr); fe 983 fs/udf/super.c if (IS_ERR(fe)) { fe 988 fs/udf/super.c return PTR_ERR(fe); fe 991 fs/udf/super.c mdata->s_bitmap_fe = fe; fe 230 include/media/dvb_frontend.h void (*release)(struct dvb_frontend *fe); fe 231 include/media/dvb_frontend.h int (*init)(struct dvb_frontend *fe); fe 232 include/media/dvb_frontend.h int (*sleep)(struct dvb_frontend *fe); fe 233 include/media/dvb_frontend.h int (*suspend)(struct dvb_frontend *fe); fe 234 include/media/dvb_frontend.h int (*resume)(struct dvb_frontend *fe); fe 237 include/media/dvb_frontend.h int (*set_params)(struct dvb_frontend *fe); fe 238 include/media/dvb_frontend.h int (*set_analog_params)(struct dvb_frontend *fe, struct analog_parameters *p); fe 240 include/media/dvb_frontend.h int (*set_config)(struct dvb_frontend *fe, void *priv_cfg); fe 242 include/media/dvb_frontend.h int (*get_frequency)(struct dvb_frontend *fe, u32 *frequency); fe 243 include/media/dvb_frontend.h int (*get_bandwidth)(struct dvb_frontend *fe, u32 *bandwidth); fe 244 include/media/dvb_frontend.h int (*get_if_frequency)(struct dvb_frontend *fe, u32 *frequency); fe 248 include/media/dvb_frontend.h int (*get_status)(struct dvb_frontend *fe, u32 *status); fe 249 include/media/dvb_frontend.h int (*get_rf_strength)(struct dvb_frontend *fe, u16 *strength); fe 250 include/media/dvb_frontend.h int (*get_afc)(struct dvb_frontend *fe, s32 *afc); fe 258 include/media/dvb_frontend.h int (*calc_regs)(struct dvb_frontend *fe, u8 *buf, int buf_len); fe 267 include/media/dvb_frontend.h int (*set_frequency)(struct dvb_frontend *fe, u32 frequency); fe 268 include/media/dvb_frontend.h int (*set_bandwidth)(struct dvb_frontend *fe, u32 bandwidth); fe 306 include/media/dvb_frontend.h void (*set_params)(struct dvb_frontend *fe, fe 308 include/media/dvb_frontend.h int (*has_signal)(struct dvb_frontend *fe, u16 *signal); fe 309 include/media/dvb_frontend.h int (*get_afc)(struct dvb_frontend *fe, s32 *afc); fe 310 include/media/dvb_frontend.h void (*tuner_status)(struct dvb_frontend *fe); fe 311 include/media/dvb_frontend.h void (*standby)(struct dvb_frontend *fe); fe 312 include/media/dvb_frontend.h void (*release)(struct dvb_frontend *fe); fe 313 include/media/dvb_frontend.h int (*i2c_gate_ctrl)(struct dvb_frontend *fe, int enable); fe 316 include/media/dvb_frontend.h int (*set_config)(struct dvb_frontend *fe, void *priv_cfg); fe 440 include/media/dvb_frontend.h void (*detach)(struct dvb_frontend *fe); fe 441 include/media/dvb_frontend.h void (*release)(struct dvb_frontend* fe); fe 442 include/media/dvb_frontend.h void (*release_sec)(struct dvb_frontend* fe); fe 444 include/media/dvb_frontend.h int (*init)(struct dvb_frontend* fe); fe 445 include/media/dvb_frontend.h int (*sleep)(struct dvb_frontend* fe); fe 447 include/media/dvb_frontend.h int (*write)(struct dvb_frontend* fe, const u8 buf[], int len); fe 450 include/media/dvb_frontend.h int (*tune)(struct dvb_frontend* fe, fe 457 include/media/dvb_frontend.h enum dvbfe_algo (*get_frontend_algo)(struct dvb_frontend *fe); fe 460 include/media/dvb_frontend.h int (*set_frontend)(struct dvb_frontend *fe); fe 461 include/media/dvb_frontend.h int (*get_tune_settings)(struct dvb_frontend* fe, struct dvb_frontend_tune_settings* settings); fe 463 include/media/dvb_frontend.h int (*get_frontend)(struct dvb_frontend *fe, fe 466 include/media/dvb_frontend.h int (*read_status)(struct dvb_frontend *fe, enum fe_status *status); fe 467 include/media/dvb_frontend.h int (*read_ber)(struct dvb_frontend* fe, u32* ber); fe 468 include/media/dvb_frontend.h int (*read_signal_strength)(struct dvb_frontend* fe, u16* strength); fe 469 include/media/dvb_frontend.h int (*read_snr)(struct dvb_frontend* fe, u16* snr); fe 470 include/media/dvb_frontend.h int (*read_ucblocks)(struct dvb_frontend* fe, u32* ucblocks); fe 472 include/media/dvb_frontend.h int (*diseqc_reset_overload)(struct dvb_frontend* fe); fe 473 include/media/dvb_frontend.h int (*diseqc_send_master_cmd)(struct dvb_frontend* fe, struct dvb_diseqc_master_cmd* cmd); fe 474 include/media/dvb_frontend.h int (*diseqc_recv_slave_reply)(struct dvb_frontend* fe, struct dvb_diseqc_slave_reply* reply); fe 475 include/media/dvb_frontend.h int (*diseqc_send_burst)(struct dvb_frontend *fe, fe 477 include/media/dvb_frontend.h int (*set_tone)(struct dvb_frontend *fe, enum fe_sec_tone_mode tone); fe 478 include/media/dvb_frontend.h int (*set_voltage)(struct dvb_frontend *fe, fe 480 include/media/dvb_frontend.h int (*enable_high_lnb_voltage)(struct dvb_frontend* fe, long arg); fe 481 include/media/dvb_frontend.h int (*dishnetwork_send_legacy_command)(struct dvb_frontend* fe, unsigned long cmd); fe 482 include/media/dvb_frontend.h int (*i2c_gate_ctrl)(struct dvb_frontend* fe, int enable); fe 483 include/media/dvb_frontend.h int (*ts_bus_ctrl)(struct dvb_frontend* fe, int acquire); fe 490 include/media/dvb_frontend.h enum dvbfe_search (*search)(struct dvb_frontend *fe); fe 715 include/media/dvb_frontend.h struct dvb_frontend *fe); fe 729 include/media/dvb_frontend.h int dvb_unregister_frontend(struct dvb_frontend *fe); fe 745 include/media/dvb_frontend.h void dvb_frontend_detach(struct dvb_frontend *fe); fe 763 include/media/dvb_frontend.h int dvb_frontend_suspend(struct dvb_frontend *fe); fe 784 include/media/dvb_frontend.h int dvb_frontend_resume(struct dvb_frontend *fe); fe 798 include/media/dvb_frontend.h void dvb_frontend_reinitialise(struct dvb_frontend *fe); fe 72 include/sound/soc-dpcm.h struct snd_soc_pcm_runtime *fe; fe 109 include/sound/soc-dpcm.h #define for_each_dpcm_be(fe, stream, dpcm) \ fe 110 include/sound/soc-dpcm.h list_for_each_entry(dpcm, &(fe)->dpcm[stream].be_clients, list_be) fe 111 include/sound/soc-dpcm.h #define for_each_dpcm_be_safe(fe, stream, dpcm, _dpcm) \ fe 112 include/sound/soc-dpcm.h list_for_each_entry_safe(dpcm, _dpcm, &(fe)->dpcm[stream].be_clients, list_be) fe 113 include/sound/soc-dpcm.h #define for_each_dpcm_be_rollback(fe, stream, dpcm) \ fe 114 include/sound/soc-dpcm.h list_for_each_entry_continue_reverse(dpcm, &(fe)->dpcm[stream].be_clients, list_be) fe 117 include/sound/soc-dpcm.h int snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe, fe 121 include/sound/soc-dpcm.h int snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe, fe 125 include/sound/soc-dpcm.h int snd_soc_dpcm_fe_can_update(struct snd_soc_pcm_runtime *fe, int stream); fe 128 include/sound/soc-dpcm.h int snd_soc_dpcm_be_can_update(struct snd_soc_pcm_runtime *fe, fe 144 include/sound/soc-dpcm.h int soc_dpcm_be_digital_mute(struct snd_soc_pcm_runtime *fe, int mute); fe 155 include/sound/soc-dpcm.h int dpcm_path_get(struct snd_soc_pcm_runtime *fe, fe 157 include/sound/soc-dpcm.h int dpcm_process_paths(struct snd_soc_pcm_runtime *fe, fe 159 include/sound/soc-dpcm.h int dpcm_be_dai_startup(struct snd_soc_pcm_runtime *fe, int stream); fe 160 include/sound/soc-dpcm.h int dpcm_be_dai_shutdown(struct snd_soc_pcm_runtime *fe, int stream); fe 161 include/sound/soc-dpcm.h void dpcm_be_disconnect(struct snd_soc_pcm_runtime *fe, int stream); fe 162 include/sound/soc-dpcm.h void dpcm_clear_pending_state(struct snd_soc_pcm_runtime *fe, int stream); fe 163 include/sound/soc-dpcm.h int dpcm_be_dai_hw_free(struct snd_soc_pcm_runtime *fe, int stream); fe 164 include/sound/soc-dpcm.h int dpcm_be_dai_hw_params(struct snd_soc_pcm_runtime *fe, int tream); fe 165 include/sound/soc-dpcm.h int dpcm_be_dai_trigger(struct snd_soc_pcm_runtime *fe, int stream, int cmd); fe 166 include/sound/soc-dpcm.h int dpcm_be_dai_prepare(struct snd_soc_pcm_runtime *fe, int stream); fe 167 include/sound/soc-dpcm.h int dpcm_dapm_stream_event(struct snd_soc_pcm_runtime *fe, int dir, fe 443 net/bridge/br_fdb.c struct __fdb_entry *fe = buf; fe 466 net/bridge/br_fdb.c memcpy(fe->mac_addr, f->key.addr.addr, ETH_ALEN); fe 469 net/bridge/br_fdb.c fe->port_no = f->dst->port_no; fe 470 net/bridge/br_fdb.c fe->port_hi = f->dst->port_no >> 8; fe 472 net/bridge/br_fdb.c fe->is_local = f->is_local; fe 474 net/bridge/br_fdb.c fe->ageing_timer_value = jiffies_delta_to_clock_t(jiffies - f->updated); fe 475 net/bridge/br_fdb.c ++fe; fe 159 sound/soc/fsl/fsl_asrc_dma.c if (dpcm->fe != rtd) fe 252 sound/soc/intel/boards/bdw-rt5677.c SND_SOC_DAILINK_DEF(fe, fe 276 sound/soc/intel/boards/bdw-rt5677.c SND_SOC_DAILINK_REG(fe, dummy, platform), fe 287 sound/soc/intel/boards/kbl_da7219_max98927.c struct snd_soc_dai_link *fe_dai_link = dpcm->fe->dai_link; fe 406 sound/soc/intel/boards/kbl_rt5663_max98927.c struct snd_soc_dai_link *fe_dai_link = dpcm->fe->dai_link; fe 276 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c struct snd_soc_dai_link *fe_dai_link = dpcm->fe->dai_link; fe 1399 sound/soc/sh/rcar/core.c struct snd_soc_pcm_runtime *fe = substream->private_data; fe 1413 sound/soc/sh/rcar/core.c if (fe->dai_link->dynamic) { fe 1420 sound/soc/sh/rcar/core.c for_each_dpcm_be(fe, stream, dpcm) { fe 127 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *fe = cstream->private_data; fe 129 sound/soc/soc-compress.c fe->pcm->streams[cstream->direction].substream; fe 131 sound/soc/soc-compress.c struct snd_soc_dai *cpu_dai = fe->cpu_dai; fe 142 sound/soc/soc-compress.c mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); fe 143 sound/soc/soc-compress.c fe->dpcm[stream].runtime = fe_substream->runtime; fe 145 sound/soc/soc-compress.c ret = dpcm_path_get(fe, stream, &list); fe 149 sound/soc/soc-compress.c dev_dbg(fe->dev, "Compress ASoC: %s no valid %s route\n", fe 150 sound/soc/soc-compress.c fe->dai_link->name, stream ? "capture" : "playback"); fe 152 sound/soc/soc-compress.c dpcm_process_paths(fe, stream, &list, 1); fe 153 sound/soc/soc-compress.c fe->dpcm[stream].runtime = fe_substream->runtime; fe 155 sound/soc/soc-compress.c fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_FE; fe 157 sound/soc/soc-compress.c ret = dpcm_be_dai_startup(fe, stream); fe 160 sound/soc/soc-compress.c for_each_dpcm_be(fe, stream, dpcm) fe 163 sound/soc/soc-compress.c dpcm_be_disconnect(fe, stream); fe 164 sound/soc/soc-compress.c fe->dpcm[stream].runtime = NULL; fe 182 sound/soc/soc-compress.c if (fe->dai_link->compr_ops && fe->dai_link->compr_ops->startup) { fe 183 sound/soc/soc-compress.c ret = fe->dai_link->compr_ops->startup(cstream); fe 186 sound/soc/soc-compress.c fe->dai_link->name, ret); fe 191 sound/soc/soc-compress.c dpcm_clear_pending_state(fe, stream); fe 194 sound/soc/soc-compress.c fe->dpcm[stream].state = SND_SOC_DPCM_STATE_OPEN; fe 195 sound/soc/soc-compress.c fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_NO; fe 197 sound/soc/soc-compress.c snd_soc_runtime_activate(fe, stream); fe 199 sound/soc/soc-compress.c mutex_unlock(&fe->card->mutex); fe 211 sound/soc/soc-compress.c fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_NO; fe 212 sound/soc/soc-compress.c mutex_unlock(&fe->card->mutex); fe 301 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *fe = cstream->private_data; fe 302 sound/soc/soc-compress.c struct snd_soc_dai *cpu_dai = fe->cpu_dai; fe 306 sound/soc/soc-compress.c mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); fe 313 sound/soc/soc-compress.c snd_soc_runtime_deactivate(fe, stream); fe 315 sound/soc/soc-compress.c fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_FE; fe 317 sound/soc/soc-compress.c ret = dpcm_be_dai_hw_free(fe, stream); fe 319 sound/soc/soc-compress.c dev_err(fe->dev, "Compressed ASoC: hw_free failed: %d\n", ret); fe 321 sound/soc/soc-compress.c ret = dpcm_be_dai_shutdown(fe, stream); fe 324 sound/soc/soc-compress.c for_each_dpcm_be(fe, stream, dpcm) fe 327 sound/soc/soc-compress.c dpcm_dapm_stream_event(fe, stream, SND_SOC_DAPM_STREAM_STOP); fe 329 sound/soc/soc-compress.c fe->dpcm[stream].state = SND_SOC_DPCM_STATE_CLOSE; fe 330 sound/soc/soc-compress.c fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_NO; fe 332 sound/soc/soc-compress.c dpcm_be_disconnect(fe, stream); fe 334 sound/soc/soc-compress.c fe->dpcm[stream].runtime = NULL; fe 336 sound/soc/soc-compress.c if (fe->dai_link->compr_ops && fe->dai_link->compr_ops->shutdown) fe 337 sound/soc/soc-compress.c fe->dai_link->compr_ops->shutdown(cstream); fe 344 sound/soc/soc-compress.c mutex_unlock(&fe->card->mutex); fe 403 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *fe = cstream->private_data; fe 404 sound/soc/soc-compress.c struct snd_soc_dai *cpu_dai = fe->cpu_dai; fe 416 sound/soc/soc-compress.c mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); fe 428 sound/soc/soc-compress.c fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_FE; fe 430 sound/soc/soc-compress.c ret = dpcm_be_dai_trigger(fe, stream, cmd); fe 436 sound/soc/soc-compress.c fe->dpcm[stream].state = SND_SOC_DPCM_STATE_START; fe 440 sound/soc/soc-compress.c fe->dpcm[stream].state = SND_SOC_DPCM_STATE_STOP; fe 443 sound/soc/soc-compress.c fe->dpcm[stream].state = SND_SOC_DPCM_STATE_PAUSED; fe 448 sound/soc/soc-compress.c fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_NO; fe 449 sound/soc/soc-compress.c mutex_unlock(&fe->card->mutex); fe 531 sound/soc/soc-compress.c struct snd_soc_pcm_runtime *fe = cstream->private_data; fe 533 sound/soc/soc-compress.c fe->pcm->streams[cstream->direction].substream; fe 534 sound/soc/soc-compress.c struct snd_soc_dai *cpu_dai = fe->cpu_dai; fe 542 sound/soc/soc-compress.c mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); fe 549 sound/soc/soc-compress.c memset(&fe->dpcm[fe_substream->stream].hw_params, 0, fe 552 sound/soc/soc-compress.c fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_FE; fe 554 sound/soc/soc-compress.c ret = dpcm_be_dai_hw_params(fe, stream); fe 558 sound/soc/soc-compress.c ret = dpcm_be_dai_prepare(fe, stream); fe 572 sound/soc/soc-compress.c if (fe->dai_link->compr_ops && fe->dai_link->compr_ops->set_params) { fe 573 sound/soc/soc-compress.c ret = fe->dai_link->compr_ops->set_params(cstream); fe 578 sound/soc/soc-compress.c dpcm_dapm_stream_event(fe, stream, SND_SOC_DAPM_STREAM_START); fe 579 sound/soc/soc-compress.c fe->dpcm[stream].state = SND_SOC_DPCM_STATE_PREPARE; fe 582 sound/soc/soc-compress.c fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_NO; fe 583 sound/soc/soc-compress.c mutex_unlock(&fe->card->mutex); fe 154 sound/soc/soc-pcm.c int dpcm_dapm_stream_event(struct snd_soc_pcm_runtime *fe, int dir, fe 159 sound/soc/soc-pcm.c for_each_dpcm_be(fe, dir, dpcm) { fe 173 sound/soc/soc-pcm.c snd_soc_dapm_stream_event(fe, dir, event); fe 1146 sound/soc/soc-pcm.c static int dpcm_be_connect(struct snd_soc_pcm_runtime *fe, fe 1156 sound/soc/soc-pcm.c for_each_dpcm_be(fe, stream, dpcm) { fe 1157 sound/soc/soc-pcm.c if (dpcm->be == be && dpcm->fe == fe) fe 1166 sound/soc/soc-pcm.c dpcm->fe = fe; fe 1167 sound/soc/soc-pcm.c be->dpcm[stream].runtime = fe->dpcm[stream].runtime; fe 1169 sound/soc/soc-pcm.c spin_lock_irqsave(&fe->card->dpcm_lock, flags); fe 1170 sound/soc/soc-pcm.c list_add(&dpcm->list_be, &fe->dpcm[stream].be_clients); fe 1172 sound/soc/soc-pcm.c spin_unlock_irqrestore(&fe->card->dpcm_lock, flags); fe 1174 sound/soc/soc-pcm.c dev_dbg(fe->dev, "connected new DPCM %s path %s %s %s\n", fe 1175 sound/soc/soc-pcm.c stream ? "capture" : "playback", fe->dai_link->name, fe 1183 sound/soc/soc-pcm.c fe->debugfs_dpcm_root); fe 1193 sound/soc/soc-pcm.c static void dpcm_be_reparent(struct snd_soc_pcm_runtime *fe, fe 1206 sound/soc/soc-pcm.c if (dpcm->fe == fe) fe 1209 sound/soc/soc-pcm.c dev_dbg(fe->dev, "reparent %s path %s %s %s\n", fe 1211 sound/soc/soc-pcm.c dpcm->fe->dai_link->name, fe 1214 sound/soc/soc-pcm.c fe_substream = snd_soc_dpcm_get_substream(dpcm->fe, stream); fe 1221 sound/soc/soc-pcm.c void dpcm_be_disconnect(struct snd_soc_pcm_runtime *fe, int stream) fe 1226 sound/soc/soc-pcm.c for_each_dpcm_be_safe(fe, stream, dpcm, d) { fe 1227 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: BE %s disconnect check for %s\n", fe 1234 sound/soc/soc-pcm.c dev_dbg(fe->dev, "freed DSP %s path %s %s %s\n", fe 1235 sound/soc/soc-pcm.c stream ? "capture" : "playback", fe->dai_link->name, fe 1239 sound/soc/soc-pcm.c dpcm_be_reparent(fe, dpcm->be, stream); fe 1244 sound/soc/soc-pcm.c spin_lock_irqsave(&fe->card->dpcm_lock, flags); fe 1247 sound/soc/soc-pcm.c spin_unlock_irqrestore(&fe->card->dpcm_lock, flags); fe 1368 sound/soc/soc-pcm.c int dpcm_path_get(struct snd_soc_pcm_runtime *fe, fe 1371 sound/soc/soc-pcm.c struct snd_soc_dai *cpu_dai = fe->cpu_dai; fe 1378 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: found %d audio %s paths\n", paths, fe 1384 sound/soc/soc-pcm.c static int dpcm_prune_paths(struct snd_soc_pcm_runtime *fe, int stream, fe 1395 sound/soc/soc-pcm.c for_each_dpcm_be(fe, stream, dpcm) { fe 1417 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: pruning %s BE %s for %s\n", fe 1419 sound/soc/soc-pcm.c dpcm->be->dai_link->name, fe->dai_link->name); fe 1425 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: found %d old BE paths for pruning\n", prune); fe 1429 sound/soc/soc-pcm.c static int dpcm_add_paths(struct snd_soc_pcm_runtime *fe, int stream, fe 1432 sound/soc/soc-pcm.c struct snd_soc_card *card = fe->card; fe 1456 sound/soc/soc-pcm.c dev_err(fe->dev, "ASoC: no BE found for %s\n", fe 1466 sound/soc/soc-pcm.c if (!fe->dpcm[stream].runtime && !fe->fe_compr) fe 1470 sound/soc/soc-pcm.c err = dpcm_be_connect(fe, be, stream); fe 1472 sound/soc/soc-pcm.c dev_err(fe->dev, "ASoC: can't connect %s\n", fe 1483 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: found %d new BE paths\n", new); fe 1491 sound/soc/soc-pcm.c int dpcm_process_paths(struct snd_soc_pcm_runtime *fe, fe 1495 sound/soc/soc-pcm.c return dpcm_add_paths(fe, stream, list); fe 1497 sound/soc/soc-pcm.c return dpcm_prune_paths(fe, stream, list); fe 1500 sound/soc/soc-pcm.c void dpcm_clear_pending_state(struct snd_soc_pcm_runtime *fe, int stream) fe 1505 sound/soc/soc-pcm.c spin_lock_irqsave(&fe->card->dpcm_lock, flags); fe 1506 sound/soc/soc-pcm.c for_each_dpcm_be(fe, stream, dpcm) fe 1509 sound/soc/soc-pcm.c spin_unlock_irqrestore(&fe->card->dpcm_lock, flags); fe 1512 sound/soc/soc-pcm.c static void dpcm_be_dai_startup_unwind(struct snd_soc_pcm_runtime *fe, fe 1518 sound/soc/soc-pcm.c for_each_dpcm_be(fe, stream, dpcm) { fe 1541 sound/soc/soc-pcm.c int dpcm_be_dai_startup(struct snd_soc_pcm_runtime *fe, int stream) fe 1547 sound/soc/soc-pcm.c for_each_dpcm_be(fe, stream, dpcm) { fe 1560 sound/soc/soc-pcm.c if (!snd_soc_dpcm_be_can_update(fe, be, stream)) fe 1601 sound/soc/soc-pcm.c for_each_dpcm_be_rollback(fe, stream, dpcm) { fe 1606 sound/soc/soc-pcm.c if (!snd_soc_dpcm_be_can_update(fe, be, stream)) fe 1645 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *fe = substream->private_data; fe 1650 sound/soc/soc-pcm.c if (!fe->dai_link->dpcm_merged_format) fe 1658 sound/soc/soc-pcm.c for_each_dpcm_be(fe, stream, dpcm) { fe 1687 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *fe = substream->private_data; fe 1691 sound/soc/soc-pcm.c if (!fe->dai_link->dpcm_merged_chan) fe 1699 sound/soc/soc-pcm.c for_each_dpcm_be(fe, stream, dpcm) { fe 1739 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *fe = substream->private_data; fe 1743 sound/soc/soc-pcm.c if (!fe->dai_link->dpcm_merged_rate) fe 1751 sound/soc/soc-pcm.c for_each_dpcm_be(fe, stream, dpcm) { fe 1818 sound/soc/soc-pcm.c static void dpcm_set_fe_update_state(struct snd_soc_pcm_runtime *fe, fe 1822 sound/soc/soc-pcm.c snd_soc_dpcm_get_substream(fe, stream); fe 1825 sound/soc/soc-pcm.c if (state == SND_SOC_DPCM_UPDATE_NO && fe->dpcm[stream].trigger_pending) { fe 1827 sound/soc/soc-pcm.c fe->dpcm[stream].trigger_pending - 1); fe 1828 sound/soc/soc-pcm.c fe->dpcm[stream].trigger_pending = 0; fe 1830 sound/soc/soc-pcm.c fe->dpcm[stream].runtime_update = state; fe 1838 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *fe = fe_substream->private_data; fe 1839 sound/soc/soc-pcm.c struct snd_soc_dai *fe_cpu_dai = fe->cpu_dai; fe 1854 sound/soc/soc-pcm.c for_each_dpcm_be(fe, stream, dpcm) { fe 1896 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *fe = fe_substream->private_data; fe 1900 sound/soc/soc-pcm.c dpcm_set_fe_update_state(fe, stream, SND_SOC_DPCM_UPDATE_FE); fe 1902 sound/soc/soc-pcm.c ret = dpcm_be_dai_startup(fe, fe_substream->stream); fe 1904 sound/soc/soc-pcm.c dev_err(fe->dev,"ASoC: failed to start some BEs %d\n", ret); fe 1908 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: open FE %s\n", fe->dai_link->name); fe 1913 sound/soc/soc-pcm.c dev_err(fe->dev,"ASoC: failed to start FE %d\n", ret); fe 1917 sound/soc/soc-pcm.c fe->dpcm[stream].state = SND_SOC_DPCM_STATE_OPEN; fe 1924 sound/soc/soc-pcm.c dev_err(fe->dev, "ASoC: failed to apply dpcm symmetry %d\n", fe 1929 sound/soc/soc-pcm.c dpcm_set_fe_update_state(fe, stream, SND_SOC_DPCM_UPDATE_NO); fe 1933 sound/soc/soc-pcm.c dpcm_be_dai_startup_unwind(fe, fe_substream->stream); fe 1935 sound/soc/soc-pcm.c dpcm_set_fe_update_state(fe, stream, SND_SOC_DPCM_UPDATE_NO); fe 1939 sound/soc/soc-pcm.c int dpcm_be_dai_shutdown(struct snd_soc_pcm_runtime *fe, int stream) fe 1944 sound/soc/soc-pcm.c for_each_dpcm_be(fe, stream, dpcm) { fe 1951 sound/soc/soc-pcm.c if (!snd_soc_dpcm_be_can_update(fe, be, stream)) fe 1981 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *fe = substream->private_data; fe 1984 sound/soc/soc-pcm.c dpcm_set_fe_update_state(fe, stream, SND_SOC_DPCM_UPDATE_FE); fe 1987 sound/soc/soc-pcm.c dpcm_be_dai_shutdown(fe, substream->stream); fe 1989 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: close FE %s\n", fe->dai_link->name); fe 1995 sound/soc/soc-pcm.c dpcm_dapm_stream_event(fe, stream, SND_SOC_DAPM_STREAM_STOP); fe 1997 sound/soc/soc-pcm.c fe->dpcm[stream].state = SND_SOC_DPCM_STATE_CLOSE; fe 1998 sound/soc/soc-pcm.c dpcm_set_fe_update_state(fe, stream, SND_SOC_DPCM_UPDATE_NO); fe 2002 sound/soc/soc-pcm.c int dpcm_be_dai_hw_free(struct snd_soc_pcm_runtime *fe, int stream) fe 2008 sound/soc/soc-pcm.c for_each_dpcm_be(fe, stream, dpcm) { fe 2015 sound/soc/soc-pcm.c if (!snd_soc_dpcm_be_can_update(fe, be, stream)) fe 2019 sound/soc/soc-pcm.c if (!snd_soc_dpcm_can_be_free_stop(fe, be, stream)) fe 2047 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *fe = substream->private_data; fe 2050 sound/soc/soc-pcm.c mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); fe 2051 sound/soc/soc-pcm.c dpcm_set_fe_update_state(fe, stream, SND_SOC_DPCM_UPDATE_FE); fe 2053 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: hw_free FE %s\n", fe->dai_link->name); fe 2058 sound/soc/soc-pcm.c dev_err(fe->dev,"ASoC: hw_free FE %s failed\n", fe 2059 sound/soc/soc-pcm.c fe->dai_link->name); fe 2063 sound/soc/soc-pcm.c err = dpcm_be_dai_hw_free(fe, stream); fe 2065 sound/soc/soc-pcm.c fe->dpcm[stream].state = SND_SOC_DPCM_STATE_HW_FREE; fe 2066 sound/soc/soc-pcm.c dpcm_set_fe_update_state(fe, stream, SND_SOC_DPCM_UPDATE_NO); fe 2068 sound/soc/soc-pcm.c mutex_unlock(&fe->card->mutex); fe 2072 sound/soc/soc-pcm.c int dpcm_be_dai_hw_params(struct snd_soc_pcm_runtime *fe, int stream) fe 2077 sound/soc/soc-pcm.c for_each_dpcm_be(fe, stream, dpcm) { fe 2084 sound/soc/soc-pcm.c if (!snd_soc_dpcm_be_can_update(fe, be, stream)) fe 2088 sound/soc/soc-pcm.c memcpy(&dpcm->hw_params, &fe->dpcm[stream].hw_params, fe 2108 sound/soc/soc-pcm.c if (!snd_soc_dpcm_can_be_params(fe, be, stream)) fe 2132 sound/soc/soc-pcm.c for_each_dpcm_be_rollback(fe, stream, dpcm) { fe 2137 sound/soc/soc-pcm.c if (!snd_soc_dpcm_be_can_update(fe, be, stream)) fe 2141 sound/soc/soc-pcm.c if (!snd_soc_dpcm_can_be_free_stop(fe, be, stream)) fe 2159 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *fe = substream->private_data; fe 2162 sound/soc/soc-pcm.c mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); fe 2163 sound/soc/soc-pcm.c dpcm_set_fe_update_state(fe, stream, SND_SOC_DPCM_UPDATE_FE); fe 2165 sound/soc/soc-pcm.c memcpy(&fe->dpcm[substream->stream].hw_params, params, fe 2167 sound/soc/soc-pcm.c ret = dpcm_be_dai_hw_params(fe, substream->stream); fe 2169 sound/soc/soc-pcm.c dev_err(fe->dev,"ASoC: hw_params BE failed %d\n", ret); fe 2173 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: hw_params FE %s rate %d chan %x fmt %d\n", fe 2174 sound/soc/soc-pcm.c fe->dai_link->name, params_rate(params), fe 2180 sound/soc/soc-pcm.c dev_err(fe->dev,"ASoC: hw_params FE failed %d\n", ret); fe 2181 sound/soc/soc-pcm.c dpcm_be_dai_hw_free(fe, stream); fe 2183 sound/soc/soc-pcm.c fe->dpcm[stream].state = SND_SOC_DPCM_STATE_HW_PARAMS; fe 2186 sound/soc/soc-pcm.c dpcm_set_fe_update_state(fe, stream, SND_SOC_DPCM_UPDATE_NO); fe 2187 sound/soc/soc-pcm.c mutex_unlock(&fe->card->mutex); fe 2206 sound/soc/soc-pcm.c int dpcm_be_dai_trigger(struct snd_soc_pcm_runtime *fe, int stream, fe 2212 sound/soc/soc-pcm.c for_each_dpcm_be(fe, stream, dpcm) { fe 2219 sound/soc/soc-pcm.c if (!snd_soc_dpcm_be_can_update(fe, be, stream)) fe 2260 sound/soc/soc-pcm.c if (!snd_soc_dpcm_can_be_free_stop(fe, be, stream)) fe 2273 sound/soc/soc-pcm.c if (!snd_soc_dpcm_can_be_free_stop(fe, be, stream)) fe 2286 sound/soc/soc-pcm.c if (!snd_soc_dpcm_can_be_free_stop(fe, be, stream)) fe 2305 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *fe = substream->private_data; fe 2310 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: pre trigger FE %s cmd %d\n", fe 2311 sound/soc/soc-pcm.c fe->dai_link->name, cmd); fe 2317 sound/soc/soc-pcm.c ret = dpcm_be_dai_trigger(fe, substream->stream, cmd); fe 2322 sound/soc/soc-pcm.c ret = dpcm_be_dai_trigger(fe, substream->stream, cmd); fe 2326 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: post trigger FE %s cmd %d\n", fe 2327 sound/soc/soc-pcm.c fe->dai_link->name, cmd); fe 2336 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *fe = substream->private_data; fe 2339 sound/soc/soc-pcm.c enum snd_soc_dpcm_trigger trigger = fe->dai_link->trigger[stream]; fe 2341 sound/soc/soc-pcm.c fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_FE; fe 2381 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: bespoke trigger FE %s cmd %d\n", fe 2382 sound/soc/soc-pcm.c fe->dai_link->name, cmd); fe 2387 sound/soc/soc-pcm.c dev_err(fe->dev, "ASoC: invalid trigger cmd %d for %s\n", cmd, fe 2388 sound/soc/soc-pcm.c fe->dai_link->name); fe 2394 sound/soc/soc-pcm.c dev_err(fe->dev, "ASoC: trigger FE cmd: %d failed: %d\n", fe 2403 sound/soc/soc-pcm.c fe->dpcm[stream].state = SND_SOC_DPCM_STATE_START; fe 2407 sound/soc/soc-pcm.c fe->dpcm[stream].state = SND_SOC_DPCM_STATE_STOP; fe 2410 sound/soc/soc-pcm.c fe->dpcm[stream].state = SND_SOC_DPCM_STATE_PAUSED; fe 2415 sound/soc/soc-pcm.c fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_NO; fe 2421 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *fe = substream->private_data; fe 2427 sound/soc/soc-pcm.c if (fe->dpcm[stream].runtime_update != SND_SOC_DPCM_UPDATE_NO) { fe 2428 sound/soc/soc-pcm.c fe->dpcm[stream].trigger_pending = cmd + 1; fe 2436 sound/soc/soc-pcm.c int dpcm_be_dai_prepare(struct snd_soc_pcm_runtime *fe, int stream) fe 2441 sound/soc/soc-pcm.c for_each_dpcm_be(fe, stream, dpcm) { fe 2448 sound/soc/soc-pcm.c if (!snd_soc_dpcm_be_can_update(fe, be, stream)) fe 2474 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *fe = substream->private_data; fe 2477 sound/soc/soc-pcm.c mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); fe 2479 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: prepare FE %s\n", fe->dai_link->name); fe 2481 sound/soc/soc-pcm.c dpcm_set_fe_update_state(fe, stream, SND_SOC_DPCM_UPDATE_FE); fe 2484 sound/soc/soc-pcm.c if (list_empty(&fe->dpcm[stream].be_clients)) { fe 2485 sound/soc/soc-pcm.c dev_err(fe->dev, "ASoC: no backend DAIs enabled for %s\n", fe 2486 sound/soc/soc-pcm.c fe->dai_link->name); fe 2491 sound/soc/soc-pcm.c ret = dpcm_be_dai_prepare(fe, substream->stream); fe 2498 sound/soc/soc-pcm.c dev_err(fe->dev,"ASoC: prepare FE %s failed\n", fe 2499 sound/soc/soc-pcm.c fe->dai_link->name); fe 2504 sound/soc/soc-pcm.c dpcm_dapm_stream_event(fe, stream, SND_SOC_DAPM_STREAM_START); fe 2505 sound/soc/soc-pcm.c fe->dpcm[stream].state = SND_SOC_DPCM_STATE_PREPARE; fe 2508 sound/soc/soc-pcm.c dpcm_set_fe_update_state(fe, stream, SND_SOC_DPCM_UPDATE_NO); fe 2509 sound/soc/soc-pcm.c mutex_unlock(&fe->card->mutex); fe 2514 sound/soc/soc-pcm.c static int dpcm_run_update_shutdown(struct snd_soc_pcm_runtime *fe, int stream) fe 2517 sound/soc/soc-pcm.c snd_soc_dpcm_get_substream(fe, stream); fe 2518 sound/soc/soc-pcm.c enum snd_soc_dpcm_trigger trigger = fe->dai_link->trigger[stream]; fe 2521 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: runtime %s close on FE %s\n", fe 2522 sound/soc/soc-pcm.c stream ? "capture" : "playback", fe->dai_link->name); fe 2526 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: bespoke trigger FE %s cmd stop\n", fe 2527 sound/soc/soc-pcm.c fe->dai_link->name); fe 2531 sound/soc/soc-pcm.c dev_err(fe->dev,"ASoC: trigger FE failed %d\n", err); fe 2533 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: trigger FE %s cmd stop\n", fe 2534 sound/soc/soc-pcm.c fe->dai_link->name); fe 2536 sound/soc/soc-pcm.c err = dpcm_be_dai_trigger(fe, stream, SNDRV_PCM_TRIGGER_STOP); fe 2538 sound/soc/soc-pcm.c dev_err(fe->dev,"ASoC: trigger FE failed %d\n", err); fe 2541 sound/soc/soc-pcm.c err = dpcm_be_dai_hw_free(fe, stream); fe 2543 sound/soc/soc-pcm.c dev_err(fe->dev,"ASoC: hw_free FE failed %d\n", err); fe 2545 sound/soc/soc-pcm.c err = dpcm_be_dai_shutdown(fe, stream); fe 2547 sound/soc/soc-pcm.c dev_err(fe->dev,"ASoC: shutdown FE failed %d\n", err); fe 2550 sound/soc/soc-pcm.c dpcm_dapm_stream_event(fe, stream, SND_SOC_DAPM_STREAM_NOP); fe 2555 sound/soc/soc-pcm.c static int dpcm_run_update_startup(struct snd_soc_pcm_runtime *fe, int stream) fe 2558 sound/soc/soc-pcm.c snd_soc_dpcm_get_substream(fe, stream); fe 2560 sound/soc/soc-pcm.c enum snd_soc_dpcm_trigger trigger = fe->dai_link->trigger[stream]; fe 2564 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: runtime %s open on FE %s\n", fe 2565 sound/soc/soc-pcm.c stream ? "capture" : "playback", fe->dai_link->name); fe 2568 sound/soc/soc-pcm.c if (fe->dpcm[stream].state == SND_SOC_DPCM_STATE_HW_FREE || fe 2569 sound/soc/soc-pcm.c fe->dpcm[stream].state == SND_SOC_DPCM_STATE_CLOSE) fe 2573 sound/soc/soc-pcm.c ret = dpcm_be_dai_startup(fe, stream); fe 2578 sound/soc/soc-pcm.c if (fe->dpcm[stream].state == SND_SOC_DPCM_STATE_OPEN) fe 2581 sound/soc/soc-pcm.c ret = dpcm_be_dai_hw_params(fe, stream); fe 2586 sound/soc/soc-pcm.c if (fe->dpcm[stream].state == SND_SOC_DPCM_STATE_HW_PARAMS) fe 2590 sound/soc/soc-pcm.c ret = dpcm_be_dai_prepare(fe, stream); fe 2595 sound/soc/soc-pcm.c dpcm_dapm_stream_event(fe, stream, SND_SOC_DAPM_STREAM_NOP); fe 2598 sound/soc/soc-pcm.c if (fe->dpcm[stream].state == SND_SOC_DPCM_STATE_PREPARE || fe 2599 sound/soc/soc-pcm.c fe->dpcm[stream].state == SND_SOC_DPCM_STATE_STOP) fe 2604 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: bespoke trigger FE %s cmd start\n", fe 2605 sound/soc/soc-pcm.c fe->dai_link->name); fe 2609 sound/soc/soc-pcm.c dev_err(fe->dev,"ASoC: bespoke trigger FE failed %d\n", ret); fe 2613 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: trigger FE %s cmd start\n", fe 2614 sound/soc/soc-pcm.c fe->dai_link->name); fe 2616 sound/soc/soc-pcm.c ret = dpcm_be_dai_trigger(fe, stream, fe 2619 sound/soc/soc-pcm.c dev_err(fe->dev,"ASoC: trigger FE failed %d\n", ret); fe 2627 sound/soc/soc-pcm.c dpcm_be_dai_hw_free(fe, stream); fe 2629 sound/soc/soc-pcm.c dpcm_be_dai_shutdown(fe, stream); fe 2632 sound/soc/soc-pcm.c spin_lock_irqsave(&fe->card->dpcm_lock, flags); fe 2633 sound/soc/soc-pcm.c for_each_dpcm_be(fe, stream, dpcm) { fe 2638 sound/soc/soc-pcm.c spin_unlock_irqrestore(&fe->card->dpcm_lock, flags); fe 2643 sound/soc/soc-pcm.c static int dpcm_run_new_update(struct snd_soc_pcm_runtime *fe, int stream) fe 2647 sound/soc/soc-pcm.c dpcm_set_fe_update_state(fe, stream, SND_SOC_DPCM_UPDATE_BE); fe 2648 sound/soc/soc-pcm.c ret = dpcm_run_update_startup(fe, stream); fe 2650 sound/soc/soc-pcm.c dev_err(fe->dev, "ASoC: failed to startup some BEs\n"); fe 2651 sound/soc/soc-pcm.c dpcm_set_fe_update_state(fe, stream, SND_SOC_DPCM_UPDATE_NO); fe 2656 sound/soc/soc-pcm.c static int dpcm_run_old_update(struct snd_soc_pcm_runtime *fe, int stream) fe 2660 sound/soc/soc-pcm.c dpcm_set_fe_update_state(fe, stream, SND_SOC_DPCM_UPDATE_BE); fe 2661 sound/soc/soc-pcm.c ret = dpcm_run_update_shutdown(fe, stream); fe 2663 sound/soc/soc-pcm.c dev_err(fe->dev, "ASoC: failed to shutdown some BEs\n"); fe 2664 sound/soc/soc-pcm.c dpcm_set_fe_update_state(fe, stream, SND_SOC_DPCM_UPDATE_NO); fe 2669 sound/soc/soc-pcm.c static int soc_dpcm_fe_runtime_update(struct snd_soc_pcm_runtime *fe, int new) fe 2674 sound/soc/soc-pcm.c if (!fe->dai_link->dynamic) fe 2678 sound/soc/soc-pcm.c if (!fe->cpu_dai->active) fe 2682 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: DPCM %s runtime update for FE %s\n", fe 2683 sound/soc/soc-pcm.c new ? "new" : "old", fe->dai_link->name); fe 2686 sound/soc/soc-pcm.c if (!snd_soc_dai_stream_valid(fe->cpu_dai, SNDRV_PCM_STREAM_PLAYBACK) || fe 2687 sound/soc/soc-pcm.c !snd_soc_dai_stream_valid(fe->codec_dai, SNDRV_PCM_STREAM_PLAYBACK)) fe 2691 sound/soc/soc-pcm.c if (!fe->cpu_dai->playback_active || !fe->codec_dai->playback_active) fe 2694 sound/soc/soc-pcm.c paths = dpcm_path_get(fe, SNDRV_PCM_STREAM_PLAYBACK, &list); fe 2696 sound/soc/soc-pcm.c dev_warn(fe->dev, "ASoC: %s no valid %s path\n", fe 2697 sound/soc/soc-pcm.c fe->dai_link->name, "playback"); fe 2702 sound/soc/soc-pcm.c count = dpcm_process_paths(fe, SNDRV_PCM_STREAM_PLAYBACK, &list, new); fe 2705 sound/soc/soc-pcm.c dpcm_run_new_update(fe, SNDRV_PCM_STREAM_PLAYBACK); fe 2707 sound/soc/soc-pcm.c dpcm_run_old_update(fe, SNDRV_PCM_STREAM_PLAYBACK); fe 2709 sound/soc/soc-pcm.c dpcm_clear_pending_state(fe, SNDRV_PCM_STREAM_PLAYBACK); fe 2710 sound/soc/soc-pcm.c dpcm_be_disconnect(fe, SNDRV_PCM_STREAM_PLAYBACK); fe 2717 sound/soc/soc-pcm.c if (!snd_soc_dai_stream_valid(fe->cpu_dai, SNDRV_PCM_STREAM_CAPTURE) || fe 2718 sound/soc/soc-pcm.c !snd_soc_dai_stream_valid(fe->codec_dai, SNDRV_PCM_STREAM_CAPTURE)) fe 2722 sound/soc/soc-pcm.c if (!fe->cpu_dai->capture_active || !fe->codec_dai->capture_active) fe 2725 sound/soc/soc-pcm.c paths = dpcm_path_get(fe, SNDRV_PCM_STREAM_CAPTURE, &list); fe 2727 sound/soc/soc-pcm.c dev_warn(fe->dev, "ASoC: %s no valid %s path\n", fe 2728 sound/soc/soc-pcm.c fe->dai_link->name, "capture"); fe 2733 sound/soc/soc-pcm.c count = dpcm_process_paths(fe, SNDRV_PCM_STREAM_CAPTURE, &list, new); fe 2736 sound/soc/soc-pcm.c dpcm_run_new_update(fe, SNDRV_PCM_STREAM_CAPTURE); fe 2738 sound/soc/soc-pcm.c dpcm_run_old_update(fe, SNDRV_PCM_STREAM_CAPTURE); fe 2740 sound/soc/soc-pcm.c dpcm_clear_pending_state(fe, SNDRV_PCM_STREAM_CAPTURE); fe 2741 sound/soc/soc-pcm.c dpcm_be_disconnect(fe, SNDRV_PCM_STREAM_CAPTURE); fe 2754 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *fe; fe 2759 sound/soc/soc-pcm.c for_each_card_rtds(card, fe) { fe 2760 sound/soc/soc-pcm.c ret = soc_dpcm_fe_runtime_update(fe, 0); fe 2766 sound/soc/soc-pcm.c for_each_card_rtds(card, fe) { fe 2767 sound/soc/soc-pcm.c ret = soc_dpcm_fe_runtime_update(fe, 1); fe 2776 sound/soc/soc-pcm.c int soc_dpcm_be_digital_mute(struct snd_soc_pcm_runtime *fe, int mute) fe 2781 sound/soc/soc-pcm.c for_each_dpcm_be(fe, SNDRV_PCM_STREAM_PLAYBACK, dpcm) { fe 2806 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *fe = fe_substream->private_data; fe 2812 sound/soc/soc-pcm.c mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); fe 2813 sound/soc/soc-pcm.c fe->dpcm[stream].runtime = fe_substream->runtime; fe 2815 sound/soc/soc-pcm.c ret = dpcm_path_get(fe, stream, &list); fe 2817 sound/soc/soc-pcm.c mutex_unlock(&fe->card->mutex); fe 2820 sound/soc/soc-pcm.c dev_dbg(fe->dev, "ASoC: %s no valid %s route\n", fe 2821 sound/soc/soc-pcm.c fe->dai_link->name, stream ? "capture" : "playback"); fe 2825 sound/soc/soc-pcm.c dpcm_process_paths(fe, stream, &list, 1); fe 2830 sound/soc/soc-pcm.c for_each_dpcm_be(fe, stream, dpcm) fe 2833 sound/soc/soc-pcm.c dpcm_be_disconnect(fe, stream); fe 2834 sound/soc/soc-pcm.c fe->dpcm[stream].runtime = NULL; fe 2837 sound/soc/soc-pcm.c dpcm_clear_pending_state(fe, stream); fe 2839 sound/soc/soc-pcm.c mutex_unlock(&fe->card->mutex); fe 2845 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *fe = fe_substream->private_data; fe 2849 sound/soc/soc-pcm.c mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); fe 2853 sound/soc/soc-pcm.c for_each_dpcm_be(fe, stream, dpcm) fe 2856 sound/soc/soc-pcm.c dpcm_be_disconnect(fe, stream); fe 2858 sound/soc/soc-pcm.c fe->dpcm[stream].runtime = NULL; fe 2859 sound/soc/soc-pcm.c mutex_unlock(&fe->card->mutex); fe 3025 sound/soc/soc-pcm.c int snd_soc_dpcm_fe_can_update(struct snd_soc_pcm_runtime *fe, int stream) fe 3027 sound/soc/soc-pcm.c if (fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_FE) fe 3034 sound/soc/soc-pcm.c int snd_soc_dpcm_be_can_update(struct snd_soc_pcm_runtime *fe, fe 3037 sound/soc/soc-pcm.c if ((fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_FE) || fe 3038 sound/soc/soc-pcm.c ((fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_BE) && fe 3073 sound/soc/soc-pcm.c int snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe, fe 3081 sound/soc/soc-pcm.c spin_lock_irqsave(&fe->card->dpcm_lock, flags); fe 3084 sound/soc/soc-pcm.c if (dpcm->fe == fe) fe 3087 sound/soc/soc-pcm.c state = dpcm->fe->dpcm[stream].state; fe 3095 sound/soc/soc-pcm.c spin_unlock_irqrestore(&fe->card->dpcm_lock, flags); fe 3106 sound/soc/soc-pcm.c int snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe, fe 3114 sound/soc/soc-pcm.c spin_lock_irqsave(&fe->card->dpcm_lock, flags); fe 3117 sound/soc/soc-pcm.c if (dpcm->fe == fe) fe 3120 sound/soc/soc-pcm.c state = dpcm->fe->dpcm[stream].state; fe 3129 sound/soc/soc-pcm.c spin_unlock_irqrestore(&fe->card->dpcm_lock, flags); fe 3165 sound/soc/soc-pcm.c static ssize_t dpcm_show_state(struct snd_soc_pcm_runtime *fe, fe 3168 sound/soc/soc-pcm.c struct snd_pcm_hw_params *params = &fe->dpcm[stream].hw_params; fe 3175 sound/soc/soc-pcm.c "[%s - %s]\n", fe->dai_link->name, fe 3179 sound/soc/soc-pcm.c dpcm_state_string(fe->dpcm[stream].state)); fe 3181 sound/soc/soc-pcm.c if ((fe->dpcm[stream].state >= SND_SOC_DPCM_STATE_HW_PARAMS) && fe 3182 sound/soc/soc-pcm.c (fe->dpcm[stream].state <= SND_SOC_DPCM_STATE_STOP)) fe 3193 sound/soc/soc-pcm.c if (list_empty(&fe->dpcm[stream].be_clients)) { fe 3199 sound/soc/soc-pcm.c spin_lock_irqsave(&fe->card->dpcm_lock, flags); fe 3200 sound/soc/soc-pcm.c for_each_dpcm_be(fe, stream, dpcm) { fe 3220 sound/soc/soc-pcm.c spin_unlock_irqrestore(&fe->card->dpcm_lock, flags); fe 3228 sound/soc/soc-pcm.c struct snd_soc_pcm_runtime *fe = file->private_data; fe 3236 sound/soc/soc-pcm.c if (snd_soc_dai_stream_valid(fe->cpu_dai, SNDRV_PCM_STREAM_PLAYBACK)) fe 3237 sound/soc/soc-pcm.c offset += dpcm_show_state(fe, SNDRV_PCM_STREAM_PLAYBACK, fe 3240 sound/soc/soc-pcm.c if (snd_soc_dai_stream_valid(fe->cpu_dai, SNDRV_PCM_STREAM_CAPTURE)) fe 3241 sound/soc/soc-pcm.c offset += dpcm_show_state(fe, SNDRV_PCM_STREAM_CAPTURE, fe 45 sound/soc/sof/intel/hda-dai.c fe_substream = snd_soc_dpcm_get_substream(dpcm->fe, dir); fe 3643 tools/perf/util/header.c struct perf_record_header_feature *fe = (struct perf_record_header_feature *)event; fe 3644 tools/perf/util/header.c int type = fe->header.type; fe 3645 tools/perf/util/header.c u64 feat = fe->feat_id; fe 3659 tools/perf/util/header.c ff.buf = (void *)fe->data; fe 3660 tools/perf/util/header.c ff.size = event->header.size - sizeof(*fe); fe 1827 tools/perf/util/synthetic-events.c struct perf_record_header_feature *fe; fe 1832 tools/perf/util/synthetic-events.c sz_hdr = sizeof(fe->header); fe 1852 tools/perf/util/synthetic-events.c ff.offset = sizeof(*fe); fe 1855 tools/perf/util/synthetic-events.c if (ret || ff.offset <= (ssize_t)sizeof(*fe)) { fe 1860 tools/perf/util/synthetic-events.c fe = ff.buf; fe 1861 tools/perf/util/synthetic-events.c memset(fe, 0, sizeof(*fe)); fe 1863 tools/perf/util/synthetic-events.c fe->feat_id = feat; fe 1864 tools/perf/util/synthetic-events.c fe->header.type = PERF_RECORD_HEADER_FEATURE; fe 1865 tools/perf/util/synthetic-events.c fe->header.size = ff.offset; fe 1875 tools/perf/util/synthetic-events.c fe = ff.buf; fe 1876 tools/perf/util/synthetic-events.c fe->feat_id = HEADER_LAST_FEATURE; fe 1877 tools/perf/util/synthetic-events.c fe->header.type = PERF_RECORD_HEADER_FEATURE; fe 1878 tools/perf/util/synthetic-events.c fe->header.size = sizeof(*fe);