Searched refs:offs (Results 1 - 10 of 10) sorted by relevance

/netgear-R7800-V1.0.2.28/package/qca-nss-drv/src/nss_hal/fsm9010/
H A Dnss_regs.h94 static inline uint32_t nss_read_32(uint32_t addr, uint32_t offs) argument
96 return readl((uint32_t *)(addr + offs));
103 static inline void nss_write_32(uint32_t addr, uint32_t offs, uint32_t val) argument
105 writel(val, (uint32_t *)(addr + offs));
/netgear-R7800-V1.0.2.28/package/qca-nss-drv/src/nss_hal/ipq806x/
H A Dnss_regs.h91 static inline uint32_t nss_read_32(uint32_t addr, uint32_t offs) argument
93 return readl((void *)(addr + offs));
100 static inline void nss_write_32(uint32_t addr, uint32_t offs, uint32_t val) argument
102 writel(val, (void *)(addr + offs));
/netgear-R7800-V1.0.2.28/package/dni-libmtd/src/
H A Dmtd.c72 long long offs; local
195 offs = blockstart;
200 ret = mtd_is_bad(&mtd, fd, offs / ebsize_aligned);
215 if (mtd_erase(mtd_desc, &mtd, fd, offs / ebsize_aligned)) {
222 offs += ebsize_aligned / blockalign;
223 } while (offs < blockstart + ebsize_aligned);
299 long long offs; local
380 offs = blockstart;
385 ret = mtd_is_bad(&mtd, fd, offs / ebsize_aligned);
400 offs
[all...]
H A Dlibmtd.h261 * @offs: offset withing the eraseblock to read from
265 * This function reads @len bytes of data from eraseblock @eb and offset @offs
269 int mtd_read(const struct mtd_dev_info *mtd, int fd, int eb, int offs,
278 * @offs: offset withing the eraseblock to write to
285 * This function writes @len bytes of data to eraseblock @eb and offset @offs
292 int offs, void *data, int len, void *oob, int ooblen,
334 * @offs: offset withing the eraseblock to write to
338 * and @offs are the starting eraseblock and offset on the MTD device. Returns
341 int mtd_write_img(const struct mtd_dev_info *mtd, int fd, int eb, int offs,
H A Dlibmtd.c1048 int mtd_read(const struct mtd_dev_info *mtd, int fd, int eb, int offs, argument
1058 if (offs < 0 || offs + len > mtd->eb_size) {
1060 offs, len, mtd->mtd_num, mtd->eb_size);
1066 seek = (off_t)eb * mtd->eb_size + offs;
1075 len, mtd->mtd_num, eb, offs);
1119 int offs, void *data, int len, void *oob, int ooblen,
1130 if (offs < 0 || offs + len > mtd->eb_size) {
1132 offs, le
1118 mtd_write(libmtd_t desc, const struct mtd_dev_info *mtd, int fd, int eb, int offs, void *data, int len, void *oob, int ooblen, uint8_t mode) argument
1281 mtd_write_img(const struct mtd_dev_info *mtd, int fd, int eb, int offs, const char *img_name) argument
[all...]
H A Dlibmtd_legacy.c237 loff_t offs = 0; local
274 ret = ioctl(fd, MEMGETBADBLOCK, &offs);
/netgear-R7800-V1.0.2.28/tools/firmware-utils/src/
H A Dmkcsysimg.c907 uint32_t offs = 0; local
929 offs += board->boot_size;
940 offs += board->conf_size;
954 block->size = align(offs + block->file_size + block->size_hdr +
955 block->size_csum, block->align) - offs;
962 DBG(2,"webpages start at %08x, size=%08x", offs,
965 offs += block->size;
966 if (offs > board->flash_size) {
983 block->size = align(offs + block->file_size +
985 block->align) - offs;
[all...]
H A Dmkcasfw.c890 uint32_t offs = 0; local
/netgear-R7800-V1.0.2.28/target/linux/adm5120/files/arch/mips/adm5120/common/
H A Dmemory.c34 static int __init mem_check_pattern(u8 *addr, unsigned long offs) argument
37 u32 *p2 = (u32 *)(addr+offs);
/netgear-R7800-V1.0.2.28/target/linux/s3c24xx/files-2.6.30/drivers/ar6000/wmi/
H A Dwmi_doc.h2022 The host sets atim_windows to control trade-offs

Completed in 110 milliseconds