/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_hw.c | 65 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/ |
D | bcmmii.c | 568 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/ |
D | xgbe-ethtool.c | 280 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/ |
D | mii.c | 76 ecmd->phy_address = mii->phy_id; in mii_ethtool_gset() 159 if (ecmd->phy_address != mii->phy_id) in mii_ethtool_sset()
|
D | mdio.c | 197 ecmd->phy_address = mdio->prtad; in mdio45_ethtool_gset_npage()
|
D | ntb_netdev.c | 382 cmd->phy_address = 0; in ntb_get_settings()
|
D | veth.c | 57 cmd->phy_address = 0; in veth_get_settings()
|
/drivers/net/ethernet/silan/ |
D | sc92031.c | 1130 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/ |
D | ethtool.c | 146 ecmd->phy_address = 0; in alx_get_settings()
|
/drivers/net/ethernet/ibm/emac/ |
D | core.c | 377 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()
|
D | core.h | 186 u32 phy_address; member
|
/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_ethtool.c | 49 ecmd->phy_address = 0; in atl1c_get_settings()
|
/drivers/net/phy/ |
D | phy.c | 328 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/ |
D | atl1e_ethtool.c | 50 ecmd->phy_address = 0; in atl1e_get_settings()
|
/drivers/infiniband/hw/nes/ |
D | nes_nic.c | 1503 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/ |
D | bnx2x_ethtool.c | 240 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/ |
D | cxgb4_ethtool.c | 577 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/ |
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() 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/ |
D | netxen_nic_ethtool.c | 160 ecmd->phy_address = adapter->physical_port; in netxen_nic_get_settings()
|
/drivers/net/usb/ |
D | rtl8150.c | 815 ecmd->phy_address = dev->phy; in rtl8150_get_settings()
|
D | catc.c | 702 cmd->phy_address = 0; in catc_get_settings()
|
/drivers/net/ethernet/sfc/ |
D | mcdi_port.c | 518 ecmd->phy_address = phy_cfg->port; in efx_mcdi_phy_get_settings()
|
/drivers/net/ethernet/brocade/bna/ |
D | bnad_ethtool.c | 266 cmd->phy_address = 0; in bnad_get_settings()
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | cxgb4vf_main.c | 1308 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/ |
D | ks8695net.c | 877 cmd->phy_address = 0; in ks8695_wan_get_settings()
|