/linux/net/caif/ |
H A D | cfcnfg.c | 64 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 D | cfsrvl.c | 28 int phyid) in cfservl_ctrlcmd() argument 38 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfservl_ctrlcmd() 43 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfservl_ctrlcmd() 46 if (phyid != service->dev_info.id) in cfservl_ctrlcmd() 50 CAIF_CTRLCMD_FLOW_OFF_IND, phyid); in cfservl_ctrlcmd() 54 if (phyid != service->dev_info.id) in cfservl_ctrlcmd() 59 phyid); in cfservl_ctrlcmd() 66 CAIF_CTRLCMD_FLOW_OFF_IND, phyid); in cfservl_ctrlcmd() 73 CAIF_CTRLCMD_FLOW_ON_IND, phyid); in cfservl_ctrlcmd() 80 CAIF_CTRLCMD_REMOTE_SHUTDOWN_IND, phyid); in cfservl_ctrlcmd() [all …]
|
H A D | cfmuxl.c | 45 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 D | cffrml.c | 31 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
|
H A D | cfctrl.c | 32 int phyid); 80 p1->phyid == p2->phyid && in param_eq() 230 cfpkt_addbdy(pkt, (param->priority << 3) | param->phyid); in cfctrl_linkup_request() 291 cfpkt_info(pkt)->dev_info->id = param->phyid; in cfctrl_linkup_request() 402 linkparam.phyid = physlinkid; in cfctrl_recv() 556 int phyid) in cfctrl_ctrlcmd() argument 573 if (p->param.phyid == phyid) { in cfctrl_ctrlcmd() 577 phyid); in cfctrl_ctrlcmd()
|
H A D | caif_usb.c | 79 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 D | cfserl.c | 32 int phyid); 189 int phyid) in cfserl_ctrlcmd() argument 191 layr->up->ctrlcmd(layr->up, ctrl, phyid); in cfserl_ctrlcmd()
|
H A D | chnl_net.c | 148 int phyid) in chnl_flowctrl_cb() argument
|
/linux/drivers/net/mdio/ |
H A D | mdio-mux-bcm-iproc.c | 104 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()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A 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()
|
/linux/include/net/caif/ |
H A D | cfmuxl.h | 16 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 D | cfctrl.h | 44 enum cfctrl_srv serv, u8 phyid, 61 u8 phyid; /* (U2-U0) Physical interface to connect */ member
|
H A D | cffrml.h | 13 struct cflayer *cffrml_create(u16 phyid, bool use_fcs);
|
H A D | caif_layer.h | 216 int phyid);
|
H A D | cfsrvl.h | 36 bool cfsrvl_phyid_match(struct cflayer *layer, int phyid);
|
/linux/drivers/net/ethernet/8390/ |
H A D | pcnet_cs.c | 888 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/usb/ |
H A D | sr9800.c | 735 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()
|
H A D | asix_devices.c | 1060 u32 phyid; in ax88178_reset() local 1106 phyid = asix_get_phyid(dev); in ax88178_reset() 1107 netdev_dbg(dev->net, "PHYID=0x%08x\n", phyid); in ax88178_reset()
|
/linux/drivers/net/ethernet/socionext/ |
H A D | sni_ave.c | 492 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/gpu/drm/amd/display/dc/bios/ |
H A D | command_table2.c | 274 ps.param.phyid = cmd->phy_id_to_atom(cntl->transmitter); in transmitter_control_v1_6() 341 dig_v1_7.phyid = cmd->phy_id_to_atom(cntl->transmitter); in transmitter_control_v1_7()
|
/linux/drivers/scsi/pm8001/ |
H A D | pm80xx_hwi.h | 537 __le32 phyid; member 548 __le32 phyid; member
|
H A D | pm80xx_hwi.c | 3336 le32_to_cpu(pPayload->phyid) & 0xFF; in mpi_phy_start_resp() 3627 u32 phyid = in mpi_phy_stop_resp() local 3628 le32_to_cpu(pPayload->phyid) & 0xFF; in mpi_phy_stop_resp() 3629 struct pm8001_phy *phy = &pm8001_ha->phy[phyid]; in mpi_phy_stop_resp() 3631 phyid, status); in mpi_phy_stop_resp() 4814 u32 operation, u32 phyid, in mpi_set_phy_profile_req() argument 4831 cpu_to_le32(((operation & 0xF) << 8) | (phyid & 0xFF)); in mpi_set_phy_profile_req()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn201/ |
H A D | dcn201_resource.c | 392 #define link_regs(id, phyid)\ argument 395 UNIPHY_DCN2_REG_LIST(phyid) \
|
/linux/drivers/net/ethernet/ti/ |
H A D | cpsw.c | 1331 u32 phyid; in cpsw_probe_dt() local 1340 phyid = be32_to_cpup(parp+1); in cpsw_probe_dt() 1349 PHY_ID_FMT, mdio->name, phyid); in cpsw_probe_dt()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/ |
H A D | dcn302_resource.c | 842 #define link_regs(id, phyid)\ argument 845 UNIPHY_DCN2_REG_LIST(phyid), \
|