Lines Matching refs:cprman_write
335 static inline void cprman_write(struct bcm2835_cprman *cprman, u32 reg, u32 val) in cprman_write() function
357 cprman_write(cprman, CM_TCNTCTL, CM_KILL); in bcm2835_measure_tcnt_mux()
359 cprman_write(cprman, CM_TCNTCTL, in bcm2835_measure_tcnt_mux()
363 cprman_write(cprman, CM_OSCCOUNT, osccount); in bcm2835_measure_tcnt_mux()
392 cprman_write(cprman, CM_TCNTCTL, 0); in bcm2835_measure_tcnt_mux()
621 cprman_write(cprman, data->cm_ctrl_reg, CM_PLL_ANARST); in bcm2835_pll_off()
622 cprman_write(cprman, data->a2w_ctrl_reg, in bcm2835_pll_off()
635 cprman_write(cprman, data->a2w_ctrl_reg, in bcm2835_pll_on()
641 cprman_write(cprman, data->cm_ctrl_reg, in bcm2835_pll_on()
657 cprman_write(cprman, data->a2w_ctrl_reg, in bcm2835_pll_on()
678 cprman_write(cprman, ana_reg_base + i * 4, ana[i]); in bcm2835_pll_write_ana()
726 cprman_write(cprman, A2W_XOSC_CTRL, in bcm2835_pll_set_rate()
735 cprman_write(cprman, data->frac_reg, fdiv); in bcm2835_pll_set_rate()
742 cprman_write(cprman, data->a2w_ctrl_reg, a2w_ctl); in bcm2835_pll_set_rate()
830 cprman_write(cprman, data->cm_reg, in bcm2835_pll_divider_off()
833 cprman_write(cprman, data->a2w_reg, in bcm2835_pll_divider_off()
846 cprman_write(cprman, data->a2w_reg, in bcm2835_pll_divider_on()
850 cprman_write(cprman, data->cm_reg, in bcm2835_pll_divider_on()
872 cprman_write(cprman, data->a2w_reg, div); in bcm2835_pll_divider_set_rate()
874 cprman_write(cprman, data->cm_reg, cm | data->load_mask); in bcm2835_pll_divider_set_rate()
875 cprman_write(cprman, data->cm_reg, cm & ~data->load_mask); in bcm2835_pll_divider_set_rate()
1065 cprman_write(cprman, data->ctl_reg, in bcm2835_clock_off()
1080 cprman_write(cprman, data->ctl_reg, in bcm2835_clock_on()
1121 cprman_write(cprman, data->ctl_reg, ctl); in bcm2835_clock_set_rate()
1123 cprman_write(cprman, data->div_reg, div); in bcm2835_clock_set_rate()
1269 cprman_write(cprman, data->ctl_reg, src); in bcm2835_clock_set_parent()