Searched refs:offset (Results 151 - 175 of 1060) sorted by relevance

1234567891011>>

/arch/arm/mach-zynq/
H A Dslcr.c44 * @offset: Register offset in SLCR block
48 static int zynq_slcr_write(u32 val, u32 offset) argument
51 writel(val, zynq_slcr_base + offset);
55 return regmap_write(zynq_slcr_regmap, offset, val);
62 * @offset: Register offset in SLCR block
66 static int zynq_slcr_read(u32 *val, u32 offset) argument
69 return regmap_read(zynq_slcr_regmap, offset, val);
71 *val = readl(zynq_slcr_base + offset);
[all...]
/arch/blackfin/mach-bf561/
H A Dsmp.c125 int offset = (irq == IRQ_SUPPLE_0) ? 6 : 8; local
130 bfin_write_SICB_SYSCR(bfin_read_SICB_SYSCR() | (1 << (offset + cpu)));
137 int offset = (irq == IRQ_SUPPLE_0) ? 6 : 8; local
140 bfin_write_SICB_SYSCR(bfin_read_SICB_SYSCR() | (1 << (offset + cpu)));
146 int offset = (irq == IRQ_SUPPLE_0) ? 10 : 12; local
149 bfin_write_SICB_SYSCR(bfin_read_SICB_SYSCR() | (1 << (offset + cpu)));
/arch/powerpc/boot/
H A Dps3-hvcall.S62 .macro SAVE_LR offset=4
64 stw r0, \offset(r1)
67 .macro LOAD_LR offset=4
68 lwz r0, \offset(r1)
77 .macro LOAD_64_STACK target,offset
78 ld \target, \offset(r1)
/arch/powerpc/kernel/
H A Dcrash_dump.c74 unsigned long offset, int userbuf)
77 if (copy_to_user((char __user *)buf, (vaddr + offset), csize))
80 memcpy(buf, (vaddr + offset), csize);
91 * @offset: offset in bytes into the page (based on pfn) to begin the copy
99 size_t csize, unsigned long offset, int userbuf)
112 csize = copy_oldmem_vaddr(vaddr, buf, csize, offset, userbuf);
115 csize = copy_oldmem_vaddr(vaddr, buf, csize, offset, userbuf);
73 copy_oldmem_vaddr(void *vaddr, char *buf, size_t csize, unsigned long offset, int userbuf) argument
98 copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, unsigned long offset, int userbuf) argument
/arch/s390/kernel/
H A Dsys_s390.c45 unsigned long offset; member in struct:s390_mmap_arg_struct
55 error = sys_mmap_pgoff(a.addr, a.len, a.prot, a.flags, a.fd, a.offset);
109 long long offset; member in struct:fadvise64_64_args
120 return sys_fadvise64_64(a.fd, a.offset, a.len, a.advice);
131 * %r2: fd, %r3: mode, %r4/%r5: offset, %r6/96(%r15)-99(%r15): len
133 * %r2: fd, %r3: mode, %r4/%r5: offset, 96(%r15)-103(%r15): len
135 SYSCALL_DEFINE5(s390_fallocate, int, fd, int, mode, loff_t, offset,
138 return sys_fallocate(fd, mode, offset, ((u64)len_high << 32) | len_low);
/arch/sh/include/asm/
H A Dio.h269 void __iomem *__ioremap_caller(phys_addr_t offset, unsigned long size,
274 __ioremap(phys_addr_t offset, unsigned long size, pgprot_t prot) argument
276 return __ioremap_caller(offset, size, prot, __builtin_return_address(0));
280 __ioremap_29bit(phys_addr_t offset, unsigned long size, pgprot_t prot) argument
283 phys_addr_t last_addr = offset + size - 1;
291 if (likely(PXSEG(offset) < P3SEG && PXSEG(last_addr) < P3SEG)) {
301 return (void __iomem *)P1SEGADDR(offset);
303 return (void __iomem *)P2SEGADDR(offset);
307 if (unlikely(offset >= P3_ADDR_MAX))
308 return (void __iomem *)P4SEGADDR(offset);
315 __ioremap_mode(phys_addr_t offset, unsigned long size, pgprot_t prot) argument
335 ioremap(phys_addr_t offset, unsigned long size) argument
341 ioremap_cache(phys_addr_t offset, unsigned long size) argument
348 ioremap_prot(phys_addr_t offset, unsigned long size, unsigned long flags) argument
[all...]
H A Dpci.h47 int bus, int devfn, int offset, u8 *value);
49 int bus, int devfn, int offset, u16 *value);
51 int bus, int devfn, int offset, u32 *value);
53 int bus, int devfn, int offset, u8 value);
55 int bus, int devfn, int offset, u16 value);
57 int bus, int devfn, int offset, u32 value);
/arch/x86/include/asm/
H A Diosf_mbi.h83 * @offset: register address offset
89 int iosf_mbi_read(u8 port, u8 opcode, u32 offset, u32 *mdr);
95 * @offset: register address offset
101 int iosf_mbi_write(u8 port, u8 opcode, u32 offset, u32 mdr);
107 * @offset: register address offset
114 int iosf_mbi_modify(u8 port, u8 opcode, u32 offset, u32 mdr, u32 mask);
124 int iosf_mbi_read(u8 port, u8 opcode, u32 offset, u3 argument
131 iosf_mbi_write(u8 port, u8 opcode, u32 offset, u32 mdr) argument
138 iosf_mbi_modify(u8 port, u8 opcode, u32 offset, u32 mdr, u32 mask) argument
[all...]
/arch/powerpc/platforms/powermac/
H A Dpfunc_core.c160 u32 offset = pmf_next32(cmd); local
164 LOG_PARSE("pmf: write_reg32(offset: %08x, value: %08x, mask: %08x)\n",
165 offset, value, mask);
167 PMF_PARSE_CALL(write_reg32, cmd, h, offset, value, mask);
172 u32 offset = pmf_next32(cmd); local
174 LOG_PARSE("pmf: read_reg32(offset: %08x)\n", offset);
176 PMF_PARSE_CALL(read_reg32, cmd, h, offset);
182 u32 offset = pmf_next32(cmd); local
186 LOG_PARSE("pmf: write_reg16(offset
194 u32 offset = pmf_next32(cmd); local
204 u32 offset = pmf_next32(cmd); local
216 u32 offset = pmf_next32(cmd); local
234 u32 offset = pmf_next32(cmd); local
246 u32 offset = pmf_next32(cmd); local
258 u32 offset = pmf_next32(cmd); local
309 u32 offset = pmf_next32(cmd); local
320 u32 offset = pmf_next32(cmd); local
332 u32 offset = pmf_next32(cmd); local
406 u32 offset = pmf_next32(cmd); local
420 u32 offset = pmf_next32(cmd); local
433 u32 offset = pmf_next32(cmd); local
447 u32 offset = pmf_next32(cmd); local
460 u32 offset = pmf_next32(cmd); local
473 u32 offset = pmf_next32(cmd); local
[all...]
/arch/mips/lantiq/
H A Dirq.c84 int offset = d->hwirq - MIPS_CPU_IRQ_CASCADE; local
85 int im = offset / INT_NUM_IM_OFFSET;
87 offset %= INT_NUM_IM_OFFSET;
88 ltq_icu_w32(im, ltq_icu_r32(im, ier) & ~BIT(offset), ier);
95 int offset = d->hwirq - MIPS_CPU_IRQ_CASCADE; local
96 int im = offset / INT_NUM_IM_OFFSET;
98 offset %= INT_NUM_IM_OFFSET;
99 ltq_icu_w32(im, ltq_icu_r32(im, ier) & ~BIT(offset), ier);
100 ltq_icu_w32(im, BIT(offset), isr);
106 int offset local
116 int offset = d->hwirq - MIPS_CPU_IRQ_CASCADE; local
[all...]
/arch/mips/mm/
H A Ddma-default.c220 unsigned long offset, size_t size, enum dma_data_direction direction)
230 if (offset + len > PAGE_SIZE) {
231 if (offset >= PAGE_SIZE) {
232 page += offset >> PAGE_SHIFT;
233 offset &= ~PAGE_MASK;
235 len = PAGE_SIZE - offset;
239 __dma_sync_virtual(addr + offset, len, direction);
242 __dma_sync_virtual(page_address(page) + offset,
244 offset = 0;
267 __dma_sync(sg_page(sg), sg->offset, s
219 __dma_sync(struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction) argument
279 mips_dma_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction, struct dma_attrs *attrs) argument
[all...]
/arch/arm/mach-mmp/
H A Ddevices.c81 static unsigned int u2o_get(void __iomem *base, unsigned int offset) argument
83 return readl_relaxed(base + offset);
86 static void u2o_set(void __iomem *base, unsigned int offset, argument
91 reg = readl_relaxed(base + offset);
93 writel_relaxed(reg, base + offset);
94 readl_relaxed(base + offset);
97 static void u2o_clear(void __iomem *base, unsigned int offset, argument
102 reg = readl_relaxed(base + offset);
104 writel_relaxed(reg, base + offset);
105 readl_relaxed(base + offset);
108 u2o_write(void __iomem *base, unsigned int offset, unsigned int value) argument
[all...]
/arch/s390/include/asm/
H A Dpci_io.h65 static inline int zpci_write_single(u64 req, const u64 *data, u64 offset, u8 len) argument
86 return zpci_store(val, req, offset);
89 static inline int zpci_read_single(u64 req, u64 *dst, u64 offset, u8 len) argument
94 cc = zpci_load(&data, req, offset);
116 static inline int zpci_write_block(u64 req, const u64 *data, u64 offset) argument
118 return zpci_store_block(data, req, offset);
138 u64 req, offset = ZPCI_OFFSET(src); local
144 rc = zpci_read_single(req, dst, offset, size);
147 offset += size;
158 u64 req, offset local
[all...]
/arch/s390/net/
H A Dbpf_jit.S14 * %r3: offset parameter
24 * %r3 = offset into skb data
32 ar %r3,%r12 # offset += X
37 llgfr %r1,%r3 # extend offset
38 ahi %r3,4 # offset + 4
39 clr %r11,%r3 # hlen <= offset + 4 ?
57 ar %r3,%r12 # offset += X
62 llgfr %r1,%r3 # extend offset
63 ahi %r3,2 # offset + 2
64 clr %r11,%r3 # hlen <= offset
[all...]
/arch/arm/include/asm/
H A Dword-at-a-time.h68 unsigned long ret, offset; local
91 : "=&r" (ret), "=&r" (offset)
/arch/arm/kernel/
H A Dsys_arm.c36 loff_t offset, loff_t len)
38 return sys_fadvise64_64(fd, offset, len, advice);
35 sys_arm_fadvise64_64(int fd, int advice, loff_t offset, loff_t len) argument
/arch/arm/mach-ixp4xx/
H A Domixp-setup.c42 .offset = 0,
46 .offset = 0x00020000,
50 .offset = 0x00040000,
54 .offset = 0x00060000,
58 .offset = 0x00080000,
62 .offset = 0x000a0000,
66 .offset = 0x00200000,
70 .offset = 0x00E00000,
/arch/arm/mach-msm/
H A Dlast_radio_log.c32 size_t len, loff_t *offset)
34 return simple_read_from_buffer(buf, len, offset,
31 last_radio_log_read(struct file *file, char __user *buf, size_t len, loff_t *offset) argument
/arch/arm/mach-s3c24xx/
H A Dcommon-smdk.c116 .offset = 0,
120 .offset = 0,
125 .offset = SZ_4M,
130 .offset = SZ_8M,
135 .offset = SZ_1M * 10,
140 .offset = SZ_1M * 14,
145 .offset = SZ_1M * 24,
150 .offset = SZ_1M * 48,
/arch/arm64/include/asm/
H A Dword-at-a-time.h65 unsigned long ret, offset; local
88 : "=&r" (ret), "=&r" (offset)
/arch/avr32/mach-at32ap/include/mach/
H A Dhmatrix.h15 void hmatrix_write_reg(unsigned long offset, u32 value);
16 u32 hmatrix_read_reg(unsigned long offset);
/arch/powerpc/oprofile/cell/
H A Dpr_util.h40 unsigned int offset; /* offset of section into elf file */ member in struct:spu_overlay_info
48 unsigned int offset; /* offset of section into elf file */ member in struct:vma_to_fileoffset_map
/arch/x86/kernel/cpu/
H A Dperf_event_amd_ibs.c525 int offset, size, check_rip, offset_max, throttle = 0; local
553 offset = 1;
562 rdmsrl(msr + offset, *buf++);
564 offset = find_next_bit(perf_ibs->offset_mask,
566 offset + 1);
567 } while (offset < offset_max);
699 static inline int get_eilvt(int offset) argument
701 return !setup_APIC_eilvt(offset, 0, APIC_EILVT_MSG_NMI, 1);
704 static inline int put_eilvt(int offset) argument
706 return !setup_APIC_eilvt(offset,
714 int offset; local
786 int offset; local
846 int offset; local
861 int offset; local
[all...]
/arch/avr32/boards/merisc/
H A Dflash.c44 .offset = 0x00000000,
50 .offset = 0x00060000,
56 .offset = 0x00260000,
65 .offset = 0x00000000,
/arch/mips/include/asm/
H A Dbmips.h91 static inline unsigned long bmips_read_zscm_reg(unsigned int offset) argument
96 cache_op(Index_Load_Tag_S, ZSCM_REG_BASE + offset);
111 static inline void bmips_write_zscm_reg(unsigned int offset, unsigned long data) argument
117 cache_op(Index_Store_Tag_S, ZSCM_REG_BASE + offset);

Completed in 4649 milliseconds

1234567891011>>