Lines Matching full:lna
424 /* Required for the antenna_gpio to disable LNA. */
426 /* The windows driver uses the same. This will disable LNA. */
445 .antenna_dvbt = true, /* disable LNA */
446 .antenna_gpio = (1 << 2), /* disable LNA */
735 if (c->lna == 1) in em28xx_pctv_290e_set_lna()
736 flags = GPIOF_OUT_INIT_HIGH; /* enable LNA */ in em28xx_pctv_290e_set_lna()
738 flags = GPIOF_OUT_INIT_LOW; /* disable LNA */ in em28xx_pctv_290e_set_lna()
748 dev_warn(&dev->intf->dev, "%s: LNA control is disabled (lna=%u)\n", in em28xx_pctv_290e_set_lna()
749 KBUILD_MODNAME, c->lna); in em28xx_pctv_290e_set_lna()
759 u8 lna; in em28xx_pctv_292e_set_lna() local
761 if (c->lna == 1) in em28xx_pctv_292e_set_lna()
762 lna = 0x01; in em28xx_pctv_292e_set_lna()
764 lna = 0x00; in em28xx_pctv_292e_set_lna()
766 return em28xx_write_reg_bits(dev, EM2874_R80_GPIO_P0_CTRL, lna, 0x01); in em28xx_pctv_292e_set_lna()
1683 /* set default GPIO0 for LNA, used if GPIOLIB is undefined */ in em28xx_dvb_init()
1703 /* enable LNA for DVB-T, DVB-T2 and DVB-C */ in em28xx_dvb_init()
1713 result = 0; /* continue even set LNA fails */ in em28xx_dvb_init()