Searched refs:reg_div (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/Documentation/arch/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-v6.6/drivers/clk/bcm/ |
D | clk-kona.c | 50 static inline u64 scaled_div_value(struct bcm_clk_div *div, u32 reg_div) in scaled_div_value() argument 52 return (u64)reg_div + ((u64)1 << div->u.s.frac_width); in scaled_div_value() 86 u32 reg_div; in scaled_div_max() local 91 reg_div = ((u32)1 << div->u.s.width) - 1; in scaled_div_max() 93 return scaled_div_value(div, reg_div); in scaled_div_max() 560 u32 reg_div; in divider_read_scaled() local 570 reg_div = bitfield_extract(reg_val, div->u.s.shift, div->u.s.width); in divider_read_scaled() 573 return scaled_div_value(div, reg_div); in divider_read_scaled() 587 u32 reg_div; in __div_commit() local 600 reg_div = bitfield_extract(reg_val, div->u.s.shift, in __div_commit() [all …]
|
/Linux-v6.6/drivers/clk/mvebu/ |
D | armada-37xx-periph.c | 84 void __iomem *reg_div; member 174 .reg_div = (void *)_reg, \ 453 div = get_div(pm_cpu->reg_div, pm_cpu->shift_div); in clk_pm_cpu_recalc_rate() 674 pmcpu_clk->reg_div = reg + (u64)pmcpu_clk->reg_div; in armada_3700_add_composite_clk()
|