Searched refs:offset (Results 1 - 25 of 1967) sorted by relevance

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sh/kernel/
H A Dio_dc.c9 unsigned long dreamcast_isa_port2addr(unsigned long offset) argument
11 return offset + 0xa0000000;
H A Dio_sh2000.c12 unsigned long sh2000_isa_port2addr(unsigned long offset) argument
14 if((offset & ~7) == 0x1f0 || offset == 0x3f6)
15 return IDE_OFFSET + offset;
16 else if((offset & ~0x1f) == 0x300)
17 return NIC_OFFSET + offset;
18 return EXTBUS_OFFSET + offset;
H A Dirq_intc2.c60 int offset=irq-INTC2_FIRST_IRQ; local
64 if(offset<0 || offset>=NR_INTC2_IRQS) return;
66 addr=intc2_data[offset].addr+INTC2_INTMSK_OFFSET;
70 val|=intc2_data[offset].mask;
78 int offset=irq-INTC2_FIRST_IRQ; local
81 if(offset<0 || offset>=NR_INTC2_IRQS) return;
83 ctrl_outl(intc2_data[offset].mask,
84 intc2_data[offset]
102 int offset=irq-INTC2_FIRST_IRQ; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/au1000/common/
H A Drtc.c16 unsigned char std_rtc_read_data(unsigned long offset) argument
18 offset <<= 2;
19 return (u8)(au_readl(offset + PB1500_RTC_ADDR) & 0xff);
22 static void std_rtc_write_data(unsigned char data, unsigned long offset) argument
24 offset <<= 2;
25 au_writel(data, offset + PB1500_RTC_ADDR);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/parisc/tools/
H A Doffset.c1 /* $Id: offset.c,v 1.1.1.1 2008/10/15 03:26:12 james26_jang Exp $
3 * offset.c: Calculate pt_regs and task_struct offsets.
27 #define offset(string, ptr, member) \ macro
44 text("#error offset.h was generated for 64-bit build; did you do 'make dep'?");
47 text("#error offset.h was generated for 32-bit build; did you do 'make dep'?");
55 offset("#define TASK_REGS ", struct task_struct, thread.regs);
56 offset("#define TASK_PT_PSW ", struct task_struct, thread.regs.gr[ 0]);
57 offset("#define TASK_PT_GR1 ", struct task_struct, thread.regs.gr[ 1]);
58 offset("#define TASK_PT_GR2 ", struct task_struct, thread.regs.gr[ 2]);
59 offset("#defin
[all...]
H A DMakefile8 TARGET := $(TOPDIR)/include/asm-$(ARCH)/offset.h
17 $(TARGET): offset.h
20 offset.h: offset.s
23 offset.s: offset.c
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/tools/
H A DMakefile2 TARGET = $(TOPDIR)/include/asm-x86_64/offset.h
12 $(TARGET): offset.h
15 .PHONY : offset.h all modules modules_install
17 offset.h: offset.sed offset.c FORCE_RECOMPILE
18 $(CC) $(CFLAGS) -S -o offset.tmp offset.c
19 sed -n -f offset.sed < offset
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/tools/
H A Doffset.c2 * offset.c: Calculate pt_regs and task_struct offsets.
21 #define offset(string, ptr, member) \ macro
38 offset("#define PT_R0 ", struct pt_regs, regs[0]);
39 offset("#define PT_R1 ", struct pt_regs, regs[1]);
40 offset("#define PT_R2 ", struct pt_regs, regs[2]);
41 offset("#define PT_R3 ", struct pt_regs, regs[3]);
42 offset("#define PT_R4 ", struct pt_regs, regs[4]);
43 offset("#define PT_R5 ", struct pt_regs, regs[5]);
44 offset("#define PT_R6 ", struct pt_regs, regs[6]);
45 offset("#defin
[all...]
H A DMakefile6 TARGET := $(TOPDIR)/include/asm-$(ARCH)/offset.h
10 $(TARGET): offset.h
13 offset.h: offset.s
16 offset.s: offset.c $(TOPDIR)/include/linux/autoconf.h
19 rm -f offset.[hs] $(TARGET).new
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/pci/
H A Dldtinit.c108 int offset, prev; local
112 offset = PCI_CAPLIST_PTR(cpr) &~ 0x3;
115 while (offset != 0 && offset != prev) {
117 pci_tagprintf(tag, "read cap offset %04x\n", offset);
119 cr = pci_conf_read(tag, offset);
123 return offset;
125 return offset;
127 prev = offset;
137 ldt_get_link(pcitag_t tag, int offset, int index) argument
143 ldt_set_link(pcitag_t tag, int offset, int index, pcireg_t lr) argument
150 ldt_show_cap(pcitag_t tag, int offset, int secondary) argument
170 ldt_show_cap(pcitag_t tag, int offset, int secondary) argument
191 ldt_wait_ready(pcitag_t tag, int offset, int index) argument
211 ldt_end_chain(pcitag_t tag, int offset, int index) argument
225 ldt_freq_cap(pcitag_t tag, int offset, int index) argument
275 ldt_set_freq(pcitag_t tag, int offset, int index, uint8_t freq) argument
304 int offset, prev_offset; local
444 int offset; local
561 int offset; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-s390/
H A Dscatterlist.h12 unsigned int offset; member in struct:scatterlist
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-s390x/
H A Dscatterlist.h12 unsigned int offset; member in struct:scatterlist
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-s390/
H A Dscatterlist.h12 unsigned int offset; member in struct:scatterlist
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-s390x/
H A Dscatterlist.h12 unsigned int offset; member in struct:scatterlist
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dsquashfs_fs_i.h28 unsigned int offset; member in struct:squashfs_inode_info
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/mips-boards/generic/
H A Dprintf.c36 static inline unsigned int serial_in(int offset) argument
38 return (*(volatile unsigned int *)(mips_io_port_base + ATLAS_UART_REGS_BASE + offset*8) & 0xff);
41 static inline void serial_out(int offset, int value) argument
43 *(volatile unsigned int *)(mips_io_port_base + ATLAS_UART_REGS_BASE + offset*8) = value;
53 static inline unsigned int serial_in(int offset) argument
55 return (*(volatile unsigned int *)(mips_io_port_base + SEAD_UART0_REGS_BASE + offset*8) & 0xff);
58 static inline void serial_out(int offset, int value) argument
60 *(volatile unsigned int *)(mips_io_port_base + SEAD_UART0_REGS_BASE + offset*8) = value;
65 static inline unsigned int serial_in(int offset) argument
67 return inb(0x3f8 + offset);
70 serial_out(int offset, int value) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/x86emu/x86emu/
H A Ddecode.h63 u8 fetch_data_byte (uint offset);
64 u8 fetch_data_byte_abs (uint segment, uint offset);
65 u16 fetch_data_word (uint offset);
66 u16 fetch_data_word_abs (uint segment, uint offset);
67 u32 fetch_data_long (uint offset);
68 u32 fetch_data_long_abs (uint segment, uint offset);
69 void store_data_byte (uint offset, u8 val);
70 void store_data_byte_abs (uint segment, uint offset, u8 val);
71 void store_data_word (uint offset, u16 val);
72 void store_data_word_abs (uint segment, uint offset, u1
[all...]
/asus-wl-520gu-7.0.1.45/src/router/busybox/libbb/
H A Dread_package_field.c7 * and field value, it returns the int offset to the first character of the next field
15 int offset = 0; local
27 next_offset = offset + 1;
28 switch (package_buffer[offset]) {
34 offset_name_end = offset;
49 if (offset_name_start == offset) {
52 if (offset_value_start == offset) {
59 offset_value_end = offset;
71 offset_name_start = offset + 1;
73 offset_value_start = offset
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/ftape/lowlevel/
H A Dftape-rw.h41 #define GET2(address, offset) get_unaligned((__u16*)((__u8 *)address + offset))
42 #define GET4(address, offset) get_unaligned((__u32*)((__u8 *)address + offset))
43 #define GET8(address, offset) get_unaligned((__u64*)((__u8 *)address + offset))
44 #define PUT2(address, offset , value) put_unaligned((value), (__u16*)((__u8 *)address + offset))
45 #define PUT4(address, offset , value) put_unaligned((value), (__u32*)((__u8 *)address + offset))
[all...]
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/lib/blkid/
H A Dllseek.c41 extern long long llseek(int fd, long long offset, int origin);
69 static blkid_loff_t my_llseek(int fd, blkid_loff_t offset, int origin) argument
75 retval = _llseek(fd, ((unsigned long long) offset) >> 32,
76 ((unsigned long long)offset) & 0xffffffff,
79 retval = syscall(__NR__llseek, fd, ((unsigned long long) offset) >> 32,
80 ((unsigned long long)offset) & 0xffffffff,
90 blkid_loff_t blkid_llseek(int fd, blkid_loff_t offset, int whence) argument
96 (offset < ((blkid_loff_t) 1 << ((sizeof(off_t)*8) -1))))
97 return lseek(fd, (off_t) offset, whence);
104 result = my_llseek(fd, offset, whenc
126 blkid_llseek(int fd, blkid_loff_t offset, int origin) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/mtd/maps/
H A Dsa1100-flash.c106 offset: 0,
111 offset: MTDPART_OFS_APPEND,
116 offset: MTDPART_OFS_APPEND,
121 offset: MTDPART_OFS_APPEND,
133 offset: 0,
138 offset: MTDPART_OFS_APPEND,
143 offset: MTDPART_OFS_APPEND,
153 offset: 0,
158 offset: MTDPART_OFS_APPEND,
163 offset
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/platforms/
H A Dgemini_pci.c16 #define pci_config_addr(bus,dev,offset) \
17 (0x80000000 | (bus<<16) | (dev<<8) | offset)
21 gemini_pcibios_read_config_byte(struct pci_dev *dev, int offset, u8 *val) argument
25 (offset & ~(0x3))));
26 *val = ((reg >> ((offset & 0x3) << 3)) & 0xff);
31 gemini_pcibios_read_config_word(struct pci_dev *dev, int offset, u16 *val) argument
35 (offset & ~(0x3))));
36 *val = ((reg >> ((offset & 0x3) << 3)) & 0xffff);
41 gemini_pcibios_read_config_dword(struct pci_dev *dev, int offset, u32 *val) argument
44 (offset
49 gemini_pcibios_write_config_byte(struct pci_dev *dev, int offset, u8 val) argument
63 gemini_pcibios_write_config_word(struct pci_dev *dev, int offset, u16 val) argument
77 gemini_pcibios_write_config_dword(struct pci_dev *dev, int offset, u32 val) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/lib/ext2fs/
H A Dllseek.c42 extern long long llseek (int fd, long long offset, int origin);
70 static ext2_loff_t my_llseek (int fd, ext2_loff_t offset, int origin) argument
76 retval = _llseek(fd, ((unsigned long long) offset) >> 32,
78 retval = syscall(__NR__llseek, fd, (unsigned long long) (offset >> 32),
80 ((unsigned long long) offset) & 0xffffffff,
90 ext2_loff_t ext2fs_llseek (int fd, ext2_loff_t offset, int origin) argument
96 (offset < ((ext2_loff_t) 1 << ((sizeof(off_t)*8) -1))))
97 return lseek(fd, (off_t) offset, origin);
104 result = my_llseek (fd, offset, origin);
122 ext2_loff_t ext2fs_llseek (int fd, ext2_loff_t offset, in argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/udf/
H A Ddirectory.c25 lb_addr fe_loc, int *pos, int *offset, struct buffer_head **bh, int *error)
27 int loffset = *offset;
34 ad = (uint8_t *)(*bh)->b_data + *offset;
35 *offset += ad_size;
44 if (*offset == dir->i_sb->s_blocksize)
53 else if (*offset > dir->i_sb->s_blocksize)
68 *offset = ad_size - remainder;
79 uint32_t *offset, struct buffer_head **bh)
97 block = udf_get_lb_pblock(dir->i_sb, *eloc, *offset);
99 (*offset)
24 udf_filead_read(struct inode *dir, uint8_t *tmpad, uint8_t ad_size, lb_addr fe_loc, int *pos, int *offset, struct buffer_head **bh, int *error) argument
74 udf_fileident_read(struct inode *dir, loff_t *nf_pos, struct udf_fileident_bh *fibh, struct fileIdentDesc *cfi, lb_addr *bloc, uint32_t *extoffset, lb_addr *eloc, uint32_t *elen, uint32_t *offset, struct buffer_head **bh) argument
199 udf_get_fileident(void * buffer, int bufsize, int * offset) argument
243 udf_get_fileextent(void * buffer, int bufsize, int * offset) argument
278 udf_get_fileshortad(void * buffer, int maxoffset, int *offset, int inc) argument
304 udf_get_filelongad(void * buffer, int maxoffset, int * offset, int inc) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-x86_64/
H A Dpci-direct.h12 static inline u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) argument
15 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8);
17 PDprintk("%x reading from %x: %x\n", slot, offset, v);
21 static inline void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, argument
24 PDprintk("%x writing to %x: %x\n", slot, offset, val);
25 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8);

Completed in 216 milliseconds

1234567891011>>