Searched refs:master_clk (Results 1 – 5 of 5) sorted by relevance
/linux-3.4.99/arch/sh/kernel/cpu/ |
D | clock-cpg.c | 8 static struct clk master_clk = { variable 14 .parent = &master_clk, 19 .parent = &master_clk, 24 .parent = &master_clk, 32 &master_clk, 40 CLKDEV_CON_ID("master_clk", &master_clk),
|
/linux-3.4.99/drivers/media/dvb/frontends/ |
D | stb0899_algo.c | 40 static u32 stb0899_calc_srate(u32 master_clk, u8 *sfr) 49 tmp *= master_clk; 66 return stb0899_calc_srate(internal->master_clk, sfr); 77 static u32 stb0899_set_srate(struct stb0899_state *state, u32 master_clk, u32 srate) in stb0899_set_srate() argument 100 tmp = stb0899_do_div((((u64)srate) << 21) + master_clk, 2 * master_clk); in stb0899_set_srate() 516 stb0899_set_srate(state, internal->master_clk, params->srate); in stb0899_dvbs_algo() 796 u32 master_clk, srate; in stb0899_dvbs2_calc_srate() local 798 dec_ratio = (internal->master_clk * 2) / (5 * internal->srate); in stb0899_dvbs2_calc_srate() 802 master_clk = internal->master_clk / 1000; in stb0899_dvbs2_calc_srate() 806 intval = (decim * (1 << (config->btr_nco_bits - 1))) / master_clk; in stb0899_dvbs2_calc_srate() [all …]
|
D | mb86a16.c | 46 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() 566 afcerr = afcm * state->master_clk / 8192; in afcerr_chk() 702 afcerr = afcm * state->master_clk / 8192; in freqerr_chk() 774 AFCEX = *afcex_freq * 8192 / state->master_clk; in swp_info_get() 949 AFCEX = *afcex_freq * 8192 / state->master_clk; in swp_info_get2() 961 AFCEX = afcex_freq * 8192 / state->master_clk; in afcex_info_get() 1302 wait_t = 200000 / state->master_clk + 200000 / state->srate; in mb86a16_set_fe() [all …]
|
D | stb0899_drv.c | 579 internal->master_clk = stb0899_get_mclk(state); in stb0899_set_mclk() 581 dprintk(state->verbose, FE_DEBUG, 1, "MasterCLOCK=%d", internal->master_clk); in stb0899_set_mclk() 638 int master_clk; in stb0899_init_calc() local 648 master_clk = stb0899_get_mclk(state); in stb0899_init_calc() 651 internal->master_clk = master_clk; in stb0899_init_calc() 652 internal->mclk = master_clk / 65536L; in stb0899_init_calc() 1226 div = (internal->master_clk / 100) / 5632; in stb0899_set_tone() 1423 iter_scale = 17 * (internal->master_clk / 1000); in stb0899_set_iterations()
|
D | stb0899_priv.h | 163 u32 master_clk; member
|