Searched defs:offset (Results 1 - 25 of 551) sorted by relevance

1234567891011>>

/arch/mips/jz4740/
H A Dserial.c20 void jz4740_serial_out(struct uart_port *p, int offset, int value) argument
22 switch (offset) {
32 writeb(value, p->membase + (offset << p->regshift));
/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
H A Dcrash_dump.c26 * @offset: offset in bytes into the page
34 size_t csize, unsigned long offset,
47 if (copy_to_user(buf, vaddr + offset, csize)) {
52 memcpy(buf, vaddr + offset, csize);
33 copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, unsigned long offset, int userbuf) argument
/arch/sh/kernel/
H A Dptrace.c4 * regs_query_register_offset() - query register offset from its name
7 * regs_query_register_offset() returns the offset of a register in struct
15 return roff->offset;
20 * regs_query_register_name() - query register name from its offset
21 * @offset: the offset of a register in struct pt_regs.
24 * offset in struct pt_regs. If the @offset is invalid, this returns NULL;
26 const char *regs_query_register_name(unsigned int offset) argument
30 if (roff->offset
[all...]
H A Dcrash_dump.c18 * @offset: offset in bytes into the page (based on pfn) to begin the copy
26 size_t csize, unsigned long offset, int userbuf)
36 if (copy_to_user(buf, (vaddr + offset), csize)) {
41 memcpy(buf, (vaddr + offset), csize);
25 copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, unsigned long offset, int userbuf) argument
/arch/ia64/kernel/
H A Dcrash_dump.c22 * @offset: offset in bytes into the page (based on pfn) to begin the copy
35 size_t csize, unsigned long offset, int userbuf)
43 if (copy_to_user(buf, (vaddr + offset), csize)) {
47 memcpy(buf, (vaddr + offset), csize);
34 copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, unsigned long offset, int userbuf) argument
/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/lib/
H A Ddevres.c18 * @offset: BUS offset to map
25 void __iomem *devm_ioremap_prot(struct device *dev, resource_size_t offset, argument
34 addr = ioremap_prot(offset, size, flags);
/arch/um/include/shared/skas/
H A Dstub-data.h12 long offset; member in struct:stub_data
/arch/um/sys-ppc/
H A Dmiscthings.c17 unsigned long aux_start, offset; local
32 offset = ((aux_start + 15) & ~15) - aux_start;
33 if (offset != 0) {
37 *(unsigned long *)(sp + offset) = e;
/arch/x86/kernel/
H A Dcrash_dump_64.c19 * @offset: offset in bytes into the page (based on pfn) to begin the copy
27 size_t csize, unsigned long offset, int userbuf)
39 if (copy_to_user(buf, vaddr + offset, csize)) {
44 memcpy(buf, vaddr + offset, csize);
26 copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, unsigned long offset, int userbuf) argument
/arch/avr32/mach-at32ap/
H A Dhmatrix.c16 static inline void __hmatrix_write_reg(unsigned long offset, u32 value) argument
18 __raw_writel(value, (void __iomem __force *)(HMATRIX_BASE + offset));
21 static inline u32 __hmatrix_read_reg(unsigned long offset) argument
23 return __raw_readl((void __iomem __force *)(HMATRIX_BASE + offset));
28 * @offset: register offset
29 * @value: value to be written to the register at @offset
31 void hmatrix_write_reg(unsigned long offset, u32 value) argument
34 __hmatrix_write_reg(offset, value);
35 __hmatrix_read_reg(offset);
45 hmatrix_read_reg(unsigned long offset) argument
[all...]
/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/mips/include/asm/mach-au1x00/
H A Dioremap.h31 static inline void __iomem *plat_ioremap(phys_t offset, unsigned long size, argument
/arch/mips/include/asm/mach-bcm63xx/
H A Dioremap.h11 static inline int is_bcm63xx_internal_registers(phys_t offset) argument
15 if (offset >= 0xfff80000)
22 if (offset >= 0xfff00000)
28 if (offset >= 0xb0000000 && offset < 0xb1000000)
35 static inline void __iomem *plat_ioremap(phys_t offset, unsigned long size, argument
38 if (is_bcm63xx_internal_registers(offset))
39 return (void __iomem *)offset;
/arch/mips/include/asm/mach-generic/
H A Dioremap.h23 static inline void __iomem *plat_ioremap(phys_t offset, unsigned long size, argument
/arch/mips/include/asm/mach-tx39xx/
H A Dioremap.h23 static inline void __iomem *plat_ioremap(phys_t offset, unsigned long size, argument
27 if (offset >= TXX9_DIRECTMAP_BASE &&
28 offset < TXX9_DIRECTMAP_BASE + 0xff0000)
29 return (void __iomem *)offset;
/arch/mips/include/asm/mach-tx49xx/
H A Dioremap.h23 static inline void __iomem *plat_ioremap(phys_t offset, unsigned long size, argument
31 if (offset >= TXX9_DIRECTMAP_BASE &&
32 offset < TXX9_DIRECTMAP_BASE + 0x400000)
33 return (void __iomem *)(unsigned long)(int)offset;
/arch/mips/kernel/
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/mips/loongson/common/
H A Dearly_printk.c16 #define PORT(base, offset) (u8 *)(base + offset)
18 static inline unsigned int serial_in(unsigned char *base, int offset) argument
20 return readb(PORT(base, offset));
23 static inline void serial_out(unsigned char *base, int offset, int value) argument
25 writeb(value, PORT(base, offset));
/arch/openrisc/include/asm/
H A Dio.h35 extern void __iomem *__ioremap(phys_addr_t offset, unsigned long size,
38 static inline void __iomem *ioremap(phys_addr_t offset, unsigned long size) argument
40 return __ioremap(offset, size, PAGE_KERNEL);
44 static inline void __iomem *ioremap_nocache(phys_addr_t offset, argument
47 return __ioremap(offset, size,
H A Dspr.h34 static inline unsigned long mfspr_off(unsigned long add, unsigned long offset) argument
38 : "r" (offset), "K" (add));
/arch/s390/lib/
H A Dfind.c41 unsigned long offset)
43 const unsigned long *p = addr + (offset / BITS_PER_LONG);
44 unsigned long result = offset & ~(BITS_PER_LONG - 1);
47 if (offset >= size)
50 offset %= BITS_PER_LONG;
51 if (offset) {
53 tmp &= (~0UL >> offset);
40 find_next_bit_inv(const unsigned long *addr, unsigned long size, unsigned long offset) argument
/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);

Completed in 664 milliseconds

1234567891011>>