Home
last modified time | relevance | path

Searched refs:fll (Results 1 – 23 of 23) sorted by relevance

/linux/sound/soc/codecs/
H A Dmadera.c3942 madera_set_fll_clks(fll, fll->base, false); in madera_disable_fll()
3961 if (fll->ref_src < 0 || fll->ref_freq == 0) { in madera_enable_fll()
4003 madera_set_fll_clks(fll, fll->base, false); in madera_enable_fll()
4090 madera_set_fll_clks(fll, fll->base, true); in madera_enable_fll()
4155 ret = madera_is_enabled_fll(fll, fll->base); in madera_set_fll_refclk()
4263 madera_set_fllao_clks(fll, fll->base, false); in madera_enable_fll_ao()
4278 madera_set_fllao_clks(fll, fll->base, true); in madera_enable_fll_ao()
4324 madera_set_fllao_clks(fll, fll->base, false); in madera_disable_fll_ao()
4591 ret = madera_fllhj_apply(fll, fll->ref_freq); in madera_fllhj_enable()
4601 madera_set_fllhj_clks(fll, fll->base, true); in madera_fllhj_enable()
[all …]
H A Darizona.c2111 if (fll->fout && Fout != fll->fout) { in arizona_validate_fll()
2271 target = fll->fout * div / fll->vco_mult; in arizona_calc_fll()
2441 arizona_set_fll_clks(fll, fll->base, false); in arizona_enable_fll()
2448 if (fll->ref_src >= 0 && fll->ref_freq && in arizona_enable_fll()
2449 fll->ref_src != fll->sync_src) { in arizona_enable_fll()
2450 arizona_calc_fll(fll, &cfg, fll->ref_freq, false); in arizona_enable_fll()
2497 arizona_set_fll_clks(fll, fll->base + 0x10, true); in arizona_enable_fll()
2502 arizona_set_fll_clks(fll, fll->base, true); in arizona_enable_fll()
2550 arizona_set_fll_clks(fll, fll->base, false); in arizona_disable_fll()
2564 ret = arizona_validate_fll(fll, Fref, fll->fout); in arizona_set_fll_refclk()
[all …]
H A Dwm8995.c1732 fll->clk_ref_div = 0; in wm8995_get_fll_config()
1734 fll->clk_ref_div++; in wm8995_get_fll_config()
1743 fll->outdiv = 3; in wm8995_get_fll_config()
1745 fll->outdiv++; in wm8995_get_fll_config()
1753 fll->fll_fratio = 0; in wm8995_get_fll_config()
1772 fll->n = Ndiv; in wm8995_get_fll_config()
1787 fll->k = K / 10; in wm8995_get_fll_config()
1789 pr_debug("N=%x K=%x\n", fll->n, fll->k); in wm8995_get_fll_config()
1801 struct fll_div fll; in wm8995_set_fll() local
1843 wm8995->fll[id].in == freq_in && wm8995->fll[id].out == freq_out) in wm8995_set_fll()
[all …]
H A Dwm8994.c2142 fll->outdiv = 3; in wm8994_get_fll_config()
2144 fll->outdiv++; in wm8994_get_fll_config()
2171 fll->n = Ndiv; in wm8994_get_fll_config()
2188 fll->k = K / 10; in wm8994_get_fll_config()
2189 fll->lambda = 0; in wm8994_get_fll_config()
2191 pr_debug("N=%x K=%x\n", fll->n, fll->k); in wm8994_get_fll_config()
2197 fll->k = (freq_out - (freq_in * fll->n)) / gcd_fll; in wm8994_get_fll_config()
2211 struct fll_div fll; in _wm8994_set_fll() local
2267 ret = wm8994_get_fll_config(control, &fll, wm8994->fll[id].in, in _wm8994_set_fll()
2333 if (fll.lambda) { in _wm8994_set_fll()
[all …]
H A Dmadera.h411 struct madera_fll *fll);
412 int madera_set_fll_refclk(struct madera_fll *fll, int source,
414 int madera_set_fll_syncclk(struct madera_fll *fll, int source,
416 int madera_set_fll_ao_refclk(struct madera_fll *fll, int source,
418 int madera_fllhj_set_refclk(struct madera_fll *fll, int source,
H A Dwm8997.c34 struct arizona_fll fll[2]; member
933 return arizona_set_fll(&wm8997->fll[0], source, Fref, Fout); in wm8997_set_fll()
935 return arizona_set_fll(&wm8997->fll[1], source, Fref, Fout); in wm8997_set_fll()
937 return arizona_set_fll_refclk(&wm8997->fll[0], source, Fref, in wm8997_set_fll()
940 return arizona_set_fll_refclk(&wm8997->fll[1], source, Fref, in wm8997_set_fll()
1140 for (i = 0; i < ARRAY_SIZE(wm8997->fll); i++) in wm8997_probe()
1141 wm8997->fll[i].vco_mult = 1; in wm8997_probe()
1145 &wm8997->fll[0]); in wm8997_probe()
1148 &wm8997->fll[1]); in wm8997_probe()
H A Dwm5100.c79 struct wm5100_fll fll[2]; member
1763 struct wm5100_fll *fll; in wm5100_set_fll() local
1769 fll = &wm5100->fll[0]; in wm5100_set_fll()
1774 fll = &wm5100->fll[1]; in wm5100_set_fll()
1785 if (fll->fout) in wm5100_set_fll()
1787 fll->fout = 0; in wm5100_set_fll()
1871 fll->src = source; in wm5100_set_fll()
1872 fll->fref = Fref; in wm5100_set_fll()
1873 fll->fout = Fout; in wm5100_set_fll()
2187 complete(&wm5100->fll[0].lock); in wm5100_irq()
[all …]
H A Dcs47l24.c37 struct arizona_fll fll[2]; member
941 return arizona_set_fll(&cs47l24->fll[0], source, Fref, Fout); in cs47l24_set_fll()
943 return arizona_set_fll(&cs47l24->fll[1], source, Fref, Fout); in cs47l24_set_fll()
945 return arizona_set_fll_refclk(&cs47l24->fll[0], source, Fref, in cs47l24_set_fll()
948 return arizona_set_fll_refclk(&cs47l24->fll[1], source, Fref, in cs47l24_set_fll()
1256 for (i = 0; i < ARRAY_SIZE(cs47l24->fll); i++) in cs47l24_probe()
1257 cs47l24->fll[i].vco_mult = 3; in cs47l24_probe()
1261 &cs47l24->fll[0]); in cs47l24_probe()
1264 &cs47l24->fll[1]); in cs47l24_probe()
H A Dwm8998.c34 struct arizona_fll fll[2]; member
1265 return arizona_set_fll(&wm8998->fll[0], source, Fref, Fout); in wm8998_set_fll()
1267 return arizona_set_fll(&wm8998->fll[1], source, Fref, Fout); in wm8998_set_fll()
1269 return arizona_set_fll_refclk(&wm8998->fll[0], source, Fref, in wm8998_set_fll()
1272 return arizona_set_fll_refclk(&wm8998->fll[1], source, Fref, in wm8998_set_fll()
1365 for (i = 0; i < ARRAY_SIZE(wm8998->fll); i++) in wm8998_probe()
1366 wm8998->fll[i].vco_mult = 1; in wm8998_probe()
1370 &wm8998->fll[0]); in wm8998_probe()
1373 &wm8998->fll[1]); in wm8998_probe()
H A Darizona.h342 int lock_irq, int ok_irq, struct arizona_fll *fll);
343 int arizona_set_fll_refclk(struct arizona_fll *fll, int source,
345 int arizona_set_fll(struct arizona_fll *fll, int source,
H A Dwm5102.c38 struct arizona_fll fll[2]; member
1757 return arizona_set_fll(&wm5102->fll[0], source, Fref, Fout); in wm5102_set_fll()
1759 return arizona_set_fll(&wm5102->fll[1], source, Fref, Fout); in wm5102_set_fll()
1761 return arizona_set_fll_refclk(&wm5102->fll[0], source, Fref, in wm5102_set_fll()
1764 return arizona_set_fll_refclk(&wm5102->fll[1], source, Fref, in wm5102_set_fll()
2082 for (i = 0; i < ARRAY_SIZE(wm5102->fll); i++) in wm5102_probe()
2083 wm5102->fll[i].vco_mult = 1; in wm5102_probe()
2087 &wm5102->fll[0]); in wm5102_probe()
2090 &wm5102->fll[1]); in wm5102_probe()
H A Dcs47l15.c43 struct madera_fll fll[2]; member
1133 return madera_set_fll_refclk(&cs47l15->fll[0], source, fref, in cs47l15_set_fll()
1136 return madera_set_fll_ao_refclk(&cs47l15->fll[1], source, fref, in cs47l15_set_fll()
1139 return madera_set_fll_syncclk(&cs47l15->fll[0], source, fref, in cs47l15_set_fll()
1433 &cs47l15->fll[0]); in cs47l15_probe()
1435 &cs47l15->fll[1]); in cs47l15_probe()
H A Dcs47l85.c37 struct madera_fll fll[3]; member
2230 return madera_set_fll_refclk(&cs47l85->fll[0], source, fref, in cs47l85_set_fll()
2233 return madera_set_fll_refclk(&cs47l85->fll[1], source, fref, in cs47l85_set_fll()
2236 return madera_set_fll_refclk(&cs47l85->fll[2], source, fref, in cs47l85_set_fll()
2239 return madera_set_fll_syncclk(&cs47l85->fll[0], source, fref, in cs47l85_set_fll()
2242 return madera_set_fll_syncclk(&cs47l85->fll[1], source, fref, in cs47l85_set_fll()
2245 return madera_set_fll_syncclk(&cs47l85->fll[2], source, fref, in cs47l85_set_fll()
2658 &cs47l85->fll[0]); in cs47l85_probe()
2660 &cs47l85->fll[1]); in cs47l85_probe()
2662 &cs47l85->fll[2]); in cs47l85_probe()
H A Dwm8994.h90 struct wm8994_fll_config fll[2], fll_suspend[2]; member
H A Dwm5110.c39 struct arizona_fll fll[2]; member
2057 return arizona_set_fll(&wm5110->fll[0], source, Fref, Fout); in wm5110_set_fll()
2059 return arizona_set_fll(&wm5110->fll[1], source, Fref, Fout); in wm5110_set_fll()
2061 return arizona_set_fll_refclk(&wm5110->fll[0], source, Fref, in wm5110_set_fll()
2064 return arizona_set_fll_refclk(&wm5110->fll[1], source, Fref, in wm5110_set_fll()
2440 for (i = 0; i < ARRAY_SIZE(wm5110->fll); i++) in wm5110_probe()
2441 wm5110->fll[i].vco_mult = 3; in wm5110_probe()
2445 &wm5110->fll[0]); in wm5110_probe()
2448 &wm5110->fll[1]); in wm5110_probe()
H A Dcs47l90.c37 struct madera_fll fll[3]; member
2152 return madera_set_fll_refclk(&cs47l90->fll[0], source, fref, in cs47l90_set_fll()
2155 return madera_set_fll_refclk(&cs47l90->fll[1], source, fref, in cs47l90_set_fll()
2158 return madera_set_fll_ao_refclk(&cs47l90->fll[2], source, fref, in cs47l90_set_fll()
2161 return madera_set_fll_syncclk(&cs47l90->fll[0], source, fref, in cs47l90_set_fll()
2164 return madera_set_fll_syncclk(&cs47l90->fll[1], source, fref, in cs47l90_set_fll()
2581 &cs47l90->fll[0]); in cs47l90_probe()
2583 &cs47l90->fll[1]); in cs47l90_probe()
2585 &cs47l90->fll[2]); in cs47l90_probe()
H A Dwm9081.c643 int fll = 0; in configure_clock() local
700 fll = 1; in configure_clock()
718 if (fll) in configure_clock()
H A Dcs47l92.c37 struct madera_fll fll[2]; member
1683 return madera_fllhj_set_refclk(&cs47l92->fll[0], source, fref, in cs47l92_set_fll()
1686 return madera_fllhj_set_refclk(&cs47l92->fll[1], source, fref, in cs47l92_set_fll()
2035 &cs47l92->fll[0]); in cs47l92_probe()
2037 &cs47l92->fll[1]); in cs47l92_probe()
H A Dcs47l35.c37 struct madera_fll fll; member
1341 return madera_set_fll_refclk(&cs47l35->fll, source, fref, in cs47l35_set_fll()
1344 return madera_set_fll_syncclk(&cs47l35->fll, source, fref, in cs47l35_set_fll()
1711 madera_init_fll(madera, 1, MADERA_FLL1_CONTROL_1 - 1, &cs47l35->fll); in cs47l35_probe()
/linux/fs/
H A Dlocks.c638 struct file_lock_list_struct *fll = this_cpu_ptr(&file_lock_list); in locks_insert_global_locks() local
642 spin_lock(&fll->lock); in locks_insert_global_locks()
644 hlist_add_head(&flc->flc_link, &fll->hlist); in locks_insert_global_locks()
645 spin_unlock(&fll->lock); in locks_insert_global_locks()
651 struct file_lock_list_struct *fll; in locks_delete_global_locks() local
663 fll = per_cpu_ptr(&file_lock_list, flc->flc_link_cpu); in locks_delete_global_locks()
664 spin_lock(&fll->lock); in locks_delete_global_locks()
666 spin_unlock(&fll->lock); in locks_delete_global_locks()
2995 struct file_lock_list_struct *fll = per_cpu_ptr(&file_lock_list, i); in filelock_init() local
2997 spin_lock_init(&fll->lock); in filelock_init()
[all …]
/linux/drivers/mfd/
H A Darizona-core.c317 unsigned int fll; member
327 ret = regmap_read(arizona->regmap, ARIZONA_FLL1_CONTROL_1, &state->fll); in arizona_enable_freerun_sysclk()
365 err = regmap_write(arizona->regmap, ARIZONA_FLL1_CONTROL_1, state->fll); in arizona_enable_freerun_sysclk()
386 ret = regmap_write(arizona->regmap, ARIZONA_FLL1_CONTROL_1, state->fll); in arizona_disable_freerun_sysclk()
/linux/drivers/media/i2c/
H A Dov08x40.c1569 int fll; in ov08x40_set_ctrl() local
1616 fll = ((ov08x->cur_mode->height + ctrl->val) << in ov08x40_set_ctrl()
1621 fll); in ov08x40_set_ctrl()
/linux/arch/x86/events/intel/
H A Dds.c1737 int fll; in setup_pebs_fixed_sample_data() local
1743 fll = event->hw.flags & PERF_X86_EVENT_PEBS_LDLAT; in setup_pebs_fixed_sample_data()
1752 if (fll && (sample_type & PERF_SAMPLE_WEIGHT_TYPE)) { in setup_pebs_fixed_sample_data()
1851 if ((sample_type & PERF_SAMPLE_WEIGHT_TYPE) && !fll) { in setup_pebs_fixed_sample_data()