Home
last modified time | relevance | path

Searched refs:phy_id (Results 451 - 475 of 659) sorted by relevance

1...<<11121314151617181920>>...27

/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dphy-ctxt.c159 .phy_id = cpu_to_le32(ctxt->id), in iwl_mvm_phy_send_rlc()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp_psp.h121 uint32_t phy_id; member
/kernel/linux/linux-6.6/scripts/mod/
H A Ddevicetable-offsets.c166 DEVID_FIELD(mdio_device_id, phy_id); in main()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
H A Dfec_main.c1998 int phy_id; in fec_enet_mii_probe() local
2011 for (phy_id = 0; (phy_id < PHY_MAX_ADDR); phy_id++) { in fec_enet_mii_probe()
2012 if (!mdiobus_is_registered_device(fep->mii_bus, phy_id)) in fec_enet_mii_probe()
2020 if (phy_id >= PHY_MAX_ADDR) { in fec_enet_mii_probe()
2023 phy_id = 0; in fec_enet_mii_probe()
2027 PHY_ID_FMT, mdio_bus_id, phy_id); in fec_enet_mii_probe()
/kernel/linux/linux-5.10/drivers/scsi/pm8001/
H A Dpm80xx_hwi.h280 u8 phy_id; member
327 u8 phy_id; member
365 __le32 phy_id; member
H A Dpm8001_init.c136 * @phy_id: phy id.
138 static void pm8001_phy_init(struct pm8001_hba_info *pm8001_ha, int phy_id) in pm8001_phy_init() argument
140 struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; in pm8001_phy_init()
144 sas_phy->enabled = (phy_id < pm8001_ha->chip->n_phy) ? 1 : 0; in pm8001_phy_init()
152 sas_phy->id = phy_id; in pm8001_phy_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/phy/
H A Ddsi_phy.c466 int phy_id = phy->id; in msm_dsi_phy_set_src_pll() local
469 if ((phy_id >= DSI_MAX) || (pll_id >= DSI_MAX)) in msm_dsi_phy_set_src_pll()
474 if (phy->cfg->src_pll_truthtable[phy_id][pll_id]) in msm_dsi_phy_set_src_pll()
/kernel/linux/linux-6.6/drivers/net/ethernet/asix/
H A Dax88796c_main.c968 char phy_id[MII_BUS_ID_SIZE + 3]; in ax88796c_probe() local
1075 snprintf(phy_id, MII_BUS_ID_SIZE + 3, PHY_ID_FMT, in ax88796c_probe()
1077 ax_local->phydev = phy_connect(ax_local->ndev, phy_id, in ax88796c_probe()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_acpi.c64 uint8_t phy_id; member
1054 xcc_info->phy_id = (obj->integer.value >> 32) & 0xFF; in amdgpu_acpi_get_xcc_info()
1171 if (xcc_info->phy_id == xcc_id) { in amdgpu_acpi_get_mem_info()
/kernel/linux/linux-6.6/drivers/net/phy/
H A Dmediatek-ge-soc.c412 switch (phydev->drv->phy_id) { in tx_amp_fill_result()
491 if (phydev->drv->phy_id == MTK_GPHY_ID_MT7988) in tx_r50_fill_result()
1109 switch (phydev->drv->phy_id) { in mt798x_phy_config_init()
/kernel/linux/linux-6.6/drivers/scsi/pm8001/
H A Dpm80xx_hwi.h280 u8 phy_id; member
327 u8 phy_id; member
365 __le32 phy_id; member
H A Dpm8001_init.c154 * @phy_id: phy id.
156 static void pm8001_phy_init(struct pm8001_hba_info *pm8001_ha, int phy_id) in pm8001_phy_init() argument
158 struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; in pm8001_phy_init()
164 sas_phy->enabled = (phy_id < pm8001_ha->chip->n_phy) ? 1 : 0; in pm8001_phy_init()
170 sas_phy->id = phy_id; in pm8001_phy_init()
/kernel/linux/linux-5.10/drivers/scsi/libsas/
H A Dsas_ata.c271 res = sas_get_report_phy_sata(dev->parent, phy->phy_id, in sas_get_ata_info()
276 phy->phy_id, res); in sas_get_ata_info()
/kernel/linux/linux-6.6/drivers/scsi/mpi3mr/
H A Dmpi3mr.h523 * @phy_id: Unique phy id within a port
534 u8 phy_id; member
592 * @phy_id: Phy identifier provided in device page 0
603 u8 phy_id; member
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/
H A D3c59x.c759 static int mdio_read(struct net_device *dev, int phy_id, int location);
760 static void mdio_write(struct net_device *vp, int phy_id, int location, int value);
1429 vp->mii.phy_id = vp->phys[0]; in vortex_probe1()
3152 static int mdio_read(struct net_device *dev, int phy_id, int location) in mdio_read() argument
3156 int read_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read()
3190 static void mdio_write(struct net_device *dev, int phy_id, int location, int value) in mdio_write() argument
3193 int write_cmd = 0x50020000 | (phy_id << 23) | (location << 18) | value; in mdio_write()
/kernel/linux/linux-6.6/drivers/net/ethernet/3com/
H A D3c59x.c759 static int mdio_read(struct net_device *dev, int phy_id, int location);
760 static void mdio_write(struct net_device *vp, int phy_id, int location, int value);
1431 vp->mii.phy_id = vp->phys[0]; in vortex_probe1()
3154 static int mdio_read(struct net_device *dev, int phy_id, int location) in mdio_read() argument
3158 int read_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read()
3192 static void mdio_write(struct net_device *dev, int phy_id, int location, int value) in mdio_write() argument
3195 int write_cmd = 0x50020000 | (phy_id << 23) | (location << 18) | value; in mdio_write()
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-phy-v2.c928 unsigned int phy_id = phy_data->phydev->phy_id; in xgbe_phy_finisar_phy_quirks() local
933 if ((phy_id & 0xfffffff0) != 0x01ff0cc0) in xgbe_phy_finisar_phy_quirks()
970 unsigned int phy_id = phy_data->phydev->phy_id; in xgbe_phy_belfuse_phy_quirks() local
987 if ((phy_id & 0xfffffff0) != 0x03625d10) in xgbe_phy_belfuse_phy_quirks()
1096 phydev->phy_id); in xgbe_phy_find_phy_device()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
H A De1000_82575.c827 u16 phy_id; in igb_get_phy_id_82575() local
882 ret_val = igb_read_phy_reg_sgmii_82575(hw, PHY_ID1, &phy_id); in igb_get_phy_id_82575()
885 phy_id, phy->addr); in igb_get_phy_id_82575()
889 if (phy_id == M88_VENDOR) in igb_get_phy_id_82575()
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A Dcpsw.c631 phy = phy_connect(priv->ndev, slave->data->phy_id, in cpsw_slave_open()
636 slave->data->phy_id, slave->slave_num, in cpsw_slave_open()
1332 parp = of_get_property(slave_node, "phy_id", &lenp); in cpsw_probe_dt()
1354 dev_err(&pdev->dev, "Invalid slave[%d] phy_id property\n", i); in cpsw_probe_dt()
1366 snprintf(slave_data->phy_id, sizeof(slave_data->phy_id), in cpsw_probe_dt()
1371 "No slave[%d] phy_id, phy-handle, or fixed-link property\n", in cpsw_probe_dt()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/
H A De1000_82575.c827 u16 phy_id; in igb_get_phy_id_82575() local
882 ret_val = igb_read_phy_reg_sgmii_82575(hw, PHY_ID1, &phy_id); in igb_get_phy_id_82575()
885 phy_id, phy->addr); in igb_get_phy_id_82575()
889 if (phy_id == M88_VENDOR) in igb_get_phy_id_82575()
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A Dcpsw.c623 phy = phy_connect(priv->ndev, slave->data->phy_id, in cpsw_slave_open()
628 slave->data->phy_id, slave->slave_num, in cpsw_slave_open()
1315 parp = of_get_property(slave_node, "phy_id", &lenp); in cpsw_probe_dt()
1336 dev_err(&pdev->dev, "Invalid slave[%d] phy_id property\n", i); in cpsw_probe_dt()
1348 snprintf(slave_data->phy_id, sizeof(slave_data->phy_id), in cpsw_probe_dt()
1353 "No slave[%d] phy_id, phy-handle, or fixed-link property\n", in cpsw_probe_dt()
/kernel/linux/linux-5.10/drivers/net/ethernet/via/
H A Dvia-velocity.c888 if (PHYID_GET_PHY_ID(vptr->phy_id) == PHYID_CICADA_CS8201) in velocity_set_media_mode()
1189 switch (PHYID_GET_PHY_ID(vptr->phy_id)) { in mii_init()
2398 miidata->phy_id = readb(&regs->MIIADR) & 0x1f; in velocity_mii_ioctl()
2843 vptr->phy_id = MII_GET_PHY_ID(vptr->mac_regs); in velocity_probe()
3071 if (PHYID_GET_PHY_ID(vptr->phy_id) == PHYID_CICADA_CS8201) in velocity_set_wol()
/kernel/linux/linux-6.6/drivers/net/ethernet/via/
H A Dvia-velocity.c888 if (PHYID_GET_PHY_ID(vptr->phy_id) == PHYID_CICADA_CS8201) in velocity_set_media_mode()
1189 switch (PHYID_GET_PHY_ID(vptr->phy_id)) { in mii_init()
2398 miidata->phy_id = readb(&regs->MIIADR) & 0x1f; in velocity_mii_ioctl()
2844 vptr->phy_id = MII_GET_PHY_ID(vptr->mac_regs); in velocity_probe()
3069 if (PHYID_GET_PHY_ID(vptr->phy_id) == PHYID_CICADA_CS8201) in velocity_set_wol()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c2540 /* Convert phy_id from older PRTAD/DEVAD format */ in cxgb_ioctl()
2542 !mdio_phy_id_is_c45(data->phy_id) && in cxgb_ioctl()
2543 (data->phy_id & 0x1f00) && in cxgb_ioctl()
2544 !(data->phy_id & 0xe0e0)) in cxgb_ioctl()
2545 data->phy_id = mdio_phy_id_c45(data->phy_id >> 8, in cxgb_ioctl()
2546 data->phy_id & 0x1f); in cxgb_ioctl()
/kernel/linux/linux-5.10/drivers/net/ethernet/renesas/
H A Dsh_eth.c2012 char phy_id[MII_BUS_ID_SIZE + 3]; in sh_eth_phy_init() local
2014 snprintf(phy_id, sizeof(phy_id), PHY_ID_FMT, in sh_eth_phy_init()
2015 mdp->mii_bus->id, mdp->phy_id); in sh_eth_phy_init()
2017 phydev = phy_connect(ndev, phy_id, sh_eth_adjust_link, in sh_eth_phy_init()
3246 mdp->phy_id = pd->phy; in sh_eth_drv_probe()

Completed in 71 milliseconds

1...<<11121314151617181920>>...27