• Home
  • Raw
  • Download

Lines Matching refs:t

274 	struct tda7432 *t = to_state(sd);  in tda7432_s_ctrl()  local
280 if (t->balance->val < 0) { in tda7432_s_ctrl()
282 rr = rf = -t->balance->val; in tda7432_s_ctrl()
284 } else if (t->balance->val > 0) { in tda7432_s_ctrl()
287 lr = lf = t->balance->val; in tda7432_s_ctrl()
293 if (t->mute->val) { in tda7432_s_ctrl()
313 bass = t->bass->val; in tda7432_s_ctrl()
314 treble = t->treble->val; in tda7432_s_ctrl()
349 struct tda7432 *t; in tda7432_probe() local
355 t = devm_kzalloc(&client->dev, sizeof(*t), GFP_KERNEL); in tda7432_probe()
356 if (!t) in tda7432_probe()
358 sd = &t->sd; in tda7432_probe()
360 v4l2_ctrl_handler_init(&t->hdl, 5); in tda7432_probe()
361 v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe()
363 t->mute = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe()
365 t->balance = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe()
367 t->bass = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe()
369 t->treble = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe()
371 sd->ctrl_handler = &t->hdl; in tda7432_probe()
372 if (t->hdl.error) { in tda7432_probe()
373 int err = t->hdl.error; in tda7432_probe()
375 v4l2_ctrl_handler_free(&t->hdl); in tda7432_probe()
378 v4l2_ctrl_cluster(2, &t->bass); in tda7432_probe()
379 v4l2_ctrl_cluster(2, &t->mute); in tda7432_probe()
380 v4l2_ctrl_handler_setup(&t->hdl); in tda7432_probe()
396 struct tda7432 *t = to_state(sd); in tda7432_remove() local
400 v4l2_ctrl_handler_free(&t->hdl); in tda7432_remove()