Lines Matching defs:fmdev
204 struct fmdev { struct
205 struct video_device *radio_dev; /* V4L2 video device pointer */
206 struct v4l2_device v4l2_dev; /* V4L2 top level struct */
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 */
212 long flag; /* FM driver state machine info */
213 int streg_cbdata; /* status of ST registration */
215 struct sk_buff_head rx_q; /* RX queue */
216 struct tasklet_struct rx_task; /* RX Tasklet */
218 struct sk_buff_head tx_q; /* TX queue */
219 struct tasklet_struct tx_task; /* TX Tasklet */
220 unsigned long last_tx_jiffies; /* Timestamp of last pkt sent */
221 atomic_t tx_cnt; /* Number of packets can send at a time */
223 struct sk_buff *resp_skb; /* Response from the chip */
225 struct completion maintask_comp;
227 u8 pre_op;
229 struct completion *resp_comp;
230 struct fm_irq irq_info;
231 u8 curr_fmmode; /* Current FM chip mode (TX, RX, OFF) */
232 struct fm_rx rx; /* FM receiver info */
233 struct fmtx_data tx_data;
236 struct v4l2_ctrl_handler ctrl_handler;
239 struct mutex mutex;