/linux-6.1.9/drivers/net/ethernet/via/ |
D | via-velocity.c | 617 vptr->mii_status = status; in velocity_get_opt_media_mode() 879 static int velocity_set_media_mode(struct velocity_info *vptr, u32 mii_status) in velocity_set_media_mode() argument 883 vptr->mii_status = mii_check_media_mode(vptr->mac_regs); in velocity_set_media_mode() 894 if (mii_status & VELOCITY_AUTONEG_ENABLE) { in velocity_set_media_mode() 922 if (mii_status & VELOCITY_SPEED_1000) in velocity_set_media_mode() 927 if (mii_status & VELOCITY_DUPLEX_FULL) { in velocity_set_media_mode() 945 if ((mii_status & VELOCITY_SPEED_1000) && in velocity_set_media_mode() 946 (mii_status & VELOCITY_DUPLEX_FULL)) { in velocity_set_media_mode() 951 if (!(mii_status & VELOCITY_DUPLEX_FULL) && (mii_status & VELOCITY_SPEED_10)) in velocity_set_media_mode() 959 if (mii_status & VELOCITY_SPEED_100) { in velocity_set_media_mode() [all …]
|
D | via-rhine.c | 999 int mii_status = mdio_read(dev, phy_id, 1); in rhine_init_one_common() local 1002 if (mii_status != 0xffff && mii_status != 0x0000) { in rhine_init_one_common() 1007 mii_status, rp->mii_if.advertising, in rhine_init_one_common() 1011 if (mii_status & BMSR_LSTATUS) in rhine_init_one_common()
|
D | via-velocity.h | 1426 u32 mii_status; member
|
/linux-6.1.9/drivers/net/ethernet/dec/tulip/ |
D | media.c | 457 int mii_status = tulip_mdio_read (dev, phy, MII_BMSR); in tulip_find_mii() local 458 if ((mii_status & 0x8301) == 0x8001 || in tulip_find_mii() 459 ((mii_status & BMSR_100BASE4) == 0 && in tulip_find_mii() 460 (mii_status & 0x7800) != 0)) { in tulip_find_mii() 493 board_idx, phy, mii_reg0, mii_status, mii_advert); in tulip_find_mii()
|
D | winbond-840.c | 438 int mii_status = mdio_read(dev, phy, MII_BMSR); in w840_probe1() local 439 if (mii_status != 0xffff && mii_status != 0x0000) { in w840_probe1() 446 np->mii, phy, mii_status, in w840_probe1()
|
/linux-6.1.9/drivers/net/ethernet/3com/ |
D | 3c574_cs.c | 395 int mii_status; in tc574_config() local 397 mii_status = mdio_read(ioaddr, phy & 0x1f, 1); in tc574_config() 398 if (mii_status != 0xffff) { in tc574_config() 402 phy, mii_status); in tc574_config() 403 if ((mii_status & 0x0040) == 0) in tc574_config()
|
D | 3c59x.c | 1396 int mii_status, phyx; in vortex_probe1() local 1408 mii_status = mdio_read(dev, phyx, MII_BMSR); in vortex_probe1() 1409 if (mii_status && mii_status != 0xffff) { in vortex_probe1() 1413 phyx, mii_status); in vortex_probe1() 1415 if ((mii_status & 0x0040) == 0) in vortex_probe1()
|
/linux-6.1.9/drivers/net/bonding/ |
D | bond_sysfs_slave.c | 38 static SLAVE_ATTR_RO(mii_status);
|
D | bond_sysfs.c | 514 static DEVICE_ATTR(mii_status, 0444, bonding_show_mii_status, NULL);
|
/linux-6.1.9/drivers/net/ethernet/silan/ |
D | sc92031.c | 316 u32 mii_status; in _sc92031_mii_wait() local 320 mii_status = ioread32(port_base + Miistatus); in _sc92031_mii_wait() 321 } while (mii_status & Mii_StatusBusy); in _sc92031_mii_wait() 323 return mii_status; in _sc92031_mii_wait()
|
/linux-6.1.9/drivers/net/ethernet/freescale/ |
D | fec_mpc52xx.h | 49 u32 mii_status; /* FEC + 0x048 */ member
|
/linux-6.1.9/drivers/net/ethernet/packetengines/ |
D | yellowfin.c | 497 int mii_status = mdio_read(ioaddr, phy, 1); in yellowfin_init_one() local 498 if (mii_status != 0xffff && mii_status != 0x0000) { in yellowfin_init_one() 502 phy, mii_status, np->advertising); in yellowfin_init_one()
|
D | hamachi.c | 757 int mii_status = mdio_read(dev, phy, MII_BMSR); in hamachi_init_one() local 758 if (mii_status != 0xffff && in hamachi_init_one() 759 mii_status != 0x0000) { in hamachi_init_one() 764 dev->name, phy, mii_status, hmp->mii_if.advertising); in hamachi_init_one()
|
/linux-6.1.9/drivers/net/ethernet/sis/ |
D | sis900.c | 618 u16 mii_status; in sis900_mii_probe() local 623 mii_status = mdio_read(net_dev, phy_addr, MII_STATUS); in sis900_mii_probe() 625 if (mii_status == 0xffff || mii_status == 0x0000) { in sis900_mii_probe() 647 mii_phy->status = mii_status; in sis900_mii_probe() 658 (mii_status & (MII_STAT_CAN_TX_FDX | MII_STAT_CAN_TX)) ? LAN : HOME; in sis900_mii_probe()
|
D | sis190.c | 1327 u16 mii_status) in sis190_init_phy() argument 1333 phy->status = mii_status; in sis190_init_phy() 1348 ((mii_status & (BMSR_100FULL | BMSR_100HALF)) ? in sis190_init_phy()
|
/linux-6.1.9/drivers/net/ethernet/smsc/ |
D | epic100.c | 443 int mii_status = mdio_read(dev, phy, MII_BMSR); in epic_init_one() local 444 if (mii_status != 0xffff && mii_status != 0x0000) { in epic_init_one() 449 phy, mdio_read(dev, phy, 0), mii_status); in epic_init_one()
|
/linux-6.1.9/drivers/net/ethernet/dlink/ |
D | sundance.c | 602 int mii_status = mdio_read(dev, phyx, MII_BMSR); in sundance_probe1() local 603 if (mii_status != 0xffff && mii_status != 0x0000) { in sundance_probe1() 606 if ((mii_status & 0x0040) == 0) in sundance_probe1() 610 dev->name, phyx, mii_status, np->mii_if.advertising); in sundance_probe1()
|
D | dl2k.c | 312 int mii_status = mii_read (dev, i, 1); in find_miiphy() local 313 if (mii_status != 0xffff && mii_status != 0x0000) { in find_miiphy()
|
/linux-6.1.9/drivers/net/ethernet/nvidia/ |
D | forcedeth.c | 1391 u32 mii_status, mii_control, mii_control_1000, reg; in phy_init() local 1442 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); in phy_init() 1443 if (mii_status & PHY_GIGABIT) { in phy_init() 3308 int mii_status; in nv_force_linkspeed() local 3314 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); in nv_force_linkspeed() 3315 if (mii_status & PHY_GIGABIT) { in nv_force_linkspeed() 3388 int mii_status; in nv_update_linkspeed() local 3412 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); in nv_update_linkspeed() 3414 if (!(mii_status & BMSR_LSTATUS)) { in nv_update_linkspeed() 3439 if (!(mii_status & BMSR_ANEGCOMPLETE)) { in nv_update_linkspeed() [all …]
|
/linux-6.1.9/drivers/net/ethernet/ |
D | fealnx.c | 572 int mii_status = mdio_read(dev, phy, 1); in fealnx_init_one() local 574 if (mii_status != 0xffff && mii_status != 0x0000) { in fealnx_init_one() 578 "0x%4.4x.\n", phy, mii_status); in fealnx_init_one()
|
/linux-6.1.9/drivers/net/ethernet/adaptec/ |
D | starfire.c | 789 int mii_status; in starfire_init_one() local 801 mii_status = mdio_read(dev, phy, MII_BMSR); in starfire_init_one() 802 if (mii_status != 0) { in starfire_init_one() 807 dev->name, phy, mii_status, np->mii_if.advertising); in starfire_init_one()
|
/linux-6.1.9/drivers/net/ethernet/realtek/ |
D | 8139too.c | 1060 int mii_status = mdio_read(dev, phy, 1); in rtl8139_init_one() local 1061 if (mii_status != 0xffff && mii_status != 0x0000) { in rtl8139_init_one() 1065 phy, mii_status, advertising); in rtl8139_init_one()
|