Home
last modified time | relevance | path

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

/drivers/fmc/
Dfmc-dump.c54 pr_info("FMC: dumping eeprom 0x%x (%i) bytes\n", fmc->eeprom_len, in fmc_dump_eeprom()
55 fmc->eeprom_len); in fmc_dump_eeprom()
59 for (i = 0; i < fmc->eeprom_len; i += LINELEN, line += LINELEN) in fmc_dump_eeprom()
Dfmc-match.c61 if (fmc->eeprom_len && !fmc->eeprom) { in fmc_fill_id_info()
62 fmc->eeprom = kzalloc(fmc->eeprom_len, GFP_KERNEL); in fmc_fill_id_info()
66 ret = fmc->op->read_ee(fmc, 0, fmc->eeprom, fmc->eeprom_len); in fmc_fill_id_info()
Dfmc-core.c91 eelen = fmc->eeprom_len; in fmc_read_eeprom()
Dfmc-fakedev.c256 .eeprom_len = sizeof(ff_eeimg[0]),
/drivers/net/usb/
Dsr9800.h191 u8 eeprom_len; member
Dsr9800.c444 return data->eeprom_len; in sr_get_eeprom_len()
737 data->eeprom_len = SR9800_EEPROM_LEN; in sr9800_bind()
/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1927 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in mlx4_en_get_module_info()
1932 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in mlx4_en_get_module_info()
1935 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in mlx4_en_get_module_info()
1940 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in mlx4_en_get_module_info()
1944 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlx4_en_get_module_info()
/drivers/net/wireless/iwlegacy/
Ddebug.c493 size_t eeprom_len = il->cfg->eeprom_size; in il_dbgfs_nvm_read() local
494 buf_size = 4 * eeprom_len + 256; in il_dbgfs_nvm_read()
496 if (eeprom_len % 16) { in il_dbgfs_nvm_read()
517 for (ofs = 0; ofs < eeprom_len; ofs += 16) { in il_dbgfs_nvm_read()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c829 int first_word, last_word, eeprom_len; in ixgbe_get_eeprom() local
840 eeprom_len = last_word - first_word + 1; in ixgbe_get_eeprom()
842 eeprom_buff = kmalloc(sizeof(u16) * eeprom_len, GFP_KERNEL); in ixgbe_get_eeprom()
846 ret_val = hw->eeprom.ops.read_buffer(hw, first_word, eeprom_len, in ixgbe_get_eeprom()
850 for (i = 0; i < eeprom_len; i++) in ixgbe_get_eeprom()
3140 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ixgbe_get_module_info()
3144 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in ixgbe_get_module_info()
/drivers/net/ethernet/sfc/
Dqt202x_phy.c456 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in qt202x_phy_get_module_info()
Dmcdi_port.c801 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in efx_mcdi_phy_get_module_info()
/drivers/net/wireless/
Dadm8211.h565 size_t eeprom_len; member
Dadm8211.c130 priv->eeprom_len = words * 2; in adm8211_read_eeprom()
131 priv->eeprom = kmalloc(priv->eeprom_len, GFP_KERNEL); in adm8211_read_eeprom()
/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c1275 modinfo->eeprom_len = PAGE_DATA_LEN; in be_get_module_info()
1278 modinfo->eeprom_len = 2 * PAGE_DATA_LEN; in be_get_module_info()
/drivers/net/wireless/iwlwifi/dvm/
Ddebugfs.c294 size_t eeprom_len = priv->eeprom_blob_size; in iwl_dbgfs_nvm_read() local
295 buf_size = 4 * eeprom_len + 256; in iwl_dbgfs_nvm_read()
297 if (eeprom_len % 16) in iwl_dbgfs_nvm_read()
312 for (ofs = 0 ; ofs < eeprom_len ; ofs += 16) { in iwl_dbgfs_nvm_read()
/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2792 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in igb_get_module_info()
2796 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in igb_get_module_info()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c1565 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in bnx2x_get_module_info()
1568 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in bnx2x_get_module_info()
/drivers/net/ethernet/sun/
Dniu.c6877 return np->eeprom_len; in niu_get_eeprom_len()
6891 if (offset >= np->eeprom_len) in niu_get_eeprom()
6893 if (offset + len > np->eeprom_len) in niu_get_eeprom()
6894 len = eeprom->len = np->eeprom_len - offset; in niu_get_eeprom()
8388 np->eeprom_len = len; in niu_pci_probe_sprom()
Dniu.h3299 u32 eeprom_len; member