Home
last modified time | relevance | path

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

12

/drivers/net/mdio/
A Dmdio-mux-bcm-iproc.c104 u16 phyid, u32 reg, u16 val, u32 op) in start_miim_ops() argument
115 param |= phyid << MDIO_PARAM_PHY_ID; in start_miim_ops()
136 static int iproc_mdiomux_read_c22(struct mii_bus *bus, int phyid, int reg) in iproc_mdiomux_read_c22() argument
141 ret = start_miim_ops(md->base, false, phyid, reg, 0, MDIO_CTRL_READ_OP); in iproc_mdiomux_read_c22()
148 static int iproc_mdiomux_read_c45(struct mii_bus *bus, int phyid, int devad, in iproc_mdiomux_read_c45() argument
154 ret = start_miim_ops(md->base, true, phyid, reg | devad << 16, 0, in iproc_mdiomux_read_c45()
163 int phyid, int reg, u16 val) in iproc_mdiomux_write_c22() argument
169 ret = start_miim_ops(md->base, false, phyid, reg, val, in iproc_mdiomux_write_c22()
178 int phyid, int devad, int reg, u16 val) in iproc_mdiomux_write_c45() argument
184 ret = start_miim_ops(md->base, true, phyid, reg | devad << 16, val, in iproc_mdiomux_write_c45()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A 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/ethernet/8390/
A Dpcnet_cs.c888 u_int tmp, phyid; in mii_phy_probe() local
895 phyid = tmp << 16; in mii_phy_probe()
896 phyid |= mdio_read(mii_addr, i, MII_PHYID_REG2); in mii_phy_probe()
897 phyid &= MII_PHYID_REV_MASK; in mii_phy_probe()
898 netdev_dbg(dev, "MII at %d is 0x%08x\n", i, phyid); in mii_phy_probe()
899 if (phyid == AM79C9XX_HOME_PHY) { in mii_phy_probe()
901 } else if (phyid != AM79C9XX_ETH_PHY) { in mii_phy_probe()
/drivers/gpu/drm/amd/display/dc/bios/
A Dcommand_table2.c273 ps.param.phyid = cmd->phy_id_to_atom(cntl->transmitter); in transmitter_control_v1_6()
355 dig_v1_7.phyid = cmd->phy_id_to_atom(cntl->transmitter); in transmitter_control_v1_7()
381 struct dc_link *link = get_link_by_phy_id(bp->base.ctx->dc, dig_v1_7.phyid); in transmitter_control_v1_7()
393 process_phy_transition_init_params.phy_id = dig_v1_7.phyid; in transmitter_control_v1_7()
/drivers/net/usb/
A Dsr9800.c735 u32 phyid; in sr9800_bind() local
802 phyid = sr_get_phyid(dev); in sr9800_bind()
803 netdev_dbg(dev->net, "PHYID=0x%08x\n", phyid); in sr9800_bind()
A Dasix_devices.c1059 u32 phyid; in ax88178_reset() local
1105 phyid = asix_get_phyid(dev); in ax88178_reset()
1106 netdev_dbg(dev->net, "PHYID=0x%08x\n", phyid); in ax88178_reset()
/drivers/net/ethernet/socionext/
A Dsni_ave.c492 static int ave_mdiobus_read(struct mii_bus *bus, int phyid, int regnum) in ave_mdiobus_read() argument
502 writel((phyid << 8) | regnum, priv->base + AVE_MDIOAR); in ave_mdiobus_read()
513 phyid, regnum); in ave_mdiobus_read()
520 static int ave_mdiobus_write(struct mii_bus *bus, int phyid, int regnum, in ave_mdiobus_write() argument
531 writel((phyid << 8) | regnum, priv->base + AVE_MDIOAR); in ave_mdiobus_write()
545 phyid, regnum); in ave_mdiobus_write()
/drivers/scsi/pm8001/
A Dpm80xx_hwi.h537 __le32 phyid; member
548 __le32 phyid; member
A Dpm80xx_hwi.c3392 le32_to_cpu(pPayload->phyid) & 0xFF; in mpi_phy_start_resp()
3686 u32 phyid = in mpi_phy_stop_resp() local
3687 le32_to_cpu(pPayload->phyid) & 0xFF; in mpi_phy_stop_resp()
3688 struct pm8001_phy *phy = &pm8001_ha->phy[phyid]; in mpi_phy_stop_resp()
3691 pm8001_dbg(pm8001_ha, MSG, "phy:0x%x status:0x%x tag 0x%x\n", phyid, in mpi_phy_stop_resp()
4898 u32 operation, u32 phyid, in mpi_set_phy_profile_req() argument
4915 cpu_to_le32(((operation & 0xF) << 8) | (phyid & 0xFF)); in mpi_set_phy_profile_req()
/drivers/gpu/drm/amd/display/dc/resource/dcn201/
A Ddcn201_resource.c392 #define link_regs(id, phyid)\ argument
395 UNIPHY_DCN2_REG_LIST(phyid) \
/drivers/net/ethernet/ti/
A Dcpsw.c1359 u32 phyid; in cpsw_probe_dt() local
1368 phyid = be32_to_cpup(parp+1); in cpsw_probe_dt()
1377 PHY_ID_FMT, mdio->name, phyid); in cpsw_probe_dt()
/drivers/gpu/drm/amd/display/dc/resource/dcn302/
A Ddcn302_resource.c841 #define link_regs(id, phyid)\ argument
844 UNIPHY_DCN2_REG_LIST(phyid), \
/drivers/gpu/drm/amd/display/dc/resource/dcn303/
A Ddcn303_resource.c797 #define link_regs(id, phyid)\ argument
800 UNIPHY_DCN2_REG_LIST(phyid), \
/drivers/gpu/drm/amd/display/dc/resource/dcn21/
A Ddcn21_resource.c1203 #define link_regs(id, phyid)\ argument
1206 UNIPHY_DCN2_REG_LIST(phyid), \
/drivers/gpu/drm/amd/display/dc/resource/dcn301/
A Ddcn301_resource.c352 #define link_regs(id, phyid)\ argument
355 UNIPHY_DCN2_REG_LIST(phyid), \
/drivers/scsi/aic94xx/
A Daic94xx_reg_def.h46 #define LmBLKRST_COMBIST(phyid) (1 << (24 + phyid)) argument
/drivers/gpu/drm/amd/display/dc/resource/dcn32/
A Ddcn32_resource.h345 #define UNIPHY_DCN2_REG_LIST_RI(id, phyid) \ argument
346 SRI_ARR_ALPHABET(CLOCK_ENABLE, SYMCLK, id, phyid), \
347 SRI_ARR_ALPHABET(CHANNEL_XBAR_CNTL, UNIPHY, id, phyid)
/drivers/gpu/drm/amd/display/dc/resource/dcn316/
A Ddcn316_resource.c390 #define link_regs(id, phyid)\ argument
393 UNIPHY_DCN2_REG_LIST(phyid), \
/drivers/gpu/drm/amd/display/dc/resource/dcn314/
A Ddcn314_resource.c408 #define link_regs(id, phyid)\ argument
411 UNIPHY_DCN2_REG_LIST(phyid), \
/drivers/gpu/drm/amd/display/dc/resource/dcn31/
A Ddcn31_resource.c400 #define link_regs(id, phyid)\ argument
403 UNIPHY_DCN2_REG_LIST(phyid), \
/drivers/gpu/drm/amd/display/dc/resource/dcn321/
A Ddcn321_resource.c315 #define link_regs_init(id, phyid)\ argument
318 UNIPHY_DCN2_REG_LIST_RI(id, phyid)\
/drivers/gpu/drm/amd/display/dc/resource/dcn35/
A Ddcn35_resource.c337 #define link_regs_init(id, phyid)\ argument
340 UNIPHY_DCN2_REG_LIST_RI(id, phyid)\
/drivers/gpu/drm/amd/display/dc/resource/dcn315/
A Ddcn315_resource.c402 #define link_regs(id, phyid)\ argument
405 UNIPHY_DCN2_REG_LIST(phyid), \
/drivers/gpu/drm/amd/display/dc/resource/dcn351/
A Ddcn351_resource.c317 #define link_regs_init(id, phyid)\ argument
320 UNIPHY_DCN2_REG_LIST_RI(id, phyid)\
/drivers/gpu/drm/amd/display/dc/resource/dcn36/
A Ddcn36_resource.c322 #define link_regs_init(id, phyid)\ argument
325 UNIPHY_DCN2_REG_LIST_RI(id, phyid)\

Completed in 892 milliseconds

12