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.c203 static u16 iwl_eeprom_query16(const u8 *eeprom, size_t eeprom_size, int offset) in iwl_eeprom_query16() argument
205 if (WARN_ON(offset + sizeof(u16) > eeprom_size)) in iwl_eeprom_query16()
210 static u32 eeprom_indirect_address(const u8 *eeprom, size_t eeprom_size, in eeprom_indirect_address() argument
220 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
224 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
228 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
232 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
236 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
240 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
244 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
[all …]
Diwl-eeprom-read.c346 int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size) in iwl_read_eeprom() argument
357 if (!eeprom || !eeprom_size) in iwl_read_eeprom()
364 sz = trans->trans_cfg->base_params->eeprom_size; in iwl_read_eeprom()
441 *eeprom_size = sz; in iwl_read_eeprom()
Diwl-eeprom-read.h63 int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size);
Diwl-eeprom-parse.h120 const u8 *eeprom, size_t eeprom_size);
Diwl-config.h182 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,
D22000.c129 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
141 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
D8000.c98 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
D5000.c39 .eeprom_size = IWLAGN_EEPROM_IMG_SIZE,
D9000.c84 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
D7000.c111 .eeprom_size = OTP_LOW_IMAGE_SIZE_16K,
/drivers/scsi/qla4xxx/
Dql4_nvram.c20 static inline int eeprom_size(struct scsi_qla_host *ha) in eeprom_size() function
188 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.c223 .eeprom_size = EEPROM_SIZE,
Drt2800pci.c378 .eeprom_size = EEPROM_SIZE,
/drivers/net/wireless/intel/iwlwifi/mvm/
Dnvm.c252 mvm->trans->trans_cfg->base_params->eeprom_size) { in iwl_nvm_read_section()
375 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()
2133 return sis_priv->eeprom_size; in sis900_get_eeprom_len()
2150 for (i = 0; i < sis_priv->eeprom_size / 2; i++) in sis900_read_eeprom()
2162 for (i = 0; i < sis_priv->eeprom_size / 2; i++) in sis900_read_eeprom()
2177 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()
2584 return np->eeprom_size; in get_eeprom_len()
2676 eebuf = kmalloc(np->eeprom_size, GFP_KERNEL); in get_eeprom()
3066 for (i = 0; i < np->eeprom_size/2; i++) { in netdev_get_eeprom()
/drivers/net/ethernet/intel/e1000/
De1000_hw.c3455 u16 eeprom_size; in e1000_init_eeprom_params() local
3522 ret_val = e1000_read_eeprom(hw, EEPROM_CFG, 1, &eeprom_size); in e1000_init_eeprom_params()
3525 eeprom_size = in e1000_init_eeprom_params()
3526 (eeprom_size & EEPROM_SIZE_MASK) >> EEPROM_SIZE_SHIFT; in e1000_init_eeprom_params()
3531 if (eeprom_size) in e1000_init_eeprom_params()
3532 eeprom_size++; in e1000_init_eeprom_params()
3534 eeprom->word_size = 1 << (eeprom_size + EEPROM_WORD_SIZE_SHIFT); in e1000_init_eeprom_params()

12