Searched refs:offset (Results 76 - 100 of 1060) sorted by relevance

1234567891011>>

/arch/mips/kernel/
H A Dspram.c47 static void ispram_store_tag(unsigned int offset, unsigned int data) argument
58 cache_op(Index_Store_Tag_I, CKSEG0|offset);
66 static unsigned int ispram_load_tag(unsigned int offset) argument
74 cache_op(Index_Load_Tag_I, CKSEG0 | offset);
84 static void dspram_store_tag(unsigned int offset, unsigned int data) argument
93 cache_op(Index_Store_Tag_D, CKSEG0 | offset);
100 static unsigned int dspram_load_tag(unsigned int offset) argument
107 cache_op(Index_Load_Tag_D, CKSEG0 | offset);
124 unsigned int offset = 0; local
135 tag0 = read(offset);
[all...]
H A Dcrash_dump.c15 * @offset: offset in bytes into the page (based on pfn) to begin the copy
27 size_t csize, unsigned long offset, int userbuf)
37 memcpy(buf, (vaddr + offset), csize);
47 if (copy_to_user(buf, (kdump_buf_page + offset), csize))
26 copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, unsigned long offset, int userbuf) argument
/arch/powerpc/kernel/
H A Dsmp-tbsync.c77 static int start_contest(int cmd, long offset, int num) argument
88 tbsync->tb = tb + offset;
114 int i, score, score2, old, min=0, max=5000, offset=1000; local
129 for (old = -1; old != offset ; offset = (min+max) / 2) {
130 score = start_contest(kSetAndTest, offset, NUM_ITER);
132 pr_debug("score %d, offset %d\n", score, offset );
135 max = offset;
137 min = offset;
[all...]
/arch/ia64/kernel/
H A Dminstate.h99 .mem.offset 0,0; st8.spill [r16]=r8,16; \
100 .mem.offset 8,0; st8.spill [r17]=r9,16; \
102 .mem.offset 0,0; st8.spill [r16]=r10,24; \
103 .mem.offset 8,0; st8.spill [r17]=r11,24; \
129 .mem.offset 0,0; st8.spill [r16]=r20,16; /* save original r1 */ \
130 .mem.offset 8,0; st8.spill [r17]=r12,16; \
133 .mem.offset 0,0; st8.spill [r16]=r13,16; \
134 .mem.offset 8,0; st8.spill [r17]=r21,16; /* save ar.fpsr */ \
137 .mem.offset 0,0; st8.spill [r16]=r15,16; \
138 .mem.offset
[all...]
H A Dcyclone.c41 u64 offset; /* offset from pageaddr to cyclone_timer register */ local
51 offset = (CYCLONE_CBAR_ADDR);
52 reg = ioremap_nocache(offset, sizeof(u64));
69 offset = (base + CYCLONE_PMCC_OFFSET);
70 reg = ioremap_nocache(offset, sizeof(u64));
81 offset = (base + CYCLONE_MPCS_OFFSET);
82 reg = ioremap_nocache(offset, sizeof(u64));
93 offset = (base + CYCLONE_MPMC_OFFSET);
94 cyclone_timer = ioremap_nocache(offset, sizeo
[all...]
/arch/sparc/lib/
H A Dmemcpy.S17 #define MOVE_BIGCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \
18 ldd [%src + (offset) + 0x00], %t0; \
19 ldd [%src + (offset) + 0x08], %t2; \
20 ldd [%src + (offset) + 0x10], %t4; \
21 ldd [%src + (offset) + 0x18], %t6; \
22 st %t0, [%dst + (offset) + 0x00]; \
23 st %t1, [%dst + (offset) + 0x04]; \
24 st %t2, [%dst + (offset) + 0x08]; \
25 st %t3, [%dst + (offset) + 0x0c]; \
26 st %t4, [%dst + (offset)
[all...]
/arch/arm/mach-imx/
H A Diomux-v1.c39 static inline unsigned long imx_iomuxv1_readl(unsigned offset) argument
41 return __raw_readl(imx_iomuxv1_baseaddr + offset);
44 static inline void imx_iomuxv1_writel(unsigned long val, unsigned offset) argument
46 __raw_writel(val, imx_iomuxv1_baseaddr + offset);
49 static inline void imx_iomuxv1_rmwl(unsigned offset, argument
52 unsigned long reg = imx_iomuxv1_readl(offset);
57 imx_iomuxv1_writel(reg, offset);
98 unsigned long offset = pin < 16 ? MXC_OCR1(port) : MXC_OCR2(port); local
100 imx_iomuxv1_rmwl(offset, mask, value);
109 unsigned long offset local
120 unsigned long offset = pin < 16 ? MXC_ICONFB1(port) : MXC_ICONFB2(port); local
[all...]
/arch/ia64/hp/common/
H A Daml_nfw.c20 * OpRegion. When AML reads the "return value" offset from the OpRegion, this
79 static void aml_nfw_read_arg(u8 *offset, u32 bit_width, u64 *value) argument
83 *value = *(u8 *)offset;
86 *value = *(u16 *)offset;
89 *value = *(u32 *)offset;
92 *value = *(u64 *)offset;
97 static void aml_nfw_write_arg(u8 *offset, u32 bit_width, u64 *value) argument
101 *(u8 *) offset = *value;
104 *(u16 *) offset = *value;
107 *(u32 *) offset
120 u8 *offset = (u8 *) context + address; local
[all...]
/arch/metag/include/asm/
H A Dio.h135 extern void __iomem *__ioremap(unsigned long offset,
141 * @offset: bus address of the memory
150 #define ioremap(offset, size) \
151 __ioremap((offset), (size), 0)
153 #define ioremap_nocache(offset, size) \
154 __ioremap((offset), (size), 0)
156 #define ioremap_cached(offset, size) \
157 __ioremap((offset), (size), _PAGE_CACHEABLE)
159 #define ioremap_wc(offset, size) \
160 __ioremap((offset), (siz
[all...]
/arch/mips/mti-sead3/
H A Dsead3-setup.c64 int offset; local
72 offset = fdt_path_offset(__dtb_start, "/memory");
73 if (offset > 0) {
76 * reg contains 2 32-bits BE values, offset and size. We just
77 * want to replace the size value without affecting the offset
79 prop_value = fdt_getprop(__dtb_start, offset, "reg", &prop_len);
82 fdt_setprop_inplace_u64(__dtb_start, offset, "reg", new_value);
/arch/mips/include/asm/octeon/
H A Dcvmx-smix-defs.h31 static inline uint64_t CVMX_SMIX_CLK(unsigned long offset) argument
39 return CVMX_ADD_IO_SEG(0x0001180000001818ull) + (offset) * 256;
46 return CVMX_ADD_IO_SEG(0x0001180000001818ull) + (offset) * 256;
48 return CVMX_ADD_IO_SEG(0x0001180000003818ull) + (offset) * 128;
50 return CVMX_ADD_IO_SEG(0x0001180000001818ull) + (offset) * 256;
53 static inline uint64_t CVMX_SMIX_CMD(unsigned long offset) argument
61 return CVMX_ADD_IO_SEG(0x0001180000001800ull) + (offset) * 256;
68 return CVMX_ADD_IO_SEG(0x0001180000001800ull) + (offset) * 256;
70 return CVMX_ADD_IO_SEG(0x0001180000003800ull) + (offset) * 128;
72 return CVMX_ADD_IO_SEG(0x0001180000001800ull) + (offset) * 25
75 CVMX_SMIX_EN(unsigned long offset) argument
97 CVMX_SMIX_RD_DAT(unsigned long offset) argument
119 CVMX_SMIX_WR_DAT(unsigned long offset) argument
[all...]
/arch/cris/arch-v10/drivers/
H A Daxisflashmap.c127 .offset = 0
132 .offset = CONFIG_ETRAX_PTABLE_SECTOR
137 .offset = 0x200000 - (5 * CONFIG_ETRAX_PTABLE_SECTOR)
146 .offset = 0
151 .offset = 0
156 .offset = 0
161 .offset = 0
166 .offset = 0
171 .offset = 0
176 .offset
314 unsigned long offset = CONFIG_ETRAX_PTABLE_SECTOR; local
[all...]
/arch/arm/mach-omap2/
H A Dprm44xx_54xx.h41 extern u32 omap4_prm_vcvp_read(u8 offset);
42 extern void omap4_prm_vcvp_write(u32 val, u8 offset);
43 extern u32 omap4_prm_vcvp_rmw(u32 mask, u32 bits, u8 offset);
/arch/hexagon/mm/
H A Dioremap.c27 unsigned long offset = phys_addr & ~PAGE_MASK; local
39 /* Rounds up to next page size, including whole-page offset */
40 size = PAGE_ALIGN(offset + size);
50 return (void __iomem *) (offset + addr);
/arch/microblaze/pci/
H A Dindirect_pci.c23 indirect_read_config(struct pci_bus *bus, unsigned int devfn, int offset, argument
46 reg = ((offset & 0xf00) << 16) | (offset & 0xfc);
48 reg = offset & 0xfc; /* Only 3 bits for function */
58 * Note: the caller has already checked that offset is
61 cfg_data = hose->cfg_data + (offset & 3); /* Only 3 bits for function */
77 indirect_write_config(struct pci_bus *bus, unsigned int devfn, int offset, argument
100 reg = ((offset & 0xf00) << 16) | (offset & 0xfc);
102 reg = offset
[all...]
/arch/mn10300/kernel/
H A Dsys_mn10300.c28 unsigned long fd, unsigned long offset)
30 if (offset & ~PAGE_MASK)
32 return sys_mmap_pgoff(addr, len, prot, flags, fd, offset >> PAGE_SHIFT);
26 old_mmap(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long offset) argument
/arch/powerpc/sysdev/
H A Dindirect_pci.c24 int offset, int len, u32 *val)
50 reg = ((offset & 0xf00) << 16) | (offset & 0xfc);
52 reg = offset & 0xfc;
62 * Note: the caller has already checked that offset is
65 cfg_data = hose->cfg_data + (offset & 3);
81 int offset, int len, u32 val)
107 reg = ((offset & 0xf00) << 16) | (offset & 0xfc);
109 reg = offset
23 indirect_read_config(struct pci_bus *bus, unsigned int devfn, int offset, int len, u32 *val) argument
80 indirect_write_config(struct pci_bus *bus, unsigned int devfn, int offset, int len, u32 val) argument
[all...]
/arch/score/kernel/
H A Dsys_score.c45 unsigned long flags, unsigned long fd, off_t offset)
47 if (unlikely(offset & ~PAGE_MASK))
49 return sys_mmap_pgoff(addr, len, prot, flags, fd, offset >> PAGE_SHIFT);
44 sys_mmap(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset) argument
/arch/tile/gxio/
H A Dkiorpc.c30 void __iomem *iorpc_ioremap(int hv_fd, resource_size_t offset, argument
44 /* Make sure the HV driver approves of our offset and size. */
45 err = __iorpc_check_mmio_offset(hv_fd, offset, size);
53 * it into an MMIO pgprot and offset pfn.
56 pfn = pte_pfn(mmio_base) + PFN_DOWN(offset);
/arch/x86/kernel/
H A Dcrash_dump_32.c39 * @offset: offset in bytes into the page (based on pfn) to begin the copy
51 size_t csize, unsigned long offset, int userbuf)
64 memcpy(buf, (vaddr + offset), csize);
75 if (copy_to_user(buf, (kdump_buf_page + offset), csize))
50 copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, unsigned long offset, int userbuf) argument
/arch/arm/mach-gemini/
H A Dboard-wbd111.c86 .offset = 0,
91 .offset = 0x020000,
95 .offset = 0x120000,
99 .offset = 0x7c0000,
104 .offset = 0x7d0000,
109 .offset = 0x7e0000,
H A Dboard-wbd222.c86 .offset = 0,
91 .offset = 0x020000,
95 .offset = 0x120000,
99 .offset = 0x7c0000,
104 .offset = 0x7d0000,
109 .offset = 0x7e0000,
/arch/m68k/include/asm/
H A Dbitops.h345 int offset)
347 const unsigned long *p = vaddr + (offset >> 5);
348 int bit = offset & 31UL, res;
350 if (offset >= size)
355 offset -= bit;
361 offset += res ^ 31;
362 return offset < size ? offset : size;
364 offset += 32;
366 if (offset >
344 find_next_zero_bit(const unsigned long *vaddr, int size, int offset) argument
399 find_next_bit(const unsigned long *vaddr, int size, int offset) argument
[all...]
/arch/metag/mm/
H A Dmmu-meta1.c29 int offset; local
31 offset = phys - dm_base;
34 if ((offset < 0) || (offset >= MMCU_DIRECTMAPn_ADDR_SCALE)) {
42 offset = phys - dm_base;
45 return DM3_BASE + offset;
/arch/s390/oprofile/
H A Dinit.c126 size_t count, loff_t *offset)
128 return oprofilefs_ulong_to_user(hwsampler_enabled, buf, count, offset);
132 size_t count, loff_t *offset)
137 if (*offset)
174 size_t count, loff_t *offset)
177 count, offset);
181 size_t count, loff_t *offset)
186 if (*offset)
217 size_t count, loff_t *offset)
219 return oprofilefs_ulong_to_user(0, buf, count, offset);
125 hwsampler_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument
131 hwsampler_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) argument
173 hw_interval_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument
180 hw_interval_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) argument
216 hwsampler_zero_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument
222 hwsampler_zero_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) argument
246 hwsampler_kernel_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument
253 hwsampler_kernel_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) argument
281 hwsampler_user_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument
288 hwsampler_user_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) argument
321 timer_enabled_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument
327 timer_enabled_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) argument
[all...]

Completed in 708 milliseconds

1234567891011>>