Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/clk/
H A Dclk_pic32.c57 #define REFO_DIV_SHIFT 16 macro
208 v &= ~(REFO_DIV_MASK << REFO_DIV_SHIFT); in pic32_set_refclk()
209 v |= (div << REFO_DIV_SHIFT); in pic32_set_refclk()
242 rodiv = (v >> REFO_DIV_SHIFT) & REFO_DIV_MASK; in pic32_get_refclk()
/openbmc/linux/drivers/clk/microchip/
H A Dclk-core.c54 #define REFO_DIV_SHIFT 16 macro
366 rodiv = (v >> REFO_DIV_SHIFT) & REFO_DIV_MASK; in roclk_recalc_rate()
513 v &= ~(REFO_DIV_MASK << REFO_DIV_SHIFT); in roclk_set_rate_and_parent()
514 v |= rodiv << REFO_DIV_SHIFT; in roclk_set_rate_and_parent()