Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/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.12.1/sound/soc/ux500/
Dux500_msp_dai.h56 unsigned int master_clk; member
Dux500_msp_dai.c310 msp_config->f_inputclk = drvdata->master_clk; in setup_msp_config()
628 drvdata->master_clk = freq; in ux500_msp_dai_set_dai_sysclk()
732 drvdata->master_clk = MSP_INPUT_FREQ_APB; in ux500_msp_drv_probe()
/linux-6.12.1/drivers/staging/sm750fb/
Dsm750_hw.c106 if (parm->master_clk == 0) in hw_sm750_inithw()
107 parm->master_clk = parm->chip_clk / 3; in hw_sm750_inithw()
Dsm750.h46 ushort master_clk; member
Dsm750.c916 sm750_dev->initParm.master_clk = 0; in sm750fb_setup()