/arch/arm/plat-pxa/ |
H A D | mfp.c | 97 unsigned long mfpr_off; /* MFPRxx Register offset */ 246 unsigned long offset, flags; local 251 /* mfp offset for readback */ 252 mfpr_off_readback = map[0].offset; 255 offset = p->offset; 259 mfp_table[i].mfpr_off = offset; 262 offset += 4; i++;
|
/arch/avr32/mach-at32ap/ |
H A D | hsmc.c | 140 unsigned long offset; local 206 offset = cs * 0x10; 207 hsmc_writel(hsmc, SETUP0 + offset, setup); 208 hsmc_writel(hsmc, PULSE0 + offset, pulse); 209 hsmc_writel(hsmc, CYCLE0 + offset, cycle); 210 hsmc_writel(hsmc, MODE0 + offset, mode);
|
H A D | pio.c | 204 static int direction_input(struct gpio_chip *chip, unsigned offset) argument 207 u32 mask = 1 << offset; 216 static int gpio_get(struct gpio_chip *chip, unsigned offset) argument 220 return (pio_readl(pio, PDSR) >> offset) & 1; 223 static void gpio_set(struct gpio_chip *chip, unsigned offset, int value); 225 static int direction_output(struct gpio_chip *chip, unsigned offset, int value) argument 228 u32 mask = 1 << offset; 233 gpio_set(chip, offset, value); 238 static void gpio_set(struct gpio_chip *chip, unsigned offset, int value) argument 241 u32 mask = 1 << offset; [all...] |
/arch/mips/alchemy/devboards/ |
H A D | platform.c | 207 parts[i].offset = 0; 213 parts[i].offset = MTDPART_OFS_APPEND; 218 parts[i].offset = MTDPART_OFS_APPEND; 224 parts[i].offset = MTDPART_OFS_APPEND; 229 parts[i].offset = MTDPART_OFS_APPEND; 236 parts[i].offset = MTDPART_OFS_APPEND;
|
/arch/mips/ar7/ |
H A D | prom.c | 253 #define PORT(offset) (KSEG1ADDR(AR7_REGS_UART0 + (offset * 4))) 254 static inline unsigned int serial_in(int offset) argument 256 return readl((void *)PORT(offset)); 259 static inline void serial_out(int offset, int value) argument 261 writel(value, (void *)PORT(offset));
|
/arch/mips/include/asm/ |
H A D | pgtable-32.h | 160 #define __swp_entry(type,offset) \ 161 ((swp_entry_t) { ((type) << 10) | ((offset) << 15) }) 164 * Bits 0, 4, 8, and 9 are taken, split up 28 bits of offset into this range: 183 #define __swp_entry(type,offset) \ 184 ((swp_entry_t) { ((type) << 2) | ((offset) << 7) }) 188 #define __swp_entry(type,offset) \ 189 ((swp_entry_t) { ((type) << 8) | ((offset) << 13) }) 194 * Bits 0 and 1 of pte_high are taken, use the rest for the page offset... 203 * Bits 0, 4, 6, and 7 are taken, split up 28 bits of offset into this range:
|
/arch/mn10300/include/asm/ |
H A D | io.h | 254 static inline void __iomem *__ioremap(unsigned long offset, unsigned long size, argument 257 return (void __iomem *) offset; 260 static inline void __iomem *ioremap(unsigned long offset, unsigned long size) argument 262 return (void __iomem *)(offset & ~0x20000000); 270 static inline void __iomem *ioremap_nocache(unsigned long offset, unsigned long size) argument 272 return (void __iomem *) (offset | 0x20000000);
|
/arch/powerpc/mm/ |
H A D | slb.c | 190 unsigned long offset; local 203 offset = get_paca()->slb_cache_ptr; 205 offset <= SLB_CACHE_ENTRIES) { 208 for (i = 0; i < offset; i++) { 222 if (offset == 1 || offset > SLB_CACHE_ENTRIES)
|
/arch/powerpc/sysdev/ |
H A D | cpm_common.c | 138 * This function returns an offset into the muram area. 159 * @offset: The beginning of the chunk as returned by cpm_muram_alloc(). 161 int cpm_muram_free(unsigned long offset) argument 167 ret = rh_free(&cpm_muram_info, offset); 176 * @offset: the offset into the muram area to reserve 183 unsigned long cpm_muram_alloc_fixed(unsigned long offset, unsigned long size) argument 190 start = rh_alloc_fixed(&cpm_muram_info, offset, size, "commproc"); 198 * cpm_muram_addr - turn a muram offset into a virtual address 199 * @offset 201 cpm_muram_addr(unsigned long offset) argument [all...] |
/arch/tile/kernel/ |
H A D | pci_gx.c | 50 #define TRACE_CFG_WR(size, val, bus, dev, func, offset) \ 52 size, val, bus, dev, func, offset & 0xFFF); 53 #define TRACE_CFG_RD(size, val, bus, dev, func, offset) \ 55 size, val, bus, dev, func, offset & 0xFFF); 671 resource_size_t offset; local 823 offset = HV_TRIO_PIO_OFFSET(trio_context->pio_cfg_index) | 851 offset = HV_TRIO_PIO_OFFSET(trio_context->pio_cfg_index[mac]) | 864 iorpc_ioremap(trio_context->fd, offset, (1UL << 1014 * of this memory controller plus an offset (see pci.h). 1093 resource_size_t offset; local 1146 resource_size_t offset; local 1219 tile_cfg_read(struct pci_bus *bus, unsigned int devfn, int offset, int size, u32 *val) argument 1342 tile_cfg_write(struct pci_bus *bus, unsigned int devfn, int offset, int size, u32 val) argument [all...] |
/arch/x86/include/asm/ |
H A D | io.h | 163 * @offset: bus address of the memory 175 extern void __iomem *ioremap_nocache(resource_size_t offset, unsigned long size); 176 extern void __iomem *ioremap_cache(resource_size_t offset, unsigned long size); 177 extern void __iomem *ioremap_prot(resource_size_t offset, unsigned long size, 183 static inline void __iomem *ioremap(resource_size_t offset, unsigned long size) argument 185 return ioremap_nocache(offset, size); 318 extern void __iomem *ioremap_wc(resource_size_t offset, unsigned long size);
|
/arch/xtensa/kernel/ |
H A D | pci.c | 264 * Adjust vm_pgoff of VMA such that it is the physical page offset 265 * corresponding to the 32-bit pci bus offset for DEV requested by the user. 269 * add whatever PAGE_SIZE multiple offset they wish, and feed this into the 270 * offset parameter of mmap on /proc/bus/pci/XXX for that device. 279 unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; local 286 /* If memory, add on the PCI bridge address offset */ 291 offset += io_offset; 296 * Check that the offset requested corresponds to one of the 312 if (offset < (rp->start & PAGE_MASK) || offset > r [all...] |
/arch/s390/kernel/ |
H A D | ptrace.c | 197 * Read the word at offset addr from the user area of a process. The 208 addr_t offset, tmp; local 225 offset = addr - (addr_t) &dummy->regs.acrs; 236 tmp = *(addr_t *)((addr_t) &child->thread.acrs + offset); 255 offset = addr - (addr_t) &dummy->regs.fp_regs; 256 tmp = *(addr_t *)((addr_t) &child->thread.fp_regs + offset); 333 addr_t offset; local 359 offset = addr - (addr_t) &dummy->regs.acrs; 371 *(addr_t *)((addr_t) &child->thread.acrs + offset) = data; 394 offset 573 addr_t offset; local 674 addr_t offset; local 1467 regs_get_register(struct pt_regs *regs, unsigned int offset) argument 1476 unsigned long offset; local 1487 regs_query_register_name(unsigned int offset) argument [all...] |
/arch/x86/kernel/cpu/ |
H A D | perf_event_amd.c | 143 * 4 counters starting at 0xc0010000 each offset by 1 146 * 6 counters starting at 0xc0010200 each offset by 2 150 int offset; local 156 offset = event_offsets[index]; 158 offset = count_offsets[index]; 160 if (offset) 161 return offset; 164 offset = index; 166 offset = index << 1; 169 event_offsets[index] = offset; [all...] |
/arch/arm/kernel/ |
H A D | entry-header.S | 175 .macro store_user_sp_lr, rd, rtemp, offset = 0 180 str sp, [\rd, #\offset] @ save sp_usr 181 str lr, [\rd, #\offset + 4] @ save lr_usr 187 .macro load_user_sp_lr, rd, rtemp, offset = 0 192 ldr sp, [\rd, #\offset] @ load sp_usr 193 ldr lr, [\rd, #\offset + 4] @ load lr_usr 255 .macro restore_user_regs, fast = 0, offset = 0 256 ldr r1, [sp, #\offset + S_PSR] @ get calling cpsr 257 ldr lr, [sp, #\offset + S_PC]! @ get pc 330 .macro restore_user_regs, fast = 0, offset [all...] |
/arch/powerpc/platforms/powermac/ |
H A D | nvram.c | 438 int i, offset; local 447 offset = 0; 451 buffer[i] = ppc_md.nvram_read_val(offset+i); 453 nvram_partitions[pmac_nvram_OF] = offset + 0x10; 455 nvram_partitions[pmac_nvram_XPRAM] = offset + 0x10; 456 nvram_partitions[pmac_nvram_NR] = offset + 0x110; 458 offset += (hdr->len * 0x10); 459 } while(offset < NVRAM_SIZE); 632 int offset = pmac_get_partition(pmac_nvram_XPRAM); local 634 if (offset < 642 int offset = pmac_get_partition(pmac_nvram_XPRAM); local [all...] |
/arch/arm/mach-sa1100/ |
H A D | jornada720.c | 288 .offset = 0, 293 .offset = 0x00040000, 297 .offset = 0x00100000, 301 .offset = 0x00140000, 305 .offset = 0x00240000, 309 .offset = 0x00540000, 313 .offset = 0x00d00000,
|
/arch/ia64/kvm/ |
H A D | vmm_ivt.S | 39 * entry offset ----/ / / / 303 .mem.offset 0,0; st8.spill [r16]=r8,16 304 .mem.offset 8,0; st8.spill [r17]=r9,16 306 .mem.offset 0,0; st8.spill [r16]=r10,24 307 .mem.offset 8,0; st8.spill [r17]=r11,24 329 .mem.offset 0,0; st8.spill [r16]=r20,16 /* save original r1 */ 330 .mem.offset 8,0; st8.spill [r17]=r12,16 334 .mem.offset 0,0; st8.spill [r16]=r13,16 335 .mem.offset 8,0; st8.spill [r17]=r8,16 /* save ar.fpsr */ 337 .mem.offset [all...] |
/arch/mips/net/ |
H A D | bpf_jit.c | 34 * s2 offset register 290 static inline void emit_stack_offset(int offset, struct jit_ctx *ctx) argument 292 emit_long_instr(ctx, ADDIU, r_sp, r_sp, offset); 367 unsigned int offset, 370 emit_long_instr(ctx, SW, reg, offset, base); 373 static inline void emit_store(ptr reg, ptr base, unsigned int offset, argument 376 emit_instr(ctx, sw, reg, offset, base); 380 unsigned int offset, 383 emit_long_instr(ctx, LW, reg, offset, base); 387 unsigned int offset, struc 366 emit_store_stack_reg(ptr reg, ptr base, unsigned int offset, struct jit_ctx *ctx) argument 379 emit_load_stack_reg(ptr reg, ptr base, unsigned int offset, struct jit_ctx *ctx) argument 386 emit_load(unsigned int reg, unsigned int base, unsigned int offset, struct jit_ctx *ctx) argument 392 emit_load_byte(unsigned int reg, unsigned int base, unsigned int offset, struct jit_ctx *ctx) argument 398 emit_half_load(unsigned int reg, unsigned int base, unsigned int offset, struct jit_ctx *ctx) argument 572 save_bpf_jit_regs(struct jit_ctx *ctx, unsigned offset) argument 620 restore_bpf_jit_regs(struct jit_ctx *ctx, unsigned int offset) argument 725 jit_get_skb_b(struct sk_buff *skb, unsigned offset) argument 735 jit_get_skb_h(struct sk_buff *skb, unsigned offset) argument 745 jit_get_skb_w(struct sk_buff *skb, unsigned offset) argument [all...] |
/arch/sparc/kernel/ |
H A D | time_32.c | 148 u32 val, offset; local 151 offset = (val >> TIMER_VALUE_SHIFT) & TIMER_VALUE_MASK; 155 offset += sparc_config.cs_period; 157 return offset; 162 unsigned int seq, offset; local 169 offset = sparc_config.get_cycles_offset(); 174 cycles += offset;
|
/arch/x86/kernel/ |
H A D | ptrace.c | 58 int offset; member in struct:pt_regs_offset 61 #define REG_OFFSET_NAME(r) {.name = #r, .offset = offsetof(struct pt_regs, r)} 62 #define REG_OFFSET_END {.name = NULL, .offset = 0} 98 * regs_query_register_offset() - query register offset from its name 101 * regs_query_register_offset() returns the offset of a register in struct 109 return roff->offset; 114 * regs_query_register_name() - query register name from its offset 115 * @offset: the offset of a register in struct pt_regs. 118 * offset i 120 regs_query_register_name(unsigned int offset) argument 206 get_segment_reg(struct task_struct *task, unsigned long offset) argument 223 set_segment_reg(struct task_struct *task, unsigned long offset, u16 value) argument 248 *pt_regs_access(task_pt_regs(task), offset) = value; local 265 pt_regs_access(struct pt_regs *regs, unsigned long offset) argument 271 get_segment_reg(struct task_struct *task, unsigned long offset) argument 312 set_segment_reg(struct task_struct *task, unsigned long offset, u16 value) argument 419 putreg(struct task_struct *child, unsigned long offset, unsigned long value) argument 458 *pt_regs_access(task_pt_regs(child), offset) = value; local 462 getreg(struct task_struct *task, unsigned long offset) argument [all...] |
/arch/x86/mm/ |
H A D | mmio-mod.c | 234 static void ioremap_trace_core(resource_size_t offset, unsigned long size, argument 241 .phys = offset, 260 .phys = offset, 280 void mmiotrace_ioremap(resource_size_t offset, unsigned long size, argument 287 (unsigned long long)offset, size, addr); 288 if ((filter_offset) && (offset != filter_offset)) 290 ioremap_trace_core(offset, size, addr);
|
/arch/arm/mach-davinci/ |
H A D | board-da830-evm.c | 305 .offset = 0, 312 .offset = MTDPART_OFS_APPEND, 319 .offset = MTDPART_OFS_APPEND, 326 .offset = MTDPART_OFS_APPEND, 512 /* (offset, number) */ 521 /* (offset, number) */ 539 .offset = 0, 545 .offset = MTDPART_OFS_APPEND, 551 .offset = MTDPART_OFS_APPEND, 557 .offset [all...] |
H A D | board-dm355-evm.c | 50 .offset = 0, 56 .offset = MTDPART_OFS_APPEND, 61 .offset = MTDPART_OFS_APPEND, 66 .offset = MTDPART_OFS_APPEND, 71 .offset = MTDPART_OFS_APPEND,
|
H A D | board-dm355-leopard.c | 46 .offset = 0, 52 .offset = MTDPART_OFS_APPEND, 57 .offset = MTDPART_OFS_APPEND, 62 .offset = MTDPART_OFS_APPEND, 67 .offset = MTDPART_OFS_APPEND,
|