Lines Matching +full:write +full:- +full:protect
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 * Power Management Controller (PMC) - System peripherals registers.
57 #define AT91_PMC_UPLLCOUNT (0xf << 20) /* UTMI PLL Start-up Time */
59 #define AT91_PMC_BIASCOUNT (0xf << 28) /* UTMI BIAS Start-up Time */
71 #define AT91_PMC_MOSCRCEN (1 << 3) /* Main On-Chip RC Oscillator Enable [some SAM9] */
72 #define AT91_PMC_OSCOUNT (0xff << 8) /* Main Oscillator Start-up Time */
188 #define AT91_PMC_PCKR(n) (0x40 + ((n) * 4)) /* Programmable Clock 0-N Registers */
209 #define AT91_PMC_MOSCRCS (1 << 17) /* Main On-Chip RC [some SAM9] */
221 #define AT91_PMC_LPM BIT(20) /* Low-power Mode */
231 #define AT91_PMC_PROT 0xe4 /* Write Protect Mode Register [some SAM9] */
232 #define AT91_PMC_WPEN (0x1 << 0) /* Write Protect Enable */
233 #define AT91_PMC_WPKEY (0xffffff << 8) /* Write Protect Key */
236 #define AT91_PMC_WPSR 0xe8 /* Write Protect Status Register [some SAM9] */
237 #define AT91_PMC_WPVS (0x1 << 0) /* Write Protect Violation Status */
238 #define AT91_PMC_WPVSRC (0xffff << 8) /* Write Protect Violation Source */
248 #define AT91_PMC_PCR_CMD (0x1 << 12) /* Command (read=0, write=1) */