Home
last modified time | relevance | path

Searched refs:nco (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/media/dvb-frontends/
Dmn88443x.c394 s64 adckt, nco, ad_t; in mn88443x_t_set_freq() local
418 nco = adckt * 2 - chip->if_freq; in mn88443x_t_set_freq()
420 nco = -((s64)chip->if_freq); in mn88443x_t_set_freq()
421 nco = div_s64(nco << 24, adckt); in mn88443x_t_set_freq()
424 regmap_write(r_t, NCOFREQU_T, nco >> 16); in mn88443x_t_set_freq()
425 regmap_write(r_t, NCOFREQM_T, nco >> 8); in mn88443x_t_set_freq()
426 regmap_write(r_t, NCOFREQL_T, nco); in mn88443x_t_set_freq()
Dlgdt3305.c493 u64 nco; in lgdt3305_set_if() local
507 nco = if_freq_khz / 10; in lgdt3305_set_if()
511 nco <<= 24; in lgdt3305_set_if()
512 do_div(nco, 625); in lgdt3305_set_if()
516 nco <<= 28; in lgdt3305_set_if()
517 do_div(nco, 625); in lgdt3305_set_if()
523 nco1 = (nco >> 24) & 0x3f; in lgdt3305_set_if()
525 nco2 = (nco >> 16) & 0xff; in lgdt3305_set_if()
526 nco3 = (nco >> 8) & 0xff; in lgdt3305_set_if()
527 nco4 = nco & 0xff; in lgdt3305_set_if()
/Linux-v5.10/drivers/media/pci/ddbridge/
Dddbridge-core.c394 u32 gap = 4, nco = 0; in calc_con() local
414 nco = (bitrate * 8192 + 71999) in calc_con()
423 nco = 8; in calc_con()
426 nco = 7; in calc_con()
429 nco = 5; in calc_con()
454 *con2 = (nco << 16) | gap; in calc_con()