• Home
  • Raw
  • Download

Lines Matching refs:loff_t

229 static unsigned int flexonenand_block(struct onenand_chip *this, loff_t addr)  in flexonenand_block()
248 unsigned int onenand_block(struct onenand_chip *this, loff_t addr) in onenand_block()
262 static loff_t flexonenand_addr(struct onenand_chip *this, int block) in flexonenand_addr()
264 loff_t ofs = 0; in flexonenand_addr()
274 ofs += (loff_t) block << (this->erase_shift - 1); in flexonenand_addr()
276 ofs += (loff_t) (block - boundary - 1) in flexonenand_addr()
281 loff_t onenand_addr(struct onenand_chip *this, int block) in onenand_addr()
284 return (loff_t) block << this->erase_shift; in onenand_addr()
293 int flexonenand_region(struct mtd_info *mtd, loff_t addr) in flexonenand_region()
325 static int onenand_command(struct mtd_info *mtd, int cmd, loff_t addr, in onenand_command()
539 static int onenand_read_bufferram(struct mtd_info *mtd, loff_t addr, int area, in onenand_read_bufferram()
564 static int onenand_sync_read_bufferram(struct mtd_info *mtd, loff_t addr, int area, in onenand_sync_read_bufferram()
593 static int onenand_write_bufferram(struct mtd_info *mtd, loff_t addr, int area, in onenand_write_bufferram()
616 static int onenand_get_2x_blockpage(struct mtd_info *mtd, loff_t addr) in onenand_get_2x_blockpage()
640 static int onenand_check_bufferram(struct mtd_info *mtd, loff_t addr) in onenand_check_bufferram()
682 static int onenand_update_bufferram(struct mtd_info *mtd, loff_t addr, in onenand_update_bufferram()
717 static void onenand_invalidate_bufferram(struct mtd_info *mtd, loff_t addr, in onenand_invalidate_bufferram()
722 loff_t end_addr = addr + len; in onenand_invalidate_bufferram()
726 loff_t buf_addr = this->bufferram[i].blockpage << this->page_shift; in onenand_invalidate_bufferram()
813 static int onenand_recover_lsb(struct mtd_info *mtd, loff_t addr, int status) in onenand_recover_lsb()
847 static int onenand_read_ops_nolock(struct mtd_info *mtd, loff_t from, in onenand_read_ops_nolock()
998 static int onenand_read_oob_nolock(struct mtd_info *mtd, loff_t from, in onenand_read_oob_nolock()
1101 int onenand_read(struct mtd_info *mtd, loff_t from, size_t len, in onenand_read()
1128 int onenand_read_oob(struct mtd_info *mtd, loff_t from, in onenand_read_oob()
1210 int onenand_bbt_read_oob(struct mtd_info *mtd, loff_t from, in onenand_bbt_read_oob()
1286 static int onenand_verify_oob(struct mtd_info *mtd, const u_char *buf, loff_t to) in onenand_verify_oob()
1316 static int onenand_verify(struct mtd_info *mtd, const u_char *buf, loff_t addr, size_t len) in onenand_verify()
1410 static int onenand_write_ops_nolock(struct mtd_info *mtd, loff_t to, in onenand_write_ops_nolock()
1532 static int onenand_write_oob_nolock(struct mtd_info *mtd, loff_t to, in onenand_write_oob_nolock()
1649 int onenand_write(struct mtd_info *mtd, loff_t to, size_t len, in onenand_write()
1676 int onenand_write_oob(struct mtd_info *mtd, loff_t to, in onenand_write_oob()
1711 static int onenand_block_isbad_nolock(struct mtd_info *mtd, loff_t ofs, int allowbbt) in onenand_block_isbad_nolock()
1732 loff_t addr = instr->addr; in onenand_erase()
1870 int onenand_block_isbad(struct mtd_info *mtd, loff_t ofs) in onenand_block_isbad()
1892 static int onenand_default_block_markbad(struct mtd_info *mtd, loff_t ofs) in onenand_default_block_markbad()
1922 int onenand_block_markbad(struct mtd_info *mtd, loff_t ofs) in onenand_block_markbad()
1951 static int onenand_do_lock_cmd(struct mtd_info *mtd, loff_t ofs, size_t len, int cmd) in onenand_do_lock_cmd()
2028 static int onenand_lock(struct mtd_info *mtd, loff_t ofs, size_t len) in onenand_lock()
2046 static int onenand_unlock(struct mtd_info *mtd, loff_t ofs, size_t len) in onenand_unlock()
2099 loff_t ofs = 0; in onenand_unlock_all()
2315 loff_t ofs; in flexonenand_get_size()
2318 blksperdie = ((loff_t)(16 << density) << 20) >> (this->erase_shift); in flexonenand_get_size()
2370 this->diesize[die] = (loff_t) (blksperdie << this->erase_shift); in flexonenand_get_size()
2371 this->diesize[die] -= (loff_t) (this->boundary[die] + 1) in flexonenand_get_size()
2404 loff_t addr; in flexonenand_check_blocks_erased()
2443 loff_t addr; in flexonenand_set_boundary()