Home
last modified time | relevance | path

Searched refs:mtd_oobavail (Results 1 – 6 of 6) sorted by relevance

/linux/include/linux/mtd/
H A Dmtd.h474 static inline u32 mtd_oobavail(struct mtd_info *mtd, struct mtd_oob_ops *ops) in mtd_oobavail() function
H A Dnand.h932 iter->oobbytes_per_page = mtd_oobavail(mtd, req); in nanddev_io_page_iter_init()
/linux/drivers/mtd/
H A Dmtdcore.c1590 if (ops->ooboffs >= mtd_oobavail(mtd, ops)) in mtd_check_oob_ops()
1595 mtd_oobavail(mtd, ops)) - ops->ooboffs; in mtd_check_oob_ops()
1653 oobavail = mtd_oobavail(mtd, ops); in mtd_io_emulated_slc()
H A Dmtdchar.c587 oob_per_page = mtd_oobavail(mtd, ops); in adjust_oob_length()
/linux/drivers/mtd/nand/onenand/
H A Donenand_base.c1131 oobsize = mtd_oobavail(mtd, ops); in onenand_mlc_read_ops_nolock()
1232 oobsize = mtd_oobavail(mtd, ops); in onenand_read_ops_nolock()
1828 oobsize = mtd_oobavail(mtd, ops); in onenand_write_ops_nolock()
/linux/drivers/mtd/nand/raw/
H A Dnand_base.c436 len = mtd_oobavail(mtd, ops); in nand_do_write_oob()
3580 uint32_t max_oobsize = mtd_oobavail(mtd, ops); in nand_do_read_ops()
3937 len = mtd_oobavail(mtd, ops); in nand_do_read_oob()
4446 uint32_t oobmaxlen = mtd_oobavail(mtd, ops); in nand_do_write_ops()