Home
last modified time | relevance | path

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

/linux-6.1.9/arch/sh/kernel/cpu/
Dclock-cpg.c9 static struct clk master_clk = { variable
15 .parent = &master_clk,
20 .parent = &master_clk,
25 .parent = &master_clk,
33 &master_clk,
41 CLKDEV_CON_ID("master_clk", &master_clk),
/linux-6.1.9/drivers/media/dvb-frontends/
Dstb0899_algo.c29 static u32 stb0899_calc_srate(u32 master_clk, u8 *sfr)
38 tmp *= master_clk;
55 return stb0899_calc_srate(internal->master_clk, sfr);
66 static u32 stb0899_set_srate(struct stb0899_state *state, u32 master_clk, u32 srate) in stb0899_set_srate() argument
89 tmp = stb0899_do_div((((u64)srate) << 21) + master_clk, 2 * master_clk); in stb0899_set_srate()
513 stb0899_set_srate(state, internal->master_clk, params->srate); in stb0899_dvbs_algo()
793 u32 master_clk, srate; in stb0899_dvbs2_calc_srate() local
795 dec_ratio = (internal->master_clk * 2) / (5 * internal->srate); in stb0899_dvbs2_calc_srate()
799 master_clk = internal->master_clk / 1000; in stb0899_dvbs2_calc_srate()
803 intval = (decim * (1 << (config->btr_nco_bits - 1))) / master_clk; in stb0899_dvbs2_calc_srate()
[all …]
Dmb86a16.c32 int master_clk; member
141 tmp = (8192 * state->master_clk - 2 * m * rate * 8192 + state->master_clk / 2) / state->master_clk; in smrt_set()
394 state->master_clk = 92000; in smrt_info_get()
396 state->master_clk = 61333; in smrt_info_get()
543 afcerr = afcm * state->master_clk / 8192; in afcerr_chk()
680 afcerr = afcm * state->master_clk / 8192; in freqerr_chk()
752 AFCEX = *afcex_freq * 8192 / state->master_clk; in swp_info_get()
927 AFCEX = *afcex_freq * 8192 / state->master_clk; in swp_info_get2()
939 AFCEX = afcex_freq * 8192 / state->master_clk; in afcex_info_get()
1280 wait_t = 200000 / state->master_clk + 200000 / state->srate; in mb86a16_set_fe()
[all …]
Dstb0899_drv.c566 internal->master_clk = stb0899_get_mclk(state); in stb0899_set_mclk()
568 dprintk(state->verbose, FE_DEBUG, 1, "MasterCLOCK=%d", internal->master_clk); in stb0899_set_mclk()
631 int master_clk; in stb0899_init_calc() local
639 master_clk = stb0899_get_mclk(state); in stb0899_init_calc()
642 internal->master_clk = master_clk; in stb0899_init_calc()
643 internal->mclk = master_clk / 65536L; in stb0899_init_calc()
1205 div = (internal->master_clk / 100) / 5632; in stb0899_set_tone()
1402 iter_scale = 17 * (internal->master_clk / 1000); in stb0899_set_iterations()
Dstb0899_priv.h151 u32 master_clk; member
/linux-6.1.9/sound/soc/ux500/
Dux500_msp_dai.h56 unsigned int master_clk; member
Dux500_msp_dai.c311 msp_config->f_inputclk = drvdata->master_clk; in setup_msp_config()
629 drvdata->master_clk = freq; in ux500_msp_dai_set_dai_sysclk()
760 drvdata->master_clk = MSP_INPUT_FREQ_APB; in ux500_msp_drv_probe()
/linux-6.1.9/drivers/pci/controller/dwc/
Dpcie-qcom.c148 struct clk *master_clk; member
618 res->master_clk = devm_clk_get(dev, "bus_master"); in qcom_pcie_get_resources_2_3_2()
619 if (IS_ERR(res->master_clk)) in qcom_pcie_get_resources_2_3_2()
620 return PTR_ERR(res->master_clk); in qcom_pcie_get_resources_2_3_2()
634 clk_disable_unprepare(res->master_clk); in qcom_pcie_deinit_2_3_2()
666 ret = clk_prepare_enable(res->master_clk); in qcom_pcie_init_2_3_2()
681 clk_disable_unprepare(res->master_clk); in qcom_pcie_init_2_3_2()
/linux-6.1.9/drivers/staging/sm750fb/
Dsm750_hw.c107 if (parm->master_clk == 0) in hw_sm750_inithw()
108 parm->master_clk = parm->chip_clk / 3; in hw_sm750_inithw()
Dsm750.h46 ushort master_clk; member
Dsm750.c879 sm750_dev->initParm.master_clk = 0; in sm750fb_setup()