Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-eeprom-parse.c151 if (WARN_ON(offset + sizeof(u16) > eeprom_size)) in iwl_eeprom_query16()
166 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
170 offset = iwl_eeprom_query16(eeprom, eeprom_size, in eeprom_indirect_address()
211 if (WARN_ON(address >= eeprom_size)) in iwl_eeprom_query_addr()
360 const u8 *eeprom, size_t eeprom_size, in iwl_eeprom_enhanced_txpower() argument
420 const u8 *eeprom, size_t eeprom_size, in iwl_init_band_reference() argument
515 const u8 *eeprom, size_t eeprom_size) in iwl_init_channel_map() argument
758 const u8 *eeprom, size_t eeprom_size) in iwl_init_sbands() argument
762 eeprom, eeprom_size); in iwl_init_sbands()
793 const u8 *eeprom, size_t eeprom_size) in iwl_parse_eeprom_data() argument
[all …]
H A Diwl-eeprom-read.c288 int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size) in iwl_read_eeprom() argument
299 if (!eeprom || !eeprom_size) in iwl_read_eeprom()
306 sz = trans->trans_cfg->base_params->eeprom_size; in iwl_read_eeprom()
383 *eeprom_size = sz; in iwl_read_eeprom()
H A Diwl-eeprom-read.h10 int iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size);
H A Diwl-eeprom-parse.h76 const u8 *eeprom, size_t eeprom_size);
/openbmc/linux/sound/pci/ice1712/
H A Dvt1720_mobo.c83 .eeprom_size = sizeof(k8x800_eeprom),
92 .eeprom_size = sizeof(k8x800_eeprom),
101 .eeprom_size = sizeof(k8x800_eeprom),
110 .eeprom_size = sizeof(k8x800_eeprom),
119 .eeprom_size = sizeof(k8x800_eeprom),
H A Dphase.c928 .eeprom_size = sizeof(phase22_eeprom),
937 .eeprom_size = sizeof(phase28_eeprom),
946 .eeprom_size = sizeof(phase22_eeprom),
/openbmc/ipmitool/lib/
H A Dipmi_gendev.c79 int eeprom_size = 0; in ipmi_gendev_get_eeprom_size() local
176 eeprom_size = info->size; in ipmi_gendev_get_eeprom_size()
179 return eeprom_size; in ipmi_gendev_get_eeprom_size()
192 int eeprom_size; in ipmi_gendev_read_file() local
195 eeprom_size = ipmi_gendev_get_eeprom_size(intf, dev, &eeprom_info); in ipmi_gendev_read_file()
197 if(eeprom_size > 0) in ipmi_gendev_read_file()
364 int eeprom_size; in ipmi_gendev_write_file() local
367 eeprom_size = ipmi_gendev_get_eeprom_size(intf, dev, &eeprom_info); in ipmi_gendev_write_file()
369 if(eeprom_size > 0) in ipmi_gendev_write_file()
384 lprintf(LOG_ERR, "Eeprom Size: %i", eeprom_size); in ipmi_gendev_write_file()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/cfg/
H A D6000.c53 .eeprom_size = OTP_LOW_IMAGE_SIZE_2K,
66 .eeprom_size = OTP_LOW_IMAGE_SIZE_2K,
79 .eeprom_size = OTP_LOW_IMAGE_SIZE_2K,
H A D2000.c44 .eeprom_size = OTP_LOW_IMAGE_SIZE_2K,
58 .eeprom_size = OTP_LOW_IMAGE_SIZE_2K,
H A D1000.c35 .eeprom_size = OTP_LOW_IMAGE_SIZE_2K,
H A D8000.c41 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
H A Dsc.c53 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
H A D5000.c34 .eeprom_size = IWLAGN_EEPROM_IMG_SIZE,
H A D9000.c37 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
H A Dbz.c56 .eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
/openbmc/qemu/hw/avr/
H A Datmega.c55 size_t eeprom_size; member
380 amc->eeprom_size = 512; in atmega168_class_init()
395 amc->eeprom_size = 1 * KiB; in atmega328_class_init()
410 amc->eeprom_size = 4 * KiB; in atmega1280_class_init()
425 amc->eeprom_size = 4 * KiB; in atmega2560_class_init()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Deeprom.c110 u16 eeprom_size = mt7915_eeprom_size(dev); in mt7915_eeprom_load() local
112 ret = mt76_eeprom_init(&dev->mt76, eeprom_size); in mt7915_eeprom_load()
132 block_num = DIV_ROUND_UP(eeprom_size, eeprom_blk_size); in mt7915_eeprom_load()
/openbmc/linux/drivers/scsi/qla4xxx/
H A 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()
/openbmc/qemu/hw/net/
H A Digb_core.h113 uint32_t eeprom_size,
H A De1000e_core.h124 uint32_t eeprom_size,
/openbmc/linux/drivers/net/wireless/intersil/p54/
H A 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()
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00soc.c47 rt2x00dev->eeprom = kzalloc(rt2x00dev->ops->eeprom_size, GFP_KERNEL); in rt2x00soc_alloc_reg()
H A Drt2x00pci.c47 rt2x00dev->eeprom = kzalloc(rt2x00dev->ops->eeprom_size, GFP_KERNEL); in rt2x00pci_alloc_reg()
/openbmc/linux/drivers/net/ethernet/alacritech/
H A Dslic.h318 __le16 eeprom_size; /* 03 EEPROM Size */ member
394 __le16 eeprom_size; /* 28 EEPROM Size */ member
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_x540.c192 u16 eeprom_size; in ixgbe_init_eeprom_params_X540() local
199 eeprom_size = FIELD_GET(IXGBE_EEC_SIZE, eec); in ixgbe_init_eeprom_params_X540()
200 eeprom->word_size = BIT(eeprom_size + in ixgbe_init_eeprom_params_X540()

123