Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/amd/xgbe/
Dxgbe-phy-v2.c1195 char *sfp_data = (char *)&sfp_ascii; in xgbe_phy_sfp_eeprom_info() local
1198 memcpy(sfp_data, &sfp_eeprom->base[XGBE_SFP_BASE_VENDOR_NAME], in xgbe_phy_sfp_eeprom_info()
1200 sfp_data[XGBE_SFP_BASE_VENDOR_NAME_LEN] = '\0'; in xgbe_phy_sfp_eeprom_info()
1202 sfp_data); in xgbe_phy_sfp_eeprom_info()
1204 memcpy(sfp_data, &sfp_eeprom->base[XGBE_SFP_BASE_VENDOR_PN], in xgbe_phy_sfp_eeprom_info()
1206 sfp_data[XGBE_SFP_BASE_VENDOR_PN_LEN] = '\0'; in xgbe_phy_sfp_eeprom_info()
1208 sfp_data); in xgbe_phy_sfp_eeprom_info()
1210 memcpy(sfp_data, &sfp_eeprom->base[XGBE_SFP_BASE_VENDOR_REV], in xgbe_phy_sfp_eeprom_info()
1212 sfp_data[XGBE_SFP_BASE_VENDOR_REV_LEN] = '\0'; in xgbe_phy_sfp_eeprom_info()
1214 sfp_data); in xgbe_phy_sfp_eeprom_info()
[all …]
/Linux-v5.4/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()
/Linux-v5.4/drivers/net/phy/
Dsfp.c227 static const struct sff_data sfp_data = { variable
235 { .compatible = "sff,sfp", .data = &sfp_data, },
1885 sff = sfp->type = &sfp_data; in sfp_probe()
/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_mbx.c6523 u8 *sfp_data; in qla2x00_read_sfp_dev() local
6525 memset(ha->sfp_data, 0, SFP_DEV_SIZE); in qla2x00_read_sfp_dev()
6528 sfp_data = ha->sfp_data; in qla2x00_read_sfp_dev()
6538 rval = qla2x00_read_sfp(vha, phys_addr, sfp_data, in qla2x00_read_sfp_dev()
6556 memcpy(buf, sfp_data, sz); in qla2x00_read_sfp_dev()
6561 sfp_data += SFP_BLOCK_SIZE; in qla2x00_read_sfp_dev()
Dqla_os.c4231 ha->sfp_data = dma_alloc_coherent(&ha->pdev->dev, in qla2x00_mem_alloc()
4233 if (!ha->sfp_data) { in qla2x00_mem_alloc()
4252 ha->sfp_data, ha->sfp_data_dma); in qla2x00_mem_alloc()
4663 if (ha->sfp_data) in qla2x00_mem_free()
4664 dma_free_coherent(&ha->pdev->dev, SFP_DEV_SIZE, ha->sfp_data, in qla2x00_mem_free()
4666 ha->sfp_data = NULL; in qla2x00_mem_free()
Dqla_def.h3943 void *sfp_data; member
Dqla_init.c3420 struct sff_8247_a0 *a0 = (struct sff_8247_a0 *)vha->hw->sfp_data; in qla2xxx_print_sfp_info()
3515 a = (struct sff_8247_a0 *)vha->hw->sfp_data; in qla24xx_detect_sfp()