sfp_eeprom 362 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c struct xgbe_sfp_eeprom sfp_eeprom; sfp_eeprom 822 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c static bool xgbe_phy_sfp_bit_rate(struct xgbe_sfp_eeprom *sfp_eeprom, sfp_eeprom 827 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c sfp_base = sfp_eeprom->base; sfp_eeprom 903 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c struct xgbe_sfp_eeprom *sfp_eeprom = &phy_data->sfp_eeprom; sfp_eeprom 910 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c if (memcmp(&sfp_eeprom->base[XGBE_SFP_BASE_VENDOR_NAME], sfp_eeprom 917 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c if (memcmp(&sfp_eeprom->base[XGBE_SFP_BASE_VENDOR_PN], sfp_eeprom 1082 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c u8 *sfp_extd = phy_data->sfp_eeprom.extd; sfp_eeprom 1098 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c u8 *sfp_extd = phy_data->sfp_eeprom.extd; sfp_eeprom 1126 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c struct xgbe_sfp_eeprom *sfp_eeprom = &phy_data->sfp_eeprom; sfp_eeprom 1129 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c sfp_base = sfp_eeprom->base; sfp_eeprom 1167 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c xgbe_phy_sfp_bit_rate(sfp_eeprom, XGBE_SFP_SPEED_10000)) sfp_eeprom 1192 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c struct xgbe_sfp_eeprom *sfp_eeprom) sfp_eeprom 1198 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c memcpy(sfp_data, &sfp_eeprom->base[XGBE_SFP_BASE_VENDOR_NAME], sfp_eeprom 1204 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c memcpy(sfp_data, &sfp_eeprom->base[XGBE_SFP_BASE_VENDOR_PN], sfp_eeprom 1210 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c memcpy(sfp_data, &sfp_eeprom->base[XGBE_SFP_BASE_VENDOR_REV], sfp_eeprom 1216 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c memcpy(sfp_data, &sfp_eeprom->extd[XGBE_SFP_BASE_VENDOR_SN], sfp_eeprom 1236 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c struct xgbe_sfp_eeprom sfp_eeprom; sfp_eeprom 1251 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c &sfp_eeprom, sizeof(sfp_eeprom)); sfp_eeprom 1259 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c if (!xgbe_phy_sfp_verify_eeprom(sfp_eeprom.base[XGBE_SFP_BASE_CC], sfp_eeprom 1260 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c sfp_eeprom.base, sfp_eeprom 1261 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c sizeof(sfp_eeprom.base) - 1)) { sfp_eeprom 1266 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c if (!xgbe_phy_sfp_verify_eeprom(sfp_eeprom.extd[XGBE_SFP_EXTD_CC], sfp_eeprom 1267 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c sfp_eeprom.extd, sfp_eeprom 1268 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c sizeof(sfp_eeprom.extd) - 1)) { sfp_eeprom 1274 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c if (memcmp(&phy_data->sfp_eeprom, &sfp_eeprom, sizeof(sfp_eeprom))) { sfp_eeprom 1278 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c xgbe_phy_sfp_eeprom_info(pdata, &sfp_eeprom); sfp_eeprom 1280 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c memcpy(&phy_data->sfp_eeprom, &sfp_eeprom, sizeof(sfp_eeprom)); sfp_eeprom 1323 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c memset(&phy_data->sfp_eeprom, 0, sizeof(phy_data->sfp_eeprom)); sfp_eeprom 1378 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c struct xgbe_sfp_eeprom *sfp_eeprom; sfp_eeprom 1434 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c sfp_eeprom = (struct xgbe_sfp_eeprom *)eeprom_data; sfp_eeprom 1436 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c if (XGBE_SFP_DIAGS_SUPPORTED(sfp_eeprom)) { sfp_eeprom 1453 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c !XGBE_SFP_DIAGS_SUPPORTED(sfp_eeprom)) sfp_eeprom 1486 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c if (XGBE_SFP_DIAGS_SUPPORTED(&phy_data->sfp_eeprom)) {