Searched refs:safe_div (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/clk/at91/ |
A D | clk-sam9x60-pll.c | 51 u8 safe_div; member 563 div->div = div->safe_div; in sam9x60_div_pll_notifier_fn() 572 if (cdiv == div->safe_div) in sam9x60_div_pll_notifier_fn() 698 u32 safe_div) in sam9x60_clk_register_div_pll() argument 708 if (id > PLL_MAX_ID || !lock || (safe_div && notifier_div)) in sam9x60_clk_register_div_pll() 711 if (safe_div >= PLL_DIV_MAX) in sam9x60_clk_register_div_pll() 712 safe_div = PLL_DIV_MAX - 1; in sam9x60_clk_register_div_pll() 733 div->safe_div = safe_div; in sam9x60_clk_register_div_pll() 749 } else if (div->safe_div) { in sam9x60_clk_register_div_pll()
|
A D | clk-master.c | 40 u32 safe_div; member 287 master_div->safe_div); in clk_master_div_notifier_fn() 651 spinlock_t *lock, u32 flags, u32 safe_div) in at91_clk_register_master_div() argument 666 if (!IS_ERR(hw) && safe_div) { in at91_clk_register_master_div() 668 master_div->safe_div = safe_div; in at91_clk_register_master_div()
|
A D | pmc.h | 185 spinlock_t *lock, u32 flags, u32 safe_div); 218 u32 safe_div);
|
A D | sama7g5.c | 141 u8 safe_div; member 167 .safe_div = 15, }, 979 sama7g5_plls[i][j].safe_div); in sama7g5_pmc_setup()
|
/linux/drivers/md/ |
A D | dm-cache-policy-smq.c | 26 static unsigned safe_div(unsigned n, unsigned d) in safe_div() function 393 entries_per_level = safe_div(nr_elts, nr_levels); in q_set_targets_subrange_() 559 unsigned confidence = safe_div(s->hits << FP_SHIFT, s->hits + s->misses); in stats_assess() 1033 unsigned index = safe_div(hits << 4u, hits + misses); in default_promote_level()
|
Completed in 15 milliseconds