/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-eeprom-parse.c | 148 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 …]
|
D | iwl-eeprom-read.c | 292 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()
|
D | iwl-eeprom-read.h | 10 int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size);
|
D | iwl-eeprom-parse.h | 76 const u8 *eeprom, size_t eeprom_size);
|
D | iwl-config.h | 126 u16 eeprom_size; member
|
/drivers/net/wireless/intel/iwlwifi/cfg/ |
D | 6000.c | 58 .eeprom_size = OTP_LOW_IMAGE_SIZE_2K, 71 .eeprom_size = OTP_LOW_IMAGE_SIZE_2K, 84 .eeprom_size = OTP_LOW_IMAGE_SIZE_2K,
|
D | 2000.c | 49 .eeprom_size = OTP_LOW_IMAGE_SIZE_2K, 63 .eeprom_size = OTP_LOW_IMAGE_SIZE_2K,
|
D | 1000.c | 40 .eeprom_size = OTP_LOW_IMAGE_SIZE_2K,
|
D | 8000.c | 41 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
|
D | 5000.c | 39 .eeprom_size = IWLAGN_EEPROM_IMG_SIZE,
|
D | 9000.c | 37 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
|
D | 22000.c | 111 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K, 123 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
|
D | 7000.c | 53 .eeprom_size = OTP_LOW_IMAGE_SIZE_16K,
|
/drivers/scsi/qla4xxx/ |
D | ql4_nvram.c | 19 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/ |
D | eeprom.c | 951 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/ |
D | slic.h | 320 __le16 eeprom_size; /* 03 EEPROM Size */ member 396 __le16 eeprom_size; /* 28 EEPROM Size */ member
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_x540.c | 191 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/ |
D | rt2x00soc.c | 47 rt2x00dev->eeprom = kzalloc(rt2x00dev->ops->eeprom_size, GFP_KERNEL); in rt2x00soc_alloc_reg()
|
D | rt2x00pci.c | 47 rt2x00dev->eeprom = kzalloc(rt2x00dev->ops->eeprom_size, GFP_KERNEL); in rt2x00pci_alloc_reg()
|
D | rt2800soc.c | 224 .eeprom_size = EEPROM_SIZE,
|
D | rt2800pci.c | 379 .eeprom_size = EEPROM_SIZE,
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | nvm.c | 195 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/ |
D | sis900.c | 195 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/ |
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() 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/ |
D | e1000_hw.c | 3447 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()
|