Home
last modified time | relevance | path

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

12345678910>>...19

/arch/x86/um/shared/sysdep/
Dptrace_64.h17 #define REGS_IP(r) ((r)[HOST_IP]) argument
18 #define REGS_SP(r) ((r)[HOST_SP]) argument
20 #define REGS_RBX(r) ((r)[HOST_BX]) argument
21 #define REGS_RCX(r) ((r)[HOST_CX]) argument
22 #define REGS_RDX(r) ((r)[HOST_DX]) argument
23 #define REGS_RSI(r) ((r)[HOST_SI]) argument
24 #define REGS_RDI(r) ((r)[HOST_DI]) argument
25 #define REGS_RBP(r) ((r)[HOST_BP]) argument
26 #define REGS_RAX(r) ((r)[HOST_AX]) argument
27 #define REGS_R8(r) ((r)[HOST_R8]) argument
[all …]
Dptrace_32.h27 #define REGS_IP(r) ((r)[HOST_IP]) argument
28 #define REGS_SP(r) ((r)[HOST_SP]) argument
29 #define REGS_EFLAGS(r) ((r)[HOST_EFLAGS]) argument
30 #define REGS_EAX(r) ((r)[HOST_AX]) argument
31 #define REGS_EBX(r) ((r)[HOST_BX]) argument
32 #define REGS_ECX(r) ((r)[HOST_CX]) argument
33 #define REGS_EDX(r) ((r)[HOST_DX]) argument
34 #define REGS_ESI(r) ((r)[HOST_SI]) argument
35 #define REGS_EDI(r) ((r)[HOST_DI]) argument
36 #define REGS_EBP(r) ((r)[HOST_BP]) argument
[all …]
/arch/x86/um/asm/
Dptrace_64.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 …]
Dptrace_32.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.c238 static int ps3_mm_region_create(struct mem_region *r, unsigned long size) in ps3_mm_region_create() argument
243 r->size = _ALIGN_DOWN(size, 1 << PAGE_SHIFT_16M); in ps3_mm_region_create()
246 DBG("%s:%d actual %llxh\n", __func__, __LINE__, r->size); in ps3_mm_region_create()
248 size - r->size, (size - r->size) / 1024 / 1024); in ps3_mm_region_create()
250 if (r->size == 0) { in ps3_mm_region_create()
256 result = lv1_allocate_memory(r->size, PAGE_SHIFT_16M, 0, in ps3_mm_region_create()
257 ALLOCATE_MEMORY_TRY_ALT_UNIT, &r->base, &muid); in ps3_mm_region_create()
259 if (result || r->base < map.rm.size) { in ps3_mm_region_create()
265 r->offset = r->base - map.rm.size; in ps3_mm_region_create()
269 r->size = r->base = r->offset = 0; in ps3_mm_region_create()
[all …]
/arch/mn10300/unit-asb2303/include/unit/
Dsmc91111.h27 #define SMC_inb(a, r) inb((unsigned long) ((a) + (r))) argument
28 #define SMC_outb(v, a, r) outb(v, (unsigned long) ((a) + (r))) argument
32 #define SMC_inw(a, r) inw((unsigned long) ((a) + (r))) argument
33 #define SMC_outw(v, a, r) outw(v, (unsigned long) ((a) + (r))) argument
34 #define SMC_insw(a, r, p, l) insw((unsigned long) ((a) + (r)), (p), (l)) argument
35 #define SMC_outsw(a, r, p, l) outsw((unsigned long) ((a) + (r)), (p), (l)) argument
39 #define SMC_inl(a, r) inl((unsigned long) ((a) + (r))) argument
40 #define SMC_outl(v, a, r) outl(v, (unsigned long) ((a) + (r))) argument
41 #define SMC_insl(a, r, p, l) insl((unsigned long) ((a) + (r)), (p), (l)) argument
42 #define SMC_outsl(a, r, p, l) outsl((unsigned long) ((a) + (r)), (p), (l)) argument
/arch/frv/mb93090-mb00/
Dpci-frv.c87 struct resource *r; in pcibios_allocate_bus_resources() local
94 r = &dev->resource[idx]; in pcibios_allocate_bus_resources()
95 if (!r->start) in pcibios_allocate_bus_resources()
109 struct resource *r; in pcibios_allocate_resources() local
114 r = &dev->resource[idx]; in pcibios_allocate_resources()
115 if (r->parent) /* Already allocated */ in pcibios_allocate_resources()
117 if (!r->start) /* Address not assigned at all */ in pcibios_allocate_resources()
119 if (r->flags & IORESOURCE_IO) in pcibios_allocate_resources()
125 r->start, r->end, r->flags, disabled, pass); in pcibios_allocate_resources()
128 r->end -= r->start; 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/mn10300/unit-asb2305/
Dpci-asb2305.c96 struct resource *r; in pcibios_allocate_bus_resources() local
105 r = &dev->resource[idx]; in pcibios_allocate_bus_resources()
106 if (!r->flags) in pcibios_allocate_bus_resources()
108 if (!r->start || in pcibios_allocate_bus_resources()
118 r->start = r->end = 0; in pcibios_allocate_bus_resources()
119 r->flags = 0; in pcibios_allocate_bus_resources()
132 struct resource *r; in pcibios_allocate_resources() local
137 r = &dev->resource[idx]; in pcibios_allocate_resources()
138 if (r->parent) /* Already allocated */ in pcibios_allocate_resources()
140 if (!r->start) /* Address not assigned */ in pcibios_allocate_resources()
[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/x86/platform/olpc/
Dolpc-xo1-sci.c165 int r; in process_sci_queue() local
169 r = olpc_ec_sci_query(&data); in process_sci_queue()
170 if (r || !data) in process_sci_queue()
191 if (r) in process_sci_queue()
287 int r; in setup_sci_interrupt() local
317 r = request_irq(sci_irq, xo1_sci_intr, 0, DRV_NAME, pdev); in setup_sci_interrupt()
318 if (r) in setup_sci_interrupt()
321 return r; in setup_sci_interrupt()
326 int r; in setup_ec_sci() local
328 r = gpio_request(OLPC_GPIO_ECSCI, "OLPC-ECSCI"); in setup_ec_sci()
[all …]
/arch/arm/common/
Dlocomo.c171 unsigned int r; in locomo_mask_irq() local
172 r = locomo_readl(lchip->base + LOCOMO_ICR); in locomo_mask_irq()
173 r &= ~(0x0010 << (d->irq - lchip->irq_base)); in locomo_mask_irq()
174 locomo_writel(r, lchip->base + LOCOMO_ICR); in locomo_mask_irq()
180 unsigned int r; in locomo_unmask_irq() local
181 r = locomo_readl(lchip->base + LOCOMO_ICR); in locomo_unmask_irq()
182 r |= (0x0010 << (d->irq - lchip->irq_base)); in locomo_unmask_irq()
183 locomo_writel(r, lchip->base + LOCOMO_ICR); in locomo_unmask_irq()
323 unsigned long r; in locomo_resume() local
342 r = locomo_readl(lchip->base + LOCOMO_KEYBOARD + LOCOMO_KIC); in locomo_resume()
[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/kvm/
Dpowerpc.c49 int r; in kvmppc_kvm_pv() local
72 r = HC_EV_SUCCESS; in kvmppc_kvm_pv()
76 r = HC_EV_SUCCESS; in kvmppc_kvm_pv()
85 r = HC_EV_UNIMPLEMENTED; in kvmppc_kvm_pv()
91 return r; in kvmppc_kvm_pv()
96 int r = false; in kvmppc_sanity_check() local
112 r = true; in kvmppc_sanity_check()
115 vcpu->arch.sane = r; in kvmppc_sanity_check()
116 return r ? 0 : -EINVAL; in kvmppc_sanity_check()
122 int r; in kvmppc_emulate_mmio() local
[all …]
/arch/x86/pci/
Di386.c201 struct resource *r; in pcibios_allocate_bus_resources() local
208 r = &dev->resource[idx]; in pcibios_allocate_bus_resources()
209 if (!r->flags) in pcibios_allocate_bus_resources()
211 if (!r->start || in pcibios_allocate_bus_resources()
219 r->start = r->end = 0; in pcibios_allocate_bus_resources()
220 r->flags = 0; in pcibios_allocate_bus_resources()
238 struct resource *r; in pcibios_allocate_resources() local
251 r = &dev->resource[idx]; in pcibios_allocate_resources()
252 if (r->parent) /* Already allocated */ in pcibios_allocate_resources()
254 if (!r->start) /* Address not assigned at all */ in pcibios_allocate_resources()
[all …]
Dirq.c52 int (*probe)(struct irq_router *r, struct pci_dev *router, u16 device);
540 static __init int intel_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) in intel_router_probe() argument
594 r->name = "PIIX/ICH"; in intel_router_probe()
595 r->get = pirq_piix_get; in intel_router_probe()
596 r->set = pirq_piix_set; in intel_router_probe()
608 r->name = "PIIX/ICH"; in intel_router_probe()
609 r->get = pirq_piix_get; in intel_router_probe()
610 r->set = pirq_piix_set; in intel_router_probe()
617 static __init int via_router_probe(struct irq_router *r, in via_router_probe() argument
653 r->name = "VIA"; in via_router_probe()
[all …]
/arch/um/include/asm/
Dptrace-generic.h22 #define PT_REGS_IP(r) UPT_IP(&(r)->regs) argument
23 #define PT_REGS_SP(r) UPT_SP(&(r)->regs) argument
25 #define PT_REGS_RESTART_SYSCALL(r) UPT_RESTART_SYSCALL(&(r)->regs) argument
27 #define PT_REGS_SYSCALL_NR(r) UPT_SYSCALL_NR(&(r)->regs) argument
/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/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]); 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]); in tsi108_eth_of_init()
99 platform_device_register_simple("tsi-ethernet", i++, &r[0], in tsi108_eth_of_init()
[all …]
Ddart.h59 #define DART_REG(r) (dart + ((r) >> 2)) argument
60 #define DART_IN(r) (in_be32(DART_REG(r))) argument
61 #define DART_OUT(r,v) (out_be32(DART_REG(r), (v))) argument
/arch/c6x/platforms/
Ddscr.c261 struct rmii_reset_reg *r; in dscr_rmii_reset() local
268 r = &dscr.rmii_resets[id]; in dscr_rmii_reset()
269 if (r->mask == 0) in dscr_rmii_reset()
274 val = soc_readl(dscr.base + r->reg); in dscr_rmii_reset()
276 dscr_write(r->reg, val | r->mask); in dscr_rmii_reset()
278 dscr_write(r->reg, val & ~(r->mask)); in dscr_rmii_reset()
399 struct locked_reg *r; in dscr_parse_locked_regs() local
411 r = &dscr.locked[i]; in dscr_parse_locked_regs()
413 r->reg = be32_to_cpup(p++); in dscr_parse_locked_regs()
414 r->lockreg = be32_to_cpup(p++); in dscr_parse_locked_regs()
[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/kernel/
Dauxio_32.c30 struct resource r; in auxio_probe() local
64 r.flags = auxregs[0].which_io & 0xF; in auxio_probe()
65 r.start = auxregs[0].phys_addr; in auxio_probe()
66 r.end = auxregs[0].phys_addr + auxregs[0].reg_size - 1; in auxio_probe()
67 auxio_register = of_ioremap(&r, 0, auxregs[0].reg_size, "auxio"); in auxio_probe()
119 struct resource r; in auxio_power_probe() local
133 memset(&r, 0, sizeof(r)); in auxio_power_probe()
134 r.flags = regs.which_io & 0xF; in auxio_power_probe()
135 r.start = regs.phys_addr; in auxio_power_probe()
136 r.end = regs.phys_addr + regs.reg_size - 1; in auxio_power_probe()
[all …]
/arch/mips/txx9/generic/
Dirq_tx4939.c60 lvlp = &tx4939_ircptr->lvl[(irq_nr % 16) / 2].r; in tx4939_irq_unmask()
63 lvlp = &tx4939_ircptr->lvl[8 + (irq_nr % 16) / 2].r; in tx4939_irq_unmask()
78 lvlp = &tx4939_ircptr->lvl[(irq_nr % 16) / 2].r; in tx4939_irq_mask()
81 lvlp = &tx4939_ircptr->lvl[8 + (irq_nr % 16) / 2].r; in tx4939_irq_mask()
100 &tx4939_ircptr->edc.r); in tx4939_irq_mask_ack()
132 crp = &tx4939_ircptr->dm[(irq_nr & 8) >> 3].r; in tx4939_irq_set_type()
135 crp = &tx4939_ircptr->dm2[((irq_nr & 8) >> 3)].r; in tx4939_irq_set_type()
172 __raw_writel(0, &tx4939_ircptr->den.r); in tx4939_irq_init()
173 __raw_writel(0, &tx4939_ircptr->maskint.r); in tx4939_irq_init()
174 __raw_writel(0, &tx4939_ircptr->maskext.r); in tx4939_irq_init()
[all …]

12345678910>>...19