Home
last modified time | relevance | path

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

/linux/drivers/clk/
H A Dclk-apple-nco.c60 #define COARSE_DIV_OFFSET 2 macro
129 return coarse < COARSE_DIV_OFFSET || in applnco_div_out_of_range()
130 coarse >= COARSE_DIV_OFFSET + LFSR_TBLSIZE; in applnco_div_out_of_range()
140 return FIELD_PREP(DIV_COARSE, tbl->fwd[coarse - COARSE_DIV_OFFSET]) | in applnco_div_translate()
148 coarse = tbl->inv[FIELD_GET(DIV_COARSE, regval)] + COARSE_DIV_OFFSET; in applnco_div_translate_inv()
218 unsigned long lo = *parent_rate / (COARSE_DIV_OFFSET + LFSR_TBLSIZE) + 1; in applnco_round_rate()
219 unsigned long hi = *parent_rate / COARSE_DIV_OFFSET; in applnco_round_rate()