Home
last modified time | relevance | path

Searched refs:master_clk (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/drivers/media/dvb-frontends/
Dstb0899_algo.c41 static u32 stb0899_calc_srate(u32 master_clk, u8 *sfr)
50 tmp *= master_clk;
67 return stb0899_calc_srate(internal->master_clk, sfr);
78 static u32 stb0899_set_srate(struct stb0899_state *state, u32 master_clk, u32 srate) in stb0899_set_srate() argument
101 tmp = stb0899_do_div((((u64)srate) << 21) + master_clk, 2 * master_clk); in stb0899_set_srate()
525 stb0899_set_srate(state, internal->master_clk, params->srate); in stb0899_dvbs_algo()
805 u32 master_clk, srate; in stb0899_dvbs2_calc_srate() local
807 dec_ratio = (internal->master_clk * 2) / (5 * internal->srate); in stb0899_dvbs2_calc_srate()
811 master_clk = internal->master_clk / 1000; in stb0899_dvbs2_calc_srate()
815 intval = (decim * (1 << (config->btr_nco_bits - 1))) / master_clk; in stb0899_dvbs2_calc_srate()
[all …]
Dmb86a16.c44 int master_clk; member
153 tmp = (8192 * state->master_clk - 2 * m * rate * 8192 + state->master_clk / 2) / state->master_clk; in smrt_set()
406 state->master_clk = 92000; in smrt_info_get()
408 state->master_clk = 61333; in smrt_info_get()
555 afcerr = afcm * state->master_clk / 8192; in afcerr_chk()
692 afcerr = afcm * state->master_clk / 8192; in freqerr_chk()
764 AFCEX = *afcex_freq * 8192 / state->master_clk; in swp_info_get()
939 AFCEX = *afcex_freq * 8192 / state->master_clk; in swp_info_get2()
951 AFCEX = afcex_freq * 8192 / state->master_clk; in afcex_info_get()
1292 wait_t = 200000 / state->master_clk + 200000 / state->srate; in mb86a16_set_fe()
[all …]
Dstb0899_drv.c578 internal->master_clk = stb0899_get_mclk(state); in stb0899_set_mclk()
580 dprintk(state->verbose, FE_DEBUG, 1, "MasterCLOCK=%d", internal->master_clk); in stb0899_set_mclk()
643 int master_clk; in stb0899_init_calc() local
651 master_clk = stb0899_get_mclk(state); in stb0899_init_calc()
654 internal->master_clk = master_clk; in stb0899_init_calc()
655 internal->mclk = master_clk / 65536L; in stb0899_init_calc()
1217 div = (internal->master_clk / 100) / 5632; in stb0899_set_tone()
1414 iter_scale = 17 * (internal->master_clk / 1000); in stb0899_set_iterations()
Dstb0899_priv.h163 u32 master_clk; member
/linux-4.19.296/drivers/pci/controller/dwc/
Dpcie-qcom.c127 struct clk *master_clk; member
136 struct clk *master_clk; member
570 res->master_clk = devm_clk_get(dev, "bus_master"); in qcom_pcie_get_resources_2_3_2()
571 if (IS_ERR(res->master_clk)) in qcom_pcie_get_resources_2_3_2()
572 return PTR_ERR(res->master_clk); in qcom_pcie_get_resources_2_3_2()
587 clk_disable_unprepare(res->master_clk); in qcom_pcie_deinit_2_3_2()
627 ret = clk_prepare_enable(res->master_clk); in qcom_pcie_init_2_3_2()
663 clk_disable_unprepare(res->master_clk); in qcom_pcie_init_2_3_2()
701 res->master_clk = devm_clk_get(dev, "master_bus"); in qcom_pcie_get_resources_2_4_0()
702 if (IS_ERR(res->master_clk)) in qcom_pcie_get_resources_2_4_0()
[all …]