/linux/drivers/net/ethernet/intel/ixgb/ |
A D | ixgb_hw.c | 40 u32 phy_address, 714 u32 phy_address, in ixgb_read_phy_reg() argument 722 ASSERT(phy_address <= IXGB_MAX_PHY_ADDRESS); in ixgb_read_phy_reg() 728 (phy_address << IXGB_MSCA_PHY_ADDR_SHIFT) | in ixgb_read_phy_reg() 755 (phy_address << IXGB_MSCA_PHY_ADDR_SHIFT) | in ixgb_read_phy_reg() 807 u32 phy_address, in ixgb_write_phy_reg() argument 815 ASSERT(phy_address <= IXGB_MAX_PHY_ADDRESS); in ixgb_write_phy_reg() 824 (phy_address << IXGB_MSCA_PHY_ADDR_SHIFT) | in ixgb_write_phy_reg() 851 (phy_address << IXGB_MSCA_PHY_ADDR_SHIFT) | in ixgb_write_phy_reg()
|
/linux/net/ethtool/ |
A D | linkinfo.c | 64 data->lsettings->phy_address) || in linkinfo_fill_reply() 133 ethnl_update_u8(&lsettings->phy_address, tb[ETHTOOL_A_LINKINFO_PHYADDR], in ethnl_set_linkinfo()
|
A D | common.c | 476 link_ksettings->base.phy_address in convert_legacy_settings_to_link_ksettings() 477 = legacy_settings->phy_address; in convert_legacy_settings_to_link_ksettings()
|
/linux/drivers/net/ethernet/broadcom/genet/ |
A D | bcmmii.c | 429 if (pd->phy_address >= 0 && pd->phy_address < PHY_MAX_ADDR) in bcmgenet_mii_pdata_init() 430 ppd->phy_mask = 1 << pd->phy_address; in bcmgenet_mii_pdata_init() 586 mdio_bus_id, pd->phy_address); in bcmgenet_mii_pd_init()
|
/linux/include/linux/platform_data/ |
A D | bcmgenet.h | 12 int phy_address; member
|
/linux/drivers/net/ |
A D | mii.c | 74 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()
|
A D | mdio.c | 194 ecmd->phy_address = mdio->prtad; in mdio45_ethtool_gset_npage() 365 cmd->base.phy_address = mdio->prtad; in mdio45_ethtool_ksettings_get_npage()
|
A D | ntb_netdev.c | 383 cmd->base.phy_address = 0; in ntb_get_link_ksettings()
|
/linux/drivers/net/ethernet/silan/ |
A D | sc92031.c | 1123 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/ |
A D | xgbe-ethtool.c | 315 cmd->base.phy_address = pdata->phy.address; in xgbe_get_link_ksettings() 341 if (cmd->base.phy_address != pdata->phy.address) { in xgbe_set_link_ksettings() 343 cmd->base.phy_address); in xgbe_set_link_ksettings()
|
/linux/drivers/infiniband/ulp/ipoib/ |
A D | ipoib_ethtool.c | 212 cmd->base.phy_address = 0xFF; in ipoib_get_link_ksettings()
|
/linux/drivers/net/ethernet/ibm/emac/ |
A D | core.h | 176 u32 phy_address; member
|
A D | core.c | 373 if (try_internal_clock || (dev->phy_address == 0xffffffff && in emac_reset() 399 if (try_internal_clock || (dev->phy_address == 0xffffffff && in emac_reset() 2046 cmd->base.phy_address = dev->phy.address; in emac_ethtool_get_link_ksettings() 2687 if ((dev->phy_address == 0xffffffff && dev->phy_map == 0xffffffff) || in emac_init_phy() 2781 if (dev->phy_address != 0xffffffff) in emac_init_phy() 2782 phy_map = ~(1 << dev->phy_address); in emac_init_phy() 2872 if (emac_read_uint_prop(np, "phy-address", &dev->phy_address, 0)) in emac_init_config() 2873 dev->phy_address = 0xffffffff; in emac_init_config()
|
/linux/drivers/net/ethernet/atheros/alx/ |
A D | ethtool.c | 148 cmd->base.phy_address = 0; in alx_get_link_ksettings()
|
/linux/include/uapi/linux/ |
A D | ethtool.h | 112 __u8 phy_address; member 2077 __u8 phy_address; member
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
A D | atl1c_ethtool.c | 36 cmd->base.phy_address = 0; in atl1c_get_link_ksettings()
|
/linux/drivers/net/ethernet/atheros/atl1e/ |
A D | atl1e_ethtool.c | 37 cmd->base.phy_address = 0; in atl1e_get_link_ksettings()
|
/linux/drivers/net/phy/ |
A D | phy.c | 264 cmd->base.phy_address = phydev->mdio.addr; in phy_ethtool_ksettings_get() 778 if (cmd->base.phy_address != phydev->mdio.addr) in phy_ethtool_ksettings_set()
|
/linux/drivers/s390/net/ |
A D | qeth_ethtool.c | 435 cmd->base.phy_address = 0; in qeth_get_link_ksettings()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_ethtool.c | 246 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/ |
A D | cnic.c | 1384 l5_data->phy_address.lo = (u64) map & 0xffffffff; in cnic_get_kwqe_16_data() 1385 l5_data->phy_address.hi = (u64) map >> 32; in cnic_get_kwqe_16_data() 1409 kwqe.data.phy_address.lo = cpu_to_le32(l5_data->phy_address.lo); in cnic_submit_kwqe_16() 1410 kwqe.data.phy_address.hi = cpu_to_le32(l5_data->phy_address.hi); in cnic_submit_kwqe_16() 5210 l5_data.phy_address.lo = udev->l2_buf_map & 0xffffffff; in cnic_init_rings() 5211 l5_data.phy_address.hi = (u64) udev->l2_buf_map >> 32; in cnic_init_rings() 5255 l5_data.phy_address.lo = cli; in cnic_shutdown_rings() 5256 l5_data.phy_address.hi = 0; in cnic_shutdown_rings()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_cmd.h | 1222 u8 phy_address; member
|
/linux/drivers/net/ethernet/qlogic/netxen/ |
A D | netxen_nic_ethtool.c | 146 cmd->base.phy_address = adapter->physical_port; in netxen_nic_get_link_ksettings()
|
/linux/drivers/net/usb/ |
A D | rtl8150.c | 791 ecmd->base.phy_address = dev->phy; in rtl8150_get_link_ksettings()
|
A D | catc.c | 698 cmd->base.phy_address = 0; in catc_get_link_ksettings()
|