Home
last modified time | relevance | path

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

12

/linux/include/linux/platform_data/
H A Dmv88e6xxx.h15 u32 eeprom_len; member
H A Ddsa.h25 int eeprom_len; member
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_env.c327 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlxsw_env_get_module_info()
335 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in mlxsw_env_get_module_info()
338 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlxsw_env_get_module_info()
355 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlxsw_env_get_module_info()
357 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN / 2; in mlxsw_env_get_module_info()
372 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in mlxsw_env_get_module_info()
374 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlxsw_env_get_module_info()
/linux/drivers/net/usb/
H A Dsr9800.h191 u8 eeprom_len; member
H A Dsr9800.c443 return data->eeprom_len; in sr_get_eeprom_len()
738 data->eeprom_len = SR9800_EEPROM_LEN; in sr9800_bind()
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_ethtool.c1708 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in hinic_get_module_info()
1712 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hinic_get_module_info()
1717 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in hinic_get_module_info()
1721 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hinic_get_module_info()
1726 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in hinic_get_module_info()
H A Dhinic_port.h737 u16 eeprom_len; member
/linux/net/ethtool/
H A Deeprom.c43 if (offset >= modinfo->eeprom_len) in fallback_set_params()
/linux/drivers/net/ethernet/sfc/siena/
H A Dmcdi_port_common.c1078 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()
/linux/drivers/net/ethernet/sfc/
H A Dmcdi_port_common.c1072 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()
/linux/drivers/net/wireless/intel/iwlegacy/
H A 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()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_ethtool.c928 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ionic_get_module_info()
933 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in ionic_get_module_info()
939 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ionic_get_module_info()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c2030 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in cxgb4_get_module_info()
2034 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in cxgb4_get_module_info()
2036 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN / 2; in cxgb4_get_module_info()
2055 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in cxgb4_get_module_info()
2058 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in cxgb4_get_module_info()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c2039 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlx4_en_get_module_info()
2044 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in mlx4_en_get_module_info()
2047 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlx4_en_get_module_info()
2052 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in mlx4_en_get_module_info()
2056 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlx4_en_get_module_info()
/linux/drivers/net/ethernet/sfc/falcon/
H A Dqt202x_phy.c454 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in qt202x_phy_get_module_info()
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c2043 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in nfp_port_get_module_info()
2046 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in nfp_port_get_module_info()
2058 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in nfp_port_get_module_info()
2061 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in nfp_port_get_module_info()
2066 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in nfp_port_get_module_info()
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ethtool.c1005 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in aq_ethtool_get_module_info()
1008 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in aq_ethtool_get_module_info()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c1006 int first_word, last_word, eeprom_len; in ixgbe_get_eeprom() local
1017 eeprom_len = last_word - first_word + 1; in ixgbe_get_eeprom()
1019 eeprom_buff = kmalloc_array(eeprom_len, sizeof(u16), GFP_KERNEL); in ixgbe_get_eeprom()
1023 ret_val = hw->eeprom.ops.read_buffer(hw, first_word, eeprom_len, in ixgbe_get_eeprom()
1027 for (i = 0; i < eeprom_len; i++) in ixgbe_get_eeprom()
3357 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ixgbe_get_module_info()
3361 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in ixgbe_get_module_info()
/linux/drivers/net/wireless/admtek/
H A Dadm8211.h566 size_t eeprom_len; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c1926 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlx5e_get_module_info()
1933 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in mlx5e_get_module_info()
1936 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlx5e_get_module_info()
1941 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlx5e_get_module_info()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c5541 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in i40e_get_module_info()
5545 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in i40e_get_module_info()
5551 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in i40e_get_module_info()
5554 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in i40e_get_module_info()
5570 modinfo->eeprom_len = I40E_MODULE_QSFP_MAX_LEN; in i40e_get_module_info()
5573 modinfo->eeprom_len = I40E_MODULE_QSFP_MAX_LEN; in i40e_get_module_info()
5578 modinfo->eeprom_len = I40E_MODULE_QSFP_MAX_LEN; in i40e_get_module_info()
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_ethtool.c1353 modinfo->eeprom_len = PAGE_DATA_LEN; in be_get_module_info()
1356 modinfo->eeprom_len = 2 * PAGE_DATA_LEN; in be_get_module_info()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c4485 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ice_get_module_info()
4489 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in ice_get_module_info()
4492 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ice_get_module_info()
4506 modinfo->eeprom_len = ICE_MODULE_QSFP_MAX_LEN; in ice_get_module_info()
4509 modinfo->eeprom_len = ICE_MODULE_QSFP_MAX_LEN; in ice_get_module_info()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Ddebugfs.c250 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()
/linux/include/uapi/linux/
H A Dethtool.h396 __u32 eeprom_len; member

12