/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_env.c | 329 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlxsw_env_get_module_info() 337 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in mlxsw_env_get_module_info() 340 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlxsw_env_get_module_info() 357 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlxsw_env_get_module_info() 359 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN / 2; in mlxsw_env_get_module_info() 374 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in mlxsw_env_get_module_info() 376 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlxsw_env_get_module_info()
|
/drivers/net/usb/ |
D | sr9800.h | 191 u8 eeprom_len; member
|
D | sr9800.c | 443 return data->eeprom_len; in sr_get_eeprom_len() 738 data->eeprom_len = SR9800_EEPROM_LEN; in sr9800_bind()
|
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_ethtool.c | 1719 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in hinic_get_module_info() 1723 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hinic_get_module_info() 1728 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in hinic_get_module_info() 1732 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hinic_get_module_info() 1737 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in hinic_get_module_info()
|
D | hinic_port.h | 727 u16 eeprom_len; member
|
/drivers/net/ethernet/pensando/ionic/ |
D | ionic_ethtool.c | 795 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ionic_get_module_info() 800 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in ionic_get_module_info() 806 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ionic_get_module_info()
|
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_ethtool.c | 1663 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in nfp_port_get_module_info() 1666 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in nfp_port_get_module_info() 1678 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in nfp_port_get_module_info() 1681 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in nfp_port_get_module_info() 1686 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in nfp_port_get_module_info()
|
/drivers/net/ethernet/sfc/ |
D | mcdi_port_common.c | 1072 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in efx_mcdi_phy_get_module_info() 1075 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in efx_mcdi_phy_get_module_info() 1081 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in efx_mcdi_phy_get_module_info()
|
/drivers/net/ethernet/sfc/siena/ |
D | mcdi_port_common.c | 1078 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in efx_siena_mcdi_phy_get_module_info() 1081 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in efx_siena_mcdi_phy_get_module_info() 1087 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in efx_siena_mcdi_phy_get_module_info()
|
/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_ethtool.c | 1770 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in hns3_get_module_info() 1774 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hns3_get_module_info() 1779 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hns3_get_module_info() 1782 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in hns3_get_module_info() 1787 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in hns3_get_module_info()
|
/drivers/net/wireless/intel/iwlegacy/ |
D | debug.c | 462 size_t eeprom_len = il->cfg->eeprom_size; in il_dbgfs_nvm_read() local 463 buf_size = 4 * eeprom_len + 256; in il_dbgfs_nvm_read() 465 if (eeprom_len % 16) { in il_dbgfs_nvm_read() 486 for (ofs = 0; ofs < eeprom_len; ofs += 16) { in il_dbgfs_nvm_read()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 2058 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in mlx4_en_get_module_info() 2063 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in mlx4_en_get_module_info() 2066 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in mlx4_en_get_module_info() 2071 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in mlx4_en_get_module_info() 2075 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlx4_en_get_module_info()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ethtool.c | 2033 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in cxgb4_get_module_info() 2037 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in cxgb4_get_module_info() 2039 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN / 2; in cxgb4_get_module_info() 2058 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in cxgb4_get_module_info() 2061 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in cxgb4_get_module_info()
|
/drivers/net/ethernet/sfc/falcon/ |
D | qt202x_phy.c | 454 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in qt202x_phy_get_module_info()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 1004 int first_word, last_word, eeprom_len; in ixgbe_get_eeprom() local 1015 eeprom_len = last_word - first_word + 1; in ixgbe_get_eeprom() 1017 eeprom_buff = kmalloc_array(eeprom_len, sizeof(u16), GFP_KERNEL); in ixgbe_get_eeprom() 1021 ret_val = hw->eeprom.ops.read_buffer(hw, first_word, eeprom_len, in ixgbe_get_eeprom() 1025 for (i = 0; i < eeprom_len; i++) in ixgbe_get_eeprom() 3326 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ixgbe_get_module_info() 3330 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in ixgbe_get_module_info()
|
/drivers/net/wireless/admtek/ |
D | adm8211.h | 566 size_t eeprom_len; member
|
D | adm8211.c | 125 priv->eeprom_len = words * 2; in adm8211_read_eeprom() 126 priv->eeprom = kmalloc(priv->eeprom_len, GFP_KERNEL); in adm8211_read_eeprom()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_ethtool.c | 1747 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlx5e_get_module_info() 1754 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in mlx5e_get_module_info() 1757 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlx5e_get_module_info() 1762 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlx5e_get_module_info()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 5521 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in i40e_get_module_info() 5525 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in i40e_get_module_info() 5531 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in i40e_get_module_info() 5534 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in i40e_get_module_info() 5550 modinfo->eeprom_len = I40E_MODULE_QSFP_MAX_LEN; in i40e_get_module_info() 5553 modinfo->eeprom_len = I40E_MODULE_QSFP_MAX_LEN; in i40e_get_module_info() 5558 modinfo->eeprom_len = I40E_MODULE_QSFP_MAX_LEN; in i40e_get_module_info()
|
/drivers/net/dsa/mv88e6xxx/ |
D | chip.h | 353 u32 eeprom_len; member
|
/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool.c | 4056 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ice_get_module_info() 4060 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in ice_get_module_info() 4063 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ice_get_module_info() 4077 modinfo->eeprom_len = ICE_MODULE_QSFP_MAX_LEN; in ice_get_module_info() 4080 modinfo->eeprom_len = ICE_MODULE_QSFP_MAX_LEN; in ice_get_module_info()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_ethtool.c | 1351 modinfo->eeprom_len = PAGE_DATA_LEN; in be_get_module_info() 1354 modinfo->eeprom_len = 2 * PAGE_DATA_LEN; in be_get_module_info()
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_ethtool.c | 1971 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in qede_get_module_info() 1976 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in qede_get_module_info() 1980 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in qede_get_module_info()
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | debugfs.c | 250 size_t eeprom_len = priv->eeprom_blob_size; in iwl_dbgfs_nvm_read() local 251 buf_size = 4 * eeprom_len + 256; in iwl_dbgfs_nvm_read() 253 if (eeprom_len % 16) in iwl_dbgfs_nvm_read() 268 for (ofs = 0 ; ofs < eeprom_len ; ofs += 16) { in iwl_dbgfs_nvm_read()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 3208 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in bnxt_get_module_info() 3210 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in bnxt_get_module_info() 3215 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in bnxt_get_module_info() 3219 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in bnxt_get_module_info()
|