/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_mdio.c | 33 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/ |
D | mdio-mux-bcm-iproc.c | 108 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/ |
D | asix_devices.c | 681 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()
|
D | sr9800.c | 734 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/ |
D | pcnet_cs.c | 879 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/ |
D | sni_ave.c | 491 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/ |
D | pm80xx_hwi.h | 534 __le32 phyid; member 545 __le32 phyid; member
|
D | pm80xx_hwi.c | 3126 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/ |
D | command_table2.c | 202 ps.param.phyid = cmd->phy_id_to_atom(cntl->transmitter); in transmitter_control_v1_6()
|
/drivers/scsi/aic94xx/ |
D | aic94xx_reg_def.h | 46 #define LmBLKRST_COMBIST(phyid) (1 << (24 + phyid)) argument
|
/drivers/net/ethernet/ti/ |
D | cpsw.c | 2596 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/ |
D | atomfirmware.h | 2997 uint8_t phyid; // 0=UNIPHYA, 1=UNIPHYB, 2=UNIPHYC, 3=UNIPHYD, 4= UNIPHYE 5=UNIPHYF member
|
/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_resource.c | 484 #define link_regs(id, phyid)\ argument 487 UNIPHY_DCN2_REG_LIST(phyid), \
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 4057 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()
|