amradio_device
static inline struct amradio_device *to_amradio_dev(struct v4l2_device *v4l2_dev)
return container_of(v4l2_dev, struct amradio_device, v4l2_dev);
static int amradio_send_cmd(struct amradio_device *radio, u8 cmd, u8 arg,
static int amradio_set_mute(struct amradio_device *radio, bool mute)
static int amradio_set_freq(struct amradio_device *radio, int freq)
static int amradio_set_stereo(struct amradio_device *radio, bool stereo)
static int amradio_get_stat(struct amradio_device *radio, bool *is_stereo, u32 *signal)
struct amradio_device *radio = to_amradio_dev(usb_get_intfdata(intf));
struct amradio_device *radio = video_drvdata(file);
struct amradio_device *radio = video_drvdata(file);
struct amradio_device *radio = video_drvdata(file);
struct amradio_device *radio = video_drvdata(file);
struct amradio_device *radio = video_drvdata(file);
struct amradio_device *radio = video_drvdata(file);
struct amradio_device *radio =
container_of(ctrl->handler, struct amradio_device, hdl);
static int usb_amradio_init(struct amradio_device *radio)
struct amradio_device *radio = to_amradio_dev(usb_get_intfdata(intf));
struct amradio_device *radio = to_amradio_dev(usb_get_intfdata(intf));
struct amradio_device *radio = to_amradio_dev(v4l2_dev);
struct amradio_device *radio;
radio = kzalloc_obj(struct amradio_device);