Home
last modified time | relevance | path

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

12

/linux/net/caif/
H A Dcfcnfg.c64 enum cfctrl_srv serv, u8 phyid,
134 u8 phyid) in cfcnfg_get_phyinfo_rcu() argument
139 if (phy->id == phyid) in cfcnfg_get_phyinfo_rcu()
234 l->phyid = res; in caif_connect_req_to_link_param()
249 l->phyid = dev_info->id; in caif_connect_req_to_link_param()
315 phy = cfcnfg_get_phyinfo_rcu(cfg, param.phyid); in caif_connect_client()
341 caif_assert(param.phyid == phy->id); in caif_connect_client()
343 param.phyid); in caif_connect_client()
345 param.phyid); in caif_connect_client()
354 cfctrl_enum_req(cfg->ctrl, param.phyid); in caif_connect_client()
[all …]
H A Dcfmuxl.c45 int phyid);
65 int cfmuxl_set_dnlayer(struct cflayer *layr, struct cflayer *dn, u8 phyid) in cfmuxl_set_dnlayer() argument
104 struct cflayer *cfmuxl_remove_dnlayer(struct cflayer *layr, u8 phyid) in cfmuxl_remove_dnlayer() argument
108 int idx = phyid % DN_CACHE_SIZE; in cfmuxl_remove_dnlayer()
112 dn = get_from_id(&muxl->frml_list, phyid); in cfmuxl_remove_dnlayer()
247 int phyid) in cfmuxl_ctrlcmd() argument
255 if (cfsrvl_phyid_match(layer, phyid) && layer->ctrlcmd) { in cfmuxl_ctrlcmd()
263 layer->ctrlcmd(layer, ctrl, phyid); in cfmuxl_ctrlcmd()
H A Dcffrml.c31 int phyid);
35 struct cflayer *cffrml_create(u16 phyid, bool use_fcs) in cffrml_create() argument
51 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "frm%d", phyid); in cffrml_create()
53 this->layer.id = phyid; in cffrml_create()
177 int phyid) in cffrml_ctrlcmd() argument
H A Dcfctrl.c32 int phyid);
80 p1->phyid == p2->phyid && in param_eq()
230 cfpkt_addbdy(pkt, (param->priority << 3) | param->phyid); in cfctrl_linkup_request()
289 cfpkt_info(pkt)->dev_info->id = param->phyid; in cfctrl_linkup_request()
382 linkparam.phyid = physlinkid; in cfctrl_link_setup()
548 int phyid) in cfctrl_ctrlcmd() argument
565 if (p->param.phyid == phyid) { in cfctrl_ctrlcmd()
569 phyid); in cfctrl_ctrlcmd()
H A Dcaif_usb.c79 int phyid) in cfusbl_ctrlcmd() argument
85 static struct cflayer *cfusbl_create(int phyid, const u8 ethaddr[ETH_ALEN], in cfusbl_create() argument
99 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "usb%d", phyid); in cfusbl_create()
100 this->layer.id = phyid; in cfusbl_create()
H A Dcfserl.c32 int phyid);
189 int phyid) in cfserl_ctrlcmd() argument
191 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfserl_ctrlcmd()
H A Dchnl_net.c148 int phyid) in chnl_flowctrl_cb() argument
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H 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()
/linux/include/net/caif/
H A Dcfmuxl.h16 struct cflayer *cfmuxl_remove_dnlayer(struct cflayer *layr, u8 phyid);
17 int cfmuxl_set_dnlayer(struct cflayer *layr, struct cflayer *up, u8 phyid);
H A Dcfctrl.h44 enum cfctrl_srv serv, u8 phyid,
61 u8 phyid; /* (U2-U0) Physical interface to connect */ member
H A Dcffrml.h13 struct cflayer *cffrml_create(u16 phyid, bool use_fcs);
H A Dcaif_layer.h216 int phyid);
/linux/drivers/net/ethernet/8390/
H 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()
/linux/drivers/net/ethernet/socionext/
H 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()
/linux/drivers/net/usb/
H A Dasix_devices.c1073 u32 phyid; in ax88178_reset() local
1119 phyid = asix_get_phyid(dev); in ax88178_reset()
1120 netdev_dbg(dev->net, "PHYID=0x%08x\n", phyid); in ax88178_reset()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn201/
H A Ddcn201_resource.c392 #define link_regs(id, phyid)\ argument
395 UNIPHY_DCN2_REG_LIST(phyid) \
/linux/drivers/net/ethernet/ti/
H A Dcpsw.c1378 u32 phyid; in cpsw_probe_dt() local
1387 phyid = be32_to_cpup(parp+1); in cpsw_probe_dt()
1396 PHY_ID_FMT, mdio->name, phyid); in cpsw_probe_dt()
/linux/drivers/scsi/pm8001/
H A Dpm80xx_hwi.c3391 le32_to_cpu(pPayload->phyid) & 0xFF; in mpi_phy_start_resp()
3685 u32 phyid = in mpi_phy_stop_resp() local
3686 le32_to_cpu(pPayload->phyid) & 0xFF; in mpi_phy_stop_resp()
3687 struct pm8001_phy *phy = &pm8001_ha->phy[phyid]; in mpi_phy_stop_resp()
3690 pm8001_dbg(pm8001_ha, MSG, "phy:0x%x status:0x%x tag 0x%x\n", phyid, in mpi_phy_stop_resp()
4894 u32 operation, u32 phyid, in mpi_set_phy_profile_req() argument
4911 cpu_to_le32(((operation & 0xF) << 8) | (phyid & 0xFF)); in mpi_set_phy_profile_req()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn303/
H A Ddcn303_resource.c800 #define link_regs(id, phyid)\ argument
803 UNIPHY_DCN2_REG_LIST(phyid), \
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/
H A Ddcn302_resource.c845 #define link_regs(id, phyid)\ argument
848 UNIPHY_DCN2_REG_LIST(phyid), \
/linux/drivers/scsi/aic94xx/
H A Daic94xx_reg_def.h46 #define LmBLKRST_COMBIST(phyid) (1 << (24 + phyid)) argument
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn301/
H A Ddcn301_resource.c352 #define link_regs(id, phyid)\ argument
355 UNIPHY_DCN2_REG_LIST(phyid), \
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn21/
H A Ddcn21_resource.c1203 #define link_regs(id, phyid)\ argument
1206 UNIPHY_DCN2_REG_LIST(phyid), \
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/
H A Ddcn316_resource.c390 #define link_regs(id, phyid)\ argument
393 UNIPHY_DCN2_REG_LIST(phyid), \
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/
H A Ddcn314_resource.c408 #define link_regs(id, phyid)\ argument
411 UNIPHY_DCN2_REG_LIST(phyid), \

12