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