Home
last modified time | relevance | path

Searched refs:phymax (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/mtd/parsers/
H A Dsharpslpart.c168 unsigned int block_num, phymax; in sharpsl_nand_init_ftl() local
177 phymax = mtd_div_by_eb(SHARPSL_FTL_PART_SIZE, mtd); in sharpsl_nand_init_ftl()
180 ftl->logmax = ((phymax * 95) / 100) - 1; in sharpsl_nand_init_ftl()
194 for (block_num = 0; block_num < phymax; block_num++) { in sharpsl_nand_init_ftl()
214 phymax, ftl->logmax, phymax - ftl->logmax); in sharpsl_nand_init_ftl()
/openbmc/u-boot/drivers/net/
H A Dag7xxx.c741 int i, ret, phymax; in ag933x_phy_setup_common() local
744 phymax = 4; in ag933x_phy_setup_common()
746 phymax = 5; in ag933x_phy_setup_common()
751 ret = ag933x_phy_setup_reset_set(dev, phymax); in ag933x_phy_setup_common()
755 ret = ag933x_phy_setup_reset_fin(dev, phymax); in ag933x_phy_setup_common()
760 ret = ag7xxx_mdio_read(priv->bus, phymax, 0, MII_MIPSCR); in ag933x_phy_setup_common()
768 for (i = 0; i < phymax; i++) { in ag933x_phy_setup_common()
774 for (i = 0; i < phymax; i++) { in ag933x_phy_setup_common()
780 for (i = 0; i < phymax; i++) { in ag933x_phy_setup_common()