/linux-master/sound/soc/codecs/ |
H A D | madera.c | 3474 static int madera_find_fratio(struct madera_fll *fll, unsigned int fref, argument 3477 switch (fll->madera->type) { 3479 switch (fll->madera->rev) { 3488 fll->fout, 3500 return madera_find_main_fratio(fref, fll->fout, fratio); 3504 static int madera_calc_fratio(struct madera_fll *fll, argument 3524 init_ratio = madera_find_fratio(fll, fref, sync, &cfg->fratio); 3526 madera_fll_err(fll, "Unable to find FRATIO for fref=%uHz\n", 3534 switch (fll->madera->type) { 3536 switch (fll 3600 madera_find_fll_gain(struct madera_fll *fll, struct madera_fll_cfg *cfg, unsigned int fref, const struct madera_fll_gains *gains, int n_gains) argument 3621 madera_calc_fll(struct madera_fll *fll, struct madera_fll_cfg *cfg, unsigned int fref, bool sync) argument 3771 madera_is_enabled_fll(struct madera_fll *fll, int base) argument 3787 madera_wait_for_fll(struct madera_fll *fll, bool requested) argument 3820 madera_set_fll_phase_integrator(struct madera_fll *fll, struct madera_fll_cfg *ref_cfg, bool sync) argument 3842 madera_set_fll_clks_reg(struct madera_fll *fll, bool ena, unsigned int reg, unsigned int mask, unsigned int shift) argument 3882 madera_set_fll_clks(struct madera_fll *fll, int base, bool ena) argument 3890 madera_set_fllao_clks(struct madera_fll *fll, int base, bool ena) argument 3898 madera_set_fllhj_clks(struct madera_fll *fll, int base, bool ena) argument 3906 madera_disable_fll(struct madera_fll *fll) argument 3947 madera_enable_fll(struct madera_fll *fll) argument 4112 madera_apply_fll(struct madera_fll *fll) argument 4122 madera_set_fll_syncclk(struct madera_fll *fll, int source, unsigned int fref, unsigned int fout) argument 4141 madera_set_fll_refclk(struct madera_fll *fll, int source, unsigned int fref, unsigned int fout) argument 4173 madera_init_fll(struct madera *madera, int id, int base, struct madera_fll *fll) argument 4239 madera_enable_fll_ao(struct madera_fll *fll, const struct reg_sequence *patch, unsigned int patch_size) argument 4295 madera_disable_fll_ao(struct madera_fll *fll) argument 4331 madera_set_fll_ao_refclk(struct madera_fll *fll, int source, unsigned int fin, unsigned int fout) argument 4376 madera_fllhj_disable(struct madera_fll *fll) argument 4420 madera_fllhj_apply(struct madera_fll *fll, int fin) argument 4566 madera_fllhj_enable(struct madera_fll *fll) argument 4631 madera_fllhj_validate(struct madera_fll *fll, unsigned int ref_in, unsigned int fout) argument 4653 madera_fllhj_set_refclk(struct madera_fll *fll, int source, unsigned int fin, unsigned int fout) argument [all...] |
H A D | arizona.c | 2105 static int arizona_validate_fll(struct arizona_fll *fll, argument 2111 if (fll->fout && Fout != fll->fout) { 2112 arizona_fll_err(fll, 2118 arizona_fll_err(fll, 2124 Fvco_min = ARIZONA_FLL_MIN_FVCO * fll->vco_mult; 2126 arizona_fll_err(fll, "No FLL_OUTDIV for Fout=%uHz\n", 2150 static int arizona_calc_fratio(struct arizona_fll *fll, argument 2173 arizona_fll_err(fll, "Unable to find FRATIO for Fref=%uHz\n", 2178 switch (fll 2255 arizona_calc_fll(struct arizona_fll *fll, struct arizona_fll_cfg *cfg, unsigned int Fref, bool sync) argument 2364 arizona_is_enabled_fll(struct arizona_fll *fll, int base) argument 2380 arizona_set_fll_clks(struct arizona_fll *fll, int base, bool ena) argument 2416 arizona_enable_fll(struct arizona_fll *fll) argument 2532 arizona_disable_fll(struct arizona_fll *fll) argument 2555 arizona_set_fll_refclk(struct arizona_fll *fll, int source, unsigned int Fref, unsigned int Fout) argument 2579 arizona_set_fll(struct arizona_fll *fll, int source, unsigned int Fref, unsigned int Fout) argument 2613 arizona_init_fll(struct arizona *arizona, int id, int base, int lock_irq, int ok_irq, struct arizona_fll *fll) argument [all...] |
H A D | wm8995.c | 382 struct fll_config fll[2], fll_suspend[2]; member in struct:wm8995_priv 693 rate = wm8995->fll[0].out; 697 rate = wm8995->fll[1].out; 1723 static int wm8995_get_fll_config(struct fll_div *fll, argument 1732 fll->clk_ref_div = 0; 1734 fll->clk_ref_div++; 1737 if (fll->clk_ref_div > 3) 1740 pr_debug("CLK_REF_DIV=%d, Fref=%dHz\n", fll->clk_ref_div, freq_in); 1743 fll->outdiv = 3; 1744 while (freq_out * (fll 1801 struct fll_div fll; local [all...] |
H A D | wm8994.c | 186 rate = wm8994->fll[0].out; 191 rate = wm8994->fll[1].out; 2122 static int wm8994_get_fll_config(struct wm8994 *control, struct fll_div *fll, argument 2131 fll->clk_ref_div = 0; 2133 fll->clk_ref_div++; 2136 if (fll->clk_ref_div > 3) 2139 pr_debug("CLK_REF_DIV=%d, Fref=%dHz\n", fll->clk_ref_div, freq_in); 2142 fll->outdiv = 3; 2143 while (freq_out * (fll->outdiv + 1) < 90000000) { 2144 fll 2211 struct fll_div fll; local [all...] |
H A D | madera.h | 411 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 D | wm8994.h | 90 struct wm8994_fll_config fll[2], fll_suspend[2]; member in struct:wm8994_priv
|
H A D | wm8997.c | 34 struct arizona_fll fll[2]; member in struct:wm8997_priv 933 return arizona_set_fll(&wm8997->fll[0], source, Fref, Fout); 935 return arizona_set_fll(&wm8997->fll[1], source, Fref, Fout); 937 return arizona_set_fll_refclk(&wm8997->fll[0], source, Fref, 940 return arizona_set_fll_refclk(&wm8997->fll[1], source, Fref, 1140 for (i = 0; i < ARRAY_SIZE(wm8997->fll); i++) 1141 wm8997->fll[i].vco_mult = 1; 1145 &wm8997->fll[0]); 1148 &wm8997->fll[1]);
|
H A D | wm8998.c | 34 struct arizona_fll fll[2]; member in struct:wm8998_priv 1265 return arizona_set_fll(&wm8998->fll[0], source, Fref, Fout); 1267 return arizona_set_fll(&wm8998->fll[1], source, Fref, Fout); 1269 return arizona_set_fll_refclk(&wm8998->fll[0], source, Fref, 1272 return arizona_set_fll_refclk(&wm8998->fll[1], source, Fref, 1365 for (i = 0; i < ARRAY_SIZE(wm8998->fll); i++) 1366 wm8998->fll[i].vco_mult = 1; 1370 &wm8998->fll[0]); 1373 &wm8998->fll[1]);
|
H A D | cs47l24.c | 37 struct arizona_fll fll[2]; member in struct:cs47l24_priv 941 return arizona_set_fll(&cs47l24->fll[0], source, Fref, Fout); 943 return arizona_set_fll(&cs47l24->fll[1], source, Fref, Fout); 945 return arizona_set_fll_refclk(&cs47l24->fll[0], source, Fref, 948 return arizona_set_fll_refclk(&cs47l24->fll[1], source, Fref, 1256 for (i = 0; i < ARRAY_SIZE(cs47l24->fll); i++) 1257 cs47l24->fll[i].vco_mult = 3; 1261 &cs47l24->fll[0]); 1264 &cs47l24->fll[1]);
|
H A D | arizona.h | 342 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 D | wm5100.c | 79 struct wm5100_fll fll[2]; member in struct:wm5100_priv 1763 struct wm5100_fll *fll; local 1769 fll = &wm5100->fll[0]; 1774 fll = &wm5100->fll[1]; 1785 if (fll->fout) 1787 fll->fout = 0; 1829 try_wait_for_completion(&fll->lock); 1846 time_left = wait_for_completion_timeout(&fll [all...] |
H A D | wm5102.c | 38 struct arizona_fll fll[2]; member in struct:wm5102_priv 1757 return arizona_set_fll(&wm5102->fll[0], source, Fref, Fout); 1759 return arizona_set_fll(&wm5102->fll[1], source, Fref, Fout); 1761 return arizona_set_fll_refclk(&wm5102->fll[0], source, Fref, 1764 return arizona_set_fll_refclk(&wm5102->fll[1], source, Fref, 2082 for (i = 0; i < ARRAY_SIZE(wm5102->fll); i++) 2083 wm5102->fll[i].vco_mult = 1; 2087 &wm5102->fll[0]); 2090 &wm5102->fll[1]);
|
H A D | cs47l15.c | 43 struct madera_fll fll[2]; member in struct:cs47l15 1133 return madera_set_fll_refclk(&cs47l15->fll[0], source, fref, 1136 return madera_set_fll_ao_refclk(&cs47l15->fll[1], source, fref, 1139 return madera_set_fll_syncclk(&cs47l15->fll[0], source, fref, 1433 &cs47l15->fll[0]); 1435 &cs47l15->fll[1]);
|
H A D | cs47l85.c | 37 struct madera_fll fll[3]; member in struct:cs47l85 2230 return madera_set_fll_refclk(&cs47l85->fll[0], source, fref, 2233 return madera_set_fll_refclk(&cs47l85->fll[1], source, fref, 2236 return madera_set_fll_refclk(&cs47l85->fll[2], source, fref, 2239 return madera_set_fll_syncclk(&cs47l85->fll[0], source, fref, 2242 return madera_set_fll_syncclk(&cs47l85->fll[1], source, fref, 2245 return madera_set_fll_syncclk(&cs47l85->fll[2], source, fref, 2658 &cs47l85->fll[0]); 2660 &cs47l85->fll[1]); 2662 &cs47l85->fll[ [all...] |
H A D | cs47l90.c | 37 struct madera_fll fll[3]; member in struct:cs47l90 2152 return madera_set_fll_refclk(&cs47l90->fll[0], source, fref, 2155 return madera_set_fll_refclk(&cs47l90->fll[1], source, fref, 2158 return madera_set_fll_ao_refclk(&cs47l90->fll[2], source, fref, 2161 return madera_set_fll_syncclk(&cs47l90->fll[0], source, fref, 2164 return madera_set_fll_syncclk(&cs47l90->fll[1], source, fref, 2581 &cs47l90->fll[0]); 2583 &cs47l90->fll[1]); 2585 &cs47l90->fll[2]);
|
H A D | wm5110.c | 39 struct arizona_fll fll[2]; member in struct:wm5110_priv 2057 return arizona_set_fll(&wm5110->fll[0], source, Fref, Fout); 2059 return arizona_set_fll(&wm5110->fll[1], source, Fref, Fout); 2061 return arizona_set_fll_refclk(&wm5110->fll[0], source, Fref, 2064 return arizona_set_fll_refclk(&wm5110->fll[1], source, Fref, 2440 for (i = 0; i < ARRAY_SIZE(wm5110->fll); i++) 2441 wm5110->fll[i].vco_mult = 3; 2445 &wm5110->fll[0]); 2448 &wm5110->fll[1]);
|
H A D | cs47l35.c | 37 struct madera_fll fll; member in struct:cs47l35 1341 return madera_set_fll_refclk(&cs47l35->fll, source, fref, 1344 return madera_set_fll_syncclk(&cs47l35->fll, source, fref, 1711 madera_init_fll(madera, 1, MADERA_FLL1_CONTROL_1 - 1, &cs47l35->fll);
|
H A D | wm9081.c | 643 int fll = 0; local 700 fll = 1; 718 if (fll)
|
H A D | cs47l92.c | 37 struct madera_fll fll[2]; member in struct:cs47l92 1683 return madera_fllhj_set_refclk(&cs47l92->fll[0], source, fref, 1686 return madera_fllhj_set_refclk(&cs47l92->fll[1], source, fref, 2035 &cs47l92->fll[0]); 2037 &cs47l92->fll[1]);
|
/linux-master/fs/ |
H A D | locks.c | 638 struct file_lock_list_struct *fll = this_cpu_ptr(&file_lock_list); local 642 spin_lock(&fll->lock); 644 hlist_add_head(&flc->flc_link, &fll->hlist); 645 spin_unlock(&fll->lock); 651 struct file_lock_list_struct *fll; local 663 fll = per_cpu_ptr(&file_lock_list, flc->flc_link_cpu); 664 spin_lock(&fll->lock); 666 spin_unlock(&fll->lock); 2993 struct file_lock_list_struct *fll = per_cpu_ptr(&file_lock_list, i); local 2995 spin_lock_init(&fll [all...] |
/linux-master/drivers/mfd/ |
H A D | arizona-core.c | 317 unsigned int fll; member in struct:arizona_sysclk_state 327 ret = regmap_read(arizona->regmap, ARIZONA_FLL1_CONTROL_1, &state->fll); 365 err = regmap_write(arizona->regmap, ARIZONA_FLL1_CONTROL_1, state->fll); 386 ret = regmap_write(arizona->regmap, ARIZONA_FLL1_CONTROL_1, state->fll);
|
/linux-master/arch/x86/events/intel/ |
H A D | ds.c | 1624 int fll; local 1630 fll = event->hw.flags & PERF_X86_EVENT_PEBS_LDLAT; 1639 if (fll && (sample_type & PERF_SAMPLE_WEIGHT_TYPE)) { 1738 if ((sample_type & PERF_SAMPLE_WEIGHT_TYPE) && !fll) {
|
/linux-master/drivers/media/i2c/ |
H A D | ov08x40.c | 1569 int fll; local 1616 fll = ((ov08x->cur_mode->height + ctrl->val) << 1621 fll);
|