Searched refs:reg_div (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/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-v5.10/drivers/clk/bcm/ |
D | clk-kona.c | 58 static inline u64 scaled_div_value(struct bcm_clk_div *div, u32 reg_div) in scaled_div_value() argument 60 return (u64)reg_div + ((u64)1 << div->u.s.frac_width); in scaled_div_value() 94 u32 reg_div; in scaled_div_max() local 99 reg_div = ((u32)1 << div->u.s.width) - 1; in scaled_div_max() 101 return scaled_div_value(div, reg_div); in scaled_div_max() 568 u32 reg_div; in divider_read_scaled() local 578 reg_div = bitfield_extract(reg_val, div->u.s.shift, div->u.s.width); in divider_read_scaled() 581 return scaled_div_value(div, reg_div); in divider_read_scaled() 595 u32 reg_div; in __div_commit() local 608 reg_div = bitfield_extract(reg_val, div->u.s.shift, in __div_commit() [all …]
|
/Linux-v5.10/drivers/clk/mvebu/ |
D | armada-37xx-periph.c | 84 void __iomem *reg_div; member 173 .reg_div = (void *)_reg, \ 479 div = get_div(pm_cpu->reg_div, pm_cpu->shift_div); in clk_pm_cpu_recalc_rate() 667 pmcpu_clk->reg_div = reg + (u64)pmcpu_clk->reg_div; in armada_3700_add_composite_clk()
|