Searched refs:master_clk (Results 1 – 11 of 11) sorted by relevance
/linux-5.19.10/arch/sh/kernel/cpu/ |
D | clock-cpg.c | 9 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-5.19.10/drivers/media/dvb-frontends/ |
D | stb0899_algo.c | 29 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 …]
|
D | mb86a16.c | 32 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 …]
|
D | stb0899_drv.c | 566 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()
|
D | stb0899_priv.h | 151 u32 master_clk; member
|
/linux-5.19.10/sound/soc/ux500/ |
D | ux500_msp_dai.h | 58 unsigned int master_clk; member
|
D | ux500_msp_dai.c | 313 msp_config->f_inputclk = drvdata->master_clk; in setup_msp_config() 631 drvdata->master_clk = freq; in ux500_msp_dai_set_dai_sysclk() 761 drvdata->master_clk = MSP_INPUT_FREQ_APB; in ux500_msp_drv_probe()
|
/linux-5.19.10/drivers/pci/controller/dwc/ |
D | pcie-qcom.c | 128 struct clk *master_clk; member 590 res->master_clk = devm_clk_get(dev, "bus_master"); in qcom_pcie_get_resources_2_3_2() 591 if (IS_ERR(res->master_clk)) in qcom_pcie_get_resources_2_3_2() 592 return PTR_ERR(res->master_clk); in qcom_pcie_get_resources_2_3_2() 607 clk_disable_unprepare(res->master_clk); in qcom_pcie_deinit_2_3_2() 647 ret = clk_prepare_enable(res->master_clk); in qcom_pcie_init_2_3_2() 683 clk_disable_unprepare(res->master_clk); in qcom_pcie_init_2_3_2()
|
/linux-5.19.10/drivers/staging/sm750fb/ |
D | sm750_hw.c | 107 if (parm->master_clk == 0) in hw_sm750_inithw() 108 parm->master_clk = parm->chip_clk / 3; in hw_sm750_inithw()
|
D | sm750.h | 46 ushort master_clk; member
|
D | sm750.c | 875 sm750_dev->initParm.master_clk = 0; in sm750fb_setup()
|