struct dvb_tuner_ops — Tuner information and callbacks
struct dvb_tuner_ops { struct dvb_tuner_info info; int (* release) (struct dvb_frontend *fe); int (* init) (struct dvb_frontend *fe); int (* sleep) (struct dvb_frontend *fe); int (* suspend) (struct dvb_frontend *fe); int (* resume) (struct dvb_frontend *fe); int (* set_params) (struct dvb_frontend *fe); int (* set_analog_params) (struct dvb_frontend *fe, struct analog_parameters *p); int (* set_config) (struct dvb_frontend *fe, void *priv_cfg); int (* get_frequency) (struct dvb_frontend *fe, u32 *frequency); int (* get_bandwidth) (struct dvb_frontend *fe, u32 *bandwidth); int (* get_if_frequency) (struct dvb_frontend *fe, u32 *frequency); #define TUNER_STATUS_LOCKED 1 #define TUNER_STATUS_STEREO 2 int (* get_status) (struct dvb_frontend *fe, u32 *status); int (* get_rf_strength) (struct dvb_frontend *fe, u16 *strength); int (* get_afc) (struct dvb_frontend *fe, s32 *afc); int (* calc_regs) (struct dvb_frontend *fe, u8 *buf, int buf_len); int (* set_frequency) (struct dvb_frontend *fe, u32 frequency); int (* set_bandwidth) (struct dvb_frontend *fe, u32 bandwidth); };
embedded struct dvb_tuner_info with tuner properties
callback function called when frontend is dettached. drivers should free any allocated memory.
callback function used to initialize the tuner device.
callback function used to put the tuner to sleep.
callback function used to inform that the Kernel will suspend.
callback function used to inform that the Kernel is resuming from suspend.
callback function used to inform the tuner to tune
into a digital TV channel. The properties to be used
are stored at dvb_frontend
.dtv_property_cache;. The
tuner demod can change the parameters to reflect the
changes needed for the channel to be tuned, and
update statistics. This is the recommended way to set
the tuner parameters and should be used on newer
drivers.
callback function used to tune into an analog TV
channel on hybrid tuners. It passes analog_parameters
;
to the driver.
callback function used to send some tuner-specific parameters.
get the actual tuned frequency
get the bandwitdh used by the low pass filters
get the Intermediate Frequency, in Hz. For baseband, should return 0.
returns the frontend lock status
returns the RF signal strengh. Used mostly to support
analog TV and radio. Digital TV should report, instead,
via DVBv5 API (dvb_frontend
.dtv_property_cache;).
Used only by analog TV core. Reports the frequency drift due to AFC.
callback function used to pass register data settings for simple tuners. Shouldn't be used on newer drivers.
Set a new frequency. Shouldn't be used on newer drivers.
Set a new frequency. Shouldn't be used on newer drivers.