Home
last modified time | relevance | path

Searched refs:sfp_data (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/amd/xgbe/
Dxgbe-phy-v2.c1266 char *sfp_data = (char *)&sfp_ascii; in xgbe_phy_sfp_eeprom_info() local
1269 memcpy(sfp_data, &sfp_eeprom->base[XGBE_SFP_BASE_VENDOR_NAME], in xgbe_phy_sfp_eeprom_info()
1271 sfp_data[XGBE_SFP_BASE_VENDOR_NAME_LEN] = '\0'; in xgbe_phy_sfp_eeprom_info()
1273 sfp_data); in xgbe_phy_sfp_eeprom_info()
1275 memcpy(sfp_data, &sfp_eeprom->base[XGBE_SFP_BASE_VENDOR_PN], in xgbe_phy_sfp_eeprom_info()
1277 sfp_data[XGBE_SFP_BASE_VENDOR_PN_LEN] = '\0'; in xgbe_phy_sfp_eeprom_info()
1279 sfp_data); in xgbe_phy_sfp_eeprom_info()
1281 memcpy(sfp_data, &sfp_eeprom->base[XGBE_SFP_BASE_VENDOR_REV], in xgbe_phy_sfp_eeprom_info()
1283 sfp_data[XGBE_SFP_BASE_VENDOR_REV_LEN] = '\0'; in xgbe_phy_sfp_eeprom_info()
1285 sfp_data); in xgbe_phy_sfp_eeprom_info()
[all …]
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82598.c956 u16 sfp_data = 0; in ixgbe_read_i2c_phy_82598() local
1002 MDIO_MMD_PMAPMD, &sfp_data); in ixgbe_read_i2c_phy_82598()
1004 *eeprom_data = (u8)(sfp_data >> 8); in ixgbe_read_i2c_phy_82598()
/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c1397 u8 sfp_data[STD_SFP_INFO_MAX_SIZE]; in hinic_get_sfp_type() local
1404 err = hinic_get_sfp_eeprom(hwdev, sfp_data, &len); in hinic_get_sfp_type()
1408 *data0 = sfp_data[0]; in hinic_get_sfp_type()
1409 *data1 = sfp_data[1]; in hinic_get_sfp_type()
Dhinic_ethtool.c1752 u8 sfp_data[STD_SFP_INFO_MAX_SIZE]; in hinic_get_module_eeprom() local
1761 err = hinic_get_sfp_eeprom(nic_dev->hwdev, sfp_data, &len); in hinic_get_module_eeprom()
1765 memcpy(data, sfp_data + ee->offset, ee->len); in hinic_get_module_eeprom()
/drivers/net/phy/
Dsfp.c330 static const struct sff_data sfp_data = { variable
338 { .compatible = "sff,sfp", .data = &sfp_data, },
2981 sff = &sfp_data; in sfp_probe()
/drivers/scsi/qla2xxx/
Dqla_mbx.c6822 u8 *sfp_data; in qla2x00_read_sfp_dev() local
6824 memset(ha->sfp_data, 0, SFP_DEV_SIZE); in qla2x00_read_sfp_dev()
6827 sfp_data = ha->sfp_data; in qla2x00_read_sfp_dev()
6837 rval = qla2x00_read_sfp(vha, phys_addr, sfp_data, in qla2x00_read_sfp_dev()
6855 memcpy(buf, sfp_data, sz); in qla2x00_read_sfp_dev()
6860 sfp_data += SFP_BLOCK_SIZE; in qla2x00_read_sfp_dev()
Dqla_os.c4439 ha->sfp_data = dma_alloc_coherent(&ha->pdev->dev, in qla2x00_mem_alloc()
4441 if (!ha->sfp_data) { in qla2x00_mem_alloc()
4502 ha->sfp_data, ha->sfp_data_dma); in qla2x00_mem_alloc()
4919 if (ha->sfp_data) in qla2x00_mem_free()
4920 dma_free_coherent(&ha->pdev->dev, SFP_DEV_SIZE, ha->sfp_data, in qla2x00_mem_free()
4922 ha->sfp_data = NULL; in qla2x00_mem_free()
Dqla_def.h4457 void *sfp_data; member
Dqla_init.c4063 struct sff_8247_a0 *a0 = (struct sff_8247_a0 *)vha->hw->sfp_data; in qla2xxx_print_sfp_info()
4184 a = (struct sff_8247_a0 *)vha->hw->sfp_data; in qla24xx_detect_sfp()