Searched refs:ofs (Results 76 - 100 of 173) sorted by relevance

1234567

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm/
H A Dgt64120.h555 * GT_READ(ofs, data_pointer)
556 * GT_WRITE(ofs, data) - read/write GT64120 registers in 32bit
568 #define __GT_READ(ofs) \
569 (*(volatile u32 *)(GT64120_BASE+(ofs)))
570 #define __GT_WRITE(ofs, data) \
571 do { *(volatile u32 *)(GT64120_BASE+(ofs)) = (data); } while (0)
572 #define GT_READ(ofs) le32_to_cpu(__GT_READ(ofs))
573 #define GT_WRITE(ofs, data) __GT_WRITE(ofs, cpu_to_le3
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/jffs2/
H A Ddebug.c94 if (frag->ofs & (PAGE_CACHE_SIZE-1) && frag_prev(frag)
101 if ((frag->ofs+frag->size) & (PAGE_CACHE_SIZE-1) && frag_next(frag)
104 ref_offset(fn->raw), frag->ofs, frag->ofs+frag->size);
122 uint32_t ofs, int len)
132 ret = jffs2_flash_read(c, ofs, len, &retlen, buf);
147 ofs, ofs + i);
148 __jffs2_dbg_dump_buffer(buf, len, ofs);
535 this->ofs, thi
121 __jffs2_dbg_prewrite_paranoia_check(struct jffs2_sb_info *c, uint32_t ofs, int len) argument
595 __jffs2_dbg_dump_node(struct jffs2_sb_info *c, uint32_t ofs) argument
[all...]
H A Dnodelist.h207 uint32_t ofs; /* The offset to which the data of this node belongs */ member in struct:jffs2_full_dnode
262 uint32_t ofs; /* The offset to which this fragment belongs */ member in struct:jffs2_node_frag
368 uint32_t ofs, uint32_t len,
381 uint32_t ofs, uint32_t len,
446 int ofs, int len);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/nsswitch/
H A Dwinbindd_cache.c40 uint32 len, ofs; member in struct:cache_entry
166 if (centry->len - centry->ofs < 4) {
168 centry->len - centry->ofs));
171 ret = IVAL(centry->data, centry->ofs);
172 centry->ofs += 4;
182 if (centry->len - centry->ofs < 1) {
184 centry->len - centry->ofs));
187 ret = CVAL(centry->data, centry->ofs);
188 centry->ofs += 1;
207 if (centry->len - centry->ofs < le
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ntfs/
H A Daops.c89 int ofs; local
91 ofs = 0;
93 ofs = init_size - file_ofs;
95 zero_user_page(page, bh_offset(bh) + ofs,
96 bh->b_size - ofs, KM_BIO_SRC_IRQ);
1092 unsigned int ofs; local
1098 ofs = bh_offset(tbh);
1104 mft_no = (((s64)page->index << PAGE_CACHE_SHIFT) + ofs)
1109 (MFT_RECORD*)(kaddr + ofs), &tni)) {
1134 err2 = pre_write_mst_fixup((NTFS_RECORD*)(kaddr + ofs),
1206 unsigned int ofs; local
1387 unsigned int ofs = i_size & ~PAGE_CACHE_MASK; local
1560 mark_ntfs_record_dirty(struct page *page, const unsigned int ofs) argument
[all...]
H A Dattrib.h111 extern int ntfs_attr_set(ntfs_inode *ni, const s64 ofs, const s64 cnt,
H A Dfile.c1127 int ofs = 0; local
1130 ofs = initialized_size - bh_pos;
1131 zero_user_page(page, bh_offset(bh) + ofs,
1132 blocksize - ofs, KM_USER0);
1287 * out to (ofs + bytes) and return the number of bytes which were copied.
1290 unsigned nr_pages, unsigned ofs, const char __user *buf,
1300 len = PAGE_CACHE_SIZE - ofs;
1304 left = __copy_from_user_inatomic(kaddr + ofs, buf, len);
1309 left = __copy_from_user(kaddr + ofs, buf, len);
1319 ofs
1289 ntfs_copy_from_user(struct page **pages, unsigned nr_pages, unsigned ofs, const char __user *buf, size_t bytes) argument
1406 ntfs_copy_from_user_iovec(struct page **pages, unsigned nr_pages, unsigned ofs, const struct iovec **iov, size_t *iov_ofs, size_t bytes) argument
1957 unsigned ofs, do_pages, u; local
[all...]
H A Dmft.c53 unsigned ofs; local
58 ofs = (ni->mft_no << vol->mft_record_size_bits) & ~PAGE_CACHE_MASK;
66 if (index > end_index || (i_size & ~PAGE_CACHE_MASK) < ofs +
81 ofs)))) {
83 ni->page_ofs = ofs;
84 return page_address(page) + ofs;
1128 s64 pass_end, ll, data_pos, pass_start, ofs, bit; local
1174 ofs = data_pos >> 3;
1175 page_ofs = ofs & ~PAGE_CACHE_MASK;
1177 ll = ((pass_end + 7) >> 3) - ofs;
2092 unsigned int ofs; local
2249 unsigned int ofs; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/
H A Dgt64240eth.h125 #define GT64240_READ(ofs) MV_READ(ofs)
126 #define GT64240_WRITE(ofs, data) MV_WRITE((ofs), (data))
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/mtd/
H A Dmtd.h170 which contains an (ofs, len) tuple.
178 int (*lock) (struct mtd_info *mtd, loff_t ofs, size_t len);
179 int (*unlock) (struct mtd_info *mtd, loff_t ofs, size_t len);
186 int (*block_isbad) (struct mtd_info *mtd, loff_t ofs);
187 int (*block_markbad) (struct mtd_info *mtd, loff_t ofs);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/libsmb/
H A Dclispnego.c67 DEBUG(1,("Failed to build negTokenInit at offset %d\n", (int)data.ofs));
112 DEBUG(1,("Failed to build negTokenInit at offset %d\n", (int)data.ofs));
205 DEBUG(1,("Failed to build negTokenTarg at offset %d\n", (int)data.ofs));
251 DEBUG(1,("Failed to parse negTokenTarg at offset %d\n", (int)data.ofs));
278 DEBUG(1,("Failed to build krb5 wrapper at offset %d\n", (int)data.ofs));
439 DEBUG(3,("spnego_parse_auth failed at %d\n", (int)data.ofs));
530 DEBUG(3,("spnego_parse_auth_response failed at %d\n", (int)data.ofs));
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/char/watchdog/
H A Dw83977f_wdt.c340 size_t ofs; local
346 for(ofs = 0; ofs != count; ofs++)
349 if (get_user(c, buf + ofs))
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/
H A Drunlist.c1061 s64 bytes_read, to_read, ofs, total; local
1074 for (ofs = 0; rl->length && (ofs + (rl->length <<
1076 ofs += (rl->length << vol->cluster_size_bits);
1078 ofs = pos - ofs;
1079 for (total = 0LL; count; rl++, ofs = 0) {
1087 vol->cluster_size_bits) - ofs);
1097 ofs);
1100 vol->cluster_size_bits) + ofs, to_rea
1149 s64 written, to_write, ofs, total = 0; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/pcmcia/
H A Dcistpl.c458 u_int ofs; local
464 ofs = le32_to_cpu(*(__le32 *)(link+1));
470 ofs = tuple->LinkOffset;
479 read_cis_cache(s, SPACE(tuple->Flags), ofs, 5, link);
482 return ofs;
483 remove_cis_cache(s, SPACE(tuple->Flags), ofs, 5);
485 ofs = ofs >> 1;
487 read_cis_cache(s, SPACE(tuple->Flags), ofs, 5, link);
490 return ofs;
498 int ofs, i, attr; local
710 parse_strings(u_char *p, u_char *q, int max, char *s, u_char *ofs, u_char *found) argument
[all...]
H A Dcardbus.c68 u_int img = 0, ofs = 0, sz; local
72 return (addr & 0x0fffffff) + ofs;
79 ofs += sz;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/mtd/maps/
H A Dpcmciamtd.c134 static map_word pcmcia_read8_remap(struct map_info *map, unsigned long ofs) argument
139 addr = remap_window(map, ofs);
144 DEBUG(3, "ofs = 0x%08lx (%p) data = 0x%02x", ofs, addr, d.x[0]);
149 static map_word pcmcia_read16_remap(struct map_info *map, unsigned long ofs) argument
154 addr = remap_window(map, ofs);
159 DEBUG(3, "ofs = 0x%08lx (%p) data = 0x%04x", ofs, addr, d.x[0]);
243 static map_word pcmcia_read8(struct map_info *map, unsigned long ofs) argument
251 d.x[0] = readb(win_base + ofs);
257 pcmcia_read16(struct map_info *map, unsigned long ofs) argument
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/ata/
H A Dsata_mv.c208 SHD_CTL_AST_OFS = 0x20, /* ofs from SHD_BLK_OFS */
850 unsigned int ofs; local
856 ofs = SATA_STATUS_OFS + (sc_reg_in * sizeof(u32));
859 ofs = SATA_ACTIVE_OFS; /* active is not with the others */
862 ofs = 0xffffffffU;
865 return ofs;
870 unsigned int ofs = mv_scr_offset(sc_reg_in); local
872 if (0xffffffffU != ofs)
873 return readl(mv_ap_base(ap) + ofs);
875 return (u32) ofs;
880 unsigned int ofs = mv_scr_offset(sc_reg_in); local
1521 unsigned long ofs = (mv_hardport_from_port(port) + 1) * 0x100UL; local
1528 unsigned int ofs; local
1547 unsigned int ofs = mv5_scr_offset(sc_reg_in); local
1559 unsigned int ofs = mv5_scr_offset(sc_reg_in); local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/mtools-4.0.10/
H A Dconfig.c513 off_t ofs; local
518 ofs = strtol(ofsp+2, &endp, 0);
519 if (ofs <= 0)
525 ofs <<= 9;
527 ofs <<= 10;
529 ofs <<= 20;
531 ofs <<= 30;
538 return ofs;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/isdn/hisax/
H A Dst5481.h479 int len,ofs; local
490 ofs = urb->iso_frame_desc[i].offset;
491 printk(KERN_DEBUG "len=%.2d,ofs=%.3d ",len,ofs);
493 data = urb->transfer_buffer+ofs;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/sh64/kernel/
H A Dunwind.c224 int ofs = 0; local
264 pc -= ofs;
279 ofs = sizeof(unsigned long);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/alpha/kernel/
H A Dsys_cabriolet.c44 int ofs = (irq - 16) / 8; local
45 outb(mask >> (16 + ofs * 8), 0x804 + ofs);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/netatalk-2.2.0/include/atalk/
H A Dbstrlib.h115 int (* cb) (void * parm, int ofs, int len), void * parm);
117 int (* cb) (void * parm, int ofs, int len), void * parm);
119 int (* cb) (void * parm, int ofs, int len), void * parm);
181 int (* cb) (void * parm, int ofs, const_bstring entry), void * parm);
183 int (* cb) (void * parm, int ofs, const_bstring entry), void * parm);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/mtd/onenand/
H A Donenand_base.c1442 * @param ofs offset from device start
1449 static int onenand_block_checkbad(struct mtd_info *mtd, loff_t ofs, int getchip, int allowbbt) argument
1455 return bbm->isbad_bbt(mtd, ofs, allowbbt);
1568 * @param ofs offset relative to mtd start
1572 static int onenand_block_isbad(struct mtd_info *mtd, loff_t ofs) argument
1575 if (ofs > mtd->size)
1578 return onenand_block_checkbad(mtd, ofs, 1, 0);
1584 * @param ofs offset from device start
1589 static int onenand_default_block_markbad(struct mtd_info *mtd, loff_t ofs) argument
1598 block = ((int) ofs) >> bb
1614 onenand_block_markbad(struct mtd_info *mtd, loff_t ofs) argument
1639 onenand_do_lock_cmd(struct mtd_info *mtd, loff_t ofs, size_t len, int cmd) argument
1716 onenand_lock(struct mtd_info *mtd, loff_t ofs, size_t len) argument
1729 onenand_unlock(struct mtd_info *mtd, loff_t ofs, size_t len) argument
1789 loff_t ofs = this->chipsize >> 1; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/net/
H A Dip_vs.h274 #define IP_VS_DBG_PKT(level, pp, skb, ofs, msg) \
277 pp->debug_packet(pp, skb, ofs, msg); \
279 #define IP_VS_DBG_RL_PKT(level, pp, skb, ofs, msg) \
283 pp->debug_packet(pp, skb, ofs, msg); \
288 #define IP_VS_DBG_PKT(level, pp, skb, ofs, msg) do {} while (0)
289 #define IP_VS_DBG_RL_PKT(level, pp, skb, ofs, msg) do {} while (0)
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/arm/mach-ixp2000/
H A Dixdp2x01.c358 static unsigned long ixdp2x01_flash_bank_setup(unsigned long ofs) argument
361 ((ofs >> IXDP2X01_FLASH_WINDOW_BITS) | IXDP2X01_CPLD_FLASH_INTERN));
362 return (ofs & IXDP2X01_FLASH_WINDOW_MASK);

Completed in 405 milliseconds

1234567