Searched refs:PPC_BIT_NR (Results 1 – 7 of 7) sorted by relevance
/openbmc/qemu/tests/tcg/ppc64/ |
H A D | mffsce.c | 9 #define PPC_BIT_NR(nr) (63 - (nr)) macro 11 #define FP_VE (1ull << PPC_BIT_NR(56)) 12 #define FP_UE (1ull << PPC_BIT_NR(58)) 13 #define FP_ZE (1ull << PPC_BIT_NR(59)) 14 #define FP_XE (1ull << PPC_BIT_NR(60)) 15 #define FP_NI (1ull << PPC_BIT_NR(61)) 16 #define FP_RN1 (1ull << PPC_BIT_NR(63))
|
/openbmc/qemu/target/ppc/ |
H A D | cpu.h | 41 #define PPC_BIT_NR(bit) (63 - (bit)) macro 425 #define MSR_SF PPC_BIT_NR(0) /* Sixty-four-bit mode hflags */ 426 #define MSR_TAG PPC_BIT_NR(1) /* Tag-active mode (POWERx ?) */ 427 #define MSR_ISF PPC_BIT_NR(2) /* Sixty-four-bit interrupt mode on 630 */ 428 #define MSR_HV PPC_BIT_NR(3) /* hypervisor state hflags */ 429 #define MSR_TS0 PPC_BIT_NR(29) /* Transactional state, 2 bits (Book3s) */ 430 #define MSR_TS1 PPC_BIT_NR(30) 431 #define MSR_TM PPC_BIT_NR(31) /* Transactional Memory Available (Book3s) */ 432 #define MSR_CM PPC_BIT_NR(32) /* Computation mode for BookE hflags */ 433 #define MSR_ICM PPC_BIT_NR(33) /* Interrupt computation mode for BookE */ [all …]
|
H A D | cpu.c | 138 int mrd = extract32(dawrx, PPC_BIT_NR(48), 54 - 48); in ppc_update_daw0() 139 bool dw = extract32(dawrx, PPC_BIT_NR(57), 1); in ppc_update_daw0() 140 bool dr = extract32(dawrx, PPC_BIT_NR(58), 1); in ppc_update_daw0() 141 bool hv = extract32(dawrx, PPC_BIT_NR(61), 1); in ppc_update_daw0() 142 bool sv = extract32(dawrx, PPC_BIT_NR(62), 1); in ppc_update_daw0() 143 bool pr = extract32(dawrx, PPC_BIT_NR(62), 1); in ppc_update_daw0() 180 int hrammc = extract32(val, PPC_BIT_NR(56), 1); in ppc_store_dawrx0()
|
H A D | mmu-hash64.h | 44 #define SLB_VSID_L_SHIFT PPC_BIT_NR(55) 47 #define SLB_VSID_LP_SHIFT PPC_BIT_NR(59) 64 #define PATE0_GET_PS(dw0) (((dw0) & PATE0_PS) >> PPC_BIT_NR(58))
|
H A D | mmu_helper.c | 433 unsigned is = extract64(rb, PPC_BIT_NR(53), 2); in helper_tlbie_isa300() 462 unsigned set = extract64(rb, PPC_BIT_NR(51), 12); in helper_tlbie_isa300() 496 ap = extract64(rb, PPC_BIT_NR(58), 3); in helper_tlbie_isa300()
|
H A D | excp_helper.c | 3286 bool wt = extract32(dawrx, PPC_BIT_NR(59), 1); in ppc_cpu_debug_check_watchpoint() 3287 bool wti = extract32(dawrx, PPC_BIT_NR(60), 1); in ppc_cpu_debug_check_watchpoint() 3288 bool hv = extract32(dawrx, PPC_BIT_NR(61), 1); in ppc_cpu_debug_check_watchpoint() 3289 bool sv = extract32(dawrx, PPC_BIT_NR(62), 1); in ppc_cpu_debug_check_watchpoint() 3290 bool pr = extract32(dawrx, PPC_BIT_NR(62), 1); in ppc_cpu_debug_check_watchpoint()
|
/openbmc/qemu/hw/ppc/ |
H A D | pnv_adu.c | 85 return (adu->lpc_cmd_reg & PPC_BITMASK(32, 63)) >> PPC_BIT_NR(63); in lpc_cmd_addr() 90 return (adu->lpc_cmd_reg & PPC_BITMASK(5, 11)) >> PPC_BIT_NR(11); in lpc_cmd_size()
|