Home
last modified time | relevance | path

Searched refs:rn (Results 1 – 25 of 36) sorted by relevance

12

/linux-2.6.39/arch/powerpc/include/asm/
Ddcr-native.h64 #define mfdcr(rn) \ argument
66 if (__builtin_constant_p(rn) && rn < 1024) \
67 asm volatile("mfdcr %0," __stringify(rn) \
70 rval = mfdcrx(rn); \
72 rval = __mfdcr(rn); \
75 #define mtdcr(rn, v) \ argument
77 if (__builtin_constant_p(rn) && rn < 1024) \
78 asm volatile("mtdcr " __stringify(rn) ",%0" \
81 mtdcrx(rn, v); \
83 __mtdcr(rn, v); \
Dreg_fsl_emb.h11 #define mfpmr(rn) ({unsigned int rval; \ argument
12 asm volatile("mfpmr %0," __stringify(rn) \
14 #define mtpmr(rn, v) asm volatile("mtpmr " __stringify(rn) ",%0" : : "r" (v)) argument
Dreg.h917 #define mfspr(rn) ({unsigned long rval; \ argument
918 asm volatile("mfspr %0," __stringify(rn) \
920 #define mtspr(rn, v) asm volatile("mtspr " __stringify(rn) ",%0" : : "r" (v)\ argument
/linux-2.6.39/drivers/s390/char/
Dsclp_cmd.c301 u16 rn; member
308 u16 rn; member
318 static unsigned long long rn2addr(u16 rn) in rn2addr() argument
320 return (unsigned long long) (rn - 1) * rzm; in rn2addr()
323 static int do_assign_storage(sclp_cmdw_t cmd, u16 rn) in do_assign_storage() argument
332 sccb->rn = rn; in do_assign_storage()
343 sccb->header.response_code, rn); in do_assign_storage()
352 static int sclp_assign_storage(u16 rn) in sclp_assign_storage() argument
354 return do_assign_storage(0x000d0001, rn); in sclp_assign_storage()
357 static int sclp_unassign_storage(u16 rn) in sclp_unassign_storage() argument
[all …]
/linux-2.6.39/drivers/w1/
Dw1.c59 static int w1_attach_slave_device(struct w1_master *dev, struct w1_reg_num *rn);
383 struct w1_reg_num *rn) in w1_atoreg_num() argument
407 rn->family = family; in w1_atoreg_num()
408 rn->id = id; in w1_atoreg_num()
410 rn64_le = cpu_to_le64(*(u64 *)rn); in w1_atoreg_num()
411 rn->crc = w1_calc_crc8((u8 *)&rn64_le, 7); in w1_atoreg_num()
415 rn->family, (unsigned long long)rn->id, rn->crc); in w1_atoreg_num()
425 struct w1_reg_num *rn) in w1_slave_search_device() argument
429 if (sl->reg_num.family == rn->family && in w1_slave_search_device()
430 sl->reg_num.id == rn->id && in w1_slave_search_device()
[all …]
Dw1_io.c383 u64 rn = le64_to_cpu(*((u64*)&sl->reg_num)); in w1_reset_select_slave() local
385 memcpy(&match[1], &rn, 8); in w1_reset_select_slave()
Dw1_netlink.c51 static void w1_send_slave(struct w1_master *dev, u64 rn) in w1_send_slave() argument
63 *data = rn; in w1_send_slave()
/linux-2.6.39/tools/perf/util/
Dstrlist.h46 struct rb_node *rn = rb_first(&self->entries); in strlist__first() local
47 return rn ? rb_entry(rn, struct str_node, rb_node) : NULL; in strlist__first()
51 struct rb_node *rn; in strlist__next() local
54 rn = rb_next(&sn->rb_node); in strlist__next()
55 return rn ? rb_entry(rn, struct str_node, rb_node) : NULL; in strlist__next()
/linux-2.6.39/arch/arm/kernel/
Dkprobes-decode.c470 int rn = (insn >> 16) & 0xf; in simulate_ldm1stm1() local
475 long *addr = (long *)regs->uregs[rn]; in simulate_ldm1stm1()
504 regs->uregs[rn] = (long)addr; in simulate_ldm1stm1()
526 int rn = (insn >> 16) & 0xf; in emulate_ldrd() local
529 long rnv = (rn == 15) ? ppc : regs->uregs[rn]; in emulate_ldrd()
541 : [rn] "+m" (rnv), in emulate_ldrd()
550 regs->uregs[rn] = rnv; in emulate_ldrd()
559 int rn = (insn >> 16) & 0xf; in emulate_strd() local
561 long rnv = (rn == 15) ? ppc : regs->uregs[rn]; in emulate_strd()
570 regs->uregs[rn] = rnv_wb; in emulate_strd()
[all …]
/linux-2.6.39/arch/unicore32/mm/
Dproc-macros.S41 .macro vma_vm_mm, rd, rn argument
42 ldw \rd, [\rn+], #VMA_VM_MM
48 .macro vma_vm_flags, rd, rn argument
49 ldw \rd, [\rn+], #VMA_VM_FLAGS
52 .macro tsk_mm, rd, rn argument
53 ldw \rd, [\rn+], #TI_TASK
70 .macro mmid, rd, rn argument
71 ldw \rd, [\rn+], #MM_CONTEXT_ID
77 .macro asid, rd, rn argument
78 and \rd, \rn, #255
Dalignment.c288 unsigned int rd, rn, pc_correction, reg_correction, nr_regs, regbits; in do_alignment_ldmstm() local
299 rn = RN_BITS(instr); in do_alignment_ldmstm()
300 newaddr = eaddr = regs->uregs[rn]; in do_alignment_ldmstm()
340 regs->uregs[rn] = newaddr; in do_alignment_ldmstm()
/linux-2.6.39/arch/powerpc/boot/
Dreg.h22 #define mfspr(rn) ({unsigned long rval; \ argument
23 asm volatile("mfspr %0," __stringify(rn) \
25 #define mtspr(rn, v) asm volatile("mtspr " __stringify(rn) ",%0" : : "r" (v)) argument
Ddcr.h4 #define mfdcr(rn) \ argument
7 asm volatile("mfdcr %0,%1" : "=r"(rval) : "i"(rn)); \
10 #define mtdcr(rn, val) \ argument
11 asm volatile("mtdcr %0,%1" : : "i"(rn), "r"(val))
/linux-2.6.39/security/tomoyo/
Ddomain.c425 struct tomoyo_path_info rn = { }; /* real name */ in tomoyo_find_next_domain() local
434 kfree(rn.name); in tomoyo_find_next_domain()
439 rn.name = tomoyo_realpath_nofollow(original_name); in tomoyo_find_next_domain()
440 if (!rn.name) in tomoyo_find_next_domain()
442 tomoyo_fill_path_info(&rn); in tomoyo_find_next_domain()
451 !tomoyo_path_matches_pattern(&rn, in tomoyo_find_next_domain()
454 kfree(rn.name); in tomoyo_find_next_domain()
457 rn = *ptr->aggregated_name; in tomoyo_find_next_domain()
463 retval = tomoyo_path_permission(&r, TOMOYO_TYPE_EXECUTE, &rn); in tomoyo_find_next_domain()
476 kfree(rn.name); in tomoyo_find_next_domain()
[all …]
/linux-2.6.39/arch/arm/mm/
Dproc-macros.S13 .macro vma_vm_mm, rd, rn argument
14 ldr \rd, [\rn, #VMA_VM_MM]
20 .macro vma_vm_flags, rd, rn argument
21 ldr \rd, [\rn, #VMA_VM_FLAGS]
24 .macro tsk_mm, rd, rn argument
25 ldr \rd, [\rn, #TI_TASK]
42 .macro mmid, rd, rn argument
43 ldr \rd, [\rn, #MM_CONTEXT_ID]
49 .macro asid, rd, rn argument
50 and \rd, \rn, #255
Dabort-lv4t.S38 /* 0 */ b .data_arm_lateldrhpost @ ldrh rd, [rn], #m/rm
39 /* 1 */ b .data_arm_lateldrhpre @ ldrh rd, [rn, #m/rm]
42 /* 4 */ b .data_arm_lateldrpostconst @ ldr rd, [rn], #m
43 /* 5 */ b .data_arm_lateldrpreconst @ ldr rd, [rn, #m]
44 /* 6 */ b .data_arm_lateldrpostreg @ ldr rd, [rn], rm
45 /* 7 */ b .data_arm_lateldrprereg @ ldr rd, [rn, rm]
46 /* 8 */ b .data_arm_ldmstm @ ldm*a rn, <rlist>
47 /* 9 */ b .data_arm_ldmstm @ ldm*b rn, <rlist>
50 /* c */ mov pc, lr @ ldc rd, [rn], #m @ Same as ldr rd, [rn], #m
51 /* d */ mov pc, lr @ ldc rd, [rn, #m]
Dproc-arm6_7.S55 /* 4 */ b .data_arm_lateldrpostconst @ ldr rd, [rn], #m
56 /* 5 */ b .data_arm_lateldrpreconst @ ldr rd, [rn, #m]
57 /* 6 */ b .data_arm_lateldrpostreg @ ldr rd, [rn], rm
58 /* 7 */ b .data_arm_lateldrprereg @ ldr rd, [rn, rm]
59 /* 8 */ b .data_arm_ldmstm @ ldm*a rn, <rlist>
60 /* 9 */ b .data_arm_ldmstm @ ldm*b rn, <rlist>
63 /* c */ mov pc, lr @ ldc rd, [rn], #m @ Same as ldr rd, [rn], #m
64 /* d */ mov pc, lr @ ldc rd, [rn, #m]
Dalignment.c453 unsigned int rd, rn, correction, nr_regs, regbits; in do_alignment_ldmstm() local
467 rn = RN_BITS(instr); in do_alignment_ldmstm()
468 newaddr = eaddr = regs->uregs[rn]; in do_alignment_ldmstm()
526 regs->uregs[rn] = newaddr; in do_alignment_ldmstm()
/linux-2.6.39/arch/powerpc/lib/
Dsstep.c37 extern int do_lfs(int rn, unsigned long ea);
38 extern int do_lfd(int rn, unsigned long ea);
39 extern int do_stfs(int rn, unsigned long ea);
40 extern int do_stfd(int rn, unsigned long ea);
41 extern int do_lvx(int rn, unsigned long ea);
42 extern int do_stvx(int rn, unsigned long ea);
43 extern int do_lxvd2x(int rn, unsigned long ea);
44 extern int do_stxvd2x(int rn, unsigned long ea);
300 static int __kprobes do_fp_load(int rn, int (*func)(int, unsigned long), in do_fp_load() argument
311 return (*func)(rn, ea); in do_fp_load()
[all …]
/linux-2.6.39/arch/sh/kernel/
Dtraps_32.c188 unsigned long *rm, *rn; in handle_unaligned_ins() local
193 rn = &regs->regs[index]; in handle_unaligned_ins()
214 dst = (unsigned char *)rn; in handle_unaligned_ins()
230 dstu = (unsigned char __user *)*rn; in handle_unaligned_ins()
241 dstu = (unsigned char __user *)*rn; in handle_unaligned_ins()
251 *rn -= count; in handle_unaligned_ins()
253 dstu = (unsigned char __user *)*rn; in handle_unaligned_ins()
265 dst = (unsigned char *)rn; in handle_unaligned_ins()
277 dst = (unsigned char*) rn; in handle_unaligned_ins()
Ddisassemble.c302 int rn = 0; in print_sh_insn() local
362 rn = nibs[n]; in print_sh_insn()
368 rn = (nibs[n] & 0xc) >> 2; in print_sh_insn()
394 printk("r%d", rn); in print_sh_insn()
397 printk("@r%d+", rn); in print_sh_insn()
400 printk("@-r%d", rn); in print_sh_insn()
403 printk("@r%d", rn); in print_sh_insn()
406 printk("@(%d,r%d)", imm, rn); in print_sh_insn()
433 printk("@(r0,r%d)", rn); in print_sh_insn()
482 printk("fr%d", rn); in print_sh_insn()
[all …]
/linux-2.6.39/include/scsi/
Dfc_encode.h40 struct fc_ns_rn_id rn; member
161 hton24(ct->payload.rn.fr_fid.fp_fid, lport->port_id); in fc_ct_fill()
162 put_unaligned_be64(lport->wwnn, &ct->payload.rn.fr_wwn); in fc_ct_fill()
/linux-2.6.39/arch/m68k/fpsp040/
Dsint.S153 btstb #1,L_SCR1+3(%a6) |check for rn and rz
179 | Rmode is rn or rz; return signed zero
/linux-2.6.39/drivers/scsi/lpfc/
Dlpfc_sli.h212 uint32_t rn; /* Receive buffer notification */ member
Dlpfc_els.c4014 RNID *rn; in lpfc_els_rsp_rnid_acc() local
4045 rn = (RNID *) (pcmd); in lpfc_els_rsp_rnid_acc()
4046 rn->Format = format; in lpfc_els_rsp_rnid_acc()
4047 rn->CommonLen = (2 * sizeof(struct lpfc_name)); in lpfc_els_rsp_rnid_acc()
4048 memcpy(&rn->portName, &vport->fc_portname, sizeof(struct lpfc_name)); in lpfc_els_rsp_rnid_acc()
4049 memcpy(&rn->nodeName, &vport->fc_nodename, sizeof(struct lpfc_name)); in lpfc_els_rsp_rnid_acc()
4052 rn->SpecificLen = 0; in lpfc_els_rsp_rnid_acc()
4055 rn->SpecificLen = sizeof(RNID_TOP_DISC); in lpfc_els_rsp_rnid_acc()
4056 memcpy(&rn->un.topologyDisc.portName, in lpfc_els_rsp_rnid_acc()
4058 rn->un.topologyDisc.unitType = RNID_HBA; in lpfc_els_rsp_rnid_acc()
[all …]

12