Home
last modified time | relevance | path

Searched refs:phy_address (Results 1 – 25 of 64) sorted by relevance

123

/linux/net/ethtool/
H A Dlinkinfo.c64 data->lsettings->phy_address) || in linkinfo_fill_reply()
115 ethnl_update_u8(&lsettings->phy_address, tb[ETHTOOL_A_LINKINFO_PHYADDR], in ethnl_set_linkinfo()
H A Dcommon.c505 link_ksettings->base.phy_address in convert_legacy_settings_to_link_ksettings()
506 = legacy_settings->phy_address; in convert_legacy_settings_to_link_ksettings()
/linux/include/linux/platform_data/
H A Dbcmgenet.h12 int phy_address; member
/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmmii.c444 if (pd->phy_address >= 0 && pd->phy_address < PHY_MAX_ADDR) in bcmgenet_mii_pdata_init()
445 ppd->phy_mask = 1 << pd->phy_address; in bcmgenet_mii_pdata_init()
605 mdio_bus_id, pd->phy_address); in bcmgenet_mii_pd_init()
/linux/drivers/net/
H A Dmii.c74 ecmd->phy_address = mii->phy_id; in mii_ethtool_gset()
160 cmd->base.phy_address = mii->phy_id; in mii_ethtool_get_link_ksettings()
250 if (ecmd->phy_address != mii->phy_id) in mii_ethtool_sset()
341 if (cmd->base.phy_address != mii->phy_id) in mii_ethtool_set_link_ksettings()
H A Dntb_netdev.c383 cmd->base.phy_address = 0; in ntb_get_link_ksettings()
/linux/drivers/net/ethernet/silan/
H A Dsc92031.c1123 u8 phy_address; in sc92031_ethtool_get_link_ksettings() local
1130 phy_address = ioread32(port_base + Miicmd1) >> 27; in sc92031_ethtool_get_link_ksettings()
1168 cmd->base.phy_address = phy_address; in sc92031_ethtool_get_link_ksettings()
1201 if (!(cmd->base.phy_address == 0x1f)) in sc92031_ethtool_set_link_ksettings()
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ethtool.c311 cmd->base.phy_address = pdata->phy.address; in xgbe_get_link_ksettings()
342 if (cmd->base.phy_address != pdata->phy.address) { in xgbe_set_link_ksettings()
344 cmd->base.phy_address); in xgbe_set_link_ksettings()
/linux/drivers/net/ethernet/ibm/emac/
H A Dcore.h175 u32 phy_address; member
H A Dcore.c365 if (try_internal_clock || (dev->phy_address == 0xffffffff && in emac_reset()
391 if (try_internal_clock || (dev->phy_address == 0xffffffff && in emac_reset()
2026 cmd->base.phy_address = dev->phy.address; in emac_ethtool_get_link_ksettings()
2650 if ((dev->phy_address == 0xffffffff && dev->phy_map == 0xffffffff) || in emac_init_phy()
2742 if (dev->phy_address != 0xffffffff) in emac_init_phy()
2743 phy_map = ~(1 << dev->phy_address); in emac_init_phy()
2833 if (emac_read_uint_prop(np, "phy-address", &dev->phy_address, 0)) in emac_init_config()
2834 dev->phy_address = 0xffffffff; in emac_init_config()
/linux/drivers/net/ethernet/atheros/alx/
H A Dethtool.c148 cmd->base.phy_address = 0; in alx_get_link_ksettings()
/linux/include/uapi/linux/
H A Dethtool.h112 __u8 phy_address; member
2518 __u8 phy_address; member
/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_ethtool.c36 cmd->base.phy_address = 0; in atl1c_get_link_ksettings()
/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_ethtool.c37 cmd->base.phy_address = 0; in atl1e_get_link_ksettings()
/linux/drivers/s390/net/
H A Dqeth_ethtool.c437 cmd->base.phy_address = 0; in qeth_get_link_ksettings()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_ethtool.c246 cmd->base.phy_address = 0; in bnx2x_get_vf_link_ksettings()
255 cmd->base.duplex, cmd->base.port, cmd->base.phy_address, in bnx2x_get_vf_link_ksettings()
298 cmd->base.phy_address = bp->mdio.prtad; in bnx2x_get_link_ksettings()
362 cmd->base.duplex, cmd->base.port, cmd->base.phy_address, in bnx2x_get_link_ksettings()
391 cmd->base.duplex, cmd->base.port, cmd->base.phy_address, in bnx2x_set_link_ksettings()
/linux/drivers/net/ethernet/broadcom/
H A Dcnic.c1391 l5_data->phy_address.lo = (u64) map & 0xffffffff; in cnic_get_kwqe_16_data()
1392 l5_data->phy_address.hi = (u64) map >> 32; in cnic_get_kwqe_16_data()
1416 kwqe.data.phy_address.lo = cpu_to_le32(l5_data->phy_address.lo); in cnic_submit_kwqe_16()
1417 kwqe.data.phy_address.hi = cpu_to_le32(l5_data->phy_address.hi); in cnic_submit_kwqe_16()
5217 l5_data.phy_address.lo = udev->l2_buf_map & 0xffffffff; in cnic_init_rings()
5218 l5_data.phy_address.hi = (u64) udev->l2_buf_map >> 32; in cnic_init_rings()
5262 l5_data.phy_address.lo = cli; in cnic_shutdown_rings()
5263 l5_data.phy_address.hi = 0; in cnic_shutdown_rings()
/linux/drivers/net/phy/
H A Dphy.c307 cmd->base.phy_address = phydev->mdio.addr; in phy_ethtool_ksettings_get()
1085 if (cmd->base.phy_address != phydev->mdio.addr) in phy_ethtool_ksettings_set()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.h858 u8 phy_address; member
/linux/drivers/net/usb/
H A Drtl8150.c792 ecmd->base.phy_address = dev->phy; in rtl8150_get_link_ksettings()
H A Dcatc.c698 cmd->base.phy_address = 0; in catc_get_link_ksettings()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c682 base->phy_address = pi->mdio_addr; in get_link_ksettings()
687 base->phy_address = 255; in get_link_ksettings()
/linux/drivers/net/ethernet/brocade/bna/
H A Dbnad_ethtool.c251 cmd->base.phy_address = 0; in bnad_get_link_ksettings()
/linux/drivers/net/ethernet/sfc/siena/
H A Dmcdi_port_common.c549 cmd->base.phy_address = phy_cfg->port; in efx_siena_mcdi_phy_get_link_ksettings()
/linux/drivers/net/ethernet/sfc/
H A Dmcdi_port_common.c547 cmd->base.phy_address = phy_cfg->port; in efx_mcdi_phy_get_link_ksettings()

123