Home
last modified time | relevance | path

Searched refs:ndiv_frac (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/clk/bcm/
A Dclk-iproc-pll.c95 u64 ndiv_int, ndiv_frac, residual; in pll_calc_param() local
113 vco_out->ndiv_frac = ndiv_frac; in pll_calc_param()
369 ctrl->ndiv_frac.shift); in pll_set_rate()
370 val |= vco->ndiv_frac << ctrl->ndiv_frac.shift; in pll_set_rate()
372 ctrl->ndiv_frac.offset, val); in pll_set_rate()
414 ctrl->ndiv_frac.shift); in pll_set_rate()
415 val |= vco->ndiv_frac << ctrl->ndiv_frac.shift; in pll_set_rate()
464 u64 ndiv, ndiv_int, ndiv_frac; in iproc_pll_recalc_rate() local
488 ndiv_frac = (val >> ctrl->ndiv_frac.shift) & in iproc_pll_recalc_rate()
489 bit_mask(ctrl->ndiv_frac.width); in iproc_pll_recalc_rate()
[all …]
A Dclk-iproc-armpll.c154 unsigned int ndiv_int, ndiv_frac, ndiv; in __get_ndiv() local
167 ndiv_frac = val & IPROC_CLK_PLLARM_NDIV_FRAC_OFFSET_MASK; in __get_ndiv()
177 ndiv_frac = val & IPROC_CLK_PLLARMB_NDIV_FRAC_MASK; in __get_ndiv()
180 ndiv = (ndiv_int << 20) | ndiv_frac; in __get_ndiv()
A Dclk-sr.c42 .ndiv_frac = REG_VAL(0x10, 0, 20),
102 .ndiv_frac = REG_VAL(0x10, 0, 20),
161 .ndiv_frac = REG_VAL(0x10, 0, 20),
196 .ndiv_frac = REG_VAL(0x10, 0, 20),
250 .ndiv_frac = REG_VAL(0x10, 0, 20),
A Dclk-iproc.h97 unsigned int ndiv_frac; member
173 struct iproc_clk_reg_op ndiv_frac; member
A Dclk-nsp.c51 .ndiv_frac = REG_VAL(0x14, 0, 20),
108 .ndiv_frac = REG_VAL(0x4, 0, 20),
A Dclk-cygnus.c65 .ndiv_frac = REG_VAL(0x10, 0, 20),
201 .ndiv_frac = REG_VAL(0x10, 0, 20),
280 .ndiv_frac = REG_VAL(0x8, 10, 20),
/linux/drivers/ssb/
A Ddriver_chipcommon_pmu.c181 u32 ndiv_frac; member
187 { .freq = 12000, .xf = 1, .p1div = 3, .p2div = 22, .ndiv_int = 0x9, .ndiv_frac = 0xFFFFEF, },
188 { .freq = 13000, .xf = 2, .p1div = 1, .p2div = 6, .ndiv_int = 0xb, .ndiv_frac = 0x483483, },
189 { .freq = 14400, .xf = 3, .p1div = 1, .p2div = 10, .ndiv_int = 0xa, .ndiv_frac = 0x1C71C7, },
190 { .freq = 15360, .xf = 4, .p1div = 1, .p2div = 5, .ndiv_int = 0xb, .ndiv_frac = 0x755555, },
191 { .freq = 16200, .xf = 5, .p1div = 1, .p2div = 10, .ndiv_int = 0x5, .ndiv_frac = 0x6E9E06, },
192 { .freq = 16800, .xf = 6, .p1div = 1, .p2div = 10, .ndiv_int = 0x5, .ndiv_frac = 0x3CF3CF, },
193 { .freq = 19200, .xf = 7, .p1div = 1, .p2div = 9, .ndiv_int = 0x5, .ndiv_frac = 0x17B425, },
194 { .freq = 19800, .xf = 8, .p1div = 1, .p2div = 11, .ndiv_int = 0x4, .ndiv_frac = 0xA57EB, },
195 { .freq = 20000, .xf = 9, .p1div = 1, .p2div = 11, .ndiv_int = 0x4, .ndiv_frac = 0, },
[all …]

Completed in 16 milliseconds