/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | tda10021.c | 392 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()
|
H A D | ves1x93.c | 400 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()
|
H A D | ves1820.c | 308 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()
|
H A D | tda10023.c | 451 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()
|
H A D | cx24110.c | 544 s32 afc; unsigned sclk; in cx24110_get_frontend() local 549 /* ok, real AFC (FEDR) freq. is afc/2^24*fsamp, fsamp=45/60/80/90MHz. in cx24110_get_frontend() 556 afc = sclk*(cx24110_readreg (state, 0x44)&0x1f)+ in cx24110_get_frontend() 560 p->frequency += afc; in cx24110_get_frontend()
|
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | tda10021.c | 392 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()
|
H A D | ves1x93.c | 400 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()
|
H A D | ves1820.c | 308 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()
|
H A D | tda10023.c | 451 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()
|
H A D | cx24110.c | 544 s32 afc; unsigned sclk; in cx24110_get_frontend() local 549 /* ok, real AFC (FEDR) freq. is afc/2^24*fsamp, fsamp=45/60/80/90MHz. in cx24110_get_frontend() 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/ |
H A D | clk-pll.h | 90 .afc = (_afc), \ 125 unsigned int afc; member
|
/kernel/linux/linux-6.6/drivers/clk/samsung/ |
H A D | clk-pll.h | 74 .afc = (_afc), \ 109 unsigned int afc; member
|
/kernel/linux/linux-5.10/drivers/media/tuners/ |
H A D | tda9887.c | 275 static char *afc[16] = { in dump_read_message() local 295 tuner_info(" afc : %s\n", afc[(buf[0] >> 1) & 0x0f]); in dump_read_message() 297 tuner_info(" afc window : %s\n", (buf[0] & 0x40) ? "in" : "out"); in dump_read_message() 381 : "fm radio carrier afc"); in dump_write_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()
|
H A D | tda8290.c | 445 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()
|
H A D | tuner-xc2028.c | 957 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-6.6/drivers/media/tuners/ |
H A D | tda9887.c | 275 static char *afc[16] = { in dump_read_message() local 295 tuner_info(" afc : %s\n", afc[(buf[0] >> 1) & 0x0f]); in dump_read_message() 297 tuner_info(" afc window : %s\n", (buf[0] & 0x40) ? "in" : "out"); in dump_read_message() 381 : "fm radio carrier afc"); in dump_write_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()
|
H A D | tda8290.c | 445 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()
|
H A D | xc2028.c | 957 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/ |
H A D | dvb_frontend.h | 250 int (*get_afc)(struct dvb_frontend *fe, s32 *afc); 309 int (*get_afc)(struct dvb_frontend *fe, s32 *afc);
|
/kernel/linux/linux-6.6/include/media/ |
H A D | dvb_frontend.h | 250 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/ |
H A D | fimc-isp.h | 96 struct v4l2_ctrl *afc; member
|
H A D | fimc-is-param.c | 107 __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()
|
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-isp.h | 96 struct v4l2_ctrl *afc; member
|
H A D | fimc-is-param.c | 107 __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()
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
H A D | vivid-vid-cap.c | 328 * Get the current picture quality and the associated afc value. 330 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()
|