/drivers/fmc/ |
D | fmc-dump.c | 54 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()
|
D | fmc-match.c | 61 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()
|
D | fmc-core.c | 91 eelen = fmc->eeprom_len; in fmc_read_eeprom()
|
D | fmc-fakedev.c | 256 .eeprom_len = sizeof(ff_eeimg[0]),
|
/drivers/net/usb/ |
D | sr9800.h | 191 u8 eeprom_len; member
|
D | sr9800.c | 444 return data->eeprom_len; in sr_get_eeprom_len() 737 data->eeprom_len = SR9800_EEPROM_LEN; in sr9800_bind()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 1927 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/ |
D | debug.c | 493 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/ |
D | ixgbe_ethtool.c | 829 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/ |
D | qt202x_phy.c | 456 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in qt202x_phy_get_module_info()
|
D | mcdi_port.c | 801 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in efx_mcdi_phy_get_module_info()
|
/drivers/net/wireless/ |
D | adm8211.h | 565 size_t eeprom_len; member
|
D | adm8211.c | 130 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/ |
D | be_ethtool.c | 1275 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/ |
D | debugfs.c | 294 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/ |
D | igb_ethtool.c | 2792 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/ |
D | bnx2x_ethtool.c | 1565 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/ |
D | niu.c | 6877 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()
|
D | niu.h | 3299 u32 eeprom_len; member
|