Lines Matching refs:PPC_BIT

42 #define PPC_BIT(bit)            (0x8000000000000000ULL >> (bit))  macro
46 #define PPC_BITMASK(bs, be) ((PPC_BIT(bs) - PPC_BIT(be)) | PPC_BIT(bs))
527 #define MMCR0_FC PPC_BIT(32) /* Freeze Counters */
528 #define MMCR0_PMAO PPC_BIT(56) /* Perf Monitor Alert Occurred */
529 #define MMCR0_PMAE PPC_BIT(37) /* Perf Monitor Alert Enable */
530 #define MMCR0_EBE PPC_BIT(43) /* Perf Monitor EBB Enable */
531 #define MMCR0_FCECE PPC_BIT(38) /* FC on Enabled Cond or Event */
532 #define MMCR0_PMCC0 PPC_BIT(44) /* PMC Control bit 0 */
533 #define MMCR0_PMCC1 PPC_BIT(45) /* PMC Control bit 1 */
535 #define MMCR0_FC14 PPC_BIT(58) /* PMC Freeze Counters 1-4 bit */
536 #define MMCR0_FC56 PPC_BIT(59) /* PMC Freeze Counters 5-6 bit */
537 #define MMCR0_PMC1CE PPC_BIT(48) /* MMCR0 PMC1 Condition Enabled */
538 #define MMCR0_PMCjCE PPC_BIT(49) /* MMCR0 PMCj Condition Enabled */
539 #define MMCR0_FCP PPC_BIT(34) /* Freeze Counters/BHRB if PR=1 */
540 #define MMCR0_FCPC PPC_BIT(51) /* Condition for FCP bit */
545 #define MMCR2_FC1P0 PPC_BIT(1) /* MMCR2 FCnP0 for PMC1 */
546 #define MMCR2_FC2P0 PPC_BIT(10) /* MMCR2 FCnP0 for PMC2 */
547 #define MMCR2_FC3P0 PPC_BIT(19) /* MMCR2 FCnP0 for PMC3 */
548 #define MMCR2_FC4P0 PPC_BIT(28) /* MMCR2 FCnP0 for PMC4 */
549 #define MMCR2_FC5P0 PPC_BIT(37) /* MMCR2 FCnP0 for PMC5 */
550 #define MMCR2_FC6P0 PPC_BIT(46) /* MMCR2 FCnP0 for PMC6 */
554 #define MMCRA_BHRBRD PPC_BIT(26) /* BHRB Recording Disable */
570 #define CTRL_RUN PPC_BIT(63)
574 #define BESCR_GE PPC_BIT(0)
576 #define BESCR_EE PPC_BIT(30)
578 #define BESCR_PME PPC_BIT(31)
580 #define BESCR_EEO PPC_BIT(62)
582 #define BESCR_PMEO PPC_BIT(63)
586 #define LPCR_VPM0 PPC_BIT(0)
587 #define LPCR_VPM1 PPC_BIT(1)
588 #define LPCR_ISL PPC_BIT(2)
589 #define LPCR_KBV PPC_BIT(3)
597 #define LPCR_HVEE PPC_BIT(17) /* Hypervisor Virt Exit Enable */
600 #define LPCR_HAIL PPC_BIT(37) /* ISA v3.1 HV AIL=3 equivalent */
601 #define LPCR_ILE PPC_BIT(38)
604 #define LPCR_UPRT PPC_BIT(41) /* Use Process Table */
605 #define LPCR_EVIRT PPC_BIT(42) /* Enhanced Virtualisation */
606 #define LPCR_HR PPC_BIT(43) /* Host Radix */
607 #define LPCR_ONL PPC_BIT(45)
608 #define LPCR_LD PPC_BIT(46) /* Large Decrementer */
609 #define LPCR_P7_PECE0 PPC_BIT(49)
610 #define LPCR_P7_PECE1 PPC_BIT(50)
611 #define LPCR_P7_PECE2 PPC_BIT(51)
612 #define LPCR_P8_PECE0 PPC_BIT(47)
613 #define LPCR_P8_PECE1 PPC_BIT(48)
614 #define LPCR_P8_PECE2 PPC_BIT(49)
615 #define LPCR_P8_PECE3 PPC_BIT(50)
616 #define LPCR_P8_PECE4 PPC_BIT(51)
620 #define LPCR_PDEE PPC_BIT(47) /* Privileged Doorbell Exit EN */
621 #define LPCR_HDEE PPC_BIT(48) /* Hyperv Doorbell Exit Enable */
622 #define LPCR_EEE PPC_BIT(49) /* External Exit Enable */
623 #define LPCR_DEE PPC_BIT(50) /* Decrementer Exit Enable */
624 #define LPCR_OEE PPC_BIT(51) /* Other Exit Enable */
625 #define LPCR_MER PPC_BIT(52)
626 #define LPCR_GTSE PPC_BIT(53) /* Guest Translation Shootdown */
627 #define LPCR_TC PPC_BIT(54)
628 #define LPCR_HEIC PPC_BIT(59) /* HV Extern Interrupt Control */
629 #define LPCR_LPES0 PPC_BIT(60)
630 #define LPCR_LPES1 PPC_BIT(61)
631 #define LPCR_RMI PPC_BIT(62)
632 #define LPCR_HVICE PPC_BIT(62) /* HV Virtualisation Int Enable */
633 #define LPCR_HDICE PPC_BIT(63)
636 #define PSSCR_ESL PPC_BIT(42) /* Enable State Loss */
637 #define PSSCR_EC PPC_BIT(43) /* Exit Criterion */
714 #define ESR_PIL PPC_BIT(36) /* Illegal Instruction */
715 #define ESR_PPR PPC_BIT(37) /* Privileged Instruction */
716 #define ESR_PTR PPC_BIT(38) /* Trap */
717 #define ESR_FP PPC_BIT(39) /* Floating-Point Operation */
718 #define ESR_ST PPC_BIT(40) /* Store Operation */
719 #define ESR_AP PPC_BIT(44) /* Auxiliary Processor Operation */
720 #define ESR_PUO PPC_BIT(45) /* Unimplemented Operation */
721 #define ESR_BO PPC_BIT(46) /* Byte Ordering */
722 #define ESR_PIE PPC_BIT(47) /* Imprecise exception */
723 #define ESR_DATA PPC_BIT(53) /* Data Access (Embedded page table) */
724 #define ESR_TLBI PPC_BIT(54) /* TLB Ineligible (Embedded page table) */
725 #define ESR_PT PPC_BIT(55) /* Page Table (Embedded page table) */
726 #define ESR_SPV PPC_BIT(56) /* SPE/VMX operation */
727 #define ESR_EPID PPC_BIT(57) /* External Process ID operation */
728 #define ESR_VLEMI PPC_BIT(58) /* VLE operation */
729 #define ESR_MIF PPC_BIT(62) /* Misaligned instruction (VLE) */
917 #define FPSCR_MTFS_MASK (~(MAKE_64BIT_MASK(36, 28) | PPC_BIT(28) | \
918 FP_FEX | FP_VX | PPC_BIT(52)))
2317 #define HID0_HILE PPC_BIT(19) /* POWER8 */
2318 #define HID0_POWER9_HILE PPC_BIT(4)
2319 #define HID0_ENABLE_ATTN PPC_BIT(31) /* POWER8 */
2320 #define HID0_POWER9_ENABLE_ATTN PPC_BIT(3)
2672 PCR_COMPAT_2_05 = PPC_BIT(62),
2673 PCR_COMPAT_2_06 = PPC_BIT(61),
2674 PCR_COMPAT_2_07 = PPC_BIT(60),
2675 PCR_COMPAT_3_00 = PPC_BIT(59),
2676 PCR_COMPAT_3_10 = PPC_BIT(58),
2677 PCR_VEC_DIS = PPC_BIT(0), /* Vec. disable (bit NA since POWER8) */
2678 PCR_VSX_DIS = PPC_BIT(1), /* VSX disable (bit NA since POWER8) */
2679 PCR_TM_DIS = PPC_BIT(2), /* Trans. memory disable (POWER8) */
2684 HMER_MALFUNCTION_ALERT = PPC_BIT(0),
2685 HMER_PROC_RECV_DONE = PPC_BIT(2),
2686 HMER_PROC_RECV_ERROR_MASKED = PPC_BIT(3),
2687 HMER_TFAC_ERROR = PPC_BIT(4),
2688 HMER_TFMR_PARITY_ERROR = PPC_BIT(5),
2689 HMER_XSCOM_FAIL = PPC_BIT(8),
2690 HMER_XSCOM_DONE = PPC_BIT(9),
2691 HMER_PROC_RECV_AGAIN = PPC_BIT(11),
2692 HMER_WARN_RISE = PPC_BIT(14),
2693 HMER_WARN_FALL = PPC_BIT(15),
2694 HMER_SCOM_FIR_HMI = PPC_BIT(16),
2695 HMER_TRIG_FIR_HMI = PPC_BIT(17),
2696 HMER_HYP_RESOURCE_ERR = PPC_BIT(20),
2703 TFMR_MASK_HMI = PPC_BIT(10),
2704 TFMR_TB_ECLIPZ = PPC_BIT(14),
2705 TFMR_LOAD_TOD_MOD = PPC_BIT(16),
2706 TFMR_MOVE_CHIP_TOD_TO_TB = PPC_BIT(18),
2707 TFMR_CLEAR_TB_ERRORS = PPC_BIT(24),
2711 TFMR_TB_ENABLED = PPC_BIT(40),
2712 TFMR_TB_VALID = PPC_BIT(41),
2713 TFMR_TB_SYNC_OCCURED = PPC_BIT(42),
2714 TFMR_FIRMWARE_CONTROL_ERROR = PPC_BIT(46),