Home
last modified time | relevance | path

Searched refs:phyid (Results 1 – 14 of 14) sorted by relevance

/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mdio.c33 u8 phyid; member
42 static int hclge_mdio_write(struct mii_bus *bus, int phyid, int regnum, in hclge_mdio_write() argument
57 hnae3_set_field(mdio_cmd->phyid, HCLGE_MDIO_PHYID_M, in hclge_mdio_write()
58 HCLGE_MDIO_PHYID_S, (u32)phyid); in hclge_mdio_write()
81 static int hclge_mdio_read(struct mii_bus *bus, int phyid, int regnum) in hclge_mdio_read() argument
95 hnae3_set_field(mdio_cmd->phyid, HCLGE_MDIO_PHYID_M, in hclge_mdio_read()
96 HCLGE_MDIO_PHYID_S, (u32)phyid); in hclge_mdio_read()
/drivers/net/phy/
Dmdio-mux-bcm-iproc.c108 u16 phyid, u32 reg, u16 val, u32 op) in start_miim_ops() argument
119 param |= phyid << MDIO_PARAM_PHY_ID; in start_miim_ops()
140 static int iproc_mdiomux_read(struct mii_bus *bus, int phyid, int reg) in iproc_mdiomux_read() argument
145 ret = start_miim_ops(md->base, phyid, reg, 0, MDIO_CTRL_READ_OP); in iproc_mdiomux_read()
153 int phyid, int reg, u16 val) in iproc_mdiomux_write() argument
159 ret = start_miim_ops(md->base, phyid, reg, val, MDIO_CTRL_WRITE_OP); in iproc_mdiomux_write()
/drivers/net/usb/
Dasix_devices.c681 u32 phyid; in ax88772_bind() local
739 phyid = asix_get_phyid(dev); in ax88772_bind()
740 netdev_dbg(dev->net, "PHYID=0x%08x\n", phyid); in ax88772_bind()
875 u32 phyid; in ax88178_reset() local
911 phyid = asix_get_phyid(dev); in ax88178_reset()
912 netdev_dbg(dev->net, "PHYID=0x%08x\n", phyid); in ax88178_reset()
Dsr9800.c734 u32 phyid; in sr9800_bind() local
799 phyid = sr_get_phyid(dev); in sr9800_bind()
800 netdev_dbg(dev->net, "PHYID=0x%08x\n", phyid); in sr9800_bind()
/drivers/net/ethernet/8390/
Dpcnet_cs.c879 u_int tmp, phyid; in mii_phy_probe() local
886 phyid = tmp << 16; in mii_phy_probe()
887 phyid |= mdio_read(mii_addr, i, MII_PHYID_REG2); in mii_phy_probe()
888 phyid &= MII_PHYID_REV_MASK; in mii_phy_probe()
889 netdev_dbg(dev, "MII at %d is 0x%08x\n", i, phyid); in mii_phy_probe()
890 if (phyid == AM79C9XX_HOME_PHY) { in mii_phy_probe()
892 } else if (phyid != AM79C9XX_ETH_PHY) { in mii_phy_probe()
/drivers/net/ethernet/socionext/
Dsni_ave.c491 static int ave_mdiobus_read(struct mii_bus *bus, int phyid, int regnum) in ave_mdiobus_read() argument
501 writel((phyid << 8) | regnum, priv->base + AVE_MDIOAR); in ave_mdiobus_read()
512 phyid, regnum); in ave_mdiobus_read()
519 static int ave_mdiobus_write(struct mii_bus *bus, int phyid, int regnum, in ave_mdiobus_write() argument
530 writel((phyid << 8) | regnum, priv->base + AVE_MDIOAR); in ave_mdiobus_write()
544 phyid, regnum); in ave_mdiobus_write()
/drivers/scsi/pm8001/
Dpm80xx_hwi.h534 __le32 phyid; member
545 __le32 phyid; member
Dpm80xx_hwi.c3126 le32_to_cpu(pPayload->phyid); in mpi_phy_start_resp()
3399 u32 phyid = in mpi_phy_stop_resp() local
3400 le32_to_cpu(pPayload->phyid) & 0xFF; in mpi_phy_stop_resp()
3401 struct pm8001_phy *phy = &pm8001_ha->phy[phyid]; in mpi_phy_stop_resp()
3404 phyid, status)); in mpi_phy_stop_resp()
4652 u32 operation, u32 phyid, u32 length, u32 *buf) in mpi_set_phy_profile_req() argument
4666 payload.ppc_phyid = (((operation & 0xF) << 8) | (phyid & 0xFF)); in mpi_set_phy_profile_req()
/drivers/gpu/drm/amd/display/dc/bios/
Dcommand_table2.c202 ps.param.phyid = cmd->phy_id_to_atom(cntl->transmitter); in transmitter_control_v1_6()
/drivers/scsi/aic94xx/
Daic94xx_reg_def.h46 #define LmBLKRST_COMBIST(phyid) (1 << (24 + phyid)) argument
/drivers/net/ethernet/ti/
Dcpsw.c2596 u32 phyid; in cpsw_probe_dt() local
2605 phyid = be32_to_cpup(parp+1); in cpsw_probe_dt()
2614 PHY_ID_FMT, mdio->name, phyid); in cpsw_probe_dt()
/drivers/gpu/drm/amd/include/
Datomfirmware.h2997 uint8_t phyid; // 0=UNIPHYA, 1=UNIPHYB, 2=UNIPHYC, 3=UNIPHYD, 4= UNIPHYE 5=UNIPHYF member
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c484 #define link_regs(id, phyid)\ argument
487 UNIPHY_DCN2_REG_LIST(phyid), \
/drivers/net/ethernet/broadcom/
Dtg3.c4057 u32 phyid; in tg3_power_down_prepare() local
4095 phyid = phydev->drv->phy_id & phydev->drv->phy_id_mask; in tg3_power_down_prepare()
4096 if (phyid != PHY_ID_BCMAC131) { in tg3_power_down_prepare()
4097 phyid &= PHY_BCM_OUI_MASK; in tg3_power_down_prepare()
4098 if (phyid == PHY_BCM_OUI_1 || in tg3_power_down_prepare()
4099 phyid == PHY_BCM_OUI_2 || in tg3_power_down_prepare()
4100 phyid == PHY_BCM_OUI_3) in tg3_power_down_prepare()