eeprom_size 320 drivers/net/ethernet/alacritech/slic.h __le16 eeprom_size; /* 03 EEPROM Size */ eeprom_size 396 drivers/net/ethernet/alacritech/slic.h __le16 eeprom_size; /* 28 EEPROM Size */ eeprom_size 3455 drivers/net/ethernet/intel/e1000/e1000_hw.c u16 eeprom_size; eeprom_size 3522 drivers/net/ethernet/intel/e1000/e1000_hw.c ret_val = e1000_read_eeprom(hw, EEPROM_CFG, 1, &eeprom_size); eeprom_size 3525 drivers/net/ethernet/intel/e1000/e1000_hw.c eeprom_size = eeprom_size 3526 drivers/net/ethernet/intel/e1000/e1000_hw.c (eeprom_size & EEPROM_SIZE_MASK) >> EEPROM_SIZE_SHIFT; eeprom_size 3531 drivers/net/ethernet/intel/e1000/e1000_hw.c if (eeprom_size) eeprom_size 3532 drivers/net/ethernet/intel/e1000/e1000_hw.c eeprom_size++; eeprom_size 3534 drivers/net/ethernet/intel/e1000/e1000_hw.c eeprom->word_size = 1 << (eeprom_size + EEPROM_WORD_SIZE_SHIFT); eeprom_size 851 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u16 eeprom_size; eeprom_size 873 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eeprom_size = (u16)((eec & IXGBE_EEC_SIZE) >> eeprom_size 875 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c eeprom->word_size = BIT(eeprom_size + eeprom_size 191 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c u16 eeprom_size; eeprom_size 198 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c eeprom_size = (u16)((eec & IXGBE_EEC_SIZE) >> eeprom_size 200 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c eeprom->word_size = BIT(eeprom_size + eeprom_size 632 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c u16 eeprom_size; eeprom_size 639 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c eeprom_size = (u16)((eec & IXGBE_EEC_SIZE) >> eeprom_size 641 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c eeprom->word_size = BIT(eeprom_size + eeprom_size 244 drivers/net/ethernet/natsemi/natsemi.c unsigned int eeprom_size; eeprom_size 595 drivers/net/ethernet/natsemi/natsemi.c int eeprom_size; eeprom_size 880 drivers/net/ethernet/natsemi/natsemi.c np->eeprom_size = natsemi_pci_info[chip_idx].eeprom_size; eeprom_size 2584 drivers/net/ethernet/natsemi/natsemi.c return np->eeprom_size; eeprom_size 2676 drivers/net/ethernet/natsemi/natsemi.c eebuf = kmalloc(np->eeprom_size, GFP_KERNEL); eeprom_size 3066 drivers/net/ethernet/natsemi/natsemi.c for (i = 0; i < np->eeprom_size/2; i++) { eeprom_size 195 drivers/net/ethernet/sis/sis900.c int eeprom_size; eeprom_size 480 drivers/net/ethernet/sis/sis900.c sis_priv->eeprom_size = 24; eeprom_size 2133 drivers/net/ethernet/sis/sis900.c return sis_priv->eeprom_size; eeprom_size 2150 drivers/net/ethernet/sis/sis900.c for (i = 0; i < sis_priv->eeprom_size / 2; i++) eeprom_size 2162 drivers/net/ethernet/sis/sis900.c for (i = 0; i < sis_priv->eeprom_size / 2; i++) eeprom_size 2177 drivers/net/ethernet/sis/sis900.c eebuf = kmalloc(sis_priv->eeprom_size, GFP_KERNEL); eeprom_size 2667 drivers/net/wireless/intel/iwlegacy/3945.c .eeprom_size = IL3945_EEPROM_IMG_SIZE, eeprom_size 2696 drivers/net/wireless/intel/iwlegacy/3945.c .eeprom_size = IL3945_EEPROM_IMG_SIZE, eeprom_size 1909 drivers/net/wireless/intel/iwlegacy/4965.c .eeprom_size = IL4965_EEPROM_IMG_SIZE, eeprom_size 674 drivers/net/wireless/intel/iwlegacy/common.c BUG_ON(offset >= il->cfg->eeprom_size); eeprom_size 705 drivers/net/wireless/intel/iwlegacy/common.c sz = il->cfg->eeprom_size; eeprom_size 1665 drivers/net/wireless/intel/iwlegacy/common.h int eeprom_size; eeprom_size 462 drivers/net/wireless/intel/iwlegacy/debug.c size_t eeprom_len = il->cfg->eeprom_size; eeprom_size 40 drivers/net/wireless/intel/iwlwifi/cfg/1000.c .eeprom_size = OTP_LOW_IMAGE_SIZE_2K, eeprom_size 49 drivers/net/wireless/intel/iwlwifi/cfg/2000.c .eeprom_size = OTP_LOW_IMAGE_SIZE_2K, eeprom_size 63 drivers/net/wireless/intel/iwlwifi/cfg/2000.c .eeprom_size = OTP_LOW_IMAGE_SIZE_2K, eeprom_size 129 drivers/net/wireless/intel/iwlwifi/cfg/22000.c .eeprom_size = OTP_LOW_IMAGE_SIZE_32K, eeprom_size 141 drivers/net/wireless/intel/iwlwifi/cfg/22000.c .eeprom_size = OTP_LOW_IMAGE_SIZE_32K, eeprom_size 39 drivers/net/wireless/intel/iwlwifi/cfg/5000.c .eeprom_size = IWLAGN_EEPROM_IMG_SIZE, eeprom_size 58 drivers/net/wireless/intel/iwlwifi/cfg/6000.c .eeprom_size = OTP_LOW_IMAGE_SIZE_2K, eeprom_size 71 drivers/net/wireless/intel/iwlwifi/cfg/6000.c .eeprom_size = OTP_LOW_IMAGE_SIZE_2K, eeprom_size 84 drivers/net/wireless/intel/iwlwifi/cfg/6000.c .eeprom_size = OTP_LOW_IMAGE_SIZE_2K, eeprom_size 111 drivers/net/wireless/intel/iwlwifi/cfg/7000.c .eeprom_size = OTP_LOW_IMAGE_SIZE_16K, eeprom_size 98 drivers/net/wireless/intel/iwlwifi/cfg/8000.c .eeprom_size = OTP_LOW_IMAGE_SIZE_32K, eeprom_size 84 drivers/net/wireless/intel/iwlwifi/cfg/9000.c .eeprom_size = OTP_LOW_IMAGE_SIZE_32K, eeprom_size 182 drivers/net/wireless/intel/iwlwifi/iwl-config.h u16 eeprom_size; eeprom_size 203 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c static u16 iwl_eeprom_query16(const u8 *eeprom, size_t eeprom_size, int offset) eeprom_size 205 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c if (WARN_ON(offset + sizeof(u16) > eeprom_size)) eeprom_size 210 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c static u32 eeprom_indirect_address(const u8 *eeprom, size_t eeprom_size, eeprom_size 220 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c offset = iwl_eeprom_query16(eeprom, eeprom_size, eeprom_size 224 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c offset = iwl_eeprom_query16(eeprom, eeprom_size, eeprom_size 228 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c offset = iwl_eeprom_query16(eeprom, eeprom_size, eeprom_size 232 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c offset = iwl_eeprom_query16(eeprom, eeprom_size, eeprom_size 236 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c offset = iwl_eeprom_query16(eeprom, eeprom_size, eeprom_size 240 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c offset = iwl_eeprom_query16(eeprom, eeprom_size, eeprom_size 244 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c offset = iwl_eeprom_query16(eeprom, eeprom_size, eeprom_size 248 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c offset = iwl_eeprom_query16(eeprom, eeprom_size, eeprom_size 260 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c static const u8 *iwl_eeprom_query_addr(const u8 *eeprom, size_t eeprom_size, eeprom_size 263 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c u32 address = eeprom_indirect_address(eeprom, eeprom_size, offset); eeprom_size 265 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c if (WARN_ON(address >= eeprom_size)) eeprom_size 271 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c static int iwl_eeprom_read_calib(const u8 *eeprom, size_t eeprom_size, eeprom_size 276 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c hdr = (void *)iwl_eeprom_query_addr(eeprom, eeprom_size, eeprom_size 414 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c const u8 *eeprom, size_t eeprom_size, eeprom_size 425 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c txp_len = (__le16 *)iwl_eeprom_query_addr(eeprom, eeprom_size, eeprom_size 429 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c txp_array = (void *)iwl_eeprom_query_addr(eeprom, eeprom_size, eeprom_size 474 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c const u8 *eeprom, size_t eeprom_size, eeprom_size 483 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c *ch_info = (void *)iwl_eeprom_query_addr(eeprom, eeprom_size, offset); eeprom_size 569 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c const u8 *eeprom, size_t eeprom_size) eeprom_size 583 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c iwl_init_band_reference(cfg, eeprom, eeprom_size, band, eeprom_size 654 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c iwl_eeprom_enhanced_txpower(dev, data, eeprom, eeprom_size, eeprom_size 679 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c iwl_init_band_reference(cfg, eeprom, eeprom_size, band, eeprom_size 811 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c const u8 *eeprom, size_t eeprom_size) eeprom_size 815 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c eeprom, eeprom_size); eeprom_size 846 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c const u8 *eeprom, size_t eeprom_size) eeprom_size 862 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c tmp = iwl_eeprom_query_addr(eeprom, eeprom_size, EEPROM_MAC_ADDRESS); eeprom_size 866 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c data->n_hw_addrs = iwl_eeprom_query16(eeprom, eeprom_size, eeprom_size 869 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c if (iwl_eeprom_read_calib(eeprom, eeprom_size, data)) eeprom_size 872 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c tmp = iwl_eeprom_query_addr(eeprom, eeprom_size, EEPROM_XTAL); eeprom_size 877 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c tmp = iwl_eeprom_query_addr(eeprom, eeprom_size, eeprom_size 883 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c tmp = iwl_eeprom_query_addr(eeprom, eeprom_size, eeprom_size 890 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c radio_cfg = iwl_eeprom_query16(eeprom, eeprom_size, eeprom_size 899 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c sku = iwl_eeprom_query16(eeprom, eeprom_size, eeprom_size 909 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c data->nvm_version = iwl_eeprom_query16(eeprom, eeprom_size, eeprom_size 924 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c iwl_init_sbands(trans, cfg, data, eeprom, eeprom_size); eeprom_size 120 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.h const u8 *eeprom, size_t eeprom_size); eeprom_size 346 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-read.c int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size) eeprom_size 357 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-read.c if (!eeprom || !eeprom_size) eeprom_size 364 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-read.c sz = trans->trans_cfg->base_params->eeprom_size; eeprom_size 441 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-read.c *eeprom_size = sz; eeprom_size 63 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-read.h int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size); eeprom_size 252 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c mvm->trans->trans_cfg->base_params->eeprom_size) { eeprom_size 376 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c nvm_buffer = kmalloc(mvm->trans->trans_cfg->base_params->eeprom_size, eeprom_size 951 drivers/net/wireless/intersil/p54/eeprom.c size_t eeprom_size = 0x2020, offset = 0, blocksize, maxblocksize; eeprom_size 961 drivers/net/wireless/intersil/p54/eeprom.c eeprom = kzalloc(eeprom_size, GFP_KERNEL); eeprom_size 965 drivers/net/wireless/intersil/p54/eeprom.c while (eeprom_size) { eeprom_size 966 drivers/net/wireless/intersil/p54/eeprom.c blocksize = min(eeprom_size, maxblocksize); eeprom_size 973 drivers/net/wireless/intersil/p54/eeprom.c eeprom_size -= blocksize; eeprom_size 1799 drivers/net/wireless/ralink/rt2x00/rt2400pci.c .eeprom_size = EEPROM_SIZE, eeprom_size 2098 drivers/net/wireless/ralink/rt2x00/rt2500pci.c .eeprom_size = EEPROM_SIZE, eeprom_size 1889 drivers/net/wireless/ralink/rt2x00/rt2500usb.c .eeprom_size = EEPROM_SIZE, eeprom_size 378 drivers/net/wireless/ralink/rt2x00/rt2800pci.c .eeprom_size = EEPROM_SIZE, eeprom_size 223 drivers/net/wireless/ralink/rt2x00/rt2800soc.c .eeprom_size = EEPROM_SIZE, eeprom_size 759 drivers/net/wireless/ralink/rt2x00/rt2800usb.c .eeprom_size = EEPROM_SIZE, eeprom_size 634 drivers/net/wireless/ralink/rt2x00/rt2x00.h const unsigned int eeprom_size; eeprom_size 47 drivers/net/wireless/ralink/rt2x00/rt2x00pci.c rt2x00dev->eeprom = kzalloc(rt2x00dev->ops->eeprom_size, GFP_KERNEL); eeprom_size 47 drivers/net/wireless/ralink/rt2x00/rt2x00soc.c rt2x00dev->eeprom = kzalloc(rt2x00dev->ops->eeprom_size, GFP_KERNEL); eeprom_size 776 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c rt2x00dev->eeprom = kzalloc(rt2x00dev->ops->eeprom_size, GFP_KERNEL); eeprom_size 2966 drivers/net/wireless/ralink/rt2x00/rt61pci.c .eeprom_size = EEPROM_SIZE, eeprom_size 2386 drivers/net/wireless/ralink/rt2x00/rt73usb.c .eeprom_size = EEPROM_SIZE, eeprom_size 188 drivers/scsi/qla4xxx/ql4_nvram.c for (index = 0; index < eeprom_size(ha); index++) eeprom_size 2212 sound/pci/ice1712/aureon.c .eeprom_size = sizeof(aureon51_eeprom), eeprom_size 2222 sound/pci/ice1712/aureon.c .eeprom_size = sizeof(aureon71_eeprom), eeprom_size 2232 sound/pci/ice1712/aureon.c .eeprom_size = sizeof(aureon71_universe_eeprom), eeprom_size 2242 sound/pci/ice1712/aureon.c .eeprom_size = sizeof(prodigy71_eeprom), eeprom_size 2252 sound/pci/ice1712/aureon.c .eeprom_size = sizeof(prodigy71lt_eeprom), eeprom_size 2262 sound/pci/ice1712/aureon.c .eeprom_size = sizeof(prodigy71xt_eeprom), eeprom_size 2304 sound/pci/ice1712/ice1712.c if (!c->eeprom_size || !c->eeprom_data) eeprom_size 2309 sound/pci/ice1712/ice1712.c ice->eeprom.size = c->eeprom_size + 6; eeprom_size 2310 sound/pci/ice1712/ice1712.c memcpy(ice->eeprom.data, c->eeprom_data, c->eeprom_size); eeprom_size 520 sound/pci/ice1712/ice1712.h const unsigned int eeprom_size; eeprom_size 2218 sound/pci/ice1712/ice1724.c .eeprom_size = sizeof(ooaoo_sq210_eeprom), eeprom_size 2334 sound/pci/ice1712/ice1724.c if (!c->eeprom_size || !c->eeprom_data) eeprom_size 2339 sound/pci/ice1712/ice1724.c ice->eeprom.size = c->eeprom_size + 6; eeprom_size 2340 sound/pci/ice1712/ice1724.c memcpy(ice->eeprom.data, c->eeprom_data, c->eeprom_size); eeprom_size 680 sound/pci/ice1712/juli.c .eeprom_size = sizeof(juli_eeprom), eeprom_size 744 sound/pci/ice1712/maya44.c .eeprom_size = sizeof(maya44_eeprom), eeprom_size 928 sound/pci/ice1712/phase.c .eeprom_size = sizeof(phase22_eeprom), eeprom_size 937 sound/pci/ice1712/phase.c .eeprom_size = sizeof(phase28_eeprom), eeprom_size 946 sound/pci/ice1712/phase.c .eeprom_size = sizeof(phase22_eeprom), eeprom_size 805 sound/pci/ice1712/pontis.c .eeprom_size = sizeof(pontis_eeprom), eeprom_size 787 sound/pci/ice1712/prodigy192.c .eeprom_size = sizeof(prodigy71_eeprom), eeprom_size 1239 sound/pci/ice1712/prodigy_hifi.c .eeprom_size = sizeof(prodigy71hifi_eeprom), eeprom_size 1249 sound/pci/ice1712/prodigy_hifi.c .eeprom_size = sizeof(prodigyhd2_eeprom), eeprom_size 1259 sound/pci/ice1712/prodigy_hifi.c .eeprom_size = sizeof(fortissimo4_eeprom), eeprom_size 446 sound/pci/ice1712/psc724.c .eeprom_size = sizeof(psc724_eeprom), eeprom_size 1084 sound/pci/ice1712/quartet.c .eeprom_size = sizeof(qtet_eeprom), eeprom_size 739 sound/pci/ice1712/se.c .eeprom_size = sizeof(se200pci_eeprom), eeprom_size 748 sound/pci/ice1712/se.c .eeprom_size = sizeof(se90pci_eeprom), eeprom_size 83 sound/pci/ice1712/vt1720_mobo.c .eeprom_size = sizeof(k8x800_eeprom), eeprom_size 92 sound/pci/ice1712/vt1720_mobo.c .eeprom_size = sizeof(k8x800_eeprom), eeprom_size 101 sound/pci/ice1712/vt1720_mobo.c .eeprom_size = sizeof(k8x800_eeprom), eeprom_size 110 sound/pci/ice1712/vt1720_mobo.c .eeprom_size = sizeof(k8x800_eeprom), eeprom_size 119 sound/pci/ice1712/vt1720_mobo.c .eeprom_size = sizeof(k8x800_eeprom), eeprom_size 628 sound/pci/ice1712/wtm.c .eeprom_size = sizeof(wtm_eeprom),