Lines Matching refs:stat
116 unsigned int stat, data; in ael_i2c_rd() local
125 err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL_I2C_STAT, &stat); in ael_i2c_rd()
128 if ((stat & 3) == 1) { in ael_i2c_rd()
364 unsigned int stat; in ael2005_get_module_type() local
366 v = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL2005_GPIO_CTRL, &stat); in ael2005_get_module_type()
370 if (stat & (1 << 8)) /* module absent */ in ael2005_get_module_type()
456 unsigned int stat; in ael2005_intr_handler() local
459 ret = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL2005_GPIO_STAT, &stat); in ael2005_intr_handler()
463 if (stat & AEL2005_MODDET_IRQ) { in ael2005_intr_handler()
607 unsigned int stat; in ael2020_get_module_type() local
609 v = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL2020_GPIO_STAT, &stat); in ael2020_get_module_type()
613 if (stat & (0x1 << (AEL2020_GPIO_MODDET*4))) { in ael2020_get_module_type()
699 unsigned int stat; in ael2020_intr_clear() local
700 int err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL2020_GPIO_INTR, &stat); in ael2020_intr_clear()
767 unsigned int stat; in ael2020_intr_handler() local
770 ret = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL2020_GPIO_INTR, &stat); in ael2020_intr_handler()
774 if (stat & (0x1 << AEL2020_GPIO_MODDET)) { in ael2020_intr_handler()
873 unsigned int stat; in t3_qt2045_phy_prep() local
884 !t3_mdio_read(phy, MDIO_MMD_PMAPMD, MDIO_STAT1, &stat) && in t3_qt2045_phy_prep()
885 stat == 0xffff) in t3_qt2045_phy_prep()