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

12345678910

/netgear-R7800-V1.0.2.28/package/qca-ssdk/src/src/hsl/dess/
H A Ddess_sec.c38 a_uint32_t addr, offset, len, reg, val; local
51 offset = 0;
56 offset = 20;
61 offset = 1;
66 offset = 2;
72 offset = 11;
77 offset = 12;
83 offset = 3;
88 offset = 4;
94 offset
386 a_uint32_t addr, offset, len, reg, val; local
[all...]
/netgear-R7800-V1.0.2.28/package/qca-ssdk/src/src/hsl/isis/
H A Disis_sec.c38 a_uint32_t addr, offset, len, reg, val; local
51 offset = 0;
56 offset = 20;
61 offset = 1;
66 offset = 2;
72 offset = 11;
77 offset = 12;
83 offset = 3;
88 offset = 4;
94 offset
386 a_uint32_t addr, offset, len, reg, val; local
[all...]
/netgear-R7800-V1.0.2.28/package/qca-ssdk/src/src/hsl/isisc/
H A Disisc_sec.c38 a_uint32_t addr, offset, len, reg, val; local
51 offset = 0;
56 offset = 20;
61 offset = 1;
66 offset = 2;
72 offset = 11;
77 offset = 12;
83 offset = 3;
88 offset = 4;
94 offset
386 a_uint32_t addr, offset, len, reg, val; local
[all...]
/netgear-R7800-V1.0.2.28/target/linux/adm5120/files/arch/mips/include/asm/mach-adm5120/prom/
H A Dadmboot.h15 extern int admboot_get_mac_base(u32 offset, u32 len, u8 *mac) __init;
/netgear-R7800-V1.0.2.28/target/linux/at91/files/drivers/mtd/
H A Dat91part.c38 unsigned int offset, len; local
46 at91_parts[0].offset = 0;
51 at91_parts[1].offset = 0x21000;
56 at91_parts[2].offset = pre_size;
61 at91_parts[3].offset = 0;
65 for(offset = pre_size; offset < root_max; offset += master->erasesize) {
69 if (master->read(master, offset, sizeof(buf), &len, buf) || len != sizeof(buf))
77 at91_parts[3].offset
[all...]
/netgear-R7800-V1.0.2.28/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/linux_oss/
H A DmvOsSata.h101 #define MV_REG_WRITE_BYTE(base, offset, val) writeb(val, base + offset)
102 #define MV_REG_WRITE_WORD(base, offset, val) writew(val, base + offset)
103 #define MV_REG_WRITE_DWORD(base, offset, val) writel(val, base + offset)
104 #define MV_REG_READ_BYTE(base, offset) readb(base + offset)
105 #define MV_REG_READ_WORD(base, offset) readw(base + offset)
[all...]
H A DmvOs.h336 #define MV_REG_VALUE(offset) \
337 (MV_MEMIO32_READ((INTER_REGS_BASE | (offset))))
339 #define MV_REG_READ(offset) \
340 (MV_MEMIO_LE32_READ(INTER_REGS_BASE | (offset)))
343 #define MV_REG_WRITE(offset, val) \
344 MV_MEMIO_LE32_WRITE((INTER_REGS_BASE | (offset)), (val)); \
346 reg_arry[reg_arry_index][0] = (INTER_REGS_BASE | (offset));\
351 #define MV_REG_WRITE(offset, val) \
352 MV_MEMIO_LE32_WRITE((INTER_REGS_BASE | (offset)), (val));
355 #define MV_REG_BYTE_READ(offset) \
[all...]
/netgear-R7800-V1.0.2.28/target/linux/adm5120/files/arch/mips/adm5120/common/
H A Dgpio.c99 int __adm5120_gpio0_get_value(unsigned offset) argument
107 if ((t & PIN_IM(offset)) != 0)
108 t &= PIN_IV(offset);
110 t &= PIN_OV(offset);
116 void __adm5120_gpio0_set_value(unsigned offset, int value) argument
125 t &= ~(PIN_OV(offset));
127 t |= PIN_OV(offset);
133 static int adm5120_gpio0_get_value(struct gpio_chip *chip, unsigned offset) argument
135 return __adm5120_gpio0_get_value(offset);
139 unsigned offset, in
138 adm5120_gpio0_set_value(struct gpio_chip *chip, unsigned offset, int value) argument
144 adm5120_gpio0_direction_input(struct gpio_chip *chip, unsigned offset) argument
160 adm5120_gpio0_direction_output(struct gpio_chip *chip, unsigned offset, int value) argument
190 __adm5120_gpio1_get_value(unsigned offset) argument
209 __adm5120_gpio1_set_value(unsigned offset, int value) argument
245 adm5120_gpio1_get_value(struct gpio_chip *chip, unsigned offset) argument
250 adm5120_gpio1_set_value(struct gpio_chip *chip, unsigned offset, int value) argument
256 adm5120_gpio1_direction_input(struct gpio_chip *chip, unsigned offset) argument
270 adm5120_gpio1_direction_output(struct gpio_chip *chip, unsigned offset, int value) argument
[all...]
/netgear-R7800-V1.0.2.28/target/linux/s3c24xx/files-2.6.30/drivers/ar6000/bmi/
H A Dbmi.c142 A_UINT32 offset; local
163 offset = 0;
164 A_MEMCPY(&data[offset], &cid, sizeof(cid));
165 offset += sizeof(cid);
166 A_MEMCPY(&data[offset], &address, sizeof(address));
167 offset += sizeof(address);
168 A_MEMCPY(&data[offset], &rxlen, sizeof(rxlen));
169 offset += sizeof(length);
171 status = bmiBufferSend(device, data, offset);
197 A_UINT32 offset; local
248 A_UINT32 offset; local
294 A_UINT32 offset; local
331 A_UINT32 offset; local
376 A_UINT32 offset; local
419 A_UINT32 offset; local
470 A_UINT32 offset; local
508 A_UINT32 offset; local
[all...]
/netgear-R7800-V1.0.2.28/target/linux/ar71xx/files/drivers/mtd/
H A Dtplinkpart.c40 uint32_t kernel_ofs; /* kernel data offset */
42 uint32_t rootfs_ofs; /* rootfs data offset */
44 uint32_t boot_ofs; /* bootloader data offset */
50 tplink_read_header(struct mtd_info *mtd, size_t offset) argument
63 ret = mtd_read(mtd, offset, header_len, &retlen,
88 static int tplink_check_rootfs_magic(struct mtd_info *mtd, size_t offset) argument
94 ret = mtd_read(mtd, offset, sizeof(magic), &retlen,
116 size_t offset; local
129 offset = TPLINK_KERNEL_OFFS;
131 header = tplink_read_header(master, offset);
[all...]
/netgear-R7800-V1.0.2.28/target/linux/adm5120/files/arch/mips/adm5120/cellvision/
H A Dcellvision.c25 .offset = 0,
30 .offset = MTDPART_OFS_APPEND,
34 .offset = MTDPART_OFS_APPEND,
38 .offset = MTDPART_OFS_APPEND,
42 .offset = MTDPART_OFS_APPEND,
50 .offset = 0,
55 .offset = MTDPART_OFS_APPEND,
59 .offset = MTDPART_OFS_APPEND,
63 .offset = MTDPART_OFS_APPEND,
/netgear-R7800-V1.0.2.28/scripts/config/lxdialog/
H A Dlxdialog.c56 int offset = 0, opt_clear = 0, end_common_opts = 0, retval; local
71 while (offset < argc - 1 && !end_common_opts) { /* Common options */
72 if (!strcmp(argv[offset + 1], "--title")) {
73 if (argc - offset < 3 || title != NULL) {
77 title = argv[offset + 2];
78 offset += 2;
80 } else if (!strcmp(argv[offset + 1], "--backtitle")) {
85 backtitle = argv[offset + 2];
86 offset += 2;
88 } else if (!strcmp(argv[offset
[all...]
/netgear-R7800-V1.0.2.28/package/mtd/src/
H A Dmtd.h18 extern int mtd_erase_block(int fd, int offset);
19 extern int mtd_write_buffer(int fd, const char *buf, int offset, int length);
27 extern int mtd_fixtrx(const char *mtd, size_t offset) __attribute__ ((weak));
28 extern int mtd_fixseama(const char *mtd, size_t offset) __attribute__ ((weak));
/netgear-R7800-V1.0.2.28/package/px5g/src/polarssl/
H A Dhavege.h45 int PT1, PT2, offset[2]; member in struct:__anon19
/netgear-R7800-V1.0.2.28/target/linux/lantiq/files/arch/mips/lantiq/falcon/
H A Dgpio.c89 int offset = pin % 100; local
92 if ((offset >= PINS_PER_PORT) || (port >= MAX_PORTS))
96 ltq_pad_w32(gpio_port, mux & 0x3, LTQ_PADC_MUX(offset));
106 int offset = pin % 100; local
108 if (offset >= PINS_PER_PORT || port >= MAX_PORTS)
126 falcon_gpio_direction_input(struct gpio_chip *chip, unsigned int offset) argument
128 ltq_port_w32(ctop(chip), 1 << offset, LTQ_GPIO_DIRCLR); local
134 falcon_gpio_set(struct gpio_chip *chip, unsigned int offset, int value) argument
137 ltq_port_w32(ctop(chip), 1 << offset, LTQ_GPIO_OUTSET); local
139 ltq_port_w32(ctop(chip), 1 << offset, LTQ_GPIO_OUTCL local
143 falcon_gpio_direction_output(struct gpio_chip *chip, unsigned int offset, int value) argument
147 ltq_port_w32(ctop(chip), 1 << offset, LTQ_GPIO_DIRSET); local
153 falcon_gpio_get(struct gpio_chip *chip, unsigned int offset) argument
162 falcon_gpio_request(struct gpio_chip *chip, unsigned offset) argument
176 falcon_gpio_free(struct gpio_chip *chip, unsigned offset) argument
187 falcon_gpio_to_irq(struct gpio_chip *chip, unsigned offset) argument
195 unsigned int offset = d->irq - itop(d)->irq_base; local
197 ltq_port_w32(itop(d), 1 << offset, LTQ_GPIO_IRNENCLR); local
203 unsigned int offset = d->irq - itop(d)->irq_base; local
209 ltq_port_w32(itop(d), 1 << offset, LTQ_GPIO_IRNRNSET); local
215 unsigned int offset = d->irq - itop(d)->irq_base; local
217 ltq_port_w32(itop(d), 1 << offset, LTQ_GPIO_IRNCR); local
223 unsigned int offset = d->irq - itop(d)->irq_base; local
225 ltq_port_w32(itop(d), 1 << offset, LTQ_GPIO_IRNENCLR); local
226 ltq_port_w32(itop(d), 1 << offset, LTQ_GPIO_IRNCR); local
233 unsigned int offset = d->irq - itop(d)->irq_base; local
272 int offset; local
[all...]
/netgear-R7800-V1.0.2.28/target/linux/ar71xx/files/arch/mips/ath79/
H A Dmach-wnr2000.c38 .offset = 0,
43 .offset = 0x040000,
47 .offset = 0x050000,
51 .offset = 0x290000,
55 .offset = 0x2a0000,
59 .offset = 0x3c0000,
63 .offset = 0x3e0000,
67 .offset = 0x3f0000,
H A Dmach-wrt400n.c42 .offset = 0,
47 .offset = 0x030000,
52 .offset = 0x040000,
56 .offset = 0x180000,
60 .offset = 0x7b0000,
65 .offset = 0x7c0000,
70 .offset = 0x7d0000,
75 .offset = 0x7f0000,
80 .offset = 0x040000,
/netgear-R7800-V1.0.2.28/target/linux/adm5120/files/arch/mips/adm5120/zyxel/
H A Dp-33x.c22 .offset = 0,
27 .offset = MTDPART_OFS_APPEND,
32 .offset = MTDPART_OFS_APPEND,
36 .offset = MTDPART_OFS_APPEND,
40 .offset = MTDPART_OFS_APPEND,
44 .offset = 32*1024,
/netgear-R7800-V1.0.2.28/target/linux/ramips/files/arch/mips/ralink/rt288x/
H A Dmach-wzr-agl300nh.c36 .offset = 0,
41 .offset = 0x030000,
46 .offset = 0x040000,
51 .offset = 0x050000,
55 .offset = 0x100000,
59 .offset = 0x3f0000,
/netgear-R7800-V1.0.2.28/target/linux/s3c24xx/files-2.6.30/drivers/mfd/glamo/
H A Dglamo-gpio.c58 static void glamo_gpio_set(struct gpio_chip *chip, unsigned offset, int value) argument
61 unsigned int reg = REG_OF_GPIO(offset);
67 tmp |= OUTPUT_BIT(offset);
69 tmp &= ~OUTPUT_BIT(offset);
74 static int glamo_gpio_get(struct gpio_chip *chip, unsigned offset) argument
77 return readw(glamo->base + REG_OF_GPIO(offset)) & INPUT_BIT(offset) ? 1 : 0;
80 static int glamo_gpio_request(struct gpio_chip *chip, unsigned offset) argument
83 unsigned int reg = REG_OF_GPIO(offset);
88 if ((tmp & FUNC_BIT(offset))
97 glamo_gpio_free(struct gpio_chip *chip, unsigned offset) argument
112 glamo_gpio_direction_output(struct gpio_chip *chip, unsigned offset, int value) argument
134 glamo_gpio_direction_input(struct gpio_chip *chip, unsigned offset) argument
[all...]
/netgear-R7800-V1.0.2.28/target/linux/adm5120/files/drivers/mtd/
H A Dtrxsplit.c51 static int trxsplit_checktrx(struct mtd_info *mtd, unsigned long offset) argument
56 err = mtd->read(mtd, offset, sizeof(trx_hdr), &retlen,
80 if (trx_hdr.len > mtd->size - offset)
93 unsigned long offset; local
99 for (offset = 0; offset < mtd->size; offset += TRX_ALIGN) {
100 err = trxsplit_checktrx(mtd, offset);
108 printk(KERN_INFO PFX "TRX header found at 0x%lX\n", offset);
111 trx_offset = offset;
[all...]
/netgear-R7800-V1.0.2.28/target/linux/lantiq/files/arch/mips/lantiq/xway/
H A Dmach-fritz_vr9.c31 .offset = 0x0,
36 .offset = 0x400000,
41 .offset = 0x3400000,
46 .offset = 0x3800000,
51 .offset = 0x6800000,
56 .offset = 0x6a00000,
64 .offset = 0x0,
69 .offset = 0x20000,
74 .offset = 0x30000,
/netgear-R7800-V1.0.2.28/target/linux/ramips/files/arch/mips/ralink/common/
H A Dgpio.c34 static int ramips_gpio_direction_input(struct gpio_chip *chip, unsigned offset) argument
42 t &= ~(1 << offset);
50 unsigned offset, int value)
60 ramips_gpio_wr(rg, reg, 1 << offset);
63 t |= 1 << offset;
70 static void ramips_gpio_set(struct gpio_chip *chip, unsigned offset, int value) argument
76 ramips_gpio_wr(rg, reg, 1 << offset);
79 static int ramips_gpio_get(struct gpio_chip *chip, unsigned offset) argument
85 return !!(t & (1 << offset));
49 ramips_gpio_direction_output(struct gpio_chip *chip, unsigned offset, int value) argument
/netgear-R7800-V1.0.2.28/target/linux/adm8668/files/drivers/mtd/maps/
H A Dadm8668.c163 { name: "linux", offset: 0x40000, size: WINDOW_SIZE-0x40000, },
164 { name: "rootfs", offset: 0xe0000, size: 0x140000, },
165 { name: "uboot_env", offset: 0x20000, size: 0x20000, },
188 for (off = adm8668_parts[PART_LINUX].offset; off < size; off += blocksize) {
204 adm8668_parts[PART_ROOTFS].offset = off;
206 adm8668_parts[PART_ROOTFS].offset;
210 linux_len = adm8668_parts[PART_LINUX+1].offset -
211 adm8668_parts[PART_LINUX].offset;
214 adm8668_parts[PART_LINUX].offset;
228 if (mtd->read(mtd, adm8668_parts[PART_LINUX].offset, sizeo
238 unsigned int offset; local
[all...]
/netgear-R7800-V1.0.2.28/target/linux/lantiq/base-files/etc/hotplug.d/firmware/
H A D10-rt2x00-eeprom11 local offset=$2
21 dd if=$mtd of=/lib/firmware/$FIRMWARE bs=1 skip=$offset count=$count || \

Completed in 283 milliseconds

12345678910