| /linux/drivers/media/dvb-core/ |
| H A D | dvb_frontend.c | 131 static void dvb_frontend_invoke_release(struct dvb_frontend *fe, 132 void (*release)(struct dvb_frontend *fe)); 134 static void __dvb_frontend_free(struct dvb_frontend *fe) in __dvb_frontend_free() argument 136 struct dvb_frontend_private *fepriv = fe->frontend_priv; in __dvb_frontend_free() 141 dvb_frontend_invoke_release(fe, fe->ops.release); in __dvb_frontend_free() 148 struct dvb_frontend *fe = in dvb_frontend_free() local 151 __dvb_frontend_free(fe); in dvb_frontend_free() 154 static void dvb_frontend_put(struct dvb_frontend *fe) in dvb_frontend_put() argument 157 if (fe->ops.detach) in dvb_frontend_put() 158 fe->ops.detach(fe); in dvb_frontend_put() [all …]
|
| /linux/include/media/ |
| H A D | dvb_frontend.h | 230 void (*release)(struct dvb_frontend *fe); 231 int (*init)(struct dvb_frontend *fe); 232 int (*sleep)(struct dvb_frontend *fe); 233 int (*suspend)(struct dvb_frontend *fe); 234 int (*resume)(struct dvb_frontend *fe); 237 int (*set_params)(struct dvb_frontend *fe); 238 int (*set_analog_params)(struct dvb_frontend *fe, struct analog_parameters *p); 240 int (*set_config)(struct dvb_frontend *fe, void *priv_cfg); 242 int (*get_frequency)(struct dvb_frontend *fe, u32 *frequency); 243 int (*get_bandwidth)(struct dvb_frontend *fe, u32 *bandwidth); [all …]
|
| /linux/drivers/media/common/b2c2/ |
| H A D | flexcop-fe-tuner.c | 28 #define FE_SUPPORTED(fe) IS_REACHABLE(CONFIG_DVB_ ## fe) argument 31 static int flexcop_fe_request_firmware(struct dvb_frontend *fe, in flexcop_fe_request_firmware() argument 34 struct flexcop_device *fc = fe->dvb->priv; in flexcop_fe_request_firmware() 42 static int flexcop_set_voltage(struct dvb_frontend *fe, in flexcop_set_voltage() argument 45 struct flexcop_device *fc = fe->dvb->priv; in flexcop_set_voltage() 71 static int __maybe_unused flexcop_sleep(struct dvb_frontend* fe) in flexcop_sleep() argument 73 struct flexcop_device *fc = fe->dvb->priv; in flexcop_sleep() 75 return fc->fe_sleep(fe); in flexcop_sleep() 82 static int flexcop_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) in flexcop_set_tone() argument 85 struct flexcop_device *fc = fe->dvb->priv; in flexcop_set_tone() [all …]
|
| /linux/drivers/media/tuners/ |
| H A D | tda8290.c | 50 static int tda8290_i2c_bridge(struct dvb_frontend *fe, int close) in tda8290_i2c_bridge() argument 52 struct tda8290_priv *priv = fe->analog_demod_priv; in tda8290_i2c_bridge() 71 static int tda8295_i2c_bridge(struct dvb_frontend *fe, int close) in tda8295_i2c_bridge() argument 73 struct tda8290_priv *priv = fe->analog_demod_priv; in tda8295_i2c_bridge() 103 static void set_audio(struct dvb_frontend *fe, in set_audio() argument 106 struct tda8290_priv *priv = fe->analog_demod_priv; in set_audio() 164 static void tda8290_set_params(struct dvb_frontend *fe, in tda8290_set_params() argument 167 struct tda8290_priv *priv = fe->analog_demod_priv; in tda8290_set_params() 191 set_audio(fe, params); in tda8290_set_params() 225 if (fe->ops.analog_ops.i2c_gate_ctrl) in tda8290_set_params() [all …]
|
| H A D | tda18271-common.c | 11 static int tda18271_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) in tda18271_i2c_gate_ctrl() argument 13 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_i2c_gate_ctrl() 37 if (fe->ops.analog_ops.i2c_gate_ctrl) in tda18271_i2c_gate_ctrl() 38 ret = fe->ops.analog_ops.i2c_gate_ctrl(fe, enable); in tda18271_i2c_gate_ctrl() 41 if (fe->ops.i2c_gate_ctrl) in tda18271_i2c_gate_ctrl() 42 ret = fe->ops.i2c_gate_ctrl(fe, enable); in tda18271_i2c_gate_ctrl() 54 static void tda18271_dump_regs(struct dvb_frontend *fe, int extended) in tda18271_dump_regs() argument 56 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_dump_regs() 109 int tda18271_read_regs(struct dvb_frontend *fe) in tda18271_read_regs() argument 111 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_read_regs() [all …]
|
| H A D | fc0012.c | 45 static void fc0012_release(struct dvb_frontend *fe) in fc0012_release() argument 47 kfree(fe->tuner_priv); in fc0012_release() 48 fe->tuner_priv = NULL; in fc0012_release() 51 static int fc0012_init(struct dvb_frontend *fe) in fc0012_init() argument 53 struct fc0012_priv *priv = fe->tuner_priv; in fc0012_init() 99 if (fe->ops.i2c_gate_ctrl) in fc0012_init() 100 fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ in fc0012_init() 108 if (fe->ops.i2c_gate_ctrl) in fc0012_init() 109 fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ in fc0012_init() 118 static int fc0012_set_params(struct dvb_frontend *fe) in fc0012_set_params() argument [all …]
|
| H A D | mc44s803.c | 69 static void mc44s803_release(struct dvb_frontend *fe) in mc44s803_release() argument 71 struct mc44s803_priv *priv = fe->tuner_priv; in mc44s803_release() 73 fe->tuner_priv = NULL; in mc44s803_release() 77 static int mc44s803_init(struct dvb_frontend *fe) in mc44s803_init() argument 79 struct mc44s803_priv *priv = fe->tuner_priv; in mc44s803_init() 83 if (fe->ops.i2c_gate_ctrl) in mc44s803_init() 84 fe->ops.i2c_gate_ctrl(fe, 1); in mc44s803_init() 189 if (fe->ops.i2c_gate_ctrl) in mc44s803_init() 190 fe->ops.i2c_gate_ctrl(fe, 0); in mc44s803_init() 194 if (fe->ops.i2c_gate_ctrl) in mc44s803_init() [all …]
|
| H A D | tda827x.c | 37 static void tda827x_set_std(struct dvb_frontend *fe, in tda827x_set_std() argument 40 struct tda827x_priv *priv = fe->tuner_priv; in tda827x_set_std() 123 static int tuner_transfer(struct dvb_frontend *fe, in tuner_transfer() argument 128 struct tda827x_priv *priv = fe->tuner_priv; in tuner_transfer() 130 if (fe->ops.i2c_gate_ctrl) in tuner_transfer() 131 fe->ops.i2c_gate_ctrl(fe, 1); in tuner_transfer() 133 if (fe->ops.i2c_gate_ctrl) in tuner_transfer() 134 fe->ops.i2c_gate_ctrl(fe, 0); in tuner_transfer() 142 static int tda827xo_set_params(struct dvb_frontend *fe) in tda827xo_set_params() argument 144 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in tda827xo_set_params() [all …]
|
| H A D | tda18218.c | 111 static int tda18218_set_params(struct dvb_frontend *fe) in tda18218_set_params() argument 113 struct tda18218_priv *priv = fe->tuner_priv; in tda18218_set_params() 114 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in tda18218_set_params() 137 if (fe->ops.i2c_gate_ctrl) in tda18218_set_params() 138 fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ in tda18218_set_params() 197 if (fe->ops.i2c_gate_ctrl) in tda18218_set_params() 198 fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ in tda18218_set_params() 206 static int tda18218_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) in tda18218_get_if_frequency() argument 208 struct tda18218_priv *priv = fe->tuner_priv; in tda18218_get_if_frequency() 214 static int tda18218_sleep(struct dvb_frontend *fe) in tda18218_sleep() argument [all …]
|
| H A D | mxl5007t.c | 563 static int mxl5007t_get_status(struct dvb_frontend *fe, u32 *status) in mxl5007t_get_status() argument 565 struct mxl5007t_state *state = fe->tuner_priv; in mxl5007t_get_status() 570 if (fe->ops.i2c_gate_ctrl) in mxl5007t_get_status() 571 fe->ops.i2c_gate_ctrl(fe, 1); in mxl5007t_get_status() 582 if (fe->ops.i2c_gate_ctrl) in mxl5007t_get_status() 583 fe->ops.i2c_gate_ctrl(fe, 0); in mxl5007t_get_status() 590 static int mxl5007t_set_params(struct dvb_frontend *fe) in mxl5007t_set_params() argument 592 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in mxl5007t_set_params() 594 struct mxl5007t_state *state = fe->tuner_priv; in mxl5007t_set_params() 631 if (fe->ops.i2c_gate_ctrl) in mxl5007t_set_params() [all …]
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | s5h1409.c | 337 static int s5h1409_softreset(struct dvb_frontend *fe) in s5h1409_softreset() argument 339 struct s5h1409_state *state = fe->demodulator_priv; in s5h1409_softreset() 353 static int s5h1409_set_if_freq(struct dvb_frontend *fe, int KHz) in s5h1409_set_if_freq() argument 355 struct s5h1409_state *state = fe->demodulator_priv; in s5h1409_set_if_freq() 378 static int s5h1409_set_spectralinversion(struct dvb_frontend *fe, int inverted) in s5h1409_set_spectralinversion() argument 380 struct s5h1409_state *state = fe->demodulator_priv; in s5h1409_set_spectralinversion() 390 static int s5h1409_enable_modulation(struct dvb_frontend *fe, in s5h1409_enable_modulation() argument 393 struct s5h1409_state *state = fe->demodulator_priv; in s5h1409_enable_modulation() 401 s5h1409_set_if_freq(fe, S5H1409_VSB_IF_FREQ); in s5h1409_enable_modulation() 409 s5h1409_set_if_freq(fe, S5H1409_QAM_IF_FREQ); in s5h1409_enable_modulation() [all …]
|
| H A D | s5h1411.c | 365 static int s5h1411_softreset(struct dvb_frontend *fe) in s5h1411_softreset() argument 367 struct s5h1411_state *state = fe->demodulator_priv; in s5h1411_softreset() 376 static int s5h1411_set_if_freq(struct dvb_frontend *fe, int KHz) in s5h1411_set_if_freq() argument 378 struct s5h1411_state *state = fe->demodulator_priv; in s5h1411_set_if_freq() 415 static int s5h1411_set_mpeg_timing(struct dvb_frontend *fe, int mode) in s5h1411_set_mpeg_timing() argument 417 struct s5h1411_state *state = fe->demodulator_priv; in s5h1411_set_mpeg_timing() 445 static int s5h1411_set_spectralinversion(struct dvb_frontend *fe, int inversion) in s5h1411_set_spectralinversion() argument 447 struct s5h1411_state *state = fe->demodulator_priv; in s5h1411_set_spectralinversion() 460 static int s5h1411_set_serialmode(struct dvb_frontend *fe, int serial) in s5h1411_set_serialmode() argument 462 struct s5h1411_state *state = fe->demodulator_priv; in s5h1411_set_serialmode() [all …]
|
| H A D | stb6000.c | 31 static void stb6000_release(struct dvb_frontend *fe) in stb6000_release() argument 33 kfree(fe->tuner_priv); in stb6000_release() 34 fe->tuner_priv = NULL; in stb6000_release() 37 static int stb6000_sleep(struct dvb_frontend *fe) in stb6000_sleep() argument 39 struct stb6000_priv *priv = fe->tuner_priv; in stb6000_sleep() 51 if (fe->ops.i2c_gate_ctrl) in stb6000_sleep() 52 fe->ops.i2c_gate_ctrl(fe, 1); in stb6000_sleep() 58 if (fe->ops.i2c_gate_ctrl) in stb6000_sleep() 59 fe->ops.i2c_gate_ctrl(fe, 0); in stb6000_sleep() 64 static int stb6000_set_params(struct dvb_frontend *fe) in stb6000_set_params() argument [all …]
|
| H A D | tua6100.c | 33 static void tua6100_release(struct dvb_frontend *fe) in tua6100_release() argument 35 kfree(fe->tuner_priv); in tua6100_release() 36 fe->tuner_priv = NULL; in tua6100_release() 39 static int tua6100_sleep(struct dvb_frontend *fe) in tua6100_sleep() argument 41 struct tua6100_priv *priv = fe->tuner_priv; in tua6100_sleep() 46 if (fe->ops.i2c_gate_ctrl) in tua6100_sleep() 47 fe->ops.i2c_gate_ctrl(fe, 1); in tua6100_sleep() 51 if (fe->ops.i2c_gate_ctrl) in tua6100_sleep() 52 fe->ops.i2c_gate_ctrl(fe, 0); in tua6100_sleep() 57 static int tua6100_set_params(struct dvb_frontend *fe) in tua6100_set_params() argument [all …]
|
| H A D | zl10353.c | 39 static int zl10353_single_write(struct dvb_frontend *fe, u8 reg, u8 val) in zl10353_single_write() argument 41 struct zl10353_state *state = fe->demodulator_priv; in zl10353_single_write() 53 static int zl10353_write(struct dvb_frontend *fe, const u8 ibuf[], int ilen) in zl10353_write() argument 57 if ((err = zl10353_single_write(fe, ibuf[0] + i, ibuf[i + 1]))) in zl10353_write() 86 static void zl10353_dump_regs(struct dvb_frontend *fe) in zl10353_dump_regs() argument 88 struct zl10353_state *state = fe->demodulator_priv; in zl10353_dump_regs() 110 static void zl10353_calc_nominal_rate(struct dvb_frontend *fe, in zl10353_calc_nominal_rate() argument 114 struct zl10353_state *state = fe->demodulator_priv; in zl10353_calc_nominal_rate() 130 static void zl10353_calc_input_freq(struct dvb_frontend *fe, in zl10353_calc_input_freq() argument 133 struct zl10353_state *state = fe->demodulator_priv; in zl10353_calc_input_freq() [all …]
|
| H A D | zl10039.c | 132 static int zl10039_init(struct dvb_frontend *fe) in zl10039_init() argument 134 struct zl10039_state *state = fe->tuner_priv; in zl10039_init() 138 if (fe->ops.i2c_gate_ctrl) in zl10039_init() 139 fe->ops.i2c_gate_ctrl(fe, 1); in zl10039_init() 151 if (fe->ops.i2c_gate_ctrl) in zl10039_init() 152 fe->ops.i2c_gate_ctrl(fe, 0); in zl10039_init() 157 static int zl10039_sleep(struct dvb_frontend *fe) in zl10039_sleep() argument 159 struct zl10039_state *state = fe->tuner_priv; in zl10039_sleep() 163 if (fe->ops.i2c_gate_ctrl) in zl10039_sleep() 164 fe->ops.i2c_gate_ctrl(fe, 1); in zl10039_sleep() [all …]
|
| H A D | stv6110.c | 48 static void stv6110_release(struct dvb_frontend *fe) in stv6110_release() argument 50 kfree(fe->tuner_priv); in stv6110_release() 51 fe->tuner_priv = NULL; in stv6110_release() 54 static int stv6110_write_regs(struct dvb_frontend *fe, u8 buf[], in stv6110_write_regs() argument 57 struct stv6110_priv *priv = fe->tuner_priv; in stv6110_write_regs() 82 if (fe->ops.i2c_gate_ctrl) in stv6110_write_regs() 83 fe->ops.i2c_gate_ctrl(fe, 1); in stv6110_write_regs() 89 if (fe->ops.i2c_gate_ctrl) in stv6110_write_regs() 90 fe->ops.i2c_gate_ctrl(fe, 0); in stv6110_write_regs() 95 static int stv6110_read_regs(struct dvb_frontend *fe, u8 regs[], in stv6110_read_regs() argument [all …]
|
| H A D | dvb-pll.c | 56 void (*set)(struct dvb_frontend *fe, u8 *buf); 87 static void thomson_dtt759x_bw(struct dvb_frontend *fe, u8 *buf) in thomson_dtt759x_bw() argument 89 u32 bw = fe->dtv_property_cache.bandwidth_hz; in thomson_dtt759x_bw() 111 static void thomson_dtt7520x_bw(struct dvb_frontend *fe, u8 *buf) in thomson_dtt7520x_bw() argument 113 u32 bw = fe->dtv_property_cache.bandwidth_hz; in thomson_dtt7520x_bw() 205 static void tda665x_bw(struct dvb_frontend *fe, u8 *buf) in tda665x_bw() argument 207 u32 bw = fe->dtv_property_cache.bandwidth_hz; in tda665x_bw() 239 static void tua6034_bw(struct dvb_frontend *fe, u8 *buf) in tua6034_bw() argument 241 u32 bw = fe->dtv_property_cache.bandwidth_hz; in tua6034_bw() 263 static void tded4_bw(struct dvb_frontend *fe, u8 *buf) in tded4_bw() argument [all …]
|
| H A D | tda826x.c | 31 static void tda826x_release(struct dvb_frontend *fe) in tda826x_release() argument 33 kfree(fe->tuner_priv); in tda826x_release() 34 fe->tuner_priv = NULL; in tda826x_release() 37 static int tda826x_sleep(struct dvb_frontend *fe) in tda826x_sleep() argument 39 struct tda826x_priv *priv = fe->tuner_priv; in tda826x_sleep() 49 if (fe->ops.i2c_gate_ctrl) in tda826x_sleep() 50 fe->ops.i2c_gate_ctrl(fe, 1); in tda826x_sleep() 54 if (fe->ops.i2c_gate_ctrl) in tda826x_sleep() 55 fe->ops.i2c_gate_ctrl(fe, 0); in tda826x_sleep() 60 static int tda826x_set_params(struct dvb_frontend *fe) in tda826x_set_params() argument [all …]
|
| H A D | dib0090.h | 76 extern struct dvb_frontend *dib0090_register(struct dvb_frontend *fe, struct i2c_adapter *i2c, cons… 77 extern struct dvb_frontend *dib0090_fw_register(struct dvb_frontend *fe, struct i2c_adapter *i2c, c… 78 extern void dib0090_dcc_freq(struct dvb_frontend *fe, u8 fast); 79 extern void dib0090_pwm_gain_reset(struct dvb_frontend *fe); 81 extern u16 dib0090_get_wbd_offset(struct dvb_frontend *fe); 82 extern int dib0090_gain_control(struct dvb_frontend *fe); 83 extern enum frontend_tune_state dib0090_get_tune_state(struct dvb_frontend *fe); 84 extern int dib0090_set_tune_state(struct dvb_frontend *fe, enum frontend_tune_state tune_state); 85 extern void dib0090_get_current_gain(struct dvb_frontend *fe, u16 * rf, u16 * bb, u16 * rf_gain_lim… 86 extern void dib0090_set_dc_servo(struct dvb_frontend *fe, u8 DC_servo_cutoff); [all …]
|
| H A D | stb6100_proc.h | 11 static int stb6100_get_freq(struct dvb_frontend *fe, u32 *frequency) in stb6100_get_freq() argument 13 struct dvb_frontend_ops *frontend_ops = &fe->ops; in stb6100_get_freq() 19 frontend_ops->i2c_gate_ctrl(fe, 1); in stb6100_get_freq() 21 err = tuner_ops->get_frequency(fe, frequency); in stb6100_get_freq() 28 frontend_ops->i2c_gate_ctrl(fe, 0); in stb6100_get_freq() 34 static int stb6100_set_freq(struct dvb_frontend *fe, u32 frequency) in stb6100_set_freq() argument 36 struct dvb_frontend_ops *frontend_ops = &fe->ops; in stb6100_set_freq() 38 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in stb6100_set_freq() 47 frontend_ops->i2c_gate_ctrl(fe, 1); in stb6100_set_freq() 49 err = tuner_ops->set_params(fe); in stb6100_set_freq() [all …]
|
| /linux/sound/soc/ |
| H A D | soc-pcm.c | 39 static int snd_soc_dpcm_can_fe_update(struct snd_soc_pcm_runtime *fe, int stream) 41 if (fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_FE) 48 static int snd_soc_dpcm_can_be_update(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_can_be_update() argument 51 if ((fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_FE) || in snd_soc_dpcm_can_be_update() 52 ((fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_BE) && in snd_soc_dpcm_can_be_update() 58 static int snd_soc_dpcm_check_state(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_check_state() argument 71 if (dpcm->fe == fe) in snd_soc_dpcm_check_state() 74 state = dpcm->fe->dpcm[stream].state; in snd_soc_dpcm_check_state() 91 static int snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_can_be_free_stop() argument 107 snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime * fe,struct snd_soc_pcm_runtime * be,int stream) snd_soc_dpcm_can_be_params() argument 124 snd_soc_dpcm_can_be_prepared(struct snd_soc_pcm_runtime * fe,struct snd_soc_pcm_runtime * be,int stream) snd_soc_dpcm_can_be_prepared() argument 176 dpcm_show_state(struct snd_soc_pcm_runtime * fe,int stream,char * buf,size_t size) dpcm_show_state() argument 236 struct snd_soc_pcm_runtime *fe = file->private_data; dpcm_state_read_file() local 321 dpcm_set_fe_update_state(struct snd_soc_pcm_runtime * fe,int stream,enum snd_soc_dpcm_update state) dpcm_set_fe_update_state() argument 403 dpcm_dapm_stream_event(struct snd_soc_pcm_runtime * fe,int dir,int event) dpcm_dapm_stream_event() argument 1287 dpcm_be_connect(struct snd_soc_pcm_runtime * fe,struct snd_soc_pcm_runtime * be,int stream) dpcm_be_connect() argument 1336 dpcm_be_reparent(struct snd_soc_pcm_runtime * fe,struct snd_soc_pcm_runtime * be,int stream) dpcm_be_reparent() argument 1366 dpcm_be_disconnect(struct snd_soc_pcm_runtime * fe,int stream) dpcm_be_disconnect() argument 1472 dpcm_path_get(struct snd_soc_pcm_runtime * fe,int stream,struct snd_soc_dapm_widget_list ** list) dpcm_path_get() argument 1523 dpcm_prune_paths(struct snd_soc_pcm_runtime * fe,int stream,struct snd_soc_dapm_widget_list ** list_) dpcm_prune_paths() argument 1546 dpcm_add_paths(struct snd_soc_pcm_runtime * fe,int stream,struct snd_soc_dapm_widget_list ** list_) dpcm_add_paths() argument 1615 dpcm_clear_pending_state(struct snd_soc_pcm_runtime * fe,int stream) dpcm_clear_pending_state() argument 1623 dpcm_be_dai_stop(struct snd_soc_pcm_runtime * fe,int stream,int do_hw_free,struct snd_soc_dpcm * last) dpcm_be_dai_stop() argument 1667 dpcm_be_dai_startup(struct snd_soc_pcm_runtime * fe,int stream) dpcm_be_dai_startup() argument 1736 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(substream); dpcm_runtime_setup_fe() local 1770 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(substream); dpcm_runtime_setup_be_format() local 1807 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(substream); dpcm_runtime_setup_be_chan() local 1855 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(substream); dpcm_runtime_setup_be_rate() local 1894 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream); dpcm_apply_symmetry() local 1940 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream); dpcm_fe_dai_startup() local 1977 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(substream); dpcm_fe_dai_shutdown() local 2000 dpcm_be_dai_hw_free(struct snd_soc_pcm_runtime * fe,int stream) dpcm_be_dai_hw_free() argument 2043 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(substream); dpcm_fe_dai_hw_free() local 2065 dpcm_be_dai_hw_params(struct snd_soc_pcm_runtime * fe,int stream) dpcm_be_dai_hw_params() argument 2146 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(substream); dpcm_fe_dai_hw_params() local 2176 dpcm_be_dai_trigger(struct snd_soc_pcm_runtime * fe,int stream,int cmd) dpcm_be_dai_trigger() argument 2349 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(substream); dpcm_dai_trigger_fe_be() local 2380 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(substream); dpcm_fe_dai_do_trigger() local 2444 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(substream); dpcm_fe_dai_trigger() local 2459 dpcm_be_dai_prepare(struct snd_soc_pcm_runtime * fe,int stream) dpcm_be_dai_prepare() argument 2504 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(substream); dpcm_fe_dai_prepare() local 2537 dpcm_run_update_shutdown(struct snd_soc_pcm_runtime * fe,int stream) dpcm_run_update_shutdown() argument 2556 dpcm_run_update_startup(struct snd_soc_pcm_runtime * fe,int stream) dpcm_run_update_startup() argument 2629 soc_dpcm_fe_runtime_update(struct snd_soc_pcm_runtime * fe,int new) soc_dpcm_fe_runtime_update() argument 2698 struct snd_soc_pcm_runtime *fe; snd_soc_dpcm_runtime_update() local 2725 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream); dpcm_fe_dai_cleanup() local 2740 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream); dpcm_fe_dai_close() local 2754 struct snd_soc_pcm_runtime *fe = snd_soc_substream_to_rtd(fe_substream); dpcm_fe_dai_open() local [all...] |
| /linux/drivers/media/test-drivers/vidtv/ |
| H A D | vidtv_tuner.c | 113 struct dvb_frontend *fe; member 119 vidtv_tuner_get_dev(struct dvb_frontend *fe) in vidtv_tuner_get_dev() argument 121 return i2c_get_clientdata(fe->tuner_priv); in vidtv_tuner_get_dev() 124 static int vidtv_tuner_check_frequency_shift(struct dvb_frontend *fe) in vidtv_tuner_check_frequency_shift() argument 126 struct vidtv_tuner_dev *tuner_dev = vidtv_tuner_get_dev(fe); in vidtv_tuner_check_frequency_shift() 127 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in vidtv_tuner_check_frequency_shift() 151 dev_warn(fe->dvb->device, in vidtv_tuner_check_frequency_shift() 180 vidtv_tuner_get_signal_strength(struct dvb_frontend *fe, u16 *strength) in vidtv_tuner_get_signal_strength() argument 182 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in vidtv_tuner_get_signal_strength() 183 struct vidtv_tuner_dev *tuner_dev = vidtv_tuner_get_dev(fe); in vidtv_tuner_get_signal_strength() [all …]
|
| /linux/drivers/media/pci/bt8xx/ |
| H A D | dvb-bt8xx.c | 122 static int thomson_dtt7579_demod_init(struct dvb_frontend* fe) in thomson_dtt7579_demod_init() argument 131 mt352_write(fe, mt352_clock_config, sizeof(mt352_clock_config)); in thomson_dtt7579_demod_init() 133 mt352_write(fe, mt352_reset, sizeof(mt352_reset)); in thomson_dtt7579_demod_init() 134 mt352_write(fe, mt352_adc_ctl_1_cfg, sizeof(mt352_adc_ctl_1_cfg)); in thomson_dtt7579_demod_init() 136 mt352_write(fe, mt352_agc_cfg, sizeof(mt352_agc_cfg)); in thomson_dtt7579_demod_init() 137 mt352_write(fe, mt352_gpp_ctl_cfg, sizeof(mt352_gpp_ctl_cfg)); in thomson_dtt7579_demod_init() 138 mt352_write(fe, mt352_capt_range_cfg, sizeof(mt352_capt_range_cfg)); in thomson_dtt7579_demod_init() 143 static int thomson_dtt7579_tuner_calc_regs(struct dvb_frontend *fe, u8* pllbuf, int buf_len) in thomson_dtt7579_tuner_calc_regs() argument 145 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in thomson_dtt7579_tuner_calc_regs() 187 static int cx24108_tuner_set_params(struct dvb_frontend *fe) in cx24108_tuner_set_params() argument [all …]
|
| /linux/drivers/media/common/videobuf2/ |
| H A D | videobuf2-dvb.c | 73 static int vb2_dvb_register_adapter(struct vb2_dvb_frontends *fe, in vb2_dvb_register_adapter() argument 84 mutex_init(&fe->lock); in vb2_dvb_register_adapter() 87 result = dvb_register_adapter(&fe->adapter, adapter_name, module, in vb2_dvb_register_adapter() 93 fe->adapter.priv = adapter_priv; in vb2_dvb_register_adapter() 94 fe->adapter.mfe_shared = mfe_shared; in vb2_dvb_register_adapter() 97 fe->adapter.mdev = mdev; in vb2_dvb_register_adapter() 202 struct vb2_dvb_frontend *fe; in vb2_dvb_register_bus() local 205 fe = vb2_dvb_get_frontend(f, 1); in vb2_dvb_register_bus() 206 if (!fe) { in vb2_dvb_register_bus() 213 fe->dvb.name, adapter_nr, mfe_shared); in vb2_dvb_register_bus() [all …]
|