Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations
fmdrv.h File Reference
#include <linux/skbuff.h>
#include <linux/interrupt.h>
#include <sound/core.h>
#include <sound/initval.h>
#include <linux/timer.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ctrls.h>

Go to the source code of this file.

Data Structures

struct  fm_rdsdata_format
 
struct  region_info
 
struct  fm_irq
 
struct  fm_rds
 
struct  tuned_station_info
 
struct  fm_rx
 
struct  tx_rds
 
struct  fmtx_data
 
struct  fmdev
 

Macros

#define FM_DRV_VERSION   "0.1.1"
 
#define FM_DRV_NAME   "ti_fmdrv"
 
#define FM_DRV_CARD_SHORT_NAME   "TI FM Radio"
 
#define FM_DRV_CARD_LONG_NAME   "Texas Instruments FM Radio"
 
#define FM_INTTASK_RUNNING   0
 
#define FM_INTTASK_SCHEDULE_PENDING   1
 
#define FM_FW_DW_INPROGRESS   2
 
#define FM_CORE_READY   3
 
#define FM_CORE_TRANSPORT_READY   4
 
#define FM_AF_SWITCH_INPROGRESS   5
 
#define FM_CORE_TX_XMITING   6
 
#define FM_TUNE_COMPLETE   0x1
 
#define FM_BAND_LIMIT   0x2
 
#define FM_DRV_TX_TIMEOUT   (5*HZ) /* 5 seconds */
 
#define FM_DRV_RX_SEEK_TIMEOUT   (20*HZ) /* 20 seconds */
 
#define fmerr(format,...)   printk(KERN_ERR "fmdrv: " format, ## __VA_ARGS__)
 
#define fmwarn(format,...)   printk(KERN_WARNING "fmdrv: " format, ##__VA_ARGS__)
 
#define fmdbg(format,...)
 
#define FM_RX_RDS_INFO_FIELD_MAX   8 /* 4 Group * 2 Bytes */
 
#define FM_RDS_MAX_AF_LIST   25
 
#define FMTX_RDS_TXT_STR_SIZE   25
 

Typedefs

typedef void(* int_handler_prototype )(struct fmdev *)
 

Enumerations

enum  { FM_MODE_OFF, FM_MODE_TX, FM_MODE_RX, FM_MODE_ENTRY_MAX }
 

Macro Definition Documentation

#define FM_AF_SWITCH_INPROGRESS   5

Definition at line 46 of file fmdrv.h.

#define FM_BAND_LIMIT   0x2

Definition at line 50 of file fmdrv.h.

#define FM_CORE_READY   3

Definition at line 44 of file fmdrv.h.

#define FM_CORE_TRANSPORT_READY   4

Definition at line 45 of file fmdrv.h.

#define FM_CORE_TX_XMITING   6

Definition at line 47 of file fmdrv.h.

#define FM_DRV_CARD_LONG_NAME   "Texas Instruments FM Radio"

Definition at line 38 of file fmdrv.h.

#define FM_DRV_CARD_SHORT_NAME   "TI FM Radio"

Definition at line 37 of file fmdrv.h.

#define FM_DRV_NAME   "ti_fmdrv"

Definition at line 36 of file fmdrv.h.

#define FM_DRV_RX_SEEK_TIMEOUT   (20*HZ) /* 20 seconds */

Definition at line 53 of file fmdrv.h.

#define FM_DRV_TX_TIMEOUT   (5*HZ) /* 5 seconds */

Definition at line 52 of file fmdrv.h.

#define FM_DRV_VERSION   "0.1.1"

Definition at line 35 of file fmdrv.h.

#define FM_FW_DW_INPROGRESS   2

Definition at line 43 of file fmdrv.h.

#define FM_INTTASK_RUNNING   0

Definition at line 41 of file fmdrv.h.

#define FM_INTTASK_SCHEDULE_PENDING   1

Definition at line 42 of file fmdrv.h.

#define FM_RDS_MAX_AF_LIST   25

Definition at line 134 of file fmdrv.h.

#define FM_RX_RDS_INFO_FIELD_MAX   8 /* 4 Group * 2 Bytes */

Definition at line 72 of file fmdrv.h.

#define FM_TUNE_COMPLETE   0x1

Definition at line 49 of file fmdrv.h.

#define fmdbg (   format,
  ... 
)

Definition at line 63 of file fmdrv.h.

#define fmerr (   format,
  ... 
)    printk(KERN_ERR "fmdrv: " format, ## __VA_ARGS__)

Definition at line 55 of file fmdrv.h.

#define FMTX_RDS_TXT_STR_SIZE   25

Definition at line 168 of file fmdrv.h.

#define fmwarn (   format,
  ... 
)    printk(KERN_WARNING "fmdrv: " format, ##__VA_ARGS__)

Definition at line 57 of file fmdrv.h.

Typedef Documentation

typedef void(* int_handler_prototype)(struct fmdev *)

Definition at line 108 of file fmdrv.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
FM_MODE_OFF 
FM_MODE_TX 
FM_MODE_RX 
FM_MODE_ENTRY_MAX 

Definition at line 65 of file fmdrv.h.