/* RDS receive buffer */
wait_queue_head_t read_queue; struct mutex lock; /* buffer locking */ unsignedchar *buffer; /* size is always multiple of three */ unsignedint buf_size; unsignedint rd_index; unsignedint wr_index;
struct completion completion; bool status_rssi_auto_update; /* Does RSSI get updated automatic? */
/* si470x ops */
int (*get_register)(struct si470x_device *radio, int regnr); int (*set_register)(struct si470x_device *radio, int regnr); int (*fops_open)(struct file *file); int (*fops_release)(struct file *file); int (*vidioc_querycap)(struct file *file, void *priv, struct v4l2_capability *capability);
#if IS_ENABLED(CONFIG_USB_SI470X) /* reference to USB and video device */ struct usb_device *usbdev; struct usb_interface *intf; char *usb_buf;
/************************************************************************** * Frequency Multiplicator
**************************************************************************/
/* * The frequency is set in units of 62.5 Hz when using V4L2_TUNER_CAP_LOW, * 62.5 kHz otherwise. * The tuner is able to have a channel spacing of 50, 100 or 200 kHz. * tuner->capability is therefore set to V4L2_TUNER_CAP_LOW * The FREQ_MUL is then: 1 MHz / 62.5 Hz = 16000
*/ #define FREQ_MUL (1000000 / 62.5)
/************************************************************************** * Common Functions
**************************************************************************/ externconststruct video_device si470x_viddev_template; externconststruct v4l2_ctrl_ops si470x_ctrl_ops; int si470x_disconnect_check(struct si470x_device *radio); int si470x_set_freq(struct si470x_device *radio, unsignedint freq); int si470x_start(struct si470x_device *radio); int si470x_stop(struct si470x_device *radio);
Messung V0.5
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.