Searched refs:offset (Results 226 - 250 of 1060) sorted by relevance

1234567891011>>

/arch/x86/math-emu/
H A Dget_address.c74 long offset; local
86 offset = 0; /* No base register */
88 offset = REG_(base);
96 offset += (REG_(index)) << ss;
105 offset += displacement;
114 offset += displacement;
119 return offset;
137 struct address *addr, long offset)
163 address = base_address + offset;
242 addr->offset
136 pm_address(u_char FPU_modrm, u_char segment, struct address *addr, long offset) argument
[all...]
/arch/arm/common/
H A Dedma.c121 static inline unsigned int edma_read(unsigned ctlr, int offset) argument
123 return (unsigned int)__raw_readl(edmacc_regs_base[ctlr] + offset);
126 static inline void edma_write(unsigned ctlr, int offset, int val) argument
128 __raw_writel(val, edmacc_regs_base[ctlr] + offset);
130 static inline void edma_modify(unsigned ctlr, int offset, unsigned and, argument
133 unsigned val = edma_read(ctlr, offset);
136 edma_write(ctlr, offset, val);
138 static inline void edma_and(unsigned ctlr, int offset, unsigned and) argument
140 unsigned val = edma_read(ctlr, offset);
142 edma_write(ctlr, offset, va
144 edma_or(unsigned ctlr, int offset, unsigned or) argument
150 edma_read_array(unsigned ctlr, int offset, int i) argument
154 edma_write_array(unsigned ctlr, int offset, int i, unsigned val) argument
159 edma_modify_array(unsigned ctlr, int offset, int i, unsigned and, unsigned or) argument
164 edma_or_array(unsigned ctlr, int offset, int i, unsigned or) argument
168 edma_or_array2(unsigned ctlr, int offset, int i, int j, unsigned or) argument
173 edma_write_array2(unsigned ctlr, int offset, int i, int j, unsigned val) argument
178 edma_shadow0_read(unsigned ctlr, int offset) argument
182 edma_shadow0_read_array(unsigned ctlr, int offset, int i) argument
187 edma_shadow0_write(unsigned ctlr, int offset, unsigned val) argument
191 edma_shadow0_write_array(unsigned ctlr, int offset, int i, unsigned val) argument
196 edma_parm_read(unsigned ctlr, int offset, int param_no) argument
201 edma_parm_write(unsigned ctlr, int offset, int param_no, unsigned val) argument
206 edma_parm_modify(unsigned ctlr, int offset, int param_no, unsigned and, unsigned or) argument
211 edma_parm_and(unsigned ctlr, int offset, int param_no, unsigned and) argument
216 edma_parm_or(unsigned ctlr, int offset, int param_no, unsigned or) argument
222 set_bits(int offset, int len, unsigned long *p) argument
228 clear_bits(int offset, int len, unsigned long *p) argument
1519 u32 shift, offset, mux; local
[all...]
/arch/mips/include/asm/
H A Dio.h170 extern void __iomem * __ioremap(phys_t offset, phys_t size, unsigned long flags);
178 static inline void __iomem * __ioremap_mode(phys_t offset, unsigned long size, argument
181 void __iomem *addr = plat_ioremap(offset, size, flags);
197 return (void __iomem *) (unsigned long) (base + offset);
198 } else if (__builtin_constant_p(offset) &&
202 phys_addr = fixup_bigphys_addr(offset, size);
219 return __ioremap(offset, size, flags);
226 * @offset: bus address of the memory
235 #define ioremap(offset, size) \
236 __ioremap_mode((offset), (siz
[all...]
/arch/arm/kernel/
H A Dkprobes-thumb.c60 long offset = insn & 0x7ff; /* imm11 */ local
61 offset += (insn & 0x003f0000) >> 5; /* imm6 */
62 offset += (insn & 0x00002000) << 4; /* J1 */
63 offset += (insn & 0x00000800) << 7; /* J2 */
64 offset -= (insn & 0x04000000) >> 7; /* Apply sign bit */
66 regs->ARM_pc = pc + (offset * 2);
85 long offset = insn & 0x7ff; /* imm11 */ local
86 offset += (insn & 0x03ff0000) >> 5; /* imm10 */
87 offset += (insn & 0x00002000) << 9; /* J1 */
88 offset
115 long offset = insn & 0xfff; local
350 long offset = insn & 0xff; local
418 long offset = insn & 0x7f; local
438 long offset = insn & 0x3ff; local
[all...]
/arch/arm/mach-omap1/
H A Dserial.c34 int offset)
36 offset <<= up->regshift;
37 return (unsigned int)__raw_readb(up->membase + offset);
40 static inline void omap_serial_outp(struct plat_serial8250_port *p, int offset, argument
43 offset <<= p->regshift;
44 __raw_writeb(value, p->membase + offset);
33 omap_serial_in(struct plat_serial8250_port *up, int offset) argument
/arch/arm/mach-sa1100/
H A Dhackkit.c156 .offset = 0x00000000,
161 .offset = MTDPART_OFS_APPEND,
165 .offset = MTDPART_OFS_APPEND,
169 .offset = MTDPART_OFS_APPEND,
173 .offset = MTDPART_OFS_APPEND,
177 .offset = MTDPART_OFS_APPEND,
H A Dnanoengine.c40 .offset = 0,
45 .offset = 0x00010000,
50 .offset = 0x00300000,
H A Dpleb.c73 .offset = 0,
77 .offset = MTDPART_OFS_APPEND,
81 .offset = MTDPART_OFS_APPEND,
H A Dshannon.c31 .offset = 0,
36 .offset = MTDPART_OFS_APPEND,
41 .offset = MTDPART_OFS_APPEND,
/arch/avr32/mach-at32ap/
H A Dintc.c96 u32 offset, readback; local
124 offset = (unsigned long)&irq_level0 - (unsigned long)&_evba;
126 intc_writel(&intc0, INTPR0 + 4 * i, offset);
128 if (readback == offset)
144 void intc_set_suspend_handler(unsigned long offset) argument
146 intc0.suspend_ipr = offset;
/arch/metag/mm/
H A Dmmu-meta2.c21 unsigned long offset, linear_base, linear_limit; local
28 offset = vaddr >> PGDIR_SHIFT;
40 * If offset is below linear base or above the limit then no
43 if (offset < linear_base || offset > linear_limit)
46 offset -= linear_base;
48 entry = pgd[offset];
67 * used as an offset to the start of the top-level pgd table.
/arch/mips/alchemy/
H A Dboard-gpr.c137 .offset = 0,
142 .offset = MTDPART_OFS_APPEND,
148 .offset = 0x01d00000,
153 .offset = 0x01c00000,
158 .offset = MTDPART_OFS_APPEND,
163 .offset = 0,
/arch/mips/emma/markeins/
H A Dplatform.c147 .offset = 0x00000000,
152 .offset = MTDPART_OFS_APPEND,
157 .offset = MTDPART_OFS_APPEND,
162 .offset = MTDPART_OFS_APPEND,
167 .offset = MTDPART_OFS_APPEND,
172 .offset = MTDPART_OFS_APPEND,
/arch/mips/include/asm/octeon/
H A Dcvmx-address.h110 uint64_t offset:62; member in struct:__anon1994::__anon1995
116 uint64_t offset:31; member in struct:__anon1994::__anon1996
123 uint64_t offset:29; member in struct:__anon1994::__anon1997
149 uint64_t offset:36; member in struct:__anon1994::__anon1999
158 uint64_t offset:36; member in struct:__anon1994::__anon2000
174 uint64_t offset:36; member in struct:__anon1994::__anon2001
/arch/powerpc/include/asm/
H A Dcpm.h162 int cpm_muram_free(unsigned long offset);
163 unsigned long cpm_muram_alloc_fixed(unsigned long offset, unsigned long size);
164 void __iomem *cpm_muram_addr(unsigned long offset);
174 static inline int cpm_muram_free(unsigned long offset) argument
179 static inline unsigned long cpm_muram_alloc_fixed(unsigned long offset, argument
185 static inline void __iomem *cpm_muram_addr(unsigned long offset) argument
/arch/xtensa/include/asm/
H A Ddma-mapping.h73 dma_map_page(struct device *dev, struct page *page, unsigned long offset, argument
77 return (dma_addr_t)(page_to_pfn(page)) * PAGE_SIZE + offset;
111 unsigned long offset, size_t size,
115 consistent_sync((void *)bus_to_virt(dma_handle)+offset,size,direction);
120 unsigned long offset, size_t size,
124 consistent_sync((void *)bus_to_virt(dma_handle)+offset,size,direction);
110 dma_sync_single_range_for_cpu(struct device *dev, dma_addr_t dma_handle, unsigned long offset, size_t size, enum dma_data_direction direction) argument
119 dma_sync_single_range_for_device(struct device *dev, dma_addr_t dma_handle, unsigned long offset, size_t size, enum dma_data_direction direction) argument
/arch/arm/mach-imx/
H A Danatop.c87 u16 offset = ANADIG_DIGPROG; local
93 offset = ANADIG_DIGPROG_IMX6SL;
94 digprog = readl_relaxed(anatop_base + offset);
/arch/arm/mach-ks8695/
H A Dboard-sg.c37 .offset = SZ_256K,
41 .offset = SZ_512K + SZ_256K,
49 .offset = SZ_128K,
/arch/arm/mach-orion5x/
H A Drd88f6183ap-ge-setup.c51 .offset = 0x00000000,
55 .offset = 0x00200000,
59 .offset = 0x00700000,
/arch/arm/mm/
H A Dcopypage-v6.c75 unsigned int offset = CACHE_COLOUR(vaddr); local
90 kfrom = COPYPAGE_V6_FROM + (offset << PAGE_SHIFT);
91 kto = COPYPAGE_V6_TO + (offset << PAGE_SHIFT);
H A Dioremap.c259 unsigned long offset, size_t size, unsigned int mtype, void *caller)
280 * Page align the mapping size, taking account of any offset.
282 size = PAGE_ALIGN(offset + size);
294 return (void __iomem *) (offset + addr);
331 return (void __iomem *) (offset + addr);
338 unsigned long offset = phys_addr & ~PAGE_MASK; local
348 return __arm_ioremap_pfn_caller(pfn, offset, size, mtype,
358 * have to convert them into an offset in a page-aligned mapping, but the
362 __arm_ioremap_pfn(unsigned long pfn, unsigned long offset, size_t size, argument
365 return __arm_ioremap_pfn_caller(pfn, offset, siz
258 __arm_ioremap_pfn_caller(unsigned long pfn, unsigned long offset, size_t size, unsigned int mtype, void *caller) argument
448 pci_ioremap_io(unsigned int offset, phys_addr_t phys_addr) argument
[all...]
/arch/arm64/mm/
H A Dioremap.c36 unsigned long offset = phys_addr & ~PAGE_MASK; local
43 * offset.
46 size = PAGE_ALIGN(size + offset);
72 return (void __iomem *)(offset + addr);
/arch/ia64/kernel/
H A Delfcore.c14 int elf_core_write_extra_phdrs(struct coredump_params *cprm, loff_t offset) argument
28 ofs = phdr.p_offset = offset;
29 offset += phdr.p_filesz;
/arch/ia64/mm/
H A Dioremap.c39 unsigned long offset; local
79 offset = phys_addr & ~PAGE_MASK;
97 return (void __iomem *) (offset + (char __iomem *)addr);
/arch/mips/include/asm/fw/cfe/
H A Dcfe_api.h112 int length, int *retlen, uint64_t offset);
115 int cfe_readblk(int handle, int64_t offset, unsigned char *buffer,
119 int cfe_writeblk(int handle, int64_t offset, const char *buffer,

Completed in 2252 milliseconds

1234567891011>>