Home
last modified time | relevance | path

Searched refs:eeprom_size (Results 1 – 25 of 40) sorted by relevance

12

/drivers/net/wireless/intel/iwlwifi/
Diwl-eeprom-parse.c148 static u16 iwl_eeprom_query16(const u8 *eeprom, size_t eeprom_size, int offset) in iwl_eeprom_query16() argument
150 if (WARN_ON(offset + sizeof(u16) > eeprom_size)) in iwl_eeprom_query16()
155 static u32 eeprom_indirect_address(const u8 *eeprom, size_t eeprom_size, in eeprom_indirect_address() argument
165 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
169 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
173 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
177 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
181 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
185 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
189 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
[all …]
Diwl-eeprom-read.c292 int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size) in iwl_read_eeprom() argument
303 if (!eeprom || !eeprom_size) in iwl_read_eeprom()
310 sz = trans->trans_cfg->base_params->eeprom_size; in iwl_read_eeprom()
387 *eeprom_size = sz; in iwl_read_eeprom()
Diwl-eeprom-read.h10 int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size);
Diwl-eeprom-parse.h76 const u8 *eeprom, size_t eeprom_size);
Diwl-config.h126 u16 eeprom_size; member
/drivers/net/wireless/intel/iwlwifi/cfg/
D6000.c58 .eeprom_size = OTP_LOW_IMAGE_SIZE_2K,
71 .eeprom_size = OTP_LOW_IMAGE_SIZE_2K,
84 .eeprom_size = OTP_LOW_IMAGE_SIZE_2K,
D2000.c49 .eeprom_size = OTP_LOW_IMAGE_SIZE_2K,
63 .eeprom_size = OTP_LOW_IMAGE_SIZE_2K,
D1000.c40 .eeprom_size = OTP_LOW_IMAGE_SIZE_2K,
D8000.c41 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
D5000.c39 .eeprom_size = IWLAGN_EEPROM_IMG_SIZE,
D9000.c37 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
D22000.c111 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
123 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
D7000.c53 .eeprom_size = OTP_LOW_IMAGE_SIZE_16K,
/drivers/scsi/qla4xxx/
Dql4_nvram.c19 static inline int eeprom_size(struct scsi_qla_host *ha) in eeprom_size() function
187 for (index = 0; index < eeprom_size(ha); index++) in qla4xxx_is_nvram_configuration_valid()
/drivers/net/wireless/intersil/p54/
Deeprom.c951 size_t eeprom_size = 0x2020, offset = 0, blocksize, maxblocksize; in p54_read_eeprom() local
961 eeprom = kzalloc(eeprom_size, GFP_KERNEL); in p54_read_eeprom()
965 while (eeprom_size) { in p54_read_eeprom()
966 blocksize = min(eeprom_size, maxblocksize); in p54_read_eeprom()
973 eeprom_size -= blocksize; in p54_read_eeprom()
/drivers/net/ethernet/alacritech/
Dslic.h320 __le16 eeprom_size; /* 03 EEPROM Size */ member
396 __le16 eeprom_size; /* 28 EEPROM Size */ member
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x540.c191 u16 eeprom_size; in ixgbe_init_eeprom_params_X540() local
198 eeprom_size = (u16)((eec & IXGBE_EEC_SIZE) >> in ixgbe_init_eeprom_params_X540()
200 eeprom->word_size = BIT(eeprom_size + in ixgbe_init_eeprom_params_X540()
/drivers/net/wireless/ralink/rt2x00/
Drt2x00soc.c47 rt2x00dev->eeprom = kzalloc(rt2x00dev->ops->eeprom_size, GFP_KERNEL); in rt2x00soc_alloc_reg()
Drt2x00pci.c47 rt2x00dev->eeprom = kzalloc(rt2x00dev->ops->eeprom_size, GFP_KERNEL); in rt2x00pci_alloc_reg()
Drt2800soc.c224 .eeprom_size = EEPROM_SIZE,
Drt2800pci.c379 .eeprom_size = EEPROM_SIZE,
/drivers/net/wireless/intel/iwlwifi/mvm/
Dnvm.c195 mvm->trans->trans_cfg->base_params->eeprom_size) { in iwl_nvm_read_section()
313 nvm_buffer = kmalloc(mvm->trans->trans_cfg->base_params->eeprom_size, in iwl_nvm_init()
/drivers/net/ethernet/sis/
Dsis900.c195 int eeprom_size; member
480 sis_priv->eeprom_size = 24; in sis900_probe()
2140 return sis_priv->eeprom_size; in sis900_get_eeprom_len()
2157 for (i = 0; i < sis_priv->eeprom_size / 2; i++) in sis900_read_eeprom()
2169 for (i = 0; i < sis_priv->eeprom_size / 2; i++) in sis900_read_eeprom()
2184 eebuf = kmalloc(sis_priv->eeprom_size, GFP_KERNEL); in sis900_get_eeprom()
/drivers/net/ethernet/natsemi/
Dnatsemi.c244 unsigned int eeprom_size; member
595 int eeprom_size; member
880 np->eeprom_size = natsemi_pci_info[chip_idx].eeprom_size; in natsemi_probe1()
2580 return np->eeprom_size; in get_eeprom_len()
2672 eebuf = kmalloc(np->eeprom_size, GFP_KERNEL); in get_eeprom()
3062 for (i = 0; i < np->eeprom_size/2; i++) { in netdev_get_eeprom()
/drivers/net/ethernet/intel/e1000/
De1000_hw.c3447 u16 eeprom_size; in e1000_init_eeprom_params() local
3514 ret_val = e1000_read_eeprom(hw, EEPROM_CFG, 1, &eeprom_size); in e1000_init_eeprom_params()
3517 eeprom_size = in e1000_init_eeprom_params()
3518 (eeprom_size & EEPROM_SIZE_MASK) >> EEPROM_SIZE_SHIFT; in e1000_init_eeprom_params()
3523 if (eeprom_size) in e1000_init_eeprom_params()
3524 eeprom_size++; in e1000_init_eeprom_params()
3526 eeprom->word_size = 1 << (eeprom_size + EEPROM_WORD_SIZE_SHIFT); in e1000_init_eeprom_params()

12