Home
last modified time | relevance | path

Searched refs:afc (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dves1820.c308 s8 afc = 0; in ves1820_get_frontend() local
311 afc = ves1820_readreg(state, 0x19); in ves1820_get_frontend()
315 "ves1820: [AFC (%d) %dHz]\n", afc, -((s32) p->symbol_rate * afc) >> 10); in ves1820_get_frontend()
330 p->frequency -= ((s32) p->symbol_rate * afc) >> 10; in ves1820_get_frontend()
Dtda10021.c392 s8 afc = 0; in tda10021_get_frontend() local
395 afc = tda10021_readreg(state, 0x19); in tda10021_get_frontend()
400 state->frontend.dvb->num, afc, in tda10021_get_frontend()
401 -((s32)p->symbol_rate * afc) >> 10); in tda10021_get_frontend()
411 p->frequency -= ((s32)p->symbol_rate * afc) >> 10; in tda10021_get_frontend()
Dves1x93.c400 int afc; in ves1x93_get_frontend() local
402 afc = ((int)((char)(ves1x93_readreg (state, 0x0a) << 1)))/2; in ves1x93_get_frontend()
403 afc = (afc * (int)(p->symbol_rate/1000/8))/16; in ves1x93_get_frontend()
405 p->frequency = state->frequency - afc; in ves1x93_get_frontend()
Dtda10023.c451 s8 afc = 0; in tda10023_get_frontend() local
454 afc = tda10023_readreg(state, 0x19); in tda10023_get_frontend()
461 state->frontend.dvb->num, afc, in tda10023_get_frontend()
462 -((s32)p->symbol_rate * afc) >> 10); in tda10023_get_frontend()
472 p->frequency -= ((s32)p->symbol_rate * afc) >> 10; in tda10023_get_frontend()
Dcx24110.c544 s32 afc; unsigned sclk; in cx24110_get_frontend() local
556 afc = sclk*(cx24110_readreg (state, 0x44)&0x1f)+ in cx24110_get_frontend()
560 p->frequency += afc; in cx24110_get_frontend()
/kernel/linux/linux-5.10/drivers/clk/samsung/
Dclk-pll.h90 .afc = (_afc), \
125 unsigned int afc; member
Dclk-pll.c431 || old_afc != rate->afc); in samsung_pll45xx_mp_change()
473 con1 |= (rate->afc << PLL45XX_AFC_SHIFT); in samsung_pll45xx_set_rate()
/kernel/linux/linux-5.10/drivers/media/tuners/
Dtda9887.c275 static char *afc[16] = { in dump_read_message() local
295 tuner_info(" afc : %s\n", afc[(buf[0] >> 1) & 0x0f]); in dump_read_message()
600 static int tda9887_get_afc(struct dvb_frontend *fe, s32 *afc) in tda9887_get_afc() argument
614 *afc = AFC_BITS_2_kHz[(reg >> 1) & 0x0f]; in tda9887_get_afc()
Dtda8290.c445 unsigned char afc = 0; in tda8290_has_signal() local
448 i2c_get_afc, ARRAY_SIZE(i2c_get_afc), &afc, 1); in tda8290_has_signal()
449 *signal = (afc & 0x80) ? 65535 : 0; in tda8290_has_signal()
Dtuner-xc2028.c957 static int xc2028_get_afc(struct dvb_frontend *fe, s32 *afc) in xc2028_get_afc() argument
970 *afc = 0; in xc2028_get_afc()
996 *afc = afc_reg * 15625; /* Hz */ in xc2028_get_afc()
998 tuner_dbg("AFC is %d Hz\n", *afc); in xc2028_get_afc()
/kernel/linux/linux-5.10/include/media/
Ddvb_frontend.h250 int (*get_afc)(struct dvb_frontend *fe, s32 *afc);
309 int (*get_afc)(struct dvb_frontend *fe, s32 *afc);
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/
Dfimc-isp.h96 struct v4l2_ctrl *afc; member
Dfimc-is-param.c107 __hw_param_copy(&par->isp.afc, &cfg->isp.afc); in __fimc_is_hw_update_param()
450 isp->afc.cmd = cmd; in __is_set_isp_afc()
451 isp->afc.manual = val; in __is_set_isp_afc()
452 isp->afc.err = ISP_AFC_ERROR_NONE; in __is_set_isp_afc()
Dfimc-is-param.h694 struct param_isp_afc afc; member
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-vid-cap.c330 static enum tpg_quality vivid_get_quality(struct vivid_dev *dev, s32 *afc) in vivid_get_quality() argument
334 if (afc) in vivid_get_quality()
335 *afc = 0; in vivid_get_quality()
347 if (afc) in vivid_get_quality()
348 *afc = freq_modulus - 1 * 16; in vivid_get_quality()
1552 qual = vivid_get_quality(dev, &vt->afc); in vivid_video_g_tuner()
Dvivid-radio-rx.c251 vt->afc = sig_qual > delta ? 0 : sig_qual; in vivid_radio_rx_g_tuner()
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/
Dsmsc911x.c910 u32 afc = smsc911x_reg_read(pdata, AFC_CFG); in smsc911x_phy_update_flowcontrol() local
925 afc |= 0xF; in smsc911x_phy_update_flowcontrol()
927 afc &= ~0xF; in smsc911x_phy_update_flowcontrol()
935 afc |= 0xF; in smsc911x_phy_update_flowcontrol()
942 smsc911x_reg_write(pdata, AFC_CFG, afc); in smsc911x_phy_update_flowcontrol()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dvidioc-g-tuner.rst173 - ``afc``
176 When the ``afc`` value is negative, the frequency is too
/kernel/linux/linux-5.10/drivers/media/radio/wl128x/
Dfmdrv_v4l2.c305 tuner->afc = 0; in fm_v4l2_vidioc_g_tuner()
/kernel/linux/linux-5.10/drivers/media/radio/
Dradio-tea5764.c309 v->afc = TEA5764_TUNCHK_IFCNT(r->tunchk); in vidioc_g_tuner()
/kernel/linux/linux-5.10/drivers/media/radio/si470x/
Dradio-si470x-common.c651 tuner->afc = (radio->registers[STATUSRSSI] & STATUSRSSI_AFCRL) ? 1 : 0; in si470x_vidioc_g_tuner()
/kernel/linux/linux-5.10/arch/m68k/ifpsp060/
Dpfpsp.sa160 dc.l $020a4efb,$00064afc,$00080000,$0000003a
1074 dc.l $febc323b,$120a4efb,$10064afc,$0030fd20
1207 dc.l $4e75323b,$120a4efb,$10064afc,$0030ffdc
1320 dc.l $120a4efb,$10064afc,$0030fd7a,$00720078
1368 dc.l $120a4efb,$10064afc,$0030fdaa,$00e4011c
1428 dc.l $feca6000,$fe14323b,$120a4efb,$10064afc
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/
Dav7110_v4l.c333 t->afc = 0; in vidioc_g_tuner()
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dtuner-core.c1243 analog_ops->get_afc(&t->fe, &vt->afc); in tuner_g_tuner()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dvideodev2.h1031 __s32 afc; member

12