Home
last modified time | relevance | path

Searched refs:mii_status (Results 1 – 23 of 23) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/via/
Dvia-velocity.c617 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 …]
Dvia-rhine.c999 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()
Dvia-velocity.h1426 u32 mii_status; member
/Linux-v6.6/tools/testing/selftests/drivers/net/bonding/
Dbond_options.sh216mii_status=$(cmd_jq "ip -n ${s_ns} -j -d link show eth$i" ".[].linkinfo.info_slave_data.mii_status…
217 if [ ${mii_status} != "UP" ]; then
219 log_test "arp_validate" "interface eth$i mii_status $mii_status"
/Linux-v6.6/drivers/net/ethernet/dec/tulip/
Dmedia.c457 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()
Dwinbond-840.c438 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-v6.6/drivers/net/ethernet/3com/
D3c574_cs.c395 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()
D3c59x.c1396 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-v6.6/drivers/net/bonding/
Dbond_sysfs_slave.c38 static SLAVE_ATTR_RO(mii_status);
Dbond_sysfs.c514 static DEVICE_ATTR(mii_status, 0444, bonding_show_mii_status, NULL);
/Linux-v6.6/drivers/net/ethernet/silan/
Dsc92031.c316 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-v6.6/drivers/net/ethernet/freescale/
Dfec_mpc52xx.h49 u32 mii_status; /* FEC + 0x048 */ member
/Linux-v6.6/drivers/net/ethernet/packetengines/
Dyellowfin.c497 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()
Dhamachi.c757 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-v6.6/drivers/net/ethernet/sis/
Dsis900.c618 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()
Dsis190.c1327 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-v6.6/drivers/net/ethernet/smsc/
Depic100.c443 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-v6.6/drivers/net/ethernet/dlink/
Dsundance.c602 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()
Ddl2k.c312 int mii_status = mii_read (dev, i, 1); in find_miiphy() local
313 if (mii_status != 0xffff && mii_status != 0x0000) { in find_miiphy()
/Linux-v6.6/drivers/net/ethernet/nvidia/
Dforcedeth.c1391 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-v6.6/drivers/net/ethernet/
Dfealnx.c572 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-v6.6/drivers/net/ethernet/adaptec/
Dstarfire.c789 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-v6.6/drivers/net/ethernet/realtek/
D8139too.c1060 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()