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 428 #define MSR_TS1 PPC_BIT_NR(30) 539 #define MMCR0_BHRBA_NR PPC_BIT_NR(42) /* BHRB Available */ 554 #define MMCRA_IFM_SHIFT PPC_BIT_NR(33) 638 #define HFSCR_MSGP PPC_BIT_NR(53) /* Privileged Message Send Facilities */ 639 #define HFSCR_BHRB PPC_BIT_NR(59) /* BHRB Instructions */ 855 #define FPSCR_RN1 PPC_BIT_NR(62) 1189 FIELD(DEXCR, PNH_##name, PPC_BIT_NR(num), 1) \ 1190 FIELD(DEXCR, PRO_##name, PPC_BIT_NR(num + 32), 1) \ 1191 FIELD(HDEXCR, HNU_##name, PPC_BIT_NR(num), 1) \ [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 | 3262 bool wt = extract32(dawrx, PPC_BIT_NR(59), 1); in ppc_cpu_debug_check_watchpoint() 3263 bool wti = extract32(dawrx, PPC_BIT_NR(60), 1); in ppc_cpu_debug_check_watchpoint() 3264 bool hv = extract32(dawrx, PPC_BIT_NR(61), 1); in ppc_cpu_debug_check_watchpoint() 3265 bool sv = extract32(dawrx, PPC_BIT_NR(62), 1); in ppc_cpu_debug_check_watchpoint() 3266 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()
|