Lines Matching +full:write +full:- +full:protect
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 * Power Management Controller (PMC) - System peripherals registers.
55 #define AT91_PMC_UPLLCOUNT (0xf << 20) /* UTMI PLL Start-up Time */
57 #define AT91_PMC_BIASCOUNT (0xf << 28) /* UTMI BIAS Start-up Time */
69 #define AT91_PMC_MOSCRCEN (1 << 3) /* Main On-Chip RC Oscillator Enable [some SAM9] */
70 #define AT91_PMC_OSCOUNT (0xff << 8) /* Main Oscillator Start-up Time */
156 #define AT91_PMC_PCKR(n) (0x40 + ((n) * 4)) /* Programmable Clock 0-N Registers */
177 #define AT91_PMC_MOSCRCS (1 << 17) /* Main On-Chip RC [some SAM9] */
189 #define AT91_PMC_LPM BIT(20) /* Low-power Mode */
199 #define AT91_PMC_PROT 0xe4 /* Write Protect Mode Register [some SAM9] */
200 #define AT91_PMC_WPEN (0x1 << 0) /* Write Protect Enable */
201 #define AT91_PMC_WPKEY (0xffffff << 8) /* Write Protect Key */
204 #define AT91_PMC_WPSR 0xe8 /* Write Protect Status Register [some SAM9] */
205 #define AT91_PMC_WPVS (0x1 << 0) /* Write Protect Violation Status */
206 #define AT91_PMC_WPVSRC (0xffff << 8) /* Write Protect Violation Source */
216 #define AT91_PMC_PCR_CMD (0x1 << 12) /* Command (read=0, write=1) */