Home
last modified time | relevance | path

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

12

/drivers/net/wireless/intel/iwlwifi/
Diwl-eeprom-parse.c206 static u16 iwl_eeprom_query16(const u8 *eeprom, size_t eeprom_size, int offset) in iwl_eeprom_query16() argument
208 if (WARN_ON(offset + sizeof(u16) > eeprom_size)) in iwl_eeprom_query16()
213 static u32 eeprom_indirect_address(const u8 *eeprom, size_t eeprom_size, in eeprom_indirect_address() argument
223 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
227 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
231 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
235 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
239 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
243 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
247 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
[all …]
Diwl-eeprom-read.c358 int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size) in iwl_read_eeprom() argument
369 if (!eeprom || !eeprom_size) in iwl_read_eeprom()
376 sz = trans->cfg->base_params->eeprom_size; in iwl_read_eeprom()
453 *eeprom_size = sz; in iwl_read_eeprom()
Diwl-eeprom-read.h68 int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size);
Diwl-eeprom-parse.h124 const u8 *eeprom, size_t eeprom_size);
Diwl-config.h178 u16 eeprom_size; member
/drivers/net/wireless/intel/iwlwifi/cfg/
D6000.c72 .eeprom_size = OTP_LOW_IMAGE_SIZE,
84 .eeprom_size = OTP_LOW_IMAGE_SIZE,
96 .eeprom_size = OTP_LOW_IMAGE_SIZE,
D2000.c63 .eeprom_size = OTP_LOW_IMAGE_SIZE,
76 .eeprom_size = OTP_LOW_IMAGE_SIZE,
D1000.c54 .eeprom_size = OTP_LOW_IMAGE_SIZE,
D5000.c54 .eeprom_size = IWLAGN_EEPROM_IMG_SIZE,
Da000.c96 .eeprom_size = OTP_LOW_IMAGE_SIZE_FAMILY_A000,
D8000.c112 .eeprom_size = OTP_LOW_IMAGE_SIZE_FAMILY_8000,
D7000.c123 .eeprom_size = OTP_LOW_IMAGE_SIZE_FAMILY_7000,
D9000.c95 .eeprom_size = OTP_LOW_IMAGE_SIZE_FAMILY_9000,
/drivers/staging/rtlwifi/halmac/halmac_88xx/
Dhalmac_func_88xx.c444 u32 eeprom_size = halmac_adapter->hw_config_info.eeprom_size; in halmac_eeprom_parser_88xx() local
449 memset(logical_efuse_map, 0xFF, eeprom_size); in halmac_eeprom_parser_88xx()
484 if ((eeprom_index + 1) > eeprom_size) { in halmac_eeprom_parser_88xx()
486 eeprom_size, efuse_index - 1); in halmac_eeprom_parser_88xx()
587 u32 eeprom_size = halmac_adapter->hw_config_info.eeprom_size; in halmac_func_write_logical_efuse_88xx() local
594 eeprom_map = kzalloc(eeprom_size, GFP_KERNEL); in halmac_func_write_logical_efuse_88xx()
599 memset(eeprom_map, 0xFF, eeprom_size); in halmac_func_write_logical_efuse_88xx()
686 u32 eeprom_mask_size = halmac_adapter->hw_config_info.eeprom_size >> 4; in halmac_func_pg_efuse_by_map_88xx()
735 u32 eeprom_size = halmac_adapter->hw_config_info.eeprom_size; in halmac_update_eeprom_mask_88xx() local
745 eeprom_map = kzalloc(eeprom_size, GFP_KERNEL); in halmac_update_eeprom_mask_88xx()
[all …]
Dhalmac_api_88xx.c1866 *halmac_size = halmac_adapter->hw_config_info.eeprom_size; in halmac_get_logical_efuse_size_88xx()
1887 u32 eeprom_size = halmac_adapter->hw_config_info.eeprom_size; in halmac_dump_logical_efuse_map_88xx() local
1944 eeprom_map = kzalloc(eeprom_size, GFP_KERNEL); in halmac_dump_logical_efuse_map_88xx()
1949 memset(eeprom_map, 0xFF, eeprom_size); in halmac_dump_logical_efuse_map_88xx()
1960 *process_status, eeprom_map, eeprom_size); in halmac_dump_logical_efuse_map_88xx()
1991 u32 eeprom_size = halmac_adapter->hw_config_info.eeprom_size; in halmac_read_logical_efuse_88xx() local
2012 if (halmac_offset >= eeprom_size) { in halmac_read_logical_efuse_88xx()
2036 eeprom_map = kzalloc(eeprom_size, GFP_KERNEL); in halmac_read_logical_efuse_88xx()
2041 memset(eeprom_map, 0xFF, eeprom_size); in halmac_read_logical_efuse_88xx()
2102 if (halmac_offset >= halmac_adapter->hw_config_info.eeprom_size) { in halmac_write_logical_efuse_88xx()
[all …]
/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.c952 size_t eeprom_size = 0x2020, offset = 0, blocksize, maxblocksize; in p54_read_eeprom() local
962 eeprom = kzalloc(eeprom_size, GFP_KERNEL); in p54_read_eeprom()
966 while (eeprom_size) { in p54_read_eeprom()
967 blocksize = min(eeprom_size, maxblocksize); in p54_read_eeprom()
974 eeprom_size -= blocksize; in p54_read_eeprom()
/drivers/net/ethernet/alacritech/
Dslic.h321 __le16 eeprom_size; /* 03 EEPROM Size */ member
397 __le16 eeprom_size; /* 28 EEPROM Size */ member
/drivers/net/wireless/ralink/rt2x00/
Drt2x00soc.c58 rt2x00dev->eeprom = kzalloc(rt2x00dev->ops->eeprom_size, GFP_KERNEL); in rt2x00soc_alloc_reg()
Drt2x00pci.c58 rt2x00dev->eeprom = kzalloc(rt2x00dev->ops->eeprom_size, GFP_KERNEL); in rt2x00pci_alloc_reg()
Drt2800soc.c227 .eeprom_size = EEPROM_SIZE,
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x540.c216 u16 eeprom_size; in ixgbe_init_eeprom_params_X540() local
223 eeprom_size = (u16)((eec & IXGBE_EEC_SIZE) >> in ixgbe_init_eeprom_params_X540()
225 eeprom->word_size = BIT(eeprom_size + in ixgbe_init_eeprom_params_X540()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dnvm.c269 mvm->cfg->base_params->eeprom_size) { in iwl_nvm_read_section()
571 nvm_buffer = kmalloc(mvm->cfg->base_params->eeprom_size, in iwl_nvm_init()
/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()
2586 return np->eeprom_size; in get_eeprom_len()
2678 eebuf = kmalloc(np->eeprom_size, GFP_KERNEL); in get_eeprom()
3068 for (i = 0; i < np->eeprom_size/2; i++) { in netdev_get_eeprom()
/drivers/staging/rtlwifi/halmac/halmac_88xx/halmac_8822b/
Dhalmac_api_8822b.c46 halmac_adapter->hw_config_info.eeprom_size = HALMAC_EEPROM_SIZE_8822B; in halmac_mount_api_8822b()

12