Lines Matching refs:calib
87 struct gpio_desc *calib; member
495 struct gpio_desc *calib = priv->calib; in tda998x_cec_calibration() local
500 gpiod_direction_output(calib, 1); in tda998x_cec_calibration()
504 gpiod_set_value(calib, 0); in tda998x_cec_calibration()
506 gpiod_set_value(calib, 1); in tda998x_cec_calibration()
510 gpiod_direction_input(calib); in tda998x_cec_calibration()
519 struct gpio_desc *calib; in tda998x_cec_hook_init() local
521 calib = gpiod_get(&priv->hdmi->dev, "nxp,calib", GPIOD_ASIS); in tda998x_cec_hook_init()
522 if (IS_ERR(calib)) { in tda998x_cec_hook_init()
524 PTR_ERR(calib)); in tda998x_cec_hook_init()
525 return PTR_ERR(calib); in tda998x_cec_hook_init()
528 priv->calib = calib; in tda998x_cec_hook_init()
537 gpiod_put(priv->calib); in tda998x_cec_hook_exit()
538 priv->calib = NULL; in tda998x_cec_hook_exit()