Home
last modified time | relevance | path

Searched refs:phy_index (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c1446 u8 phy_index; in bnx2x_set_mdio_emac_per_phy() local
1448 for (phy_index = INT_PHY; phy_index < params->num_phys; in bnx2x_set_mdio_emac_per_phy()
1449 phy_index++) in bnx2x_set_mdio_emac_per_phy()
1451 params->phy[phy_index].mdio_ctrl); in bnx2x_set_mdio_emac_per_phy()
3191 u8 phy_index; in bnx2x_phy_read() local
3195 for (phy_index = 0; phy_index < params->num_phys; phy_index++) { in bnx2x_phy_read()
3196 if (params->phy[phy_index].addr == phy_addr) { in bnx2x_phy_read()
3198 &params->phy[phy_index], devad, in bnx2x_phy_read()
3208 u8 phy_index; in bnx2x_phy_write() local
3212 for (phy_index = 0; phy_index < params->num_phys; phy_index++) { in bnx2x_phy_write()
[all …]
/linux/drivers/phy/qualcomm/
H A Dphy-qcom-qmp-pcie-multiphy.c673 int phy_index; in qmp_pcie_multiphy_probe() local
706 for (phy_index = 0; phy_index < qmp_data->mode_cfg->num_phys; phy_index++) { in qmp_pcie_multiphy_probe()
707 qmp[phy_index].dev = dev; in qmp_pcie_multiphy_probe()
708 qmp[phy_index].cfg = qmp_data->mode_cfg->cfgs[phy_index]; in qmp_pcie_multiphy_probe()
709 ret = qmp_pcie_probe_phy(&qmp[phy_index], dev->of_node, &phys[phy_index]); in qmp_pcie_multiphy_probe()
/linux/drivers/scsi/isci/
H A Dport.h200 (((port)->active_phy_mask & (1 << (phy)->phy_index)) != 0)
263 u32 phy_index);
H A Dphy.h92 u8 phy_index; member
402 u8 phy_index);
H A Dphy.c82 struct isci_phy *table = iphy - iphy->phy_index; in phy_to_host()
122 int phy_idx = iphy->phy_index; in sci_phy_link_layer_initialization()
660 phy_to_host(iphy)->id, iphy->phy_index, \
665 phy_to_host(iphy)->id, iphy->phy_index, \
1372 struct isci_port *iport, u8 phy_index) in sci_phy_construct() argument
1378 iphy->phy_index = phy_index; in sci_phy_construct()
H A Dhost.h377 ((controller)->invalid_phy_mask &= ~(1 << (phy)->phy_index))
/linux/drivers/hwmon/
H A Dlenovo-ec-sensors.c49 unsigned short phy_index = page * 256 + index; in get_ec_reg() local
53 m_index = phy_index & GENMASK(14, 2); in get_ec_reg()
56 onebyte = inb_p(MCHP_EMI0_EC_DATA_BYTE0 + (phy_index & GENMASK(1, 0))); in get_ec_reg()
/linux/drivers/net/fddi/skfp/
H A Dsmt.c55 static int phy_index(struct s_smc *smc, int phy);
1289 latency->lt_phyout_idx1 = phy_index(smc,0) ; in smt_fill_latency()
1296 latency->lt_phyout_idx2 = phy_index(smc,1) ; in smt_fill_latency()
1410 lem->lem_phy_index = phy_index(smc,phy) ; in smt_fill_lem()
1732 static int phy_index(struct s_smc *smc, int phy) in phy_index() function
1792 return phy_index(smc, e - ENTITY_PHY(0)); in entity_to_index()
/linux/net/ethtool/
H A Dnetlink.h296 u32 phy_index; member
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_transport.c1022 int phy_index = mpt3sas_phy->phy_id; in mpt3sas_transport_add_host_phy() local
1026 phy = sas_phy_alloc(parent_dev, phy_index); in mpt3sas_transport_add_host_phy()
1092 int phy_index = mpt3sas_phy->phy_id; in mpt3sas_transport_add_expander_phy() local
1095 phy = sas_phy_alloc(parent_dev, phy_index); in mpt3sas_transport_add_expander_phy()
/linux/drivers/usb/gadget/udc/
H A Dtegra-xudc.c806 int phy_index; in tegra_xudc_update_data_role() local
817 phy_index = tegra_xudc_get_phy_index(xudc, usbphy); in tegra_xudc_update_data_role()
819 phy_index); in tegra_xudc_update_data_role()
821 if (!xudc->suspended && phy_index != -1) { in tegra_xudc_update_data_role()
822 xudc->curr_utmi_phy = xudc->utmi_phy[phy_index]; in tegra_xudc_update_data_role()
823 xudc->curr_usb3_phy = xudc->usb3_phy[phy_index]; in tegra_xudc_update_data_role()
/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_transport.c886 int phy_index = mr_sas_phy->phy_id; in mpi3mr_add_host_phy() local
890 phy = sas_phy_alloc(parent_dev, phy_index); in mpi3mr_add_host_phy()
957 int phy_index = mr_sas_phy->phy_id; in mpi3mr_add_expander_phy() local
960 phy = sas_phy_alloc(parent_dev, phy_index); in mpi3mr_add_expander_phy()