Frontend drivers
Frontend attach headers #
struct a8293_platform_data #
Platform data for the a8293 driver
Definition
;
Members
dvb_frontend: DVB frontend.volt_slew_nanos_per_mv: Slew rate when increasing LNB voltage, in nanoseconds per millivolt.
struct af9013_platform_data #
Platform data for the af9013 driver
Definition
;
Members
clk: Clock frequency.tuner: Used tuner model.if_frequency: IF frequency.ts_mode: TS mode.ts_output_pin: TS output pin.spec_inv: Input spectrum inverted.api_version: Firmware API version.gpio: GPIOs.get_dvb_frontend: Get DVB frontend callback.get_i2c_adapter: Get I2C adapter.pid_filter_ctrl: Control PID filter.pid_filter: Set PID to PID filter.
struct ascot2e_config #
the configuration of Ascot2E tuner driver
Definition
;
Members
i2c_address: I2C address of the tunerxtal_freq_mhz: Oscillator frequency, MHzset_tuner_priv: Callback function private contextset_tuner_callback: Callback function that notifies the parent driver which tuner is active now
ascot2e_attach() #
struct dvb_frontend * Attach an ascot2e tuner
Parameters
struct dvb_frontend *fe: frontend to be attachedconst struct ascot2e_config *config: pointer tostruct ascot2e_configwith tuner configuration.struct i2c_adapter *i2c: i2c adapter to use.
Return
FE pointer on success, NULL on failure.
struct cxd2820r_platform_data #
Platform data for the cxd2820r driver
Definition
;
Members
ts_mode: TS mode.ts_clk_inv: TS clock inverted.if_agc_polarity: IF AGC polarity.spec_inv: Input spectrum inverted.gpio_chip_base: GPIO.get_dvb_frontend: Get DVB frontend.
struct cxd2820r_config #
configuration for cxd2020r demod
Definition
;
Members
i2c_address: Demodulator I2C address. Driver determines DVB-C slave I2C address automatically from master address. Default: none, must set. Values: 0x6c, 0x6d.ts_mode: TS output mode. Default: none, must set. Values: FIXME?ts_clock_inv: TS clock inverted. Default: 0. Values: 0, 1.if_agc_polarity: Default: 0. Values: 0, 1spec_inv: Spectrum inversion. Default: 0. Values: 0, 1.
cxd2820r_attach() #
struct dvb_frontend * Attach a cxd2820r demod
Parameters
const struct cxd2820r_config *config: pointer tostruct cxd2820r_configwith demod configuration.struct i2c_adapter *i2c: i2c adapter to use.int *gpio_chip_base: if zero, disables GPIO setting. Otherwise, if CONFIG_GPIOLIB is set dynamically allocate gpio base; if is not set, use its value to setup the GPIO pins.
Return
FE pointer on success, NULL on failure.
struct drxk_config #
Configure the initial parameters for DRX-K
Definition
;
Members
adr: I2C address of the DRX-Ksingle_master: Device is on the single master modeno_i2c_bridge: Don't switch the I2C bridge to talk with tunerparallel_ts: True means that the device uses parallel TS, Serial otherwise.dynamic_clk: True means that the clock will be dynamically adjusted. Static clock otherwise.enable_merr_cfg: Enable SIO_PDR_PERR_CFG/SIO_PDR_MVAL_CFG.antenna_dvbt: GPIO bit for changing antenna to DVB-C. A value of 1 means that 1=DVBC, 0 = DVBT. Zero means the opposite.antenna_gpio: GPIO bit used to control the antennampeg_out_clk_strength: DRXK Mpeg output clock drive strength.chunk_size: maximum size for I2C messagesmicrocode_name: Name of the firmware file with the microcodeqam_demod_parameter_count: The number of parameters used for the command to set the demodulator parameters. All firmwares are using the 2-parameter command. An exception is thedrxk_a3.mcfirmware, which uses the 4-parameter command. A value of 0 (default) or lower indicates that the correct number of parameters will be automatically detected.
Description
On the *_gpio vars, bit 0 is UIO-1, bit 1 is UIO-2 and bit 2 is
UIO-3.
drxk_attach() #
struct dvb_frontend * Attach a drxk demod
Parameters
const struct drxk_config *config: pointer tostruct drxk_configwith demod configuration.struct i2c_adapter *i2c: i2c adapter to use.
Return
FE pointer on success, NULL on failure.
dvb_pll_attach() #
struct dvb_frontend * Attach a dvb-pll to the supplied frontend structure.
Parameters
struct dvb_frontend *fe: Frontend to attach to.int pll_addr: i2c address of the PLL (if used).struct i2c_adapter *i2c: i2c adapter to use (set to NULL if not used).unsigned int pll_desc_id: dvb_pll_desc to use.
Return
Frontend pointer on success, NULL on failure
struct helene_config #
the configuration of 'Helene' tuner driver
Definition
;
Members
i2c_address: I2C address of the tunerxtal_freq_mhz: Oscillator frequency, MHzset_tuner_priv: Callback function private contextset_tuner_callback: Callback function that notifies the parent driver which tuner is active nowxtal: Cristal frequency as described byenum helene_xtalfe: Frontend for which connects this tuner
helene_attach() #
struct dvb_frontend * Attach a helene tuner (terrestrial and cable standards)
Parameters
struct dvb_frontend *fe: frontend to be attachedconst struct helene_config *config: pointer tostruct helene_configwith tuner configuration.struct i2c_adapter *i2c: i2c adapter to use.
Return
FE pointer on success, NULL on failure.
helene_attach_s() #
struct dvb_frontend * Attach a helene tuner (satellite standards)
Parameters
struct dvb_frontend *fe: frontend to be attachedconst struct helene_config *config: pointer tostruct helene_configwith tuner configuration.struct i2c_adapter *i2c: i2c adapter to use.
Return
FE pointer on success, NULL on failure.
struct horus3a_config #
the configuration of Horus3A tuner driver
Definition
;
Members
i2c_address: I2C address of the tunerxtal_freq_mhz: Oscillator frequency, MHzset_tuner_priv: Callback function private contextset_tuner_callback: Callback function that notifies the parent driver which tuner is active now
horus3a_attach() #
struct dvb_frontend * Attach a horus3a tuner
Parameters
struct dvb_frontend *fe: frontend to be attachedconst struct horus3a_config *config: pointer tostruct helene_configwith tuner configuration.struct i2c_adapter *i2c: i2c adapter to use.
Return
FE pointer on success, NULL on failure.
struct ix2505v_config #
ix2505 attachment configuration
Definition
;
Members
tuner_address: tuner addresstuner_gain: Baseband AMP gain control 0/1=0dB(default) 2=-2bB 3=-4dBtuner_chargepump: Charge pump output +/- 0=120 1=260 2=555 3=1200(default)min_delay_ms: delay after tunetuner_write_only: disables reads
ix2505v_attach() #
struct dvb_frontend * Attach a ix2505v tuner to the supplied frontend structure.
Parameters
struct dvb_frontend *fe: Frontend to attach to.const struct ix2505v_config *config: pointer tostruct ix2505v_configstruct i2c_adapter *i2c: pointer tostruct i2c_adapter.
Return
FE pointer on success, NULL on failure.
enum m88ds3103_ts_mode #
TS connection mode
Constants
M88DS3103_TS_SERIAL: TS output pin D0, normalM88DS3103_TS_SERIAL_D7: TS output pin D7M88DS3103_TS_PARALLEL: TS Parallel modeM88DS3103_TS_CI: TS CI Mode
enum m88ds3103_clock_out #
Constants
M88DS3103_CLOCK_OUT_DISABLED: Clock output is disabledM88DS3103_CLOCK_OUT_ENABLED: Clock output is enabled with crystal clock.M88DS3103_CLOCK_OUT_ENABLED_DIV2: Clock output is enabled with half crystal clock.
struct m88ds3103_platform_data #
Platform data for the m88ds3103 driver
Definition
;
Members
clk: Clock frequency.i2c_wr_max: Max bytes I2C adapter can write at once.ts_mode: TS mode.ts_clk: TS clock (KHz).clk_out: Clock output.ts_clk_pol: TS clk polarity. 1-active at falling edge; 0-active at rising edge.spec_inv: Input spectrum inversion.agc: AGC configuration.agc_inv: AGC polarity.envelope_mode: DiSEqC envelope mode.lnb_hv_pol: LNB H/V pin polarity. 0: pin high set to VOLTAGE_18, pin low to set VOLTAGE_13. 1: pin high set to VOLTAGE_13, pin low to set VOLTAGE_18.lnb_en_pol: LNB enable pin polarity. 0: pin high to disable, pin low to enable. 1: pin high to enable, pin low to disable.get_dvb_frontend: Get DVB frontend.get_i2c_adapter: Get I2C adapter.
struct m88ds3103_config #
m88ds3102 configuration
Definition
;
Members
i2c_addr: I2C address. Default: none, must set. Example: 0x68, ...clock: Device's clock. Default: none, must set. Example: 27000000i2c_wr_max: Max bytes I2C provider is asked to write at once. Default: none, must set. Example: 33, 65, ...ts_mode: TS output mode, as defined byenum m88ds3103_ts_mode. Default: M88DS3103_TS_SERIAL.ts_clk: TS clk in KHz. Default: 0.ts_clk_pol: TS clk polarity.Default: 0. 1-active at falling edge; 0-active at rising edge.spec_inv: Spectrum inversion. Default: 0.agc_inv: AGC polarity. Default: 0.clock_out: Clock output, as defined byenum m88ds3103_clock_out. Default: M88DS3103_CLOCK_OUT_DISABLED.envelope_mode: DiSEqC envelope mode. Default: 0.agc: AGC configuration. Default: none, must set.lnb_hv_pol: LNB H/V pin polarity. Default: 0. Values: 1: pin high set to VOLTAGE_13, pin low to set VOLTAGE_18; 0: pin high set to VOLTAGE_18, pin low to set VOLTAGE_13.lnb_en_pol: LNB enable pin polarity. Default: 0. Values: 1: pin high to enable, pin low to disable; 0: pin high to disable, pin low to enable.
m88ds3103_attach() #
struct dvb_frontend * Attach a m88ds3103 demod
Parameters
const struct m88ds3103_config *config: pointer tostruct m88ds3103_configwith demod configuration.struct i2c_adapter *i2c: i2c adapter to use.struct i2c_adapter **tuner_i2c: on success, returns the I2C adapter associated with m88ds3103 tuner.
Return
FE pointer on success, NULL on failure.
Note
Do not add new m88ds3103_attach() users! Use I2C bindings instead.
struct mb86a20s_config #
Define the per-device attributes of the frontend
Definition
;
Members
fclk: Clock frequency. If zero, assumes the default (32.57142 Mhz)demod_address: the demodulator's i2c addressis_serial: if true, TS is serial. Otherwise, TS is parallel
mb86a20s_attach() #
struct dvb_frontend * Attach a mb86a20s demod
Parameters
const struct mb86a20s_config *config: pointer tostruct mb86a20s_configwith demod configuration.struct i2c_adapter *i2c: i2c adapter to use.
Return
FE pointer on success, NULL on failure.
struct mn88472_config #
Platform data for the mn88472 driver
Definition
;
Members
xtal: Clock frequency.ts_mode: TS mode.ts_clock: TS clock config.i2c_wr_max: Max number of bytes driver writes to I2C at once.fe: pointer to a frontend pointerget_dvb_frontend: Get DVB frontend callback.
struct rtl2830_platform_data #
Platform data for the rtl2830 driver
Definition
;
Members
clk: Clock frequency (4000000, 16000000, 25000000, 28800000).spec_inv: Spectrum inversion.vtop: AGC take-over point.krf: AGC ratio.agc_targ_val: AGC.get_dvb_frontend: Get DVB frontend.get_i2c_adapter: Get I2C adapter.pid_filter: Set PID to PID filter.pid_filter_ctrl: Control PID filter.
struct rtl2832_platform_data #
Platform data for the rtl2832 driver
Definition
;
Members
clk: Clock frequency (4000000, 16000000, 25000000, 28800000).tuner: Used tuner model.get_dvb_frontend: Get DVB frontend.get_i2c_adapter: Get I2C adapter.slave_ts_ctrl: Control slave TS interface.pid_filter: Set PID to PID filter.pid_filter_ctrl: Control PID filter.
struct rtl2832_sdr_platform_data #
Platform data for the rtl2832_sdr driver
Definition
;
Members
clk: Clock frequency (4000000, 16000000, 25000000, 28800000).tuner: Used tuner model.regmap: pointer tostruct regmap.dvb_frontend: rtl2832 DVB frontend.v4l2_subdev: Tuner v4l2 controls.dvb_usb_device: DVB USB interface for USB streaming.
stb6000_attach() #
struct dvb_frontend * Attach a stb6000 tuner to the supplied frontend structure.
Parameters
struct dvb_frontend *fe: Frontend to attach to.int addr: i2c address of the tuner.struct i2c_adapter *i2c: i2c adapter to use.
Return
FE pointer on success, NULL on failure.
struct tda10071_platform_data #
Platform data for the tda10071 driver
Definition
;
Members
clk: Clock frequency.i2c_wr_max: Max bytes I2C adapter can write at once.ts_mode: TS mode.spec_inv: Input spectrum inversion.pll_multiplier: PLL multiplier.tuner_i2c_addr: CX24118A tuner I2C address (0x14, 0x54, ...).get_dvb_frontend: Get DVB frontend.
tda826x_attach() #
struct dvb_frontend* Attach a tda826x tuner to the supplied frontend structure.
Parameters
struct dvb_frontend *fe: Frontend to attach to.int addr: i2c address of the tuner.struct i2c_adapter *i2c: i2c adapter to use.int has_loopthrough: Set to 1 if the card has a loopthrough RF connector.
Return
FE pointer on success, NULL on failure.
struct zd1301_demod_platform_data #
Platform data for the zd1301_demod driver
Definition
;
Members
reg_priv: First argument of reg_read and reg_write callbacks.reg_read: Register read callback.reg_write: Register write callback.
zd1301_demod_get_dvb_frontend() #
struct dvb_frontend * Get pointer to DVB frontend
Parameters
struct platform_device *pdev: Pointer to platform device
Return
Pointer to DVB frontend which given platform device owns.
zd1301_demod_get_i2c_adapter() #
struct i2c_adapter * Get pointer to I2C adapter
Parameters
struct platform_device *pdev: Pointer to platform device
Return
Pointer to I2C adapter which given platform device owns.
zl10036_attach() #
struct dvb_frontend * Attach a zl10036 tuner to the supplied frontend structure.
Parameters
struct dvb_frontend *fe: Frontend to attach to.const struct zl10036_config *config: zl10036_config structure.struct i2c_adapter *i2c: pointer to struct i2c_adapter.
Return
FE pointer on success, NULL on failure.