Lines Matching defs:fmdev
200 struct fmdev { struct
201 struct video_device *radio_dev; /* V4L2 video device pointer */
202 struct v4l2_device v4l2_dev; /* V4L2 top level struct */
203 struct snd_card *card; /* Card which holds FM mixer controls */
204 u16 asci_id;
205 spinlock_t rds_buff_lock; /* To protect access to RDS buffer */
206 spinlock_t resp_skb_lock; /* To protect access to received SKB */
208 long flag; /* FM driver state machine info */
209 int streg_cbdata; /* status of ST registration */
211 struct sk_buff_head rx_q; /* RX queue */
212 struct tasklet_struct rx_task; /* RX Tasklet */
214 struct sk_buff_head tx_q; /* TX queue */
215 struct tasklet_struct tx_task; /* TX Tasklet */
216 unsigned long last_tx_jiffies; /* Timestamp of last pkt sent */
217 atomic_t tx_cnt; /* Number of packets can send at a time */
219 struct sk_buff *resp_skb; /* Response from the chip */
221 struct completion maintask_comp;
223 u8 pre_op;
225 struct completion *resp_comp;
226 struct fm_irq irq_info;
227 u8 curr_fmmode; /* Current FM chip mode (TX, RX, OFF) */
228 struct fm_rx rx; /* FM receiver info */
229 struct fmtx_data tx_data;
232 struct v4l2_ctrl_handler ctrl_handler;
235 struct mutex mutex;