Home
last modified time | relevance | path

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

12

/Linux-v4.19/net/caif/
Dcfsrvl.c29 int phyid) in cfservl_ctrlcmd() argument
39 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfservl_ctrlcmd()
44 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfservl_ctrlcmd()
47 if (phyid != service->dev_info.id) in cfservl_ctrlcmd()
51 CAIF_CTRLCMD_FLOW_OFF_IND, phyid); in cfservl_ctrlcmd()
55 if (phyid != service->dev_info.id) in cfservl_ctrlcmd()
60 phyid); in cfservl_ctrlcmd()
67 CAIF_CTRLCMD_FLOW_OFF_IND, phyid); in cfservl_ctrlcmd()
74 CAIF_CTRLCMD_FLOW_ON_IND, phyid); in cfservl_ctrlcmd()
81 CAIF_CTRLCMD_REMOTE_SHUTDOWN_IND, phyid); in cfservl_ctrlcmd()
[all …]
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 …]
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()
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()
170 int phyid) in cffrml_ctrlcmd() argument
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()
287 cfpkt_info(pkt)->dev_info->id = param->phyid; in cfctrl_linkup_request()
398 linkparam.phyid = physlinkid; in cfctrl_recv()
552 int phyid) in cfctrl_ctrlcmd() argument
569 if (p->param.phyid == phyid) { in cfctrl_ctrlcmd()
573 phyid); in cfctrl_ctrlcmd()
Dcaif_usb.c79 int phyid) in cfusbl_ctrlcmd() argument
85 static struct cflayer *cfusbl_create(int phyid, 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()
Dcfserl.c32 int phyid);
185 int phyid) in cfserl_ctrlcmd() argument
187 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfserl_ctrlcmd()
Dchnl_net.c167 int phyid) in chnl_flowctrl_cb() argument
/Linux-v4.19/drivers/scsi/libsas/
Dsas_dump.c43 void sas_dprint_porte(int phyid, enum port_event pe) in sas_dprint_porte() argument
45 SAS_DPRINTK("phy%d: port event: %s\n", phyid, sas_porte_str[pe]); in sas_dprint_porte()
47 void sas_dprint_phye(int phyid, enum phy_event pe) in sas_dprint_phye() argument
49 SAS_DPRINTK("phy%d: phy event: %s\n", phyid, sas_phye_str[pe]); in sas_dprint_phye()
Dsas_dump.h27 void sas_dprint_porte(int phyid, enum port_event pe);
28 void sas_dprint_phye(int phyid, enum phy_event pe);
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mdio.c40 u8 phyid; member
49 static int hclge_mdio_write(struct mii_bus *bus, int phyid, int regnum, in hclge_mdio_write() argument
64 hnae3_set_field(mdio_cmd->phyid, HCLGE_MDIO_PHYID_M, in hclge_mdio_write()
65 HCLGE_MDIO_PHYID_S, phyid); in hclge_mdio_write()
88 static int hclge_mdio_read(struct mii_bus *bus, int phyid, int regnum) in hclge_mdio_read() argument
102 hnae3_set_field(mdio_cmd->phyid, HCLGE_MDIO_PHYID_M, in hclge_mdio_read()
103 HCLGE_MDIO_PHYID_S, phyid); in hclge_mdio_read()
/Linux-v4.19/drivers/net/phy/
Dmdio-mux-bcm-iproc.c119 u16 phyid, u32 reg, u16 val, u32 op) in start_miim_ops() argument
130 param |= phyid << MDIO_PARAM_PHY_ID; in start_miim_ops()
151 static int iproc_mdiomux_read(struct mii_bus *bus, int phyid, int reg) in iproc_mdiomux_read() argument
156 ret = start_miim_ops(md->base, phyid, reg, 0, MDIO_CTRL_READ_OP); in iproc_mdiomux_read()
164 int phyid, int reg, u16 val) in iproc_mdiomux_write() argument
170 ret = start_miim_ops(md->base, phyid, reg, val, MDIO_CTRL_WRITE_OP); in iproc_mdiomux_write()
/Linux-v4.19/include/net/caif/
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);
Dcfsrvl.h37 int phyid);
39 bool cfsrvl_phyid_match(struct cflayer *layer, int phyid);
Dcfctrl.h44 enum cfctrl_srv serv, u8 phyid,
61 u8 phyid; /* (U2-U0) Physical interface to connect */ member
Dcffrml.h13 struct cflayer *cffrml_create(u16 phyid, bool use_fcs);
Dcaif_layer.h218 int phyid);
/Linux-v4.19/drivers/net/usb/
Dasix_devices.c693 u32 phyid; in ax88772_bind() local
746 phyid = asix_get_phyid(dev); in ax88772_bind()
747 netdev_dbg(dev->net, "PHYID=0x%08x\n", phyid); in ax88772_bind()
882 u32 phyid; in ax88178_reset() local
918 phyid = asix_get_phyid(dev); in ax88178_reset()
919 netdev_dbg(dev->net, "PHYID=0x%08x\n", phyid); in ax88178_reset()
Dsr9800.c735 u32 phyid; in sr9800_bind() local
800 phyid = sr_get_phyid(dev); in sr9800_bind()
801 netdev_dbg(dev->net, "PHYID=0x%08x\n", phyid); in sr9800_bind()
/Linux-v4.19/drivers/net/ethernet/8390/
Dpcnet_cs.c874 u_int tmp, phyid; in mii_phy_probe() local
881 phyid = tmp << 16; in mii_phy_probe()
882 phyid |= mdio_read(mii_addr, i, MII_PHYID_REG2); in mii_phy_probe()
883 phyid &= MII_PHYID_REV_MASK; in mii_phy_probe()
884 netdev_dbg(dev, "MII at %d is 0x%08x\n", i, phyid); in mii_phy_probe()
885 if (phyid == AM79C9XX_HOME_PHY) { in mii_phy_probe()
887 } else if (phyid != AM79C9XX_ETH_PHY) { in mii_phy_probe()
/Linux-v4.19/drivers/net/ethernet/socionext/
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-v4.19/drivers/scsi/pm8001/
Dpm80xx_hwi.h530 __le32 phyid; member
541 __le32 phyid; member
Dpm80xx_hwi.c3114 le32_to_cpu(pPayload->phyid); in mpi_phy_start_resp()
3386 u32 phyid = in mpi_phy_stop_resp() local
3387 le32_to_cpu(pPayload->phyid); in mpi_phy_stop_resp()
3388 struct pm8001_phy *phy = &pm8001_ha->phy[phyid]; in mpi_phy_stop_resp()
3391 phyid, status)); in mpi_phy_stop_resp()
4579 u32 operation, u32 phyid, u32 length, u32 *buf) in mpi_set_phy_profile_req() argument
4593 payload.ppc_phyid = (((operation & 0xF) << 8) | (phyid & 0xFF)); in mpi_set_phy_profile_req()
/Linux-v4.19/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()
/Linux-v4.19/drivers/scsi/aic94xx/
Daic94xx_reg_def.h64 #define LmBLKRST_COMBIST(phyid) (1 << (24 + phyid)) argument

12