Searched refs:nanddev_offs_to_pos (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/mtd/nand/ |
H A D | core.c | 161 nanddev_offs_to_pos(nand, einfo->addr, &pos); in nanddev_mtd_erase() 162 nanddev_offs_to_pos(nand, einfo->addr + einfo->len - 1, &last); in nanddev_mtd_erase() 200 nanddev_offs_to_pos(nand, offs, &pos); in nanddev_mtd_max_bad_blocks() 201 nanddev_offs_to_pos(nand, offs + len, &end); in nanddev_mtd_max_bad_blocks() 203 for (nanddev_offs_to_pos(nand, offs, &pos); in nanddev_mtd_max_bad_blocks()
|
/openbmc/u-boot/drivers/mtd/nand/ |
H A D | core.c | 161 nanddev_offs_to_pos(nand, einfo->addr, &pos); in nanddev_mtd_erase() 162 nanddev_offs_to_pos(nand, einfo->addr + einfo->len - 1, &last); in nanddev_mtd_erase()
|
/openbmc/u-boot/include/linux/mtd/ |
H A D | nand.h | 426 static inline unsigned int nanddev_offs_to_pos(struct nand_device *nand, in nanddev_offs_to_pos() function 605 iter->req.dataoffs = nanddev_offs_to_pos(nand, offs, &iter->req.pos); in nanddev_io_iter_init()
|
/openbmc/linux/include/linux/mtd/ |
H A D | nand.h | 746 static inline unsigned int nanddev_offs_to_pos(struct nand_device *nand, in nanddev_offs_to_pos() function 927 iter->req.dataoffs = nanddev_offs_to_pos(nand, offs, &iter->req.pos); in nanddev_io_iter_init()
|
/openbmc/u-boot/drivers/mtd/nand/spi/ |
H A D | core.c | 687 nanddev_offs_to_pos(nand, offs, &pos); in spinand_mtd_block_isbad() 735 nanddev_offs_to_pos(nand, offs, &pos); in spinand_mtd_block_markbad() 799 nanddev_offs_to_pos(nand, offs, &pos); in spinand_mtd_block_isreserved()
|
/openbmc/linux/drivers/mtd/nand/spi/ |
H A D | core.c | 751 nanddev_offs_to_pos(nand, offs, &pos); in spinand_mtd_block_isbad() 790 nanddev_offs_to_pos(nand, offs, &pos); in spinand_mtd_block_markbad() 847 nanddev_offs_to_pos(nand, offs, &pos); in spinand_mtd_block_isreserved()
|