Searched refs:reg_div (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/Documentation/arm/Samsung/ |
D | clksrc-change-registers.awk | 91 reg_div="" 108 reg_div = extract_value(line) 124 printf "rdiv '" reg_div "'\n" > "/dev/stderr" 129 sub(reg_src, reg_div, generated) 133 printf "/* rdiv " reg_div " */\n" 139 if (reg_div != "") { 141 printf ".reg = " reg_div ", "
|
/Linux-v4.19/drivers/clk/bcm/ |
D | clk-kona.c | 57 static inline u64 scaled_div_value(struct bcm_clk_div *div, u32 reg_div) in scaled_div_value() argument 59 return (u64)reg_div + ((u64)1 << div->u.s.frac_width); in scaled_div_value() 93 u32 reg_div; in scaled_div_max() local 98 reg_div = ((u32)1 << div->u.s.width) - 1; in scaled_div_max() 100 return scaled_div_value(div, reg_div); in scaled_div_max() 567 u32 reg_div; in divider_read_scaled() local 577 reg_div = bitfield_extract(reg_val, div->u.s.shift, div->u.s.width); in divider_read_scaled() 580 return scaled_div_value(div, reg_div); in divider_read_scaled() 594 u32 reg_div; in __div_commit() local 607 reg_div = bitfield_extract(reg_val, div->u.s.shift, in __div_commit() [all …]
|
/Linux-v4.19/drivers/clk/mvebu/ |
D | armada-37xx-periph.c | 74 void __iomem *reg_div; member 163 .reg_div = (void *)_reg, \ 467 div = get_div(pm_cpu->reg_div, pm_cpu->shift_div); in clk_pm_cpu_recalc_rate() 655 pmcpu_clk->reg_div = reg + (u64)pmcpu_clk->reg_div; in armada_3700_add_composite_clk()
|