Lines Matching +full:write +full:- +full:enable
1 /* SPDX-License-Identifier: GPL-2.0-only */
6 * Copyright 2009-2010 Freescale Semiconductor, Inc.
12 #include <asm/ppc-opcode.h>
16 #define MSR_UCLE_LG 26 /* User-mode cache lock enable */
17 #define MSR_SPE_LG 25 /* Enable SPE */
18 #define MSR_DWE_LG 10 /* Debug Wait Enable */
19 #define MSR_UBLE_LG 10 /* BTB lock enable (e500) */
23 #define MSR_CM_LG 31 /* Computation Mode (0=32-bit, 1=64-bit) */
56 #define SPRN_SPRG4W 0x114 /* Special Purpose Register General 4 Write */
57 #define SPRN_SPRG5W 0x115 /* Special Purpose Register General 5 Write */
58 #define SPRN_SPRG6W 0x116 /* Special Purpose Register General 6 Write */
59 #define SPRN_SPRG7W 0x117 /* Special Purpose Register General 7 Write */
160 #define SPRN_DCWR 0x3BA /* Data Cache Write-thru Register */
161 #define SPRN_SLER 0x3BB /* Little-endian real mode */
197 #define CCR1_DPC 0x00000100 /* Disable L1 I-Cache/D-Cache parity checking */
201 #define PWRMGTCR0_PW20_WAIT (1 << 14) /* PW20 state enable bit */
204 #define PWRMGTCR0_AV_IDLE_PD_EN (1 << 22) /* Altivec idle enable */
212 #define MCSR_DWB 0x10000000 /* Data Write PLB Error */
214 #define MCSR_ICP 0x04000000 /* I-Cache Parity Error */
215 #define MCSR_DCSP 0x02000000 /* D-Cache Search Parity Error */
216 #define MCSR_DCFP 0x01000000 /* D-Cache Flush Parity Error */
226 #define MCSR_ICPERR 0x40000000UL /* I-Cache Parity Error */
229 #define MCSR_DCP_PERR 0x20000000UL /* D-Cache Push Parity Error */
230 #define MCSR_DCPERR 0x10000000UL /* D-Cache Parity Error */
233 #define MCSR_BUS_WAERR 0x00000020UL /* Write Address Error */
236 #define MCSR_BUS_WBERR 0x00000004UL /* Write Data Bus Error */
241 #define MCSR_DCPERR_MC 0x20000000UL /* D-Cache Parity Error */
243 #define MCSR_NMI 0x00100000UL /* Non-Maskable Interrupt */
262 #define HID1_RFXE 0x00020000 /* Read fault exception enable */
263 #define HID1_R1DPE 0x00008000 /* R1 data bus parity enable */
264 #define HID1_R2DPE 0x00004000 /* R2 data bus parity enable */
265 #define HID1_ASTME 0x00002000 /* Address bus streaming mode enable */
266 #define HID1_ABE 0x00001000 /* Address broadcast enable */
267 #define HID1_MPXTT 0x00000400 /* MPX re-map transfer type */
284 #define DBSR_DAC1W 0x00040000 /* Data Addr Compare 1 Write Event */
286 #define DBSR_DAC2W 0x00010000 /* Data Addr Compare 2 Write Event */
294 #define ESR_MCI 0x80000000 /* Machine Check - Instruction */
295 #define ESR_IMCP 0x80000000 /* Instr. Machine Check - Protection */
296 #define ESR_IMCN 0x40000000 /* Instr. Machine Check - Non-config */
297 #define ESR_IMCB 0x20000000 /* Instr. Machine Check - Bus error */
298 #define ESR_IMCT 0x10000000 /* Instr. Machine Check - Timeout */
299 #define ESR_PIL 0x08000000 /* Program Exception - Illegal */
300 #define ESR_PPR 0x04000000 /* Program Exception - Privileged */
301 #define ESR_PTR 0x02000000 /* Program Exception - Trap */
303 #define ESR_DST 0x00800000 /* Storage Exception - Data miss */
304 #define ESR_DIZ 0x00400000 /* Storage Exception - Zone fault */
328 #define DBCR0_IAC1 0x00800000 /* Instr Addr compare 1 enable */
329 #define DBCR0_IAC2 0x00400000 /* Instr Addr compare 2 enable */
330 #define DBCR0_IAC3 0x00200000 /* Instr Addr compare 3 enable */
331 #define DBCR0_IAC4 0x00100000 /* Instr Addr compare 4 enable */
332 #define DBCR0_DAC1R 0x00080000 /* DAC 1 Read enable */
333 #define DBCR0_DAC1W 0x00040000 /* DAC 1 Write enable */
334 #define DBCR0_DAC2R 0x00020000 /* DAC 2 Read enable */
335 #define DBCR0_DAC2W 0x00010000 /* DAC 2 Write enable */
341 #define dbcr_dac(task) ((task)->thread.debug.dbcr0)
358 #define DBCR1_IAC12M 0x00800000 /* Instr Addr 1-2 range enable */
359 #define DBCR1_IAC12MX 0x00C00000 /* Instr Addr 1-2 range eXclusive */
360 #define DBCR1_IAC12AT 0x00010000 /* Instr Addr 1-2 range Toggle */
371 #define DBCR1_IAC34M 0x00000080 /* Instr Addr 3-4 range enable */
372 #define DBCR1_IAC34MX 0x000000C0 /* Instr Addr 3-4 range eXclusive */
373 #define DBCR1_IAC34AT 0x00000001 /* Instr Addr 3-4 range Toggle */
375 #define dbcr_iac_range(task) ((task)->thread.debug.dbcr1)
378 #define DBCR_IAC12MODE DBCR1_IAC12MX /* IAC 1-2 Mode Bits */
381 #define DBCR_IAC34MODE DBCR1_IAC34MX /* IAC 3-4 Mode Bits */
388 #define DBCR2_DAC12M 0x00800000 /* DAC 1-2 range enable */
389 #define DBCR2_DAC12MM 0x00400000 /* DAC 1-2 Mask mode*/
390 #define DBCR2_DAC12MX 0x00C00000 /* DAC 1-2 range eXclusive */
391 #define DBCR2_DAC12MODE 0x00C00000 /* DAC 1-2 Mode Bits */
392 #define DBCR2_DAC12A 0x00200000 /* DAC 1-2 Asynchronous */
427 #define TCR_WIE 0x08000000 /* WDT Interrupt Enable */
428 #define TCR_PIE 0x04000000 /* PIT Interrupt Enable */
429 #define TCR_DIE TCR_PIE /* DEC Interrupt Enable */
436 #define TCR_FIE 0x00800000 /* FIT Interrupt Enable */
437 #define TCR_ARE 0x00400000 /* Auto Reload Enable */
447 #define TSR_ENW 0x80000000 /* Enable Next Watchdog */
463 #define DCWR_COPY 0 /* Copy-back */
464 #define DCWR_WRITE 1 /* Write-through */
471 #define L1CSR0_CPE 0x00010000 /* Data Cache Parity Enable */
476 #define L1CSR0_DCE 0x00000001 /* Data Cache Enable */
479 #define L1CSR1_CPE 0x00010000 /* Instruction Cache Parity Enable */
482 #define L1CSR1_ICE 0x00000001 /* Instr Cache Enable */
485 #define L1CSR2_DCWS 0x40000000 /* Data Cache write shadow */
491 #define BUCSR_BPEN 0x00000001 /* Branch prediction enable */
495 #define L2CSR0_L2E 0x80000000 /* L2 Cache Enable */
496 #define L2CSR0_L2PE 0x40000000 /* L2 Cache Parity/ECC Enable */
573 #define SPRN_TENSR 0x1b5 /* Thread Enable Status Register */
574 #define SPRN_TENS 0x1b6 /* Thread Enable Set Register */
575 #define SPRN_TENC 0x1b7 /* Thread Enable Clear Register */