/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-eeprom-parse.c | 206 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 …]
|
D | iwl-eeprom-read.c | 358 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()
|
D | iwl-eeprom-read.h | 68 int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size);
|
D | iwl-eeprom-parse.h | 124 const u8 *eeprom, size_t eeprom_size);
|
D | iwl-config.h | 178 u16 eeprom_size; member
|
/drivers/net/wireless/intel/iwlwifi/cfg/ |
D | 6000.c | 72 .eeprom_size = OTP_LOW_IMAGE_SIZE, 84 .eeprom_size = OTP_LOW_IMAGE_SIZE, 96 .eeprom_size = OTP_LOW_IMAGE_SIZE,
|
D | 2000.c | 63 .eeprom_size = OTP_LOW_IMAGE_SIZE, 76 .eeprom_size = OTP_LOW_IMAGE_SIZE,
|
D | 1000.c | 54 .eeprom_size = OTP_LOW_IMAGE_SIZE,
|
D | 5000.c | 54 .eeprom_size = IWLAGN_EEPROM_IMG_SIZE,
|
D | a000.c | 96 .eeprom_size = OTP_LOW_IMAGE_SIZE_FAMILY_A000,
|
D | 8000.c | 112 .eeprom_size = OTP_LOW_IMAGE_SIZE_FAMILY_8000,
|
D | 7000.c | 123 .eeprom_size = OTP_LOW_IMAGE_SIZE_FAMILY_7000,
|
D | 9000.c | 95 .eeprom_size = OTP_LOW_IMAGE_SIZE_FAMILY_9000,
|
/drivers/staging/rtlwifi/halmac/halmac_88xx/ |
D | halmac_func_88xx.c | 444 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 …]
|
D | halmac_api_88xx.c | 1866 *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/ |
D | ql4_nvram.c | 20 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/ |
D | eeprom.c | 952 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/ |
D | slic.h | 321 __le16 eeprom_size; /* 03 EEPROM Size */ member 397 __le16 eeprom_size; /* 28 EEPROM Size */ member
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00soc.c | 58 rt2x00dev->eeprom = kzalloc(rt2x00dev->ops->eeprom_size, GFP_KERNEL); in rt2x00soc_alloc_reg()
|
D | rt2x00pci.c | 58 rt2x00dev->eeprom = kzalloc(rt2x00dev->ops->eeprom_size, GFP_KERNEL); in rt2x00pci_alloc_reg()
|
D | rt2800soc.c | 227 .eeprom_size = EEPROM_SIZE,
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_x540.c | 216 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/ |
D | nvm.c | 269 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/ |
D | natsemi.c | 244 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/ |
D | halmac_api_8822b.c | 46 halmac_adapter->hw_config_info.eeprom_size = HALMAC_EEPROM_SIZE_8822B; in halmac_mount_api_8822b()
|