Lines Matching refs:amradio_device
124 struct amradio_device { struct
139 static inline struct amradio_device *to_amradio_dev(struct v4l2_device *v4l2_dev) in to_amradio_dev() argument
141 return container_of(v4l2_dev, struct amradio_device, v4l2_dev); in to_amradio_dev()
144 static int amradio_send_cmd(struct amradio_device *radio, u8 cmd, u8 arg, in amradio_send_cmd()
189 static int amradio_set_mute(struct amradio_device *radio, bool mute) in amradio_set_mute()
200 static int amradio_set_freq(struct amradio_device *radio, int freq) in amradio_set_freq()
223 static int amradio_set_stereo(struct amradio_device *radio, bool stereo) in amradio_set_stereo()
233 static int amradio_get_stat(struct amradio_device *radio, bool *is_stereo, u32 *signal) in amradio_get_stat()
252 struct amradio_device *radio = to_amradio_dev(usb_get_intfdata(intf)); in usb_amradio_disconnect()
267 struct amradio_device *radio = video_drvdata(file); in vidioc_querycap()
282 struct amradio_device *radio = video_drvdata(file); in vidioc_g_tuner()
310 struct amradio_device *radio = video_drvdata(file); in vidioc_s_tuner()
328 struct amradio_device *radio = video_drvdata(file); in vidioc_s_frequency()
339 struct amradio_device *radio = video_drvdata(file); in vidioc_g_frequency()
355 struct amradio_device *radio = video_drvdata(file); in vidioc_s_hw_freq_seek()
408 struct amradio_device *radio = in usb_amradio_s_ctrl()
409 container_of(ctrl->handler, struct amradio_device, hdl); in usb_amradio_s_ctrl()
419 static int usb_amradio_init(struct amradio_device *radio) in usb_amradio_init()
442 struct amradio_device *radio = to_amradio_dev(usb_get_intfdata(intf)); in usb_amradio_suspend()
458 struct amradio_device *radio = to_amradio_dev(usb_get_intfdata(intf)); in usb_amradio_resume()
500 struct amradio_device *radio = to_amradio_dev(v4l2_dev); in usb_amradio_release()
513 struct amradio_device *radio; in usb_amradio_probe()
516 radio = kzalloc(sizeof(struct amradio_device), GFP_KERNEL); in usb_amradio_probe()