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()
348 struct tda7432 *t; in tda7432_probe() local
354 t = devm_kzalloc(&client->dev, sizeof(*t), GFP_KERNEL); in tda7432_probe()
355 if (!t) in tda7432_probe()
357 sd = &t->sd; in tda7432_probe()
359 v4l2_ctrl_handler_init(&t->hdl, 5); in tda7432_probe()
360 v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe()
362 t->mute = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe()
364 t->balance = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe()
366 t->bass = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe()
368 t->treble = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe()
370 sd->ctrl_handler = &t->hdl; in tda7432_probe()
371 if (t->hdl.error) { in tda7432_probe()
372 int err = t->hdl.error; in tda7432_probe()
374 v4l2_ctrl_handler_free(&t->hdl); in tda7432_probe()
377 v4l2_ctrl_cluster(2, &t->bass); in tda7432_probe()
378 v4l2_ctrl_cluster(2, &t->mute); in tda7432_probe()
379 v4l2_ctrl_handler_setup(&t->hdl); in tda7432_probe()
395 struct tda7432 *t = to_state(sd); in tda7432_remove() local
399 v4l2_ctrl_handler_free(&t->hdl); in tda7432_remove()