Home
last modified time | relevance | path

Searched refs:eeprom_len (Results 1 – 25 of 32) sorted by relevance

12

/drivers/net/ethernet/mellanox/mlxsw/
Dcore_env.c218 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlxsw_env_get_module_info()
226 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in mlxsw_env_get_module_info()
229 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlxsw_env_get_module_info()
245 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlxsw_env_get_module_info()
247 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN / 2; in mlxsw_env_get_module_info()
261 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in mlxsw_env_get_module_info()
263 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlxsw_env_get_module_info()
/drivers/net/usb/
Dsr9800.h191 u8 eeprom_len; member
Dsr9800.c443 return data->eeprom_len; in sr_get_eeprom_len()
737 data->eeprom_len = SR9800_EEPROM_LEN; in sr9800_bind()
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c1261 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in nfp_port_get_module_info()
1264 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in nfp_port_get_module_info()
1276 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in nfp_port_get_module_info()
1279 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in nfp_port_get_module_info()
1284 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in nfp_port_get_module_info()
/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c1457 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in hns3_get_module_info()
1461 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hns3_get_module_info()
1466 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hns3_get_module_info()
1469 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in hns3_get_module_info()
1474 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in hns3_get_module_info()
/drivers/net/ethernet/pensando/ionic/
Dionic_ethtool.c802 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ionic_get_module_info()
807 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in ionic_get_module_info()
813 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ionic_get_module_info()
/drivers/net/ethernet/huawei/hinic/
Dhinic_ethtool.c1722 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in hinic_get_module_info()
1726 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hinic_get_module_info()
1731 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in hinic_get_module_info()
1735 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hinic_get_module_info()
1740 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in hinic_get_module_info()
Dhinic_port.h726 u16 eeprom_len; member
/drivers/net/ethernet/sfc/
Dmcdi_port_common.c1074 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in efx_mcdi_phy_get_module_info()
1077 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in efx_mcdi_phy_get_module_info()
1083 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in efx_mcdi_phy_get_module_info()
/drivers/net/wireless/intel/iwlegacy/
Ddebug.c462 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/chelsio/cxgb4/
Dcxgb4_ethtool.c2016 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in cxgb4_get_module_info()
2020 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in cxgb4_get_module_info()
2022 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN / 2; in cxgb4_get_module_info()
2041 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in cxgb4_get_module_info()
2044 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in cxgb4_get_module_info()
/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c2047 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in mlx4_en_get_module_info()
2052 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in mlx4_en_get_module_info()
2055 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in mlx4_en_get_module_info()
2060 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in mlx4_en_get_module_info()
2064 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlx4_en_get_module_info()
/drivers/net/ethernet/sfc/falcon/
Dqt202x_phy.c454 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in qt202x_phy_get_module_info()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c1695 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlx5e_get_module_info()
1702 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in mlx5e_get_module_info()
1705 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlx5e_get_module_info()
1710 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlx5e_get_module_info()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c1005 int first_word, last_word, eeprom_len; in ixgbe_get_eeprom() local
1016 eeprom_len = last_word - first_word + 1; in ixgbe_get_eeprom()
1018 eeprom_buff = kmalloc_array(eeprom_len, sizeof(u16), GFP_KERNEL); in ixgbe_get_eeprom()
1022 ret_val = hw->eeprom.ops.read_buffer(hw, first_word, eeprom_len, in ixgbe_get_eeprom()
1026 for (i = 0; i < eeprom_len; i++) in ixgbe_get_eeprom()
3333 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ixgbe_get_module_info()
3337 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in ixgbe_get_module_info()
/drivers/net/wireless/admtek/
Dadm8211.h566 size_t eeprom_len; member
Dadm8211.c126 priv->eeprom_len = words * 2; in adm8211_read_eeprom()
127 priv->eeprom = kmalloc(priv->eeprom_len, GFP_KERNEL); in adm8211_read_eeprom()
/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c5223 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in i40e_get_module_info()
5227 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in i40e_get_module_info()
5233 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in i40e_get_module_info()
5236 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in i40e_get_module_info()
5252 modinfo->eeprom_len = I40E_MODULE_QSFP_MAX_LEN; in i40e_get_module_info()
5255 modinfo->eeprom_len = I40E_MODULE_QSFP_MAX_LEN; in i40e_get_module_info()
5260 modinfo->eeprom_len = I40E_MODULE_QSFP_MAX_LEN; in i40e_get_module_info()
/drivers/net/dsa/mv88e6xxx/
Dchip.h297 u32 eeprom_len; member
/drivers/net/ethernet/intel/ice/
Dice_ethtool.c3881 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ice_get_module_info()
3885 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in ice_get_module_info()
3888 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ice_get_module_info()
3902 modinfo->eeprom_len = ICE_MODULE_QSFP_MAX_LEN; in ice_get_module_info()
3905 modinfo->eeprom_len = ICE_MODULE_QSFP_MAX_LEN; in ice_get_module_info()
/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c1947 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in qede_get_module_info()
1952 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in qede_get_module_info()
1956 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in qede_get_module_info()
/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c1345 modinfo->eeprom_len = PAGE_DATA_LEN; in be_get_module_info()
1348 modinfo->eeprom_len = 2 * PAGE_DATA_LEN; in be_get_module_info()
/drivers/net/wireless/intel/iwlwifi/dvm/
Ddebugfs.c254 size_t eeprom_len = priv->eeprom_blob_size; in iwl_dbgfs_nvm_read() local
255 buf_size = 4 * eeprom_len + 256; in iwl_dbgfs_nvm_read()
257 if (eeprom_len % 16) in iwl_dbgfs_nvm_read()
272 for (ofs = 0 ; ofs < eeprom_len ; ofs += 16) { in iwl_dbgfs_nvm_read()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c2959 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in bnxt_get_module_info()
2961 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in bnxt_get_module_info()
2966 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in bnxt_get_module_info()
2970 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in bnxt_get_module_info()
/drivers/net/phy/
Dsfp.c2265 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in sfp_module_info()
2268 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in sfp_module_info()

12