Home
last modified time | relevance | path

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

123

/linux/drivers/net/ethernet/intel/ixgb/
A Dixgb_hw.c40 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 Dlinkinfo.c64 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 Dcommon.c476 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 Dbcmmii.c429 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 Dbcmgenet.h12 int phy_address; member
/linux/drivers/net/
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()
A Dmdio.c194 ecmd->phy_address = mdio->prtad; in mdio45_ethtool_gset_npage()
365 cmd->base.phy_address = mdio->prtad; in mdio45_ethtool_ksettings_get_npage()
A Dntb_netdev.c383 cmd->base.phy_address = 0; in ntb_get_link_ksettings()
/linux/drivers/net/ethernet/silan/
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/
A Dxgbe-ethtool.c315 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 Dipoib_ethtool.c212 cmd->base.phy_address = 0xFF; in ipoib_get_link_ksettings()
/linux/drivers/net/ethernet/ibm/emac/
A Dcore.h176 u32 phy_address; member
A Dcore.c373 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 Dethtool.c148 cmd->base.phy_address = 0; in alx_get_link_ksettings()
/linux/include/uapi/linux/
A Dethtool.h112 __u8 phy_address; member
2077 __u8 phy_address; member
/linux/drivers/net/ethernet/atheros/atl1c/
A Datl1c_ethtool.c36 cmd->base.phy_address = 0; in atl1c_get_link_ksettings()
/linux/drivers/net/ethernet/atheros/atl1e/
A Datl1e_ethtool.c37 cmd->base.phy_address = 0; in atl1e_get_link_ksettings()
/linux/drivers/net/phy/
A Dphy.c264 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 Dqeth_ethtool.c435 cmd->base.phy_address = 0; in qeth_get_link_ksettings()
/linux/drivers/net/ethernet/broadcom/bnx2x/
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/
A Dcnic.c1384 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 Dhclge_cmd.h1222 u8 phy_address; member
/linux/drivers/net/ethernet/qlogic/netxen/
A Dnetxen_nic_ethtool.c146 cmd->base.phy_address = adapter->physical_port; in netxen_nic_get_link_ksettings()
/linux/drivers/net/usb/
A Drtl8150.c791 ecmd->base.phy_address = dev->phy; in rtl8150_get_link_ksettings()
A Dcatc.c698 cmd->base.phy_address = 0; in catc_get_link_ksettings()

Completed in 215 milliseconds

123