Lines Matching refs:pmc_mask
91 .pmc_mask = AT91_PMC_MOSCS, /* in PMC_SR */
98 .pmc_mask = AT91_PMC_LOCKA, /* in PMC_SR */
124 .pmc_mask = AT91_PMC_LOCKB, /* in PMC_SR */
133 at91_sys_write(AT91_PMC_SCER, clk->pmc_mask); in pmc_sys_mode()
135 at91_sys_write(AT91_PMC_SCDR, clk->pmc_mask); in pmc_sys_mode()
151 at91_sys_write(AT91_CKGR_UCKR, uckr | clk->pmc_mask); in pmc_uckr_mode()
153 at91_sys_write(AT91_CKGR_UCKR, uckr & ~(clk->pmc_mask)); in pmc_uckr_mode()
169 .pmc_mask = AT91_PMC_UPLLEN, /* in CKGR_UCKR */
187 .pmc_mask = AT91_PMC_MCKRDY, /* in PMC_SR */
193 at91_sys_write(AT91_PMC_PCER, clk->pmc_mask); in pmc_periph_mode()
195 at91_sys_write(AT91_PMC_PCDR, clk->pmc_mask); in pmc_periph_mode()
456 state = (scsr & clk->pmc_mask) ? "on" : "off"; in at91_clk_show()
458 state = (pcsr & clk->pmc_mask) ? "on" : "off"; in at91_clk_show()
460 state = (uckr & clk->pmc_mask) ? "on" : "off"; in at91_clk_show()
461 else if (clk->pmc_mask) in at91_clk_show()
462 state = (sr & clk->pmc_mask) ? "on" : "off"; in at91_clk_show()
628 uhpck.pmc_mask = AT91RM9200_PMC_UHP; in at91_pllb_usbfs_clock_init()
629 udpck.pmc_mask = AT91RM9200_PMC_UDP; in at91_pllb_usbfs_clock_init()
634 uhpck.pmc_mask = AT91SAM926x_PMC_UHP; in at91_pllb_usbfs_clock_init()
635 udpck.pmc_mask = AT91SAM926x_PMC_UDP; in at91_pllb_usbfs_clock_init()
637 uhpck.pmc_mask = AT91CAP9_PMC_UHP; in at91_pllb_usbfs_clock_init()
660 uhpck.pmc_mask = AT91SAM926x_PMC_UHP; in at91_upll_usbfs_clock_init()
796 pcdr |= clk->pmc_mask; in at91_clock_reset()
799 scdr |= clk->pmc_mask; in at91_clock_reset()