Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/bcm/
H A Dclk-bcm2835.c689 u32 ndiv, fdiv, a2w_ctl; in bcm2835_pll_set_rate() local
737 a2w_ctl = cprman_read(cprman, data->a2w_ctrl_reg); in bcm2835_pll_set_rate()
738 a2w_ctl &= ~A2W_PLL_CTRL_NDIV_MASK; in bcm2835_pll_set_rate()
739 a2w_ctl |= ndiv << A2W_PLL_CTRL_NDIV_SHIFT; in bcm2835_pll_set_rate()
740 a2w_ctl &= ~A2W_PLL_CTRL_PDIV_MASK; in bcm2835_pll_set_rate()
741 a2w_ctl |= 1 << A2W_PLL_CTRL_PDIV_SHIFT; in bcm2835_pll_set_rate()
742 cprman_write(cprman, data->a2w_ctrl_reg, a2w_ctl); in bcm2835_pll_set_rate()