Home
last modified time | relevance | path

Searched refs:sfp_base (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/soc/fsl/
Dguts.c121 void __iomem *sfp_base; in fsl_guts_get_soc_uid() local
128 sfp_base = of_iomap(np, 0); in fsl_guts_get_soc_uid()
129 if (!sfp_base) { in fsl_guts_get_soc_uid()
134 uid = ioread32(sfp_base + offset); in fsl_guts_get_soc_uid()
136 uid |= ioread32(sfp_base + offset + 4); in fsl_guts_get_soc_uid()
138 iounmap(sfp_base); in fsl_guts_get_soc_uid()
/Linux-v6.1/drivers/net/ethernet/amd/xgbe/
Dxgbe-phy-v2.c363 enum xgbe_sfp_base sfp_base; member
751 switch (phy_data->sfp_base) { in xgbe_phy_sfp_phy_settings()
763 if (phy_data->sfp_base == XGBE_SFP_BASE_1000_T) { in xgbe_phy_sfp_phy_settings()
783 switch (phy_data->sfp_base) { in xgbe_phy_sfp_phy_settings()
812 switch (phy_data->sfp_base) { in xgbe_phy_sfp_phy_settings()
829 u8 *sfp_base, min, max; in xgbe_phy_sfp_bit_rate() local
831 sfp_base = sfp_eeprom->base; in xgbe_phy_sfp_bit_rate()
850 return ((sfp_base[XGBE_SFP_BASE_BR] >= min) && in xgbe_phy_sfp_bit_rate()
851 (sfp_base[XGBE_SFP_BASE_BR] <= max)); in xgbe_phy_sfp_bit_rate()
1079 if (phy_data->sfp_base != XGBE_SFP_BASE_1000_T) in xgbe_phy_sfp_external_phy()
[all …]