Lines Matching refs:tea
60 struct radio_tea5777 tea;
75 static int shark_write_reg(struct radio_tea5777 *tea, u64 reg)
77 struct shark_device *shark = tea->private_data;
85 v4l2_dbg(1, debug, tea->v4l2_dev, "shark2-write: %*ph\n",
93 v4l2_err(tea->v4l2_dev, "write error: %d\n", res);
100 static int shark_read_reg(struct radio_tea5777 *tea, u32 *reg_ret)
102 struct shark_device *shark = tea->private_data;
113 v4l2_err(tea->v4l2_dev, "request-read error: %d\n", res);
122 v4l2_err(tea->v4l2_dev, "read error: %d\n", res);
129 v4l2_dbg(1, debug, tea->v4l2_dev, "shark2-read: %*ph\n",
261 mutex_lock(&shark->tea.mutex);
263 radio_tea5777_exit(&shark->tea);
264 mutex_unlock(&shark->tea.mutex);
318 shark->tea.v4l2_dev = &shark->v4l2_dev;
319 shark->tea.private_data = shark;
320 shark->tea.ops = &shark_tea_ops;
321 shark->tea.has_am = true;
322 shark->tea.write_before_read = true;
323 strscpy(shark->tea.card, "Griffin radioSHARK2",
324 sizeof(shark->tea.card));
325 usb_make_path(shark->usbdev, shark->tea.bus_info,
326 sizeof(shark->tea.bus_info));
328 retval = radio_tea5777_init(&shark->tea, THIS_MODULE);
360 mutex_lock(&shark->tea.mutex);
361 ret = radio_tea5777_set_freq(&shark->tea);
362 mutex_unlock(&shark->tea.mutex);