Home
last modified time | relevance | path

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

123456

/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/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.c33 unsigned long rb; in tlbiel_radix_set_isa300() local
36 rb = (set << PPC_BITLSHIFT(51)) | (is << PPC_BITLSHIFT(53)); in tlbiel_radix_set_isa300()
40 : : "r"(rb), "r"(rs), "i"(ric), "i"(prs) in tlbiel_radix_set_isa300()
97 unsigned long rb,rs,prs,r; in __tlbiel_pid() local
99 rb = PPC_BIT(53); /* IS = 1 */ in __tlbiel_pid()
100 rb |= set << PPC_BITLSHIFT(51); in __tlbiel_pid()
106 : : "r"(rb), "i"(r), "i"(prs), "i"(ric), "r"(rs) : "memory"); in __tlbiel_pid()
107 trace_tlbie(0, 1, rb, rs, ric, prs, r); in __tlbiel_pid()
112 unsigned long rb,rs,prs,r; in __tlbie_pid() local
114 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), "i"(r) in tlbiel_hash_set_isa300()
213 unsigned long rb,rs,prs,r,ric; in fixup_tlbie_vpn() local
215 rb = PPC_BIT(52); /* IS = 2 */ in fixup_tlbie_vpn()
227 : : "r"(rb), "i"(r), "i"(prs), in fixup_tlbie_vpn()
241 unsigned long rb; in __tlbie() local
[all …]
/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.c57 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()
Dbook3s_64_mmu.c364 static void kvmppc_mmu_book3s_64_slbmte(struct kvm_vcpu *vcpu, u64 rs, u64 rb) in kvmppc_mmu_book3s_64_slbmte() argument
370 dprintk("KVM MMU: slbmte(0x%llx, 0x%llx)\n", rs, rb); in kvmppc_mmu_book3s_64_slbmte()
372 esid = GET_ESID(rb); in kvmppc_mmu_book3s_64_slbmte()
373 esid_1t = GET_ESID_1T(rb); in kvmppc_mmu_book3s_64_slbmte()
374 slb_nr = rb & 0xfff; in kvmppc_mmu_book3s_64_slbmte()
385 slbe->valid = (rb & SLB_ESID_V) ? 1 : 0; in kvmppc_mmu_book3s_64_slbmte()
406 slbe->orige = rb & (ESID_MASK | SLB_ESID_V); in kvmppc_mmu_book3s_64_slbmte()
493 u64 rb = 0, rs = 0; in kvmppc_mmu_book3s_64_mtsrin() local
516 rb |= (srnum & 0xf) << 28; in kvmppc_mmu_book3s_64_mtsrin()
518 rb |= 1 << 27; in kvmppc_mmu_book3s_64_mtsrin()
[all …]
Dbook3s_hv_builtin.c697 unsigned long rb, set; in kvmhv_p9_set_lpcr() local
712 rb = TLBIEL_INVAL_SET_LPID + in kvmhv_p9_set_lpcr()
715 "r" (rb), "r" (0)); in kvmhv_p9_set_lpcr()
854 unsigned long rb, set; in flush_guest_tlb() local
856 rb = PPC_BIT(52); /* IS = 2 */ in flush_guest_tlb()
860 : : "r" (rb), "i" (1), "i" (1), "i" (2), in flush_guest_tlb()
863 rb += PPC_BIT(51); /* increment set number */ in flush_guest_tlb()
866 : : "r" (rb), "i" (1), "i" (1), "i" (0), in flush_guest_tlb()
876 : : "r" (rb), "i" (0), "i" (0), "i" (0), in flush_guest_tlb()
878 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.c432 unsigned long rb,rs,prs,r,ric; in fixup_tlbie_lpid() local
434 rb = PPC_BIT(52); /* IS = 2 */ in fixup_tlbie_lpid()
446 : : "r"(rb), "i"(r), "i"(prs), in fixup_tlbie_lpid()
493 unsigned long v, r, rb; in kvmppc_do_h_remove() local
521 rb = compute_tlbie_rb(v, pte_r, pte_index); in kvmppc_do_h_remove()
522 do_tlbies(kvm, &rb, 1, global_invalidates(kvm), true); in kvmppc_do_h_remove()
682 unsigned long v, r, rb, mask, bits; in kvmppc_h_protect() local
729 rb = compute_tlbie_rb(v, r, pte_index); in kvmppc_h_protect()
732 do_tlbies(kvm, &rb, 1, global_invalidates(kvm), true); in kvmppc_h_protect()
1017 unsigned long rb; in kvmppc_invalidate_hpte() local
[all …]
/arch/powerpc/include/asm/
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.h305 unsigned long rb = 0, va_low, sllp; in compute_tlbie_rb() local
323 rb = (v & ~0x7fUL) << 16; /* AVA field */ in compute_tlbie_rb()
347 rb |= sllp << 5; /* AP field */ in compute_tlbie_rb()
349 rb |= (va_low & 0x7ff) << 12; /* remaining 11 bits of AVA */ in compute_tlbie_rb()
356 rb |= (va_low << b_pgshift) & 0x7ff000; in compute_tlbie_rb()
360 rb &= ~((1ul << a_pgshift) - 1); in compute_tlbie_rb()
367 rb |= ((va_low << aval_shift) & 0xfe); in compute_tlbie_rb()
369 rb |= 1; /* L field */ in compute_tlbie_rb()
370 rb |= r & 0xff000 & ((1ul << a_pgshift) - 1); /* LP field */ in compute_tlbie_rb()
372 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/lib/
Dsstep.c180 int ra, rb; in xform_ea() local
184 rb = (instr >> 11) & 0x1f; in xform_ea()
185 ea = regs->gpr[rb]; in xform_ea()
1230 unsigned int opcode, ra, rb, rc, rd, spr, u; in analyse_instr() local
1322 rb = (word >> 11) & 0x1f; in analyse_instr()
1325 rb = (regs->ccr >> (31 - rb)) & 1; in analyse_instr()
1326 val = (word >> (6 + ra * 2 + rb)) & 1; in analyse_instr()
1361 rb = (word >> 11) & 0x1f; in analyse_instr()
1413 "r" (regs->gpr[rb]), "r" (regs->gpr[rc])); in analyse_instr()
1419 "r" (regs->gpr[rb]), "r" (regs->gpr[rc])); in analyse_instr()
[all …]
/arch/powerpc/kernel/
Dbtext.c411 static void draw_byte_32(unsigned char *font, unsigned int *base, int rb) in draw_byte_32() argument
428 base = (unsigned int *) ((char *)base + rb); in draw_byte_32()
432 static inline void draw_byte_16(unsigned char *font, unsigned int *base, int rb) in draw_byte_16() argument
446 base = (unsigned int *) ((char *)base + rb); in draw_byte_16()
450 static inline void draw_byte_8(unsigned char *font, unsigned int *base, int rb) in draw_byte_8() argument
462 base = (unsigned int *) ((char *)base + rb); in draw_byte_8()
470 int rb = dispDeviceRowBytes; in draw_byte() local
476 draw_byte_32(font, (unsigned int *)base, rb); in draw_byte()
480 draw_byte_16(font, (unsigned int *)base, rb); in draw_byte()
483 draw_byte_8(font, (unsigned int *)base, rb); in draw_byte()
/arch/openrisc/kernel/
Dtraps.c298 unsigned int rb, op, jmp; in adjust_pc() local
305 rb = (jmp & 0x0000ffff) >> 11; in adjust_pc()
329 regs->pc = regs->gpr[rb]; in adjust_pc()
332 regs->pc = regs->gpr[rb]; in adjust_pc()
390 unsigned int ra, rb; in simulate_swa() local
399 rb = (insn >> 11) & 0x1f; in simulate_swa()
413 if (put_user(regs->gpr[rb], vaddr)) { in simulate_swa()
425 *((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/compressed/
Dhead.S29 .macro loadsp, rb, tmp1, tmp2
31 .macro writeb, ch, rb, tmp
35 .macro loadsp, rb, tmp1, tmp2
37 .macro writeb, ch, rb, tmp
41 .macro loadsp, rb, tmp1, tmp2
43 .macro writeb, ch, rb, tmp
52 .macro writeb, ch, rb, tmp
54 waituartcts \tmp, \rb
56 waituarttxrdy \tmp, \rb
57 senduart \ch, \rb
[all …]
/arch/arm/boot/dts/
Dpm9g45.dts40 pinctrl_nand_rb: nand-rb-0 {
96 rb-gpios = <&pioD 3 GPIO_ACTIVE_HIGH>;
Dat91-linea.dtsi63 atmel,rb = <0>;
/arch/x86/mm/pat/
Dmemtype.h15 struct rb_node rb; member
/arch/arm64/boot/dts/marvell/
Darmada-70x0.dtsi59 nand_rb: nand-rb {

123456