Home
last modified time | relevance | path

Searched refs:rb (Results 1 – 25 of 123) sorted by relevance

12345

/arch/arm/lib/
Dgetuser.S49 rb .req ip label
51 3: ldrbt rb, [r0], #0
53 rb .req r0 label
55 3: ldrb rb, [r0, #1]
58 orr r2, r2, rb, lsl #8
60 orr r2, rb, r2, lsl #8
117 rb .req ip label
119 10: ldrbt rb, [r0], #0
121 rb .req r0 label
123 10: ldrb rb, [r0, #1]
[all …]
/arch/x86/mm/
Dpat_rbtree.c51 struct memtype *data = rb_entry(node, struct memtype, rb); in get_subtree_max_end()
60 struct memtype, rb, u64, subtree_max_end, NODE_END) in RB_DECLARE_CALLBACKS_MAX()
70 struct memtype *data = rb_entry(node, struct memtype, rb); in RB_DECLARE_CALLBACKS_MAX()
110 node = rb_next(&match->rb); in memtype_rb_match()
112 match = rb_entry(node, struct memtype, rb); in memtype_rb_match()
139 node = rb_next(&match->rb); in memtype_rb_check_conflict()
141 match = rb_entry(node, struct memtype, rb); in memtype_rb_check_conflict()
151 node = rb_next(&match->rb); in memtype_rb_check_conflict()
172 struct memtype *data = rb_entry(*node, struct memtype, rb); in memtype_rb_insert()
184 rb_link_node(&newdata->rb, parent, node); in memtype_rb_insert()
[all …]
Dpat_internal.h15 struct rb_node rb; member
/arch/sparc/kernel/
Dbtext.c23 static void draw_byte_32(unsigned char *bits, unsigned int *base, int rb);
24 static void draw_byte_16(unsigned char *bits, unsigned int *base, int rb);
25 static void draw_byte_8(unsigned char *bits, unsigned int *base, int rb);
198 int rb = dispDeviceRowBytes; in draw_byte() local
203 draw_byte_32(font, (unsigned int *)base, rb); in draw_byte()
207 draw_byte_16(font, (unsigned int *)base, rb); in draw_byte()
210 draw_byte_8(font, (unsigned int *)base, rb); in draw_byte()
242 static void draw_byte_32(unsigned char *font, unsigned int *base, int rb) in draw_byte_32() argument
259 base = (unsigned int *) ((char *)base + rb); in draw_byte_32()
263 static void draw_byte_16(unsigned char *font, unsigned int *base, int rb) in draw_byte_16() argument
[all …]
/arch/powerpc/mm/book3s64/
Dradix_tlb.c32 unsigned long rb; in tlbiel_radix_set_isa300() local
35 rb = (set << PPC_BITLSHIFT(51)) | (is << PPC_BITLSHIFT(53)); in tlbiel_radix_set_isa300()
39 : : "r"(rb), "r"(rs), "i"(ric), "i"(prs) in tlbiel_radix_set_isa300()
96 unsigned long rb,rs,prs,r; in __tlbiel_pid() local
98 rb = PPC_BIT(53); /* IS = 1 */ in __tlbiel_pid()
99 rb |= set << PPC_BITLSHIFT(51); in __tlbiel_pid()
105 : : "r"(rb), "i"(r), "i"(prs), "i"(ric), "r"(rs) : "memory"); in __tlbiel_pid()
106 trace_tlbie(0, 1, rb, rs, ric, prs, r); in __tlbiel_pid()
111 unsigned long rb,rs,prs,r; in __tlbie_pid() local
113 rb = PPC_BIT(53); /* IS = 1 */ in __tlbie_pid()
[all …]
Dhash_native.c48 unsigned long rb; in tlbiel_hash_set_isa206() local
50 rb = (set << PPC_BITLSHIFT(51)) | (is << PPC_BITLSHIFT(53)); in tlbiel_hash_set_isa206()
52 asm volatile("tlbiel %0" : : "r" (rb)); in tlbiel_hash_set_isa206()
63 unsigned long rb; in tlbiel_hash_set_isa300() local
67 rb = (set << PPC_BITLSHIFT(51)) | (is << PPC_BITLSHIFT(53)); in tlbiel_hash_set_isa300()
71 : : "r"(rb), "r"(rs), "i"(ric), "i"(prs), "r"(r) in tlbiel_hash_set_isa300()
206 unsigned long rb,rs,prs,r,ric; in fixup_tlbie_vpn() local
208 rb = PPC_BIT(52); /* IS = 2 */ in fixup_tlbie_vpn()
220 : : "r"(rb), "i"(r), "i"(prs), in fixup_tlbie_vpn()
234 unsigned long rb; in __tlbie() local
[all …]
/arch/powerpc/include/asm/
Dasm-405.h11 #define PPC405_ERR77(ra,rb) stringify_in_c(dcbt ra, rb;) argument
14 #define PPC405_ERR77(ra,rb) argument
Dtrace.h190 TP_PROTO(unsigned long lpid, unsigned long local, unsigned long rb,
193 TP_ARGS(lpid, local, rb, rs, ric, prs, r),
197 __field(unsigned long, rb)
207 __entry->rb = rb;
216 __entry->rb, __entry->rs, __entry->ric, __entry->prs,
Dkvm_book3s_64.h304 unsigned long rb = 0, va_low, sllp; in compute_tlbie_rb() local
322 rb = (v & ~0x7fUL) << 16; /* AVA field */ in compute_tlbie_rb()
346 rb |= sllp << 5; /* AP field */ in compute_tlbie_rb()
348 rb |= (va_low & 0x7ff) << 12; /* remaining 11 bits of AVA */ in compute_tlbie_rb()
355 rb |= (va_low << b_pgshift) & 0x7ff000; in compute_tlbie_rb()
359 rb &= ~((1ul << a_pgshift) - 1); in compute_tlbie_rb()
366 rb |= ((va_low << aval_shift) & 0xfe); in compute_tlbie_rb()
368 rb |= 1; /* L field */ in compute_tlbie_rb()
369 rb |= r & 0xff000 & ((1ul << a_pgshift) - 1); /* LP field */ in compute_tlbie_rb()
371 rb |= (v >> HPTE_V_SSIZE_SHIFT) << 8; /* B field */ in compute_tlbie_rb()
[all …]
Dppc_asm.h26 #define ACCOUNT_CPU_USER_ENTRY(ptr, ra, rb)
27 #define ACCOUNT_CPU_USER_EXIT(ptr, ra, rb)
30 #define ACCOUNT_CPU_USER_ENTRY(ptr, ra, rb) \
32 PPC_LL rb, ACCOUNT_STARTTIME_USER(ptr); \
34 subf rb,rb,ra; /* subtract start value */ \
36 add ra,ra,rb; /* add on to user time */ \
39 #define ACCOUNT_CPU_USER_EXIT(ptr, ra, rb) \
41 PPC_LL rb, ACCOUNT_STARTTIME(ptr); \
43 subf rb,rb,ra; /* subtract start value */ \
45 add ra,ra,rb; /* add on to system time */ \
/arch/powerpc/kvm/
De500_emulate.c51 static int kvmppc_e500_emul_msgclr(struct kvm_vcpu *vcpu, int rb) in kvmppc_e500_emul_msgclr() argument
53 ulong param = vcpu->arch.regs.gpr[rb]; in kvmppc_e500_emul_msgclr()
63 static int kvmppc_e500_emul_msgsnd(struct kvm_vcpu *vcpu, int rb) in kvmppc_e500_emul_msgsnd() argument
65 ulong param = vcpu->arch.regs.gpr[rb]; in kvmppc_e500_emul_msgsnd()
66 int prio = dbell2prio(rb); in kvmppc_e500_emul_msgsnd()
133 int rb = get_rb(inst); in kvmppc_core_emulate_op_e500() local
147 emulated = kvmppc_e500_emul_msgsnd(vcpu, rb); in kvmppc_core_emulate_op_e500()
151 emulated = kvmppc_e500_emul_msgclr(vcpu, rb); in kvmppc_core_emulate_op_e500()
164 ea = kvmppc_get_ea_indexed(vcpu, ra, rb); in kvmppc_core_emulate_op_e500()
170 ea = kvmppc_get_ea_indexed(vcpu, ra, rb); in kvmppc_core_emulate_op_e500()
[all …]
Dbook3s_pr_papr.c91 unsigned long v = 0, pteg, rb; in kvmppc_h_pr_remove() local
113 rb = compute_tlbie_rb(pte[0], pte[1], pte_index); in kvmppc_h_pr_remove()
114 vcpu->arch.mmu.tlbie(vcpu, rb, rb & 1 ? true : false); in kvmppc_h_pr_remove()
155 unsigned long pteg, rb, flags; in kvmppc_h_pr_bulk_remove() local
200 rb = compute_tlbie_rb(pte[0], pte[1], in kvmppc_h_pr_bulk_remove()
202 vcpu->arch.mmu.tlbie(vcpu, rb, rb & 1 ? true : false); in kvmppc_h_pr_bulk_remove()
219 unsigned long rb, pteg, r, v; in kvmppc_h_pr_protect() local
246 rb = compute_tlbie_rb(v, r, pte_index); in kvmppc_h_pr_protect()
247 vcpu->arch.mmu.tlbie(vcpu, rb, rb & 1 ? true : false); in kvmppc_h_pr_protect()
Dbook3s_hv_ras.c56 unsigned long rb = be64_to_cpu(slb->save_area[i].esid); in reload_slb() local
59 rb = (rb & ~0xFFFul) | i; /* insert entry number */ in reload_slb()
60 asm volatile("slbmte %0,%1" : : "r" (rs), "r" (rb)); in reload_slb()
Dbook3s_64_mmu.c378 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()
507 u64 rb = 0, rs = 0; in kvmppc_mmu_book3s_64_mtsrin() local
530 rb |= (srnum & 0xf) << 28; in kvmppc_mmu_book3s_64_mtsrin()
532 rb |= 1 << 27; in kvmppc_mmu_book3s_64_mtsrin()
[all …]
Dbook3s_hv_builtin.c705 unsigned long rb, set; in kvmhv_p9_set_lpcr() local
720 rb = TLBIEL_INVAL_SET_LPID + in kvmhv_p9_set_lpcr()
723 "r" (rb), "r" (0)); in kvmhv_p9_set_lpcr()
808 unsigned long rb, set; in flush_guest_tlb() local
810 rb = PPC_BIT(52); /* IS = 2 */ in flush_guest_tlb()
814 : : "r" (rb), "i" (1), "i" (1), "i" (2), in flush_guest_tlb()
817 rb += PPC_BIT(51); /* increment set number */ in flush_guest_tlb()
820 : : "r" (rb), "i" (1), "i" (1), "i" (0), in flush_guest_tlb()
830 : : "r" (rb), "i" (0), "i" (0), "i" (0), in flush_guest_tlb()
832 rb += PPC_BIT(51); /* increment set number */ in flush_guest_tlb()
Dbook3s_emulate.c245 int rb = get_rb(inst); in kvmppc_core_emulate_op_pr() local
332 srnum = (kvmppc_get_gpr(vcpu, rb) >> 28) & 0xf; in kvmppc_core_emulate_op_pr()
347 (kvmppc_get_gpr(vcpu, rb) >> 28) & 0xf, in kvmppc_core_emulate_op_pr()
354 ulong addr = kvmppc_get_gpr(vcpu, rb); in kvmppc_core_emulate_op_pr()
394 kvmppc_get_gpr(vcpu, rb)); in kvmppc_core_emulate_op_pr()
401 kvmppc_get_gpr(vcpu, rb)); in kvmppc_core_emulate_op_pr()
416 b = kvmppc_get_gpr(vcpu, rb); in kvmppc_core_emulate_op_pr()
432 rb_val = kvmppc_get_gpr(vcpu, rb); in kvmppc_core_emulate_op_pr()
443 rb_val = kvmppc_get_gpr(vcpu, rb); in kvmppc_core_emulate_op_pr()
453 ulong rb_val = kvmppc_get_gpr(vcpu, rb); in kvmppc_core_emulate_op_pr()
[all …]
Dbook3s_hv_rm_mmu.c442 unsigned long rb,rs,prs,r,ric; in fixup_tlbie_lpid() local
444 rb = PPC_BIT(52); /* IS = 2 */ in fixup_tlbie_lpid()
456 : : "r"(rb), "i"(r), "i"(prs), in fixup_tlbie_lpid()
503 unsigned long v, r, rb; in kvmppc_do_h_remove() local
531 rb = compute_tlbie_rb(v, pte_r, pte_index); in kvmppc_do_h_remove()
532 do_tlbies(kvm, &rb, 1, global_invalidates(kvm), true); in kvmppc_do_h_remove()
692 unsigned long v, r, rb, mask, bits; in kvmppc_h_protect() local
739 rb = compute_tlbie_rb(v, r, pte_index); in kvmppc_h_protect()
742 do_tlbies(kvm, &rb, 1, global_invalidates(kvm), true); in kvmppc_h_protect()
1037 unsigned long rb; in kvmppc_invalidate_hpte() local
[all …]
/arch/powerpc/lib/
Dsstep.c178 int ra, rb; in xform_ea() local
182 rb = (instr >> 11) & 0x1f; in xform_ea()
183 ea = regs->gpr[rb]; in xform_ea()
1184 unsigned int opcode, ra, rb, rc, rd, spr, u; in analyse_instr() local
1267 rb = (instr >> 11) & 0x1f; in analyse_instr()
1270 rb = (regs->ccr >> (31 - rb)) & 1; in analyse_instr()
1271 val = (instr >> (6 + ra * 2 + rb)) & 1; in analyse_instr()
1306 rb = (instr >> 11) & 0x1f; in analyse_instr()
1330 "r" (regs->gpr[rb]), "r" (regs->gpr[rc])); in analyse_instr()
1336 "r" (regs->gpr[rb]), "r" (regs->gpr[rc])); in analyse_instr()
[all …]
/arch/powerpc/kernel/
Dbtext.c420 static void draw_byte_32(unsigned char *font, unsigned int *base, int rb) in draw_byte_32() argument
437 base = (unsigned int *) ((char *)base + rb); in draw_byte_32()
441 static inline void draw_byte_16(unsigned char *font, unsigned int *base, int rb) in draw_byte_16() argument
455 base = (unsigned int *) ((char *)base + rb); in draw_byte_16()
459 static inline void draw_byte_8(unsigned char *font, unsigned int *base, int rb) in draw_byte_8() argument
471 base = (unsigned int *) ((char *)base + rb); in draw_byte_8()
479 int rb = dispDeviceRowBytes; in draw_byte() local
485 draw_byte_32(font, (unsigned int *)base, rb); in draw_byte()
489 draw_byte_16(font, (unsigned int *)base, rb); in draw_byte()
492 draw_byte_8(font, (unsigned int *)base, rb); in draw_byte()
/arch/openrisc/kernel/
Dtraps.c304 unsigned int rb, op, jmp; in adjust_pc() local
311 rb = (jmp & 0x0000ffff) >> 11; in adjust_pc()
335 regs->pc = regs->gpr[rb]; in adjust_pc()
338 regs->pc = regs->gpr[rb]; in adjust_pc()
396 unsigned int ra, rb; in simulate_swa() local
405 rb = (insn >> 11) & 0x1f; in simulate_swa()
419 if (put_user(regs->gpr[rb], vaddr)) { in simulate_swa()
431 *((unsigned long *)vaddr) = regs->gpr[rb]; in simulate_swa()
/arch/s390/boot/
Dipl_report.c19 #define for_each_rb_entry(entry, rb) \ argument
20 for (entry = rb->entries; \
21 (void *) entry + sizeof(*entry) <= (void *) rb + rb->len; \
/arch/mips/alchemy/common/
Dusb.c392 static inline int au1000_usb_init(unsigned long rb, int reg) in au1000_usb_init() argument
394 void __iomem *base = (void __iomem *)KSEG1ADDR(rb + reg); in au1000_usb_init()
425 static inline void __au1xx0_ohci_control(int enable, unsigned long rb, int creg) in __au1xx0_ohci_control() argument
427 void __iomem *base = (void __iomem *)KSEG1ADDR(rb); in __au1xx0_ohci_control()
458 static inline int au1000_usb_control(int block, int enable, unsigned long rb, in au1000_usb_control() argument
465 __au1xx0_ohci_control(enable, rb, creg); in au1000_usb_control()
/arch/powerpc/sysdev/
Dmpic.c174 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 …]
/arch/arm/boot/dts/
Dpm9g45.dts40 pinctrl_nand_rb: nand-rb-0 {
95 rb-gpios = <&pioD 3 GPIO_ACTIVE_HIGH>;
Dat91-linea.dtsi63 atmel,rb = <0>;

12345