Home
last modified time | relevance | path

Searched refs:r (Results 1 – 25 of 360) sorted by relevance

12345678910>>...15

/arch/um/sys-x86_64/shared/sysdep/
Dptrace.h19 #define REGS_IP(r) ((r)[HOST_IP]) argument
20 #define REGS_SP(r) ((r)[HOST_SP]) argument
22 #define REGS_RBX(r) ((r)[HOST_RBX]) argument
23 #define REGS_RCX(r) ((r)[HOST_RCX]) argument
24 #define REGS_RDX(r) ((r)[HOST_RDX]) argument
25 #define REGS_RSI(r) ((r)[HOST_RSI]) argument
26 #define REGS_RDI(r) ((r)[HOST_RDI]) argument
27 #define REGS_RBP(r) ((r)[HOST_RBP]) argument
28 #define REGS_RAX(r) ((r)[HOST_RAX]) argument
29 #define REGS_R8(r) ((r)[HOST_R8]) argument
[all …]
/arch/um/sys-i386/shared/sysdep/
Dptrace.h29 #define REGS_IP(r) ((r)[HOST_IP]) argument
30 #define REGS_SP(r) ((r)[HOST_SP]) argument
31 #define REGS_EFLAGS(r) ((r)[HOST_EFLAGS]) argument
32 #define REGS_EAX(r) ((r)[HOST_EAX]) argument
33 #define REGS_EBX(r) ((r)[HOST_EBX]) argument
34 #define REGS_ECX(r) ((r)[HOST_ECX]) argument
35 #define REGS_EDX(r) ((r)[HOST_EDX]) argument
36 #define REGS_ESI(r) ((r)[HOST_ESI]) argument
37 #define REGS_EDI(r) ((r)[HOST_EDI]) argument
38 #define REGS_EBP(r) ((r)[HOST_EBP]) argument
[all …]
/arch/um/sys-x86_64/asm/
Dptrace.h18 #define PT_REGS_RBX(r) UPT_RBX(&(r)->regs) argument
19 #define PT_REGS_RCX(r) UPT_RCX(&(r)->regs) argument
20 #define PT_REGS_RDX(r) UPT_RDX(&(r)->regs) argument
21 #define PT_REGS_RSI(r) UPT_RSI(&(r)->regs) argument
22 #define PT_REGS_RDI(r) UPT_RDI(&(r)->regs) argument
23 #define PT_REGS_RBP(r) UPT_RBP(&(r)->regs) argument
24 #define PT_REGS_RAX(r) UPT_RAX(&(r)->regs) argument
25 #define PT_REGS_R8(r) UPT_R8(&(r)->regs) argument
26 #define PT_REGS_R9(r) UPT_R9(&(r)->regs) argument
27 #define PT_REGS_R10(r) UPT_R10(&(r)->regs) argument
[all …]
/arch/um/sys-i386/asm/
Dptrace.h14 #define PT_REGS_EAX(r) UPT_EAX(&(r)->regs) argument
15 #define PT_REGS_EBX(r) UPT_EBX(&(r)->regs) argument
16 #define PT_REGS_ECX(r) UPT_ECX(&(r)->regs) argument
17 #define PT_REGS_EDX(r) UPT_EDX(&(r)->regs) argument
18 #define PT_REGS_ESI(r) UPT_ESI(&(r)->regs) argument
19 #define PT_REGS_EDI(r) UPT_EDI(&(r)->regs) argument
20 #define PT_REGS_EBP(r) UPT_EBP(&(r)->regs) argument
22 #define PT_REGS_CS(r) UPT_CS(&(r)->regs) argument
23 #define PT_REGS_SS(r) UPT_SS(&(r)->regs) argument
24 #define PT_REGS_DS(r) UPT_DS(&(r)->regs) argument
[all …]
/arch/powerpc/platforms/ps3/
Dmm.c235 static int ps3_mm_region_create(struct mem_region *r, unsigned long size) in ps3_mm_region_create() argument
240 r->size = _ALIGN_DOWN(size, 1 << PAGE_SHIFT_16M); in ps3_mm_region_create()
243 DBG("%s:%d actual %llxh\n", __func__, __LINE__, r->size); in ps3_mm_region_create()
245 size - r->size, (size - r->size) / 1024 / 1024); in ps3_mm_region_create()
247 if (r->size == 0) { in ps3_mm_region_create()
253 result = lv1_allocate_memory(r->size, PAGE_SHIFT_16M, 0, in ps3_mm_region_create()
254 ALLOCATE_MEMORY_TRY_ALT_UNIT, &r->base, &muid); in ps3_mm_region_create()
256 if (result || r->base < map.rm.size) { in ps3_mm_region_create()
262 r->offset = r->base - map.rm.size; in ps3_mm_region_create()
266 r->size = r->base = r->offset = 0; in ps3_mm_region_create()
[all …]
/arch/mn10300/unit-asb2305/
Dpci-asb2305.c98 struct resource *r, *pr; in pcibios_allocate_bus_resources() local
107 r = &dev->resource[idx]; in pcibios_allocate_bus_resources()
108 if (!r->flags) in pcibios_allocate_bus_resources()
110 pr = pci_find_parent_resource(dev, r); in pcibios_allocate_bus_resources()
111 if (!r->start || in pcibios_allocate_bus_resources()
113 request_resource(pr, r) < 0) { in pcibios_allocate_bus_resources()
122 r->flags = 0; in pcibios_allocate_bus_resources()
135 struct resource *r, *pr; in pcibios_allocate_resources() local
140 r = &dev->resource[idx]; in pcibios_allocate_resources()
141 if (r->parent) /* Already allocated */ in pcibios_allocate_resources()
[all …]
/arch/frv/mb93090-mb00/
Dpci-frv.c89 struct resource *r, *pr; in pcibios_allocate_bus_resources() local
96 r = &dev->resource[idx]; in pcibios_allocate_bus_resources()
97 if (!r->start) in pcibios_allocate_bus_resources()
99 pr = pci_find_parent_resource(dev, r); in pcibios_allocate_bus_resources()
100 if (!pr || request_resource(pr, r) < 0) in pcibios_allocate_bus_resources()
113 struct resource *r, *pr; in pcibios_allocate_resources() local
118 r = &dev->resource[idx]; in pcibios_allocate_resources()
119 if (r->parent) /* Already allocated */ in pcibios_allocate_resources()
121 if (!r->start) /* Address not assigned at all */ in pcibios_allocate_resources()
123 if (r->flags & IORESOURCE_IO) in pcibios_allocate_resources()
[all …]
/arch/um/sys-ppc/shared/sysdep/
Dptrace.h45 #define UM_REG(r, n) ((r)->regs[n]) argument
47 #define UM_SYSCALL_RET(r) UM_REG(r, PT_R3) argument
48 #define UM_SP(r) UM_REG(r, PT_R1) argument
49 #define UM_IP(r) UM_REG(r, PT_NIP) argument
50 #define UM_ELF_ZERO(r) UM_REG(r, PT_FPSCR) argument
51 #define UM_SYSCALL_NR(r) UM_REG(r, PT_R0) argument
52 #define UM_SYSCALL_ARG1(r) UM_REG(r, PT_ORIG_R3) argument
53 #define UM_SYSCALL_ARG2(r) UM_REG(r, PT_R4) argument
54 #define UM_SYSCALL_ARG3(r) UM_REG(r, PT_R5) argument
55 #define UM_SYSCALL_ARG4(r) UM_REG(r, PT_R6) argument
[all …]
/arch/arm/common/
Dlocomo.c199 unsigned int r; in locomo_mask_irq() local
200 r = locomo_readl(mapbase + LOCOMO_ICR); in locomo_mask_irq()
201 r &= ~(0x0010 << (irq - LOCOMO_IRQ_START)); in locomo_mask_irq()
202 locomo_writel(r, mapbase + LOCOMO_ICR); in locomo_mask_irq()
208 unsigned int r; in locomo_unmask_irq() local
209 r = locomo_readl(mapbase + LOCOMO_ICR); in locomo_unmask_irq()
210 r |= (0x0010 << (irq - LOCOMO_IRQ_START)); in locomo_unmask_irq()
211 locomo_writel(r, mapbase + LOCOMO_ICR); in locomo_unmask_irq()
233 unsigned int r; in locomo_key_ack_irq() local
234 r = locomo_readl(mapbase + LOCOMO_KEYBOARD + LOCOMO_KIC); in locomo_key_ack_irq()
[all …]
/arch/powerpc/include/asm/
Dpmac_feature.h367 #define MACIO_FCR32(macio, r) ((macio)->base + ((r) >> 2)) argument
368 #define MACIO_FCR8(macio, r) (((volatile u8 __iomem *)((macio)->base)) + (r)) argument
370 #define MACIO_IN32(r) (in_le32(MACIO_FCR32(macio,r))) argument
371 #define MACIO_OUT32(r,v) (out_le32(MACIO_FCR32(macio,r), (v))) argument
372 #define MACIO_BIS(r,v) (MACIO_OUT32((r), MACIO_IN32(r) | (v))) argument
373 #define MACIO_BIC(r,v) (MACIO_OUT32((r), MACIO_IN32(r) & ~(v))) argument
374 #define MACIO_IN8(r) (in_8(MACIO_FCR8(macio,r))) argument
375 #define MACIO_OUT8(r,v) (out_8(MACIO_FCR8(macio,r), (v))) argument
389 #define UN_REG(r) (uninorth_base + ((r) >> 2)) argument
390 #define UN_IN(r) (in_be32(UN_REG(r))) argument
[all …]
/arch/um/include/asm/
Dptrace-generic.h21 #define PT_REGS_IP(r) UPT_IP(&(r)->regs) argument
22 #define PT_REGS_SP(r) UPT_SP(&(r)->regs) argument
24 #define PT_REG(r, reg) UPT_REG(&(r)->regs, reg) argument
25 #define PT_REGS_SET(r, reg, val) UPT_SET(&(r)->regs, reg, val) argument
27 #define PT_REGS_SET_SYSCALL_RETURN(r, res) \ argument
28 UPT_SET_SYSCALL_RETURN(&(r)->regs, res)
29 #define PT_REGS_RESTART_SYSCALL(r) UPT_RESTART_SYSCALL(&(r)->regs) argument
31 #define PT_REGS_SYSCALL_NR(r) UPT_SYSCALL_NR(&(r)->regs) argument
33 #define PT_REGS_SC(r) UPT_SC(&(r)->regs) argument
/arch/x86/pci/
Di386.c119 struct resource *r, *pr; in pcibios_allocate_bus_resources() local
126 r = &dev->resource[idx]; in pcibios_allocate_bus_resources()
127 if (!r->flags) in pcibios_allocate_bus_resources()
129 pr = pci_find_parent_resource(dev, r); in pcibios_allocate_bus_resources()
130 if (!r->start || !pr || in pcibios_allocate_bus_resources()
131 request_resource(pr, r) < 0) { in pcibios_allocate_bus_resources()
139 r->flags = 0; in pcibios_allocate_bus_resources()
152 struct resource *r, *pr; in pcibios_allocate_resources() local
157 r = &dev->resource[idx]; in pcibios_allocate_resources()
158 if (r->parent) /* Already allocated */ in pcibios_allocate_resources()
[all …]
Dirq.c53 int (*probe)(struct irq_router *r, struct pci_dev *router, u16 device);
541 static __init int intel_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) in intel_router_probe() argument
593 r->name = "PIIX/ICH"; in intel_router_probe()
594 r->get = pirq_piix_get; in intel_router_probe()
595 r->set = pirq_piix_set; in intel_router_probe()
601 r->name = "PIIX/ICH"; in intel_router_probe()
602 r->get = pirq_piix_get; in intel_router_probe()
603 r->set = pirq_piix_set; in intel_router_probe()
610 static __init int via_router_probe(struct irq_router *r, in via_router_probe() argument
646 r->name = "VIA"; in via_router_probe()
[all …]
/arch/mips/lasat/
Dsysctl.c45 int r; in sysctl_lasatstring() local
47 r = sysctl_string(table, oldval, oldlenp, newval, newlen); in sysctl_lasatstring()
48 if (r < 0) in sysctl_lasatstring()
49 return r; in sysctl_lasatstring()
62 int r; in proc_dolasatstring() local
64 r = proc_dostring(table, write, filp, buffer, lenp, ppos); in proc_dolasatstring()
65 if ((!write) || r) in proc_dolasatstring()
66 return r; in proc_dolasatstring()
77 int r; in proc_dolasatint() local
79 r = proc_dointvec(table, write, filp, buffer, lenp, ppos); in proc_dolasatint()
[all …]
/arch/cris/include/arch-v32/arch/hwregs/iop/
DMakefile43 IOPROCREGDESC += $(IOPROCDIR)/iop_crc_par.r
45 IOPROCREGDESC += $(IOPROCDIR)/iop_dmc_in.r
46 IOPROCREGDESC += $(IOPROCDIR)/iop_dmc_out.r
47 IOPROCREGDESC += $(IOPROCDIR)/iop_fifo_in.r
48 IOPROCREGDESC += $(IOPROCDIR)/iop_fifo_in_xtra.r
49 IOPROCREGDESC += $(IOPROCDIR)/iop_fifo_out.r
50 IOPROCREGDESC += $(IOPROCDIR)/iop_fifo_out_xtra.r
51 IOPROCREGDESC += $(IOPROCDIR)/iop_mpu.r
52 IOPROCREGDESC += $(IOPROCDIR)/iop_sap_in.r
53 IOPROCREGDESC += $(IOPROCDIR)/iop_sap_out.r
[all …]
/arch/powerpc/sysdev/
Dtsi108_dev.c75 struct resource r[2]; in tsi108_eth_of_init() local
82 memset(r, 0, sizeof(r)); in tsi108_eth_of_init()
85 ret = of_address_to_resource(np, 0, &r[0]); in tsi108_eth_of_init()
87 __func__,r[0].name, r[0].start, r[0].end); in tsi108_eth_of_init()
91 r[1].name = "tx"; in tsi108_eth_of_init()
92 r[1].start = irq_of_parse_and_map(np, 0); in tsi108_eth_of_init()
93 r[1].end = irq_of_parse_and_map(np, 0); in tsi108_eth_of_init()
94 r[1].flags = IORESOURCE_IRQ; in tsi108_eth_of_init()
96 __func__,r[1].name, r[1].start, r[1].end); in tsi108_eth_of_init()
99 platform_device_register_simple("tsi-ethernet", i++, &r[0], in tsi108_eth_of_init()
[all …]
Dppc4xx_soc.c76 u32 r; in ppc4xx_l2c_probe() local
141 r = mfdcr(dcrbase_l2c + DCRN_L2C0_CFG) & in ppc4xx_l2c_probe()
143 r |= L2C_CFG_L2M | L2C_CFG_SS_256; in ppc4xx_l2c_probe()
144 mtdcr(dcrbase_l2c + DCRN_L2C0_CFG, r); in ppc4xx_l2c_probe()
157 r = mfdcr(dcrbase_l2c + DCRN_L2C0_SNP0) & in ppc4xx_l2c_probe()
159 r |= L2C_SNP_SSR_32G | L2C_SNP_ESR; in ppc4xx_l2c_probe()
160 mtdcr(dcrbase_l2c + DCRN_L2C0_SNP0, r); in ppc4xx_l2c_probe()
162 r = mfdcr(dcrbase_l2c + DCRN_L2C0_SNP1) & in ppc4xx_l2c_probe()
164 r |= 0x80000000 | L2C_SNP_SSR_32G | L2C_SNP_ESR; in ppc4xx_l2c_probe()
165 mtdcr(dcrbase_l2c + DCRN_L2C0_SNP1, r); in ppc4xx_l2c_probe()
[all …]
/arch/cris/include/arch-v32/arch/hwregs/
DMakefile47 REGDESC += $(BASEDIR)/io/ata/rtl/ata_regs.r
48 REGDESC += $(BASEDIR)/io/bif/rtl/bif_core_regs.r
49 REGDESC += $(BASEDIR)/io/bif/rtl/bif_slave_regs.r
51 REGDESC += $(DESIGNDIR)/top/rtl/config_regs.r
52 REGDESC += $(BASEDIR)/mod/dma_common/rtl/dma_regdes.r
53 REGDESC += $(BASEDIR)/io/eth/rtl/eth_regs.r
54 REGDESC += $(BASEDIR)/io/bif/mod/extmem/extmem_regs.r
55 REGDESC += $(DESIGNDIR)/gio/rtl/gio_regs.r
56 REGDESC += $(BASEDIR)/core/cpu/intr_vect/rtl/guinness/ivmask.config.r
57 REGDESC += $(BASEDIR)/core/memarb/rtl/guinness/marb_top.r
[all …]
Dsupp_reg.h53 #define SPEC_REG_WR(r,v) \ argument
54 __asm__ __volatile__ ("move %0, $" r : : "r" (v));
56 #define SPEC_REG_RD(r,v) \ argument
57 __asm__ __volatile__ ("move $" r ",%0" : "=r" (v));
68 #define SUPP_REG_WR(r,v) \ argument
69 __asm__ __volatile__ ("move %0, $S" STRINGIFYFY(r) "\n\t" \
75 #define SUPP_REG_RD(r,v) \ argument
76 __asm__ __volatile__ ("move $S" STRINGIFYFY(r) ",%0" : "=r" (v));
/arch/mips/txx9/generic/
Dirq_tx4939.c59 lvlp = &tx4939_ircptr->lvl[(irq_nr % 16) / 2].r; in tx4939_irq_unmask()
62 lvlp = &tx4939_ircptr->lvl[8 + (irq_nr % 16) / 2].r; in tx4939_irq_unmask()
77 lvlp = &tx4939_ircptr->lvl[(irq_nr % 16) / 2].r; in tx4939_irq_mask()
80 lvlp = &tx4939_ircptr->lvl[8 + (irq_nr % 16) / 2].r; in tx4939_irq_mask()
99 &tx4939_ircptr->edc.r); in tx4939_irq_mask_ack()
131 crp = &tx4939_ircptr->dm[(irq_nr & 8) >> 3].r; in tx4939_irq_set_type()
134 crp = &tx4939_ircptr->dm2[((irq_nr & 8) >> 3)].r; in tx4939_irq_set_type()
171 __raw_writel(0, &tx4939_ircptr->den.r); in tx4939_irq_init()
172 __raw_writel(0, &tx4939_ircptr->maskint.r); in tx4939_irq_init()
173 __raw_writel(0, &tx4939_ircptr->maskext.r); in tx4939_irq_init()
[all …]
/arch/sparc/kernel/
Dauxio_32.c28 struct resource r; in auxio_probe() local
61 r.flags = auxregs[0].which_io & 0xF; in auxio_probe()
62 r.start = auxregs[0].phys_addr; in auxio_probe()
63 r.end = auxregs[0].phys_addr + auxregs[0].reg_size - 1; in auxio_probe()
64 auxio_register = of_ioremap(&r, 0, auxregs[0].reg_size, "auxio"); in auxio_probe()
116 struct resource r; in auxio_power_probe() local
130 memset(&r, 0, sizeof(r)); in auxio_power_probe()
131 r.flags = regs.which_io & 0xF; in auxio_power_probe()
132 r.start = regs.phys_addr; in auxio_power_probe()
133 r.end = regs.phys_addr + regs.reg_size - 1; in auxio_power_probe()
[all …]
/arch/um/kernel/skas/
Dsyscall.c15 void handle_syscall(struct uml_pt_regs *r) in handle_syscall() argument
17 struct pt_regs *regs = container_of(r, struct pt_regs, regs); in handle_syscall()
21 syscall_trace(r, 0); in handle_syscall()
32 syscall = UPT_SYSCALL_NR(r); in handle_syscall()
37 REGS_SET_SYSCALL_RETURN(r->gp, result); in handle_syscall()
39 syscall_trace(r, 1); in handle_syscall()
/arch/sparc/boot/
Dbtfixupprep.c109 btfixuprel *r, **rr; in main() local
307 for (k = 0, r = f->rel, rr = &f->rel; r; rr = &r->next, r = r->next, k++) in main()
308 if (r->offset == offset && !strcmp(r->sect, sect)) { in main()
337 for (j = 0, r = f->rel; r != NULL; j++, r = r->next); in main()
342 for (r = f->rel, j--; r != NULL; j--, r = r->next) { in main()
343 if (!strcmp (r->sect, ".text")) in main()
344 printf ("_stext+0x%08lx", r->offset); in main()
345 else if (!strcmp (r->sect, ".init.text")) in main()
346 printf ("__init_begin+0x%08lx", r->offset); in main()
347 else if (!strcmp (r->sect, "__ksymtab")) in main()
[all …]
/arch/ia64/kvm/
Dkvm-ia64.c180 int r; in kvm_dev_ioctl_check_extension() local
186 r = 1; in kvm_dev_ioctl_check_extension()
189 r = KVM_COALESCED_MMIO_PAGE_OFFSET; in kvm_dev_ioctl_check_extension()
192 r = iommu_found(); in kvm_dev_ioctl_check_extension()
195 r = 0; in kvm_dev_ioctl_check_extension()
197 return r; in kvm_dev_ioctl_check_extension()
539 int r; in kvm_insert_vmm_mapping() local
543 r = ia64_itr_entry(0x3, KVM_VMM_BASE, pte, KVM_VMM_SHIFT); in kvm_insert_vmm_mapping()
544 if (r < 0) in kvm_insert_vmm_mapping()
546 vcpu->arch.vmm_tr_slot = r; in kvm_insert_vmm_mapping()
[all …]
/arch/s390/lib/
Dqrnnd.S7 # the reminder r of the division is to be stored to &__r and
30 alr %r0,%r2 # add (d>>1) to r
36 slr %r0,%r1 # r -= q
38 alr %r0,%r5 # r += d
42 alr %r0,%r0 # r <<= 1
43 brc 12,3f # overflow on r ?
44 slr %r0,%r5 # r -= d
49 ahi %r0,1 # r += 1
50 4: clr %r0,%r5 # r >= d ?
52 slr %r0,%r5 # r -= d
[all …]

12345678910>>...15