Searched refs:offset (Results 101 - 125 of 5133) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/platforms/pasemi/
H A Dpci.c36 static inline int pa_pxp_offset_valid(u8 bus, u8 devfn, int offset) argument
39 * well, so allow larger offset. It's really a two-function device but the
43 return offset < 8192;
45 return offset < 4096;
49 u8 bus, u8 devfn, int offset)
51 return hose->cfg_data + PA_PXP_CFA(bus, devfn, offset);
67 int offset, int len, u32 *val)
74 if (!is_root_port(bus->number, devfn) || !is_5945_reg(offset))
79 addr = pa_pxp_cfg_addr(hose, bus->number, devfn, offset & ~0x3);
80 byte = offset
48 pa_pxp_cfg_addr(struct pci_controller *hose, u8 bus, u8 devfn, int offset) argument
66 workaround_5945(struct pci_bus *bus, unsigned int devfn, int offset, int len, u32 *val) argument
105 pa_pxp_read_config(struct pci_bus *bus, unsigned int devfn, int offset, int len, u32 *val) argument
142 pa_pxp_write_config(struct pci_bus *bus, unsigned int devfn, int offset, int len, u32 val) argument
233 pasemi_pci_getcfgaddr(struct pci_dev *dev, int offset) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/romfs/
H A Dmmap-nommu.c30 unsigned long isize, offset; local
36 offset = pgoff << PAGE_SHIFT;
37 if (offset > isize || len > isize || offset > isize - len)
48 offset += ROMFS_I(inode)->i_dataoffset;
49 if (offset > mtd->size - len)
52 return mtd->get_unmapped_area(mtd, len, offset, flags);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/util/
H A DFastInputStream.java49 * @param offset the byte offset at which to begin reading.
53 public FastInputStream(byte[] buffer, int offset, int length) { argument
56 off = offset;
57 len = offset + length;
102 public int read(byte[] toBuf, int offset, int length) throws IOException { argument
104 return readFast(toBuf, offset, length);
144 public final int readFast(byte[] toBuf, int offset, int length) { argument
153 System.arraycopy(buf, off, toBuf, offset, length);
169 * Returns the offset a
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/os/
H A Dos_seek.c15 * Seek to a page/byte offset in the file.
29 off_t offset; local
40 offset = (off_t)pgsize * pgno + relative;
44 "fileops: seek %s to %lu", fhp->name, (u_long)offset);
47 ret = DB_GLOBAL(j_seek)(fhp->fd, offset, SEEK_SET);
50 fhp->fd, offset, SEEK_SET) == -1 ? 1 : 0), ret);
55 fhp->offset = relative;
58 "seek: %lu: (%lu * %lu) + %lu", (u_long)offset,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpio/
H A Dmax730x.c53 static int max7301_direction_input(struct gpio_chip *chip, unsigned offset) argument
61 offset += 4;
62 offset_bits = (offset & 3) << 1;
64 config = &ts->port_config[offset >> 2];
66 if (ts->input_pullup_active & BIT(offset))
76 ret = ts->write(ts->dev, 0x08 + (offset >> 2), *config);
83 static int __max7301_set(struct max7301 *ts, unsigned offset, int value) argument
86 ts->out_level |= 1 << offset;
87 return ts->write(ts->dev, 0x20 + offset, 0x01);
89 ts->out_level &= ~(1 << offset);
94 max7301_direction_output(struct gpio_chip *chip, unsigned offset, int value) argument
123 max7301_get(struct gpio_chip *chip, unsigned offset) argument
151 max7301_set(struct gpio_chip *chip, unsigned offset, int value) argument
211 int offset = (i - 1) * 4 + j; local
[all...]
H A Dpl061.c61 static int pl061_direction_input(struct gpio_chip *gc, unsigned offset) argument
67 if (offset >= gc->ngpio)
72 gpiodir &= ~(1 << offset);
79 static int pl061_direction_output(struct gpio_chip *gc, unsigned offset, argument
86 if (offset >= gc->ngpio)
90 writeb(!!value << offset, chip->base + (1 << (offset + 2)));
92 gpiodir |= 1 << offset;
99 writeb(!!value << offset, chip->base + (1 << (offset
105 pl061_get_value(struct gpio_chip *gc, unsigned offset) argument
112 pl061_set_value(struct gpio_chip *gc, unsigned offset, int value) argument
119 pl061_to_irq(struct gpio_chip *gc, unsigned offset) argument
135 int offset = irq - chip->irq_base; local
149 int offset = irq - chip->irq_base; local
163 int offset = irq - chip->irq_base; local
220 int offset; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/lib/
H A Dfind_next_bit.c24 unsigned long offset)
26 const unsigned long *p = addr + BITOP_WORD(offset);
27 unsigned long result = offset & ~(BITS_PER_LONG-1);
30 if (offset >= size)
33 offset %= BITS_PER_LONG;
34 if (offset) {
36 tmp &= (~0UL << offset);
68 unsigned long offset)
70 const unsigned long *p = addr + BITOP_WORD(offset);
71 unsigned long result = offset
23 find_next_bit(const unsigned long *addr, unsigned long size, unsigned long offset) argument
67 find_next_zero_bit(const unsigned long *addr, unsigned long size, unsigned long offset) argument
188 generic_find_next_zero_le_bit(const unsigned long *addr, unsigned long size, unsigned long offset) argument
232 generic_find_next_le_bit(const unsigned long *addr, unsigned long size, unsigned long offset) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dmpegutils.c51 int offset[AV_NUM_DATA_POINTERS]; local
66 offset[i] = 0;
68 offset[0]= y * src->linesize[0];
69 offset[1]=
70 offset[2]= (y >> vshift) * src->linesize[1];
72 offset[i] = 0;
77 avctx->draw_horiz_band(avctx, src, offset,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/kernel/
H A Dftrace.c34 long offset; local
36 offset = (long)addr - (long)(pc + PC_OFFSET);
37 if (unlikely(offset < -33554432 || offset > 33554428)) {
44 offset = (offset >> 2) & BL_OFFSET_MASK;
45 bl_insn = BL_OPCODE | offset;
H A Dcrash_dump.c29 * @offset: offset in bytes into the page
37 size_t csize, unsigned long offset,
50 if (copy_to_user(buf, vaddr + offset, csize)) {
55 memcpy(buf, vaddr + offset, csize);
36 copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, unsigned long offset, int userbuf) argument
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/zlib-1.2.8/contrib/dotzlib/DotZLib/
H A DChecksumImpl.cs59 /// <param name="offset">Where in <c>data</c> to start updating</param>
61 /// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception>
66 public abstract void Update(byte[] data, int offset, int count); argument
128 /// <param name="offset">Where in <c>data</c> to start updating</param>
130 /// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception>
133 public override void Update(byte[] data, int offset, int count) argument
135 if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException();
136 if ((offset+count) > data.Length) throw new ArgumentException();
140 _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count);
179 /// <param name="offset">Wher
184 Update(byte[] data, int offset, int count) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/pmc-sierra/msp71xx/
H A Dgpio_extended.c42 * @offset: gpio whose value will be returned
46 static int msp71xx_exd_gpio_get(struct gpio_chip *chip, unsigned offset) argument
50 const unsigned bit = MSP71XX_READ_OFFSET(offset);
58 * @offset: gpio whose value will be assigned
65 unsigned offset, int value)
69 const unsigned bit = MSP71XX_DATA_OFFSET(offset);
77 * @offset: gpio whose value will be assigned
84 unsigned offset, int value)
89 msp71xx_exd_gpio_set(chip, offset, value);
90 __raw_writel(1 << MSP71XX_CFG_OUT_OFFSET(offset), msp71xx_chi
64 msp71xx_exd_gpio_set(struct gpio_chip *chip, unsigned offset, int value) argument
83 msp71xx_exd_direction_output(struct gpio_chip *chip, unsigned offset, int value) argument
101 msp71xx_exd_direction_input(struct gpio_chip *chip, unsigned offset) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/dlm/
H A Dmidcomms.c34 static void copy_from_cb(void *dst, const void *base, unsigned offset, argument
39 if ((copy + offset) > limit)
40 copy = limit - offset;
41 memcpy(dst, base + offset, copy);
59 unsigned offset, unsigned len, unsigned limit)
78 copy_from_cb(p, base, offset, sizeof(struct dlm_header),
120 copy_from_cb(p, base, offset, msglen, limit);
125 offset += msglen;
126 offset &= (limit - 1);
58 dlm_process_incoming_buffer(int nodeid, const void *base, unsigned offset, unsigned len, unsigned limit) argument
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/zlib-1.2.3/contrib/dotzlib/DotZLib/
H A DChecksumImpl.cs59 /// <param name="offset">Where in <c>data</c> to start updating</param>
61 /// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception>
66 public abstract void Update(byte[] data, int offset, int count); argument
128 /// <param name="offset">Where in <c>data</c> to start updating</param>
130 /// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception>
133 public override void Update(byte[] data, int offset, int count) argument
135 if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException();
136 if ((offset+count) > data.Length) throw new ArgumentException();
140 _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count);
179 /// <param name="offset">Wher
184 Update(byte[] data, int offset, int count) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/zlib-1.2.3/contrib/dotzlib/DotZLib/
H A DChecksumImpl.cs59 /// <param name="offset">Where in <c>data</c> to start updating</param>
61 /// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception>
66 public abstract void Update(byte[] data, int offset, int count); argument
128 /// <param name="offset">Where in <c>data</c> to start updating</param>
130 /// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception>
133 public override void Update(byte[] data, int offset, int count) argument
135 if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException();
136 if ((offset+count) > data.Length) throw new ArgumentException();
140 _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count);
179 /// <param name="offset">Wher
184 Update(byte[] data, int offset, int count) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/clocksource/
H A Dcyclone.c13 #define CYCLONE_PMCC_OFFSET 0x51A0 /* offset to control register */
14 #define CYCLONE_MPCS_OFFSET 0x51A8 /* offset to select register */
15 #define CYCLONE_MPMC_OFFSET 0x51D0 /* offset to count register */
40 unsigned long offset; local
52 offset = CYCLONE_CBAR_ADDR;
53 reg = ioremap_nocache(offset, sizeof(reg));
67 offset = base + CYCLONE_PMCC_OFFSET;
68 reg = ioremap_nocache(offset, sizeof(reg));
77 offset = base + CYCLONE_MPCS_OFFSET;
78 reg = ioremap_nocache(offset, sizeo
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Drio_drv.h24 extern int __rio_local_read_config_32(struct rio_mport *port, u32 offset,
26 extern int __rio_local_write_config_32(struct rio_mport *port, u32 offset,
28 extern int __rio_local_read_config_16(struct rio_mport *port, u32 offset,
30 extern int __rio_local_write_config_16(struct rio_mport *port, u32 offset,
32 extern int __rio_local_read_config_8(struct rio_mport *port, u32 offset,
34 extern int __rio_local_write_config_8(struct rio_mport *port, u32 offset,
38 u8 hopcount, u32 offset, u32 * data);
40 u8 hopcount, u32 offset, u32 data);
42 u8 hopcount, u32 offset, u16 * data);
44 u8 hopcount, u32 offset, u1
59 rio_local_read_config_32(struct rio_mport *port, u32 offset, u32 * data) argument
74 rio_local_write_config_32(struct rio_mport *port, u32 offset, u32 data) argument
89 rio_local_read_config_16(struct rio_mport *port, u32 offset, u16 * data) argument
105 rio_local_write_config_16(struct rio_mport *port, u32 offset, u16 data) argument
120 rio_local_read_config_8(struct rio_mport *port, u32 offset, u8 * data) argument
135 rio_local_write_config_8(struct rio_mport *port, u32 offset, u8 data) argument
150 rio_read_config_32(struct rio_dev *rdev, u32 offset, u32 * data) argument
174 rio_write_config_32(struct rio_dev *rdev, u32 offset, u32 data) argument
198 rio_read_config_16(struct rio_dev *rdev, u32 offset, u16 * data) argument
222 rio_write_config_16(struct rio_dev *rdev, u32 offset, u16 data) argument
246 rio_read_config_8(struct rio_dev *rdev, u32 offset, u8 * data) argument
269 rio_write_config_8(struct rio_dev *rdev, u32 offset, u8 data) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/zlib-1.2.7/contrib/dotzlib/DotZLib/
H A DChecksumImpl.cs59 /// <param name="offset">Where in <c>data</c> to start updating</param>
61 /// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception>
66 public abstract void Update(byte[] data, int offset, int count); argument
128 /// <param name="offset">Where in <c>data</c> to start updating</param>
130 /// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception>
133 public override void Update(byte[] data, int offset, int count) argument
135 if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException();
136 if ((offset+count) > data.Length) throw new ArgumentException();
140 _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count);
179 /// <param name="offset">Wher
184 Update(byte[] data, int offset, int count) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/e1000/
H A De1000_osdep.h52 #define E1000_WRITE_REG_ARRAY(a, reg, offset, value) ( \
55 ((offset) << 2))))
57 #define E1000_READ_REG_ARRAY(a, reg, offset) ( \
60 ((offset) << 2)))
65 #define E1000_WRITE_REG_ARRAY_WORD(a, reg, offset, value) ( \
68 ((offset) << 1))))
70 #define E1000_READ_REG_ARRAY_WORD(a, reg, offset) ( \
73 ((offset) << 1)))
75 #define E1000_WRITE_REG_ARRAY_BYTE(a, reg, offset, value) ( \
78 (offset))))
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/os_brew/
H A Dos_truncate.c25 off_t offset; local
36 offset = (off_t)pgsize * pgno;
40 if (IFILE_Truncate(fhp->ifp, offset) == SUCCESS)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/kernel/
H A Dcrash_dump.c40 * @offset: offset in bytes into the page (based on pfn) to begin the copy
48 size_t csize, unsigned long offset, int userbuf)
58 if (copy_to_user(buf, (vaddr + offset), csize)) {
63 memcpy(buf, (vaddr + offset), csize);
47 copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, unsigned long offset, int userbuf) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/kernel/
H A Dcrash_dump_64.c22 * @offset: offset in bytes into the page (based on pfn) to begin the copy
30 size_t csize, unsigned long offset, int userbuf)
42 if (copy_to_user(buf, vaddr + offset, csize)) {
47 memcpy(buf, vaddr + offset, csize);
29 copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, unsigned long offset, int userbuf) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/crypto/
H A Dscatterwalk.c39 walk->offset = sg->offset;
46 offset_in_page(walk->offset);
56 page = sg_page(walk->sg) + ((walk->offset - 1) >> PAGE_SHIFT);
62 walk->offset += PAGE_SIZE - 1;
63 walk->offset &= PAGE_MASK;
64 if (walk->offset >= walk->sg->offset + walk->sg->length)
107 unsigned int offset = 0; local
115 if (start < offset
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/ia64/kernel/
H A Dcrash_dump.c25 * @offset: offset in bytes into the page (based on pfn) to begin the copy
38 size_t csize, unsigned long offset, int userbuf)
46 if (copy_to_user(buf, (vaddr + offset), csize)) {
50 memcpy(buf, (vaddr + offset), csize);
37 copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, unsigned long offset, int userbuf) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/include/asm/octeon/
H A Dcvmx-agl-defs.h39 #define CVMX_AGL_GMX_PRTX_CFG(offset) \
40 CVMX_ADD_IO_SEG(0x00011800E0000010ull + (((offset) & 1) * 2048))
41 #define CVMX_AGL_GMX_RXX_ADR_CAM0(offset) \
42 CVMX_ADD_IO_SEG(0x00011800E0000180ull + (((offset) & 1) * 2048))
43 #define CVMX_AGL_GMX_RXX_ADR_CAM1(offset) \
44 CVMX_ADD_IO_SEG(0x00011800E0000188ull + (((offset) & 1) * 2048))
45 #define CVMX_AGL_GMX_RXX_ADR_CAM2(offset) \
46 CVMX_ADD_IO_SEG(0x00011800E0000190ull + (((offset) & 1) * 2048))
47 #define CVMX_AGL_GMX_RXX_ADR_CAM3(offset) \
48 CVMX_ADD_IO_SEG(0x00011800E0000198ull + (((offset)
[all...]

Completed in 256 milliseconds

1234567891011>>