Searched refs:off (Results 1 - 25 of 504) sorted by relevance

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ia64/kernel/
H A Dentry.h15 #define PT_REGS_SAVES(off) \
17 .fframe IA64_PT_REGS_SIZE+16+(off); \
18 .spillsp rp, PT(CR_IIP)+16+(off); \
19 .spillsp ar.pfs, PT(CR_IFS)+16+(off); \
20 .spillsp ar.unat, PT(AR_UNAT)+16+(off); \
21 .spillsp ar.fpsr, PT(AR_FPSR)+16+(off); \
22 .spillsp pr, PT(PR)+16+(off);
24 #define PT_REGS_UNWIND_INFO(off) \
26 PT_REGS_SAVES(off); \
29 #define SWITCH_STACK_SAVES(off) \
[all...]
H A Dsalinfo.c22 static int salinfo_read(char *page, char **start, off_t off, int count, int *eof, void *data);
83 salinfo_read(char *page, char **start, off_t off, int count, int *eof, void *data) argument
91 if (len <= off+count) *eof = 1;
93 *start = page + off;
94 len -= off;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sbus/char/
H A Dbbc_i2c.h15 extern int bbc_i2c_writeb(struct bbc_i2c_client *, unsigned char val, int off);
16 extern int bbc_i2c_readb(struct bbc_i2c_client *, unsigned char *byte, int off);
17 extern int bbc_i2c_write_buf(struct bbc_i2c_client *, char *buf, int len, int off);
18 extern int bbc_i2c_read_buf(struct bbc_i2c_client *, char *buf, int len, int off);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dnfs_flushd.h26 #define REQUEST_NR(off) ((off) >> PAGE_CACHE_SHIFT)
27 #define REQUEST_HASH(ino, off) (((ino) ^ REQUEST_NR(off)) & (REQUEST_HASH_SIZE - 1))
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dnfs_flushd.h26 #define REQUEST_NR(off) ((off) >> PAGE_CACHE_SHIFT)
27 #define REQUEST_HASH(ino, off) (((ino) ^ REQUEST_NR(off)) & (REQUEST_HASH_SIZE - 1))
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-arm/arch-epxa10db/
H A Dio.h42 #define iomem_valid_addr(off,size) (1)
43 #define iomem_to_phys(off) (off)
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-arm/arch-epxa10db/
H A Dio.h42 #define iomem_valid_addr(off,size) (1)
43 #define iomem_to_phys(off) (off)
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/rio/
H A Drioinit.c258 int off; local
282 for (off=0; off<size; off++) {
283 if (RBYTE(ram[off]) != oldbyte) {
284 rio_dprintk (RIO_DEBUG_INIT, "RIO-init: Byte Pre Check 1: BYTE at offset 0x%x should have been=%x, was=%x\n", off, oldbyte, RBYTE(ram[off]));
288 for (off=0; off<size; off
[all...]
/asus-wl-520gu-7.0.1.45/src/shared/
H A Dflashutl.c39 #define FLASH_ADDR(off) ((unsigned long)flashutl_base + (off))
51 static void scmd(uint16 cmd, unsigned long off);
52 static void cmd(uint16 cmd, unsigned long off);
54 static int flash_poll(unsigned long off, uint16 data);
56 static int flash_eraseblk(unsigned long off);
57 static int flash_write(unsigned long off, uint8 *src, uint nbytes);
61 int sysFlashErase(uint off, unsigned int numbytes);
226 flash_write(unsigned long off, uint8 *src, uint nbytes) argument
234 if (off >
338 scmd(uint16 cmd, unsigned long off) argument
347 cmd(uint16 cmd, unsigned long off) argument
406 flash_poll(unsigned long off, uint16 data) argument
483 uint off = flashutl_desc->size - NVRAM_SPACE; local
490 uint off = flashutl_desc->size - NVRAM_SPACE; local
505 sysFlashErase(uint off, unsigned int numbytes) argument
530 sysFlashWrite(uint off, uchar *src, uint numbytes) argument
553 sysFlashRead(uint off, uchar *buf, uint numbytes) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/include/
H A Dflashutl.h21 int sysFlashRead(uint off, uchar *dst, uint bytes);
22 int sysFlashWrite(uint off, uchar *src, uint bytes);
H A Dhndpci.h17 extern int sbpci_read_config(sb_t *sbh, uint bus, uint dev, uint func, uint off, void *buf,
19 extern int extpci_read_config(sb_t *sbh, uint bus, uint dev, uint func, uint off, void *buf,
21 extern int sbpci_write_config(sb_t *sbh, uint bus, uint dev, uint func, uint off, void *buf,
23 extern int extpci_write_config(sb_t *sbh, uint bus, uint dev, uint func, uint off, void *buf,
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-sparc/
H A Djsflash.h24 __u64 off; /* 0x20000000 is included */ member in struct:jsflash_ident_arg
35 __u64 off; member in struct:jsflash_program_arg
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-sparc/
H A Djsflash.h24 __u64 off; /* 0x20000000 is included */ member in struct:jsflash_ident_arg
35 __u64 off; member in struct:jsflash_program_arg
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-arm/hardware/
H A Dep7212.h34 #define ep_readl(off) __raw_readl(EP7212_BASE + (off))
35 #define ep_writel(val,off) __raw_writel(val, EP7212_BASE + (off))
H A Dclps7111.h29 #define clps_readb(off) __raw_readb(CLPS7111_BASE + (off))
30 #define clps_readw(off) __raw_readw(CLPS7111_BASE + (off))
31 #define clps_readl(off) __raw_readl(CLPS7111_BASE + (off))
32 #define clps_writeb(val,off) __raw_writeb(val, CLPS7111_BASE + (off))
33 #define clps_writew(val,off) __raw_writew(val, CLPS7111_BASE + (off))
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-arm/hardware/
H A Dep7212.h34 #define ep_readl(off) __raw_readl(EP7212_BASE + (off))
35 #define ep_writel(val,off) __raw_writel(val, EP7212_BASE + (off))
H A Dclps7111.h29 #define clps_readb(off) __raw_readb(CLPS7111_BASE + (off))
30 #define clps_readw(off) __raw_readw(CLPS7111_BASE + (off))
31 #define clps_readl(off) __raw_readl(CLPS7111_BASE + (off))
32 #define clps_writeb(val,off) __raw_writeb(val, CLPS7111_BASE + (off))
33 #define clps_writew(val,off) __raw_writew(val, CLPS7111_BASE + (off))
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/proc/
H A Dproc_tty.c21 static int tty_drivers_read_proc(char *page, char **start, off_t off,
23 static int tty_ldiscs_read_proc(char *page, char **start, off_t off,
34 static int tty_drivers_read_proc(char *page, char **start, off_t off, argument
85 if (len+begin > off+count)
87 if (len+begin < off) {
94 if (off >= len+begin)
96 *start = page + (off-begin);
97 return ((count < begin+len-off) ? count : begin+len-off);
103 static int tty_ldiscs_read_proc(char *page, char **start, off_t off, argument
[all...]
H A Dproc_misc.c68 void proc_sprintf(char *page, off_t *off, int *lenp, const char *format, ...) argument
81 if (len <= *off) {
82 *off -= len;
89 static int proc_calc_metrics(char *page, char **start, off_t off, argument
92 if (len <= off+count) *eof = 1;
93 *start = page + off;
94 len -= off;
100 static int loadavg_read_proc(char *page, char **start, off_t off, argument
114 return proc_calc_metrics(page, start, off, count, eof, len);
117 static int uptime_read_proc(char *page, char **start, off_t off, argument
152 meminfo_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) argument
215 version_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) argument
239 hardware_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) argument
248 stram_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) argument
269 modules_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) argument
303 kstat_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) argument
384 devices_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) argument
392 interrupts_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) argument
400 filesystems_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) argument
407 dma_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) argument
414 ioports_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) argument
421 cmdline_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) argument
432 ds1286_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) argument
440 locks_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) argument
451 execdomains_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) argument
458 swaps_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) argument
465 memory_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/arm/mach-ebsa110/
H A Dio.c275 u32 off; local
281 off = port << 2;
283 off = port << 1;
288 __arch_putw(val, ISAIO_BASE + off);
310 u32 off; local
313 off = port << 2;
315 off = (port & ~1) << 1;
320 __raw_writesb(ISAIO_BASE + off, from, len);
325 u32 off; local
328 off
343 u32 off; local
358 u32 off; local
380 u32 off = port << 1; local
390 u32 off = port << 1; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/mtd/
H A Dafs.c62 u_int off, u_int mask)
65 u_int ptr = off + mtd->erasesize - sizeof(fs);
105 if (*img_start > off)
131 u_int mask, off, idx, sz; local
136 * This is the address mask; we use this to mask off out of
146 for (idx = off = sz = 0; off < mtd->size; off += mtd->erasesize) {
150 ret = afs_read_footer(mtd, &img_ptr, &iis_ptr, off, mask);
177 for (idx = off
61 afs_read_footer(struct mtd_info *mtd, u_int *img_start, u_int *iis_start, u_int off, u_int mask) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ia64/sn/fakeprom/
H A Dmain.c90 long off; local
97 for (off = 0x2a0; off < 0x2e0; off+=8) /* offset for VEC_MASK_{0-3}_A/B */
98 *(base+off/8) = -1LL;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/boot/utils/
H A Daddnote.c39 #define GET_16BE(off) ((buf[off] << 8) + (buf[(off)+1]))
40 #define GET_32BE(off) ((GET_16BE(off) << 16) + GET_16BE((off)+2))
42 #define PUT_16BE(off, v) (buf[off] = ((v) >> 8) & 0xff, \
43 buf[(off) + 1] = (v) & 0xff)
44 #define PUT_32BE(off,
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/boot/
H A Daddnote.c35 #define GET_16BE(off) ((buf[off] << 8) + (buf[(off)+1]))
36 #define GET_32BE(off) ((GET_16BE(off) << 16) + GET_16BE((off)+2))
38 #define PUT_16BE(off, v) (buf[off] = ((v) >> 8) & 0xff, \
39 buf[(off) + 1] = (v) & 0xff)
40 #define PUT_32BE(off,
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/brcm-boards/bcm947xx/
H A Dsetup.c213 int off; local
224 for (off = 0; off < size; off += (64 * 1024)) {
230 if (MTD_READ(mtd, off, sizeof(buf), &len, buf) ||
236 bcm947xx_parts[1].offset = off;
237 // if (le32_to_cpu(trx->offsets[1]) > off)
238 if (le32_to_cpu(trx->offsets[2]) > off)
239 off = le32_to_cpu(trx->offsets[2]);
240 else if (le32_to_cpu(trx->offsets[1]) > off)
[all...]

Completed in 307 milliseconds

1234567891011>>