/arch/powerpc/mm/ |
D | tlb-radix.c | 29 unsigned long rb,rs,prs,r; in __tlbiel_pid() local 31 rb = PPC_BIT(53); /* IS = 1 */ in __tlbiel_pid() 32 rb |= set << PPC_BITLSHIFT(51); in __tlbiel_pid() 39 : : "r"(rb), "i"(r), "i"(prs), "i"(ric), "r"(rs) : "memory"); in __tlbiel_pid() 58 unsigned long rb,rs,prs,r; in _tlbie_pid() local 60 rb = PPC_BIT(53); /* IS = 1 */ in _tlbie_pid() 67 : : "r"(rb), "i"(r), "i"(prs), "i"(ric), "r"(rs) : "memory"); in _tlbie_pid() 74 unsigned long rb,rs,prs,r; in _tlbiel_va() local 76 rb = va & ~(PPC_BITMASK(52, 63)); in _tlbiel_va() 77 rb |= ap << PPC_BITLSHIFT(58); in _tlbiel_va() [all …]
|
D | pgtable-radix.c | 304 unsigned long rb = 3UL << PPC_BITLSHIFT(53); /* IS = 3 */ in update_hid_for_radix() local 309 : : "r"(rb), "i"(1), "i"(0), "i"(2), "r"(0) : "memory"); in update_hid_for_radix() 312 : : "r"(rb), "i"(1), "i"(1), "i"(2), "r"(0) : "memory"); in update_hid_for_radix()
|
/arch/arm/lib/ |
D | getuser.S | 45 rb .req ip label 47 3: ldrbt rb, [r0], #0 49 rb .req r0 label 51 3: ldrb rb, [r0, #1] 54 orr r2, r2, rb, lsl #8 56 orr r2, rb, r2, lsl #8 105 rb .req ip label 107 10: ldrbt rb, [r0], #0 109 rb .req r0 label 111 10: ldrb rb, [r0, #1] [all …]
|
/arch/x86/mm/ |
D | pat_rbtree.c | 50 struct memtype *data = container_of(node, struct memtype, rb); in get_subtree_max_end() 60 child_max_end = get_subtree_max_end(data->rb.rb_right); in compute_subtree_max_end() 64 child_max_end = get_subtree_max_end(data->rb.rb_left); in compute_subtree_max_end() 71 RB_DECLARE_CALLBACKS(static, memtype_rb_augment_cb, struct memtype, rb, in RB_DECLARE_CALLBACKS() argument 82 struct memtype *data = container_of(node, struct memtype, rb); in RB_DECLARE_CALLBACKS() 122 node = rb_next(&match->rb); in memtype_rb_match() 124 match = container_of(node, struct memtype, rb); in memtype_rb_match() 151 node = rb_next(&match->rb); in memtype_rb_check_conflict() 153 match = container_of(node, struct memtype, rb); in memtype_rb_check_conflict() 163 node = rb_next(&match->rb); in memtype_rb_check_conflict() [all …]
|
D | pat_internal.h | 14 struct rb_node rb; member
|
/arch/powerpc/include/asm/ |
D | kvm_book3s_64.h | 107 unsigned long rb = 0, va_low, sllp; in compute_tlbie_rb() local 126 rb = (v & ~0x7fUL) << 16; /* AVA field */ in compute_tlbie_rb() 150 rb |= sllp << 5; /* AP field */ in compute_tlbie_rb() 151 rb |= (va_low & 0x7ff) << 12; /* remaining 11 bits of AVA */ in compute_tlbie_rb() 160 rb |= (va_low << mmu_psize_defs[b_psize].shift) & 0x7ff000; in compute_tlbie_rb() 164 rb &= ~((1ul << mmu_psize_defs[a_psize].shift) - 1); in compute_tlbie_rb() 171 rb |= ((va_low << aval_shift) & 0xfe); in compute_tlbie_rb() 173 rb |= 1; /* L field */ in compute_tlbie_rb() 175 rb |= penc << 12; /* LP field */ in compute_tlbie_rb() 179 rb |= (v >> HPTE_V_SSIZE_SHIFT) << 8; /* B field */ in compute_tlbie_rb() [all …]
|
D | asm-compat.h | 78 #define PPC405_ERR77(ra,rb) stringify_in_c(dcbt ra, rb;) argument 81 #define PPC405_ERR77(ra,rb) argument
|
D | ppc_asm.h | 27 #define ACCOUNT_CPU_USER_ENTRY(ptr, ra, rb) argument 28 #define ACCOUNT_CPU_USER_EXIT(ptr, ra, rb) argument 31 #define ACCOUNT_CPU_USER_ENTRY(ptr, ra, rb) \ argument 33 PPC_LL rb, ACCOUNT_STARTTIME_USER(ptr); \ 35 subf rb,rb,ra; /* subtract start value */ \ 37 add ra,ra,rb; /* add on to user time */ \ 40 #define ACCOUNT_CPU_USER_EXIT(ptr, ra, rb) \ argument 42 PPC_LL rb, ACCOUNT_STARTTIME(ptr); \ 44 subf rb,rb,ra; /* subtract start value */ \ 46 add ra,ra,rb; /* add on to system time */ \ [all …]
|
D | ppc-opcode.h | 362 #define PPC_TLBIE_5(rb,rs,ric,prs,r) \ argument 364 ___PPC_RB(rb) | ___PPC_RS(rs) | \ 367 #define PPC_TLBIEL(rb,rs,ric,prs,r) \ argument 369 ___PPC_RB(rb) | ___PPC_RS(rs) | \
|
/arch/sparc/kernel/ |
D | btext.c | 22 static void draw_byte_32(unsigned char *bits, unsigned int *base, int rb); 23 static void draw_byte_16(unsigned char *bits, unsigned int *base, int rb); 24 static void draw_byte_8(unsigned char *bits, unsigned int *base, int rb); 197 int rb = dispDeviceRowBytes; in draw_byte() local 202 draw_byte_32(font, (unsigned int *)base, rb); in draw_byte() 206 draw_byte_16(font, (unsigned int *)base, rb); in draw_byte() 209 draw_byte_8(font, (unsigned int *)base, rb); in draw_byte() 241 static void draw_byte_32(unsigned char *font, unsigned int *base, int rb) in draw_byte_32() argument 258 base = (unsigned int *) ((char *)base + rb); in draw_byte_32() 262 static void draw_byte_16(unsigned char *font, unsigned int *base, int rb) in draw_byte_16() argument [all …]
|
/arch/tile/kernel/ |
D | unaligned.c | 179 uint64_t *rb, uint64_t *clob1, uint64_t *clob2, in find_regs() argument 207 *rb = reg; in find_regs() 208 alias_reg_map = (1ULL << *ra) | (1ULL << *rb); in find_regs() 259 *rb = reg; in find_regs() 260 alias_reg_map = (1ULL << *ra) | (1ULL << *rb); in find_regs() 315 static bool check_regs(uint64_t rd, uint64_t ra, uint64_t rb, in check_regs() argument 329 if ((rb >= 56) && (rb != TREG_ZERO)) in check_regs() 393 static tilegx_bundle_bits jit_x0_dblalign(int rd, int ra, int rb) in jit_x0_dblalign() argument 398 create_SrcB_X0(rb); in jit_x0_dblalign() 435 static tilegx_bundle_bits jit_x1_st1_add(int ra, int rb, int imm8) in jit_x1_st1_add() argument [all …]
|
/arch/powerpc/lib/ |
D | sstep.c | 131 int ra, rb; in xform_ea() local 135 rb = (instr >> 11) & 0x1f; in xform_ea() 136 ea = regs->gpr[rb]; in xform_ea() 645 unsigned int opcode, ra, rb, rd, spr, u; in analyse_instr() local 730 rb = (instr >> 11) & 0x1f; in analyse_instr() 733 rb = (regs->ccr >> (31 - rb)) & 1; in analyse_instr() 734 val = (instr >> (6 + ra * 2 + rb)) & 1; in analyse_instr() 771 rb = (instr >> 11) & 0x1f; in analyse_instr() 844 regs->gpr[ra] = (regs->gpr[ra] & ~imm) | (ROTATE(val, rb) & imm); in analyse_instr() 851 regs->gpr[ra] = ROTATE(val, rb) & MASK32(mb, me); in analyse_instr() [all …]
|
/arch/powerpc/kernel/ |
D | mce_power.c | 33 unsigned long rb; in flush_tlb_206() local 38 rb = TLBIEL_INVAL_SET; in flush_tlb_206() 41 rb = TLBIEL_INVAL_SET_LPID; in flush_tlb_206() 50 asm volatile("tlbiel %0" : : "r" (rb)); in flush_tlb_206() 51 rb += 1 << TLBIEL_INVAL_SET_SHIFT; in flush_tlb_206() 110 unsigned long rb = be64_to_cpu(slb->save_area[i].esid); in flush_and_reload_slb() local 113 rb = (rb & ~0xFFFul) | i; in flush_and_reload_slb() 114 asm volatile("slbmte %0,%1" : : "r" (rs), "r" (rb)); in flush_and_reload_slb()
|
D | btext.c | 425 static void draw_byte_32(unsigned char *font, unsigned int *base, int rb) in draw_byte_32() argument 442 base = (unsigned int *) ((char *)base + rb); in draw_byte_32() 446 static inline void draw_byte_16(unsigned char *font, unsigned int *base, int rb) in draw_byte_16() argument 460 base = (unsigned int *) ((char *)base + rb); in draw_byte_16() 464 static inline void draw_byte_8(unsigned char *font, unsigned int *base, int rb) in draw_byte_8() argument 476 base = (unsigned int *) ((char *)base + rb); in draw_byte_8() 484 int rb = dispDeviceRowBytes; in draw_byte() local 490 draw_byte_32(font, (unsigned int *)base, rb); in draw_byte() 494 draw_byte_16(font, (unsigned int *)base, rb); in draw_byte() 497 draw_byte_8(font, (unsigned int *)base, rb); in draw_byte()
|
/arch/powerpc/kvm/ |
D | e500_emulate.c | 54 static int kvmppc_e500_emul_msgclr(struct kvm_vcpu *vcpu, int rb) in kvmppc_e500_emul_msgclr() argument 56 ulong param = vcpu->arch.gpr[rb]; in kvmppc_e500_emul_msgclr() 66 static int kvmppc_e500_emul_msgsnd(struct kvm_vcpu *vcpu, int rb) in kvmppc_e500_emul_msgsnd() argument 68 ulong param = vcpu->arch.gpr[rb]; in kvmppc_e500_emul_msgsnd() 69 int prio = dbell2prio(rb); in kvmppc_e500_emul_msgsnd() 136 int rb = get_rb(inst); in kvmppc_core_emulate_op_e500() local 150 emulated = kvmppc_e500_emul_msgsnd(vcpu, rb); in kvmppc_core_emulate_op_e500() 154 emulated = kvmppc_e500_emul_msgclr(vcpu, rb); in kvmppc_core_emulate_op_e500() 167 ea = kvmppc_get_ea_indexed(vcpu, ra, rb); in kvmppc_core_emulate_op_e500() 173 ea = kvmppc_get_ea_indexed(vcpu, ra, rb); in kvmppc_core_emulate_op_e500() [all …]
|
D | book3s_pr_papr.c | 94 unsigned long v = 0, pteg, rb; in kvmppc_h_pr_remove() local 116 rb = compute_tlbie_rb(pte[0], pte[1], pte_index); in kvmppc_h_pr_remove() 117 vcpu->arch.mmu.tlbie(vcpu, rb, rb & 1 ? true : false); in kvmppc_h_pr_remove() 158 unsigned long pteg, rb, flags; in kvmppc_h_pr_bulk_remove() local 203 rb = compute_tlbie_rb(pte[0], pte[1], in kvmppc_h_pr_bulk_remove() 205 vcpu->arch.mmu.tlbie(vcpu, rb, rb & 1 ? true : false); in kvmppc_h_pr_bulk_remove() 222 unsigned long rb, pteg, r, v; in kvmppc_h_pr_protect() local 249 rb = compute_tlbie_rb(v, r, pte_index); in kvmppc_h_pr_protect() 250 vcpu->arch.mmu.tlbie(vcpu, rb, rb & 1 ? true : false); in kvmppc_h_pr_protect()
|
D | book3s_hv_ras.c | 57 unsigned long rb = be64_to_cpu(slb->save_area[i].esid); in reload_slb() local 60 rb = (rb & ~0xFFFul) | i; /* insert entry number */ in reload_slb() 61 asm volatile("slbmte %0,%1" : : "r" (rs), "r" (rb)); in reload_slb()
|
D | book3s_64_mmu.c | 378 static void kvmppc_mmu_book3s_64_slbmte(struct kvm_vcpu *vcpu, u64 rs, u64 rb) in kvmppc_mmu_book3s_64_slbmte() argument 384 dprintk("KVM MMU: slbmte(0x%llx, 0x%llx)\n", rs, rb); in kvmppc_mmu_book3s_64_slbmte() 386 esid = GET_ESID(rb); in kvmppc_mmu_book3s_64_slbmte() 387 esid_1t = GET_ESID_1T(rb); in kvmppc_mmu_book3s_64_slbmte() 388 slb_nr = rb & 0xfff; in kvmppc_mmu_book3s_64_slbmte() 399 slbe->valid = (rb & SLB_ESID_V) ? 1 : 0; in kvmppc_mmu_book3s_64_slbmte() 420 slbe->orige = rb & (ESID_MASK | SLB_ESID_V); in kvmppc_mmu_book3s_64_slbmte() 494 u64 rb = 0, rs = 0; in kvmppc_mmu_book3s_64_mtsrin() local 517 rb |= (srnum & 0xf) << 28; in kvmppc_mmu_book3s_64_mtsrin() 519 rb |= 1 << 27; in kvmppc_mmu_book3s_64_mtsrin() [all …]
|
D | book3s_emulate.c | 97 int rb = get_rb(inst); in kvmppc_core_emulate_op_pr() local 167 srnum = (kvmppc_get_gpr(vcpu, rb) >> 28) & 0xf; in kvmppc_core_emulate_op_pr() 182 (kvmppc_get_gpr(vcpu, rb) >> 28) & 0xf, in kvmppc_core_emulate_op_pr() 189 ulong addr = kvmppc_get_gpr(vcpu, rb); in kvmppc_core_emulate_op_pr() 229 kvmppc_get_gpr(vcpu, rb)); in kvmppc_core_emulate_op_pr() 236 kvmppc_get_gpr(vcpu, rb)); in kvmppc_core_emulate_op_pr() 250 rb_val = kvmppc_get_gpr(vcpu, rb); in kvmppc_core_emulate_op_pr() 261 rb_val = kvmppc_get_gpr(vcpu, rb); in kvmppc_core_emulate_op_pr() 271 ulong rb_val = kvmppc_get_gpr(vcpu, rb); in kvmppc_core_emulate_op_pr() 676 ulong rb = get_rb(inst); in kvmppc_alignment_dar() [all …]
|
D | book3s_hv_rm_mmu.c | 436 unsigned long v, r, rb; in kvmppc_do_h_remove() local 457 rb = compute_tlbie_rb(v, be64_to_cpu(hpte[1]), pte_index); in kvmppc_do_h_remove() 458 do_tlbies(kvm, &rb, 1, global_invalidates(kvm, flags), true); in kvmppc_do_h_remove() 607 unsigned long v, r, rb, mask, bits; in kvmppc_h_protect() local 651 rb = compute_tlbie_rb(v, r, pte_index); in kvmppc_h_protect() 654 do_tlbies(kvm, &rb, 1, global_invalidates(kvm, flags), in kvmppc_h_protect() 802 unsigned long rb; in kvmppc_invalidate_hpte() local 805 rb = compute_tlbie_rb(be64_to_cpu(hptep[0]), be64_to_cpu(hptep[1]), in kvmppc_invalidate_hpte() 807 do_tlbies(kvm, &rb, 1, 1, true); in kvmppc_invalidate_hpte() 814 unsigned long rb; in kvmppc_clear_ref_hpte() local [all …]
|
/arch/mips/alchemy/common/ |
D | usb.c | 391 static inline int au1000_usb_init(unsigned long rb, int reg) in au1000_usb_init() argument 393 void __iomem *base = (void __iomem *)KSEG1ADDR(rb + reg); in au1000_usb_init() 424 static inline void __au1xx0_ohci_control(int enable, unsigned long rb, int creg) in __au1xx0_ohci_control() argument 426 void __iomem *base = (void __iomem *)KSEG1ADDR(rb); in __au1xx0_ohci_control() 457 static inline int au1000_usb_control(int block, int enable, unsigned long rb, in au1000_usb_control() argument 464 __au1xx0_ohci_control(enable, rb, creg); in au1000_usb_control()
|
/arch/powerpc/sysdev/ |
D | mpic.c | 174 struct mpic_reg_bank *rb, in _mpic_read() argument 180 return dcr_read(rb->dhost, reg); in _mpic_read() 183 return in_be32(rb->base + (reg >> 2)); in _mpic_read() 186 return in_le32(rb->base + (reg >> 2)); in _mpic_read() 191 struct mpic_reg_bank *rb, in _mpic_write() argument 197 dcr_write(rb->dhost, reg, value); in _mpic_write() 201 out_be32(rb->base + (reg >> 2), value); in _mpic_write() 205 out_le32(rb->base + (reg >> 2), value); in _mpic_write() 315 struct mpic_reg_bank *rb, unsigned int offset, in _mpic_map_mmio() argument 318 rb->base = ioremap(phys_addr + offset, size); in _mpic_map_mmio() [all …]
|
D | fsl_pci.c | 939 unsigned int rd, ra, rb, d; in mcheck_handle_load() local 943 rb = get_rb(inst); in mcheck_handle_load() 956 regs->gpr[ra] += regs->gpr[rb]; in mcheck_handle_load() 965 regs->gpr[ra] += regs->gpr[rb]; in mcheck_handle_load() 975 regs->gpr[ra] += regs->gpr[rb]; in mcheck_handle_load() 984 regs->gpr[ra] += regs->gpr[rb]; in mcheck_handle_load()
|
/arch/arm/boot/compressed/ |
D | head.S | 32 .macro loadsp, rb, tmp 34 .macro writeb, ch, rb argument 38 .macro loadsp, rb, tmp 40 .macro writeb, ch, rb argument 44 .macro loadsp, rb, tmp 46 .macro writeb, ch, rb argument 55 .macro writeb, ch, rb argument 56 senduart \ch, \rb 60 .macro loadsp, rb, tmp 61 mov \rb, #0x80000000 @ physical base address [all …]
|
/arch/arm/common/ |
D | dmabounce.c | 170 struct safe_buffer *b, *rb = NULL; in find_safe_buffer() local 178 rb = b; in find_safe_buffer() 183 return rb; in find_safe_buffer()
|