Home
last modified time | relevance | path

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

123

/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.c65 u32 phy_address,
741 u32 phy_address, in ixgb_read_phy_reg() argument
749 ASSERT(phy_address <= IXGB_MAX_PHY_ADDRESS); in ixgb_read_phy_reg()
755 (phy_address << IXGB_MSCA_PHY_ADDR_SHIFT) | in ixgb_read_phy_reg()
782 (phy_address << IXGB_MSCA_PHY_ADDR_SHIFT) | in ixgb_read_phy_reg()
834 u32 phy_address, in ixgb_write_phy_reg() argument
842 ASSERT(phy_address <= IXGB_MAX_PHY_ADDRESS); in ixgb_write_phy_reg()
851 (phy_address << IXGB_MSCA_PHY_ADDR_SHIFT) | in ixgb_write_phy_reg()
878 (phy_address << IXGB_MSCA_PHY_ADDR_SHIFT) | in ixgb_write_phy_reg()
/drivers/net/ethernet/broadcom/genet/
Dbcmmii.c568 if (pd->phy_address >= 0 && pd->phy_address < PHY_MAX_ADDR) in bcmgenet_mii_pd_init()
569 mdio->phy_mask = ~(1 << pd->phy_address); in bcmgenet_mii_pd_init()
579 if (pd->phy_address >= 0 && pd->phy_address < PHY_MAX_ADDR) in bcmgenet_mii_pd_init()
580 phydev = mdio->phy_map[pd->phy_address]; in bcmgenet_mii_pd_init()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c280 cmd->phy_address = pdata->phy.address; in xgbe_get_settings()
305 if (cmd->phy_address != pdata->phy.address) { in xgbe_set_settings()
307 cmd->phy_address); in xgbe_set_settings()
/drivers/net/
Dmii.c76 ecmd->phy_address = mii->phy_id; in mii_ethtool_gset()
159 if (ecmd->phy_address != mii->phy_id) in mii_ethtool_sset()
Dmdio.c197 ecmd->phy_address = mdio->prtad; in mdio45_ethtool_gset_npage()
Dntb_netdev.c382 cmd->phy_address = 0; in ntb_get_settings()
Dveth.c57 cmd->phy_address = 0; in veth_get_settings()
/drivers/net/ethernet/silan/
Dsc92031.c1130 u8 phy_address; in sc92031_ethtool_get_settings() local
1136 phy_address = ioread32(port_base + Miicmd1) >> 27; in sc92031_ethtool_get_settings()
1176 cmd->phy_address = phy_address; in sc92031_ethtool_get_settings()
1198 if (!(cmd->phy_address == 0x1f)) in sc92031_ethtool_set_settings()
/drivers/net/ethernet/atheros/alx/
Dethtool.c146 ecmd->phy_address = 0; in alx_get_settings()
/drivers/net/ethernet/ibm/emac/
Dcore.c377 if (try_internal_clock || (dev->phy_address == 0xffffffff && in emac_reset()
403 if (try_internal_clock || (dev->phy_address == 0xffffffff && in emac_reset()
1992 cmd->phy_address = dev->phy.address; in emac_ethtool_get_settings()
2417 if (dev->phy_address == 0xffffffff && dev->phy_map == 0xffffffff) { in emac_init_phy()
2474 if (dev->phy_address != 0xffffffff) in emac_init_phy()
2475 phy_map = ~(1 << dev->phy_address); in emac_init_phy()
2564 if (emac_read_uint_prop(np, "phy-address", &dev->phy_address, 0)) in emac_init_config()
2565 dev->phy_address = 0xffffffff; in emac_init_config()
Dcore.h186 u32 phy_address; member
/drivers/net/ethernet/atheros/atl1c/
Datl1c_ethtool.c49 ecmd->phy_address = 0; in atl1c_get_settings()
/drivers/net/phy/
Dphy.c328 if (cmd->phy_address != phydev->addr) in phy_ethtool_sset()
384 cmd->phy_address = phydev->addr; in phy_ethtool_gset()
/drivers/net/ethernet/atheros/atl1e/
Datl1e_ethtool.c50 ecmd->phy_address = 0; in atl1e_get_settings()
/drivers/infiniband/hw/nes/
Dnes_nic.c1503 et_cmd->phy_address = mac_index; in nes_netdev_get_settings()
1518 et_cmd->phy_address = phy_index; in nes_netdev_get_settings()
1529 et_cmd->phy_address = phy_index; in nes_netdev_get_settings()
1534 et_cmd->phy_address = mac_index; in nes_netdev_get_settings()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c240 cmd->phy_address = 0; in bnx2x_get_vf_settings()
252 cmd->duplex, cmd->port, cmd->phy_address, cmd->transceiver, in bnx2x_get_vf_settings()
290 cmd->phy_address = bp->mdio.prtad; in bnx2x_get_settings()
351 cmd->duplex, cmd->port, cmd->phy_address, cmd->transceiver, in bnx2x_get_settings()
372 cmd->duplex, cmd->port, cmd->phy_address, cmd->transceiver, in bnx2x_set_settings()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c577 cmd->phy_address = p->mdio_addr; in get_settings()
582 cmd->phy_address = 0; /* not really, but no better option */ in get_settings()
/drivers/net/ethernet/broadcom/
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()
5211 l5_data.phy_address.lo = udev->l2_buf_map & 0xffffffff; in cnic_init_rings()
5212 l5_data.phy_address.hi = (u64) udev->l2_buf_map >> 32; in cnic_init_rings()
5256 l5_data.phy_address.lo = cli; in cnic_shutdown_rings()
5257 l5_data.phy_address.hi = 0; in cnic_shutdown_rings()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c160 ecmd->phy_address = adapter->physical_port; in netxen_nic_get_settings()
/drivers/net/usb/
Drtl8150.c815 ecmd->phy_address = dev->phy; in rtl8150_get_settings()
Dcatc.c702 cmd->phy_address = 0; in catc_get_settings()
/drivers/net/ethernet/sfc/
Dmcdi_port.c518 ecmd->phy_address = phy_cfg->port; in efx_mcdi_phy_get_settings()
/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c266 cmd->phy_address = 0; in bnad_get_settings()
/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c1308 cmd->phy_address = p->mdio_addr; in cxgb4vf_get_settings()
1313 cmd->phy_address = 0; /* not really, but no better option */ in cxgb4vf_get_settings()
/drivers/net/ethernet/micrel/
Dks8695net.c877 cmd->phy_address = 0; in ks8695_wan_get_settings()

123