fmdrv.h (bf61c8840efe60fd8f91446860b63338fb424158) fmdrv.h (ae09e9e73a7d59bf0f8cc92e51c51abbd4cab732)
1/*
2 * FM Driver for Connectivity chip of Texas Instruments.
3 *
4 * Common header for all FM driver sub-modules.
5 *
6 * Copyright (C) 2011 Texas Instruments
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 16 unchanged lines hidden (view full) ---

25
26#include <linux/skbuff.h>
27#include <linux/interrupt.h>
28#include <sound/core.h>
29#include <sound/initval.h>
30#include <linux/timer.h>
31#include <media/v4l2-ioctl.h>
32#include <media/v4l2-common.h>
1/*
2 * FM Driver for Connectivity chip of Texas Instruments.
3 *
4 * Common header for all FM driver sub-modules.
5 *
6 * Copyright (C) 2011 Texas Instruments
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 16 unchanged lines hidden (view full) ---

25
26#include <linux/skbuff.h>
27#include <linux/interrupt.h>
28#include <sound/core.h>
29#include <sound/initval.h>
30#include <linux/timer.h>
31#include <media/v4l2-ioctl.h>
32#include <media/v4l2-common.h>
33#include <media/v4l2-device.h>
33#include <media/v4l2-ctrls.h>
34
35#define FM_DRV_VERSION "0.1.1"
36#define FM_DRV_NAME "ti_fmdrv"
37#define FM_DRV_CARD_SHORT_NAME "TI FM Radio"
38#define FM_DRV_CARD_LONG_NAME "Texas Instruments FM Radio"
39
40/* Flag info */

--- 156 unchanged lines hidden (view full) ---

197 u32 preemph;
198 u32 tx_frq;
199 struct tx_rds rds;
200};
201
202/* FM driver operation structure */
203struct fmdev {
204 struct video_device *radio_dev; /* V4L2 video device pointer */
34#include <media/v4l2-ctrls.h>
35
36#define FM_DRV_VERSION "0.1.1"
37#define FM_DRV_NAME "ti_fmdrv"
38#define FM_DRV_CARD_SHORT_NAME "TI FM Radio"
39#define FM_DRV_CARD_LONG_NAME "Texas Instruments FM Radio"
40
41/* Flag info */

--- 156 unchanged lines hidden (view full) ---

198 u32 preemph;
199 u32 tx_frq;
200 struct tx_rds rds;
201};
202
203/* FM driver operation structure */
204struct fmdev {
205 struct video_device *radio_dev; /* V4L2 video device pointer */
206 struct v4l2_device v4l2_dev; /* V4L2 top level struct */
205 struct snd_card *card; /* Card which holds FM mixer controls */
206 u16 asci_id;
207 spinlock_t rds_buff_lock; /* To protect access to RDS buffer */
208 spinlock_t resp_skb_lock; /* To protect access to received SKB */
209
210 long flag; /* FM driver state machine info */
211 u8 streg_cbdata; /* status of ST registration */
212

--- 27 unchanged lines hidden ---
207 struct snd_card *card; /* Card which holds FM mixer controls */
208 u16 asci_id;
209 spinlock_t rds_buff_lock; /* To protect access to RDS buffer */
210 spinlock_t resp_skb_lock; /* To protect access to received SKB */
211
212 long flag; /* FM driver state machine info */
213 u8 streg_cbdata; /* status of ST registration */
214

--- 27 unchanged lines hidden ---