#include <linux/i2c.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include "radio-si470x.h"
Go to the source code of this file.
|
| MODULE_DEVICE_TABLE (i2c, si470x_i2c_id) |
|
| module_param (radio_nr, int, 0444) |
|
| MODULE_PARM_DESC (radio_nr,"Radio Nr") |
|
| module_param (rds_buf, uint, 0444) |
|
| MODULE_PARM_DESC (rds_buf,"RDS buffer entries: *100*") |
|
| module_param (max_rds_errors, ushort, 0644) |
|
| MODULE_PARM_DESC (max_rds_errors,"RDS maximum block errors: *1*") |
|
int | si470x_get_register (struct si470x_device *radio, int regnr) |
|
int | si470x_set_register (struct si470x_device *radio, int regnr) |
|
int | si470x_fops_open (struct file *file) |
|
int | si470x_fops_release (struct file *file) |
|
int | si470x_vidioc_querycap (struct file *file, void *priv, struct v4l2_capability *capability) |
|
| module_i2c_driver (si470x_i2c_driver) |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_AUTHOR (DRIVER_AUTHOR) |
|
| MODULE_DESCRIPTION (DRIVER_DESC) |
|
| MODULE_VERSION (DRIVER_VERSION) |
|
#define DRIVER_CARD "Silicon Labs Si470x FM Radio Receiver" |
#define DRIVER_DESC "I2C radio driver for Si470x FM Radio Receivers" |
#define DRIVER_VERSION "1.0.2" |
#define WRITE_INDEX |
( |
|
i | ) |
(i + 0x02) |
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
si470x_i2c_id |
|
|
) |
| |
module_i2c_driver |
( |
si470x_i2c_driver |
| ) |
|
module_param |
( |
radio_nr |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
module_param |
( |
rds_buf |
, |
|
|
uint |
, |
|
|
0444 |
|
|
) |
| |
module_param |
( |
max_rds_errors |
, |
|
|
ushort |
, |
|
|
0644 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
radio_nr |
, |
|
|
"Radio Nr" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
rds_buf |
, |
|
|
"RDS buffer entries: *100*" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
max_rds_errors |
, |
|
|
"RDS maximum block errors: *1*" |
|
|
) |
| |