Home
last modified time | relevance | path

Searched refs:offs (Results 1 – 25 of 26) sorted by relevance

12

/arch/sparc/kernel/
Dpmc.c37 #define pmc_readb(offs) (sbus_readb(regs+offs)) argument
38 #define pmc_writeb(val, offs) (sbus_writeb(val, regs+offs)) argument
Dapc.c38 #define apc_readb(offs) (sbus_readb(regs+offs)) argument
39 #define apc_writeb(val, offs) (sbus_writeb(val, regs+offs)) argument
/arch/arm/plat-samsung/include/plat/
Dgpio-cfg.h52 samsung_gpio_pull_t (*get_pull)(struct samsung_gpio_chip *chip, unsigned offs);
53 int (*set_pull)(struct samsung_gpio_chip *chip, unsigned offs,
56 unsigned (*get_config)(struct samsung_gpio_chip *chip, unsigned offs);
57 int (*set_config)(struct samsung_gpio_chip *chip, unsigned offs,
/arch/arm/mach-s3c64xx/
Dcommon.c281 int offs = eint_offset(data->irq); in s3c_irq_eint_set_type() local
288 if (offs > 27) in s3c_irq_eint_set_type()
291 if (offs <= 15) in s3c_irq_eint_set_type()
326 if (offs <= 15) in s3c_irq_eint_set_type()
327 shift = (offs / 2) * 4; in s3c_irq_eint_set_type()
329 shift = ((offs - 16) / 2) * 4; in s3c_irq_eint_set_type()
339 if (offs < 16) { in s3c_irq_eint_set_type()
340 pin = S3C64XX_GPN(offs); in s3c_irq_eint_set_type()
342 } else if (offs < 23) { in s3c_irq_eint_set_type()
343 pin = S3C64XX_GPL(offs + 8 - 16); in s3c_irq_eint_set_type()
[all …]
/arch/s390/mm/
Dmaccess.c169 int offs = 0, size, rc; in copy_to_user_real() local
176 while (offs < count) { in copy_to_user_real()
177 size = min(PAGE_SIZE, count - offs); in copy_to_user_real()
178 if (memcpy_real(buf, src + offs, size)) in copy_to_user_real()
180 if (copy_to_user(dest + offs, buf, size)) in copy_to_user_real()
182 offs += size; in copy_to_user_real()
/arch/powerpc/kernel/
Dkvm_emul.S20 #define LL64(reg, offs, reg2) ld reg, (offs)(reg2) argument
21 #define STL64(reg, offs, reg2) std reg, (offs)(reg2) argument
23 #define LL64(reg, offs, reg2) lwz reg, (offs + 4)(reg2) argument
24 #define STL64(reg, offs, reg2) stw reg, (offs + 4)(reg2) argument
Drtas-proc.c408 int llen, offs; in ppc_rtas_sensors_show() local
414 for (j = 0, offs = 0; j <= p->quant; j++) { in ppc_rtas_sensors_show()
421 offs += strlen(loc) + 1; in ppc_rtas_sensors_show()
423 if (offs >= llen) in ppc_rtas_sensors_show()
/arch/sh/kernel/cpu/sh4a/
Dsmp-shx3.c31 unsigned int offs = 4 * cpu; in ipi_interrupt_handler() local
34 x = __raw_readl(0xfe410070 + offs); /* C0INITICI..CnINTICI */ in ipi_interrupt_handler()
36 __raw_writel(x, 0xfe410080 + offs); /* C0INTICICLR..CnINTICICLR */ in ipi_interrupt_handler()
/arch/arm/mach-imx/
Davic.c91 u8 offs = d->hwirq < AVIC_NUM_IRQS / 2 ? in avic_irq_suspend() local
99 imx_writel(~gc->wake_active, mx25_ccm_base + offs); in avic_irq_suspend()
112 u8 offs = d->hwirq < AVIC_NUM_IRQS / 2 ? in avic_irq_resume() local
115 imx_writel(0xffffffff, mx25_ccm_base + offs); in avic_irq_resume()
/arch/x86/kernel/
Ddumpstack_64.c60 u32 offs; member
68 .offs = CEA_ESTACK_OFFS(st), \
117 begin += (unsigned long)ep->offs; in in_exception_stack()
Duprobes.c640 unsigned long offs = (long)auprobe->branch.offs; in branch_emulate_op() local
655 offs = 0; in branch_emulate_op()
658 regs->ip = new_ip + offs; in branch_emulate_op()
756 auprobe->branch.offs = insn->immediate.value; in branch_setup_xol_ops()
/arch/mips/include/asm/mach-pnx833x/
Dpnx833x.h15 #define PNX833X_REG(offs) (*((volatile unsigned long *)(PNX833X_BASE + offs))) argument
65 #define PNX833X_PIC_REG(offs) PNX833X_REG(0x01000 + (offs)) argument
/arch/arm/mach-omap2/
Dcm2xxx.c208 unsigned long offs; in omap2xxx_cm_split_idlest_reg() local
223 offs = idlest_reg->offset; in omap2xxx_cm_split_idlest_reg()
224 offs &= 0xff00; in omap2xxx_cm_split_idlest_reg()
225 *prcm_inst = offs; in omap2xxx_cm_split_idlest_reg()
Dcm3xxx.c122 unsigned long offs; in omap3xxx_cm_split_idlest_reg() local
137 offs = idlest_reg->offset; in omap3xxx_cm_split_idlest_reg()
138 offs &= 0xff00; in omap3xxx_cm_split_idlest_reg()
139 *prcm_inst = offs; in omap3xxx_cm_split_idlest_reg()
/arch/nios2/kernel/
Dtime.c63 static u16 timer_readw(struct nios2_timer *timer, u32 offs) in timer_readw() argument
65 return readw(timer->base + offs); in timer_readw()
68 static void timer_writew(struct nios2_timer *timer, u16 val, u32 offs) in timer_writew() argument
70 writew(val, timer->base + offs); in timer_writew()
/arch/x86/include/asm/
Duprobes.h35 s32 offs; member
/arch/x86/kernel/kprobes/
Dopt.c38 long offs; in __recover_optprobed_insn() local
67 offs = addr - (unsigned long)kp->addr - 1; in __recover_optprobed_insn()
68 memcpy(buf, op->optinsn.copied_insn + offs, RELATIVE_ADDR_SIZE - offs); in __recover_optprobed_insn()
/arch/arm/mach-cns3xxx/
Dcns3xxx.h211 #define MISC_MEM_MAP(offs) (void __iomem *)(CNS3XXX_MISC_BASE_VIRT + (offs)) argument
264 #define PMU_MEM_MAP(offs) (void __iomem *)(CNS3XXX_PM_BASE_VIRT + (offs)) argument
/arch/arc/kernel/
Dunwind.c53 unsigned offs:BITS_PER_LONG / 2; member
145 uleb128_t reg, offs; member
832 state->cfa.offs = get_uleb128(&ptr.p8, end); in processCFI()
834 state->cfa.offs); in processCFI()
840 state->cfa.offs = get_sleb128(&ptr.p8, end) in processCFI()
901 #define FRAME_REG(r, t) (((t *)frame)[reg_info[r].offs]) in arc_unwind()
1150 || state.cfa.offs % sizeof(unsigned long)) in arc_unwind()
1186 cfa = FRAME_REG(state.cfa.reg, unsigned long) + state.cfa.offs; in arc_unwind()
1195 state.cfa.reg, state.cfa.offs, cfa); in arc_unwind()
/arch/xtensa/include/asm/
Dpgtable.h393 #define __swp_entry(type,offs) \ argument
394 ((swp_entry_t){((type) << 6) | ((offs) << 11) | \
/arch/arm/mach-davinci/
Dboard-da830-evm.c277 .offs = 2,
288 .offs = 2,
/arch/arm/mach-pxa/
Dpoodle.c345 .offs = 4,
Dcorgi.c622 .offs = 4,
Dtosa.c687 .offs = 4,
Deseries.c296 .offs = 4,

12