Lines Matching defs:stat
40 #include <sys/stat.h>
1331 eri_m_stat(void *arg, uint_t stat, uint64_t *val)
1351 switch (stat) {
2853 uint16_t stat;
2866 (void) eri_mii_read(erip, ERI_PHY_BMSR, &stat);
2867 linkupdate = eri_mif_check(erip, stat, stat);
4810 uint16_t stat, control, mif_ints;
4820 (void) eri_mii_read(erip, ERI_PHY_BMSR, &stat);
4821 mif_ints = erip->mii_status ^ stat;
4824 (void) eri_mii_read(erip, ERI_PHY_BMSR, &stat);
4826 "eri_check_link:openloop stat %X mii_status %X",
4827 stat, erip->mii_status);
4829 if (!(stat & PHY_BMSR_LNKSTS) &&
4846 "eri_check_link: trying speed %X stat %X",
4847 param_speed, stat);
4854 linkupdate = eri_mif_check(erip, stat, stat);
4866 linkupdate = eri_mif_check(erip, mif_ints, stat);
5206 uint16_t stat;
5255 (void) eri_mii_read(erip, ERI_PHY_BMSR, &stat);
5261 "eri_reset_xcvr: control %x stat %x anar %x", control, stat, anar);
5267 param_bmsr_ancap = 1 && (stat & PHY_BMSR_ACFG);
5268 param_bmsr_100T4 = 1 && (stat & PHY_BMSR_100T4);
5269 param_bmsr_100fdx = 1 && (stat & PHY_BMSR_100FDX);
5270 param_bmsr_100hdx = 1 && (stat & PHY_BMSR_100HDX);
5271 param_bmsr_10fdx = 1 && (stat & PHY_BMSR_10FDX);
5272 param_bmsr_10hdx = 1 && (stat & PHY_BMSR_10HDX);
5435 control, stat, param_mode);
5449 (void) eri_mii_read(erip, ERI_PHY_BMSR, &stat);
5453 "control %X status %X anar %X", control, stat, anar);