/openbmc/linux/drivers/net/wireless/admtek/ |
H A D | adm8211.c | 90 if (eeprom->reg_data_in) in adm8211_eeprom_register_write() 92 if (eeprom->reg_data_out) in adm8211_eeprom_register_write() 94 if (eeprom->reg_data_clock) in adm8211_eeprom_register_write() 96 if (eeprom->reg_chip_select) in adm8211_eeprom_register_write() 109 struct eeprom_93cx6 eeprom = { in adm8211_read_eeprom() local 117 eeprom.width = PCI_EEPROM_WIDTH_93C66; in adm8211_read_eeprom() 127 if (!priv->eeprom) in adm8211_read_eeprom() 130 eeprom_93cx6_multiread(&eeprom, 0, (__le16 *)priv->eeprom, words); in adm8211_read_eeprom() 730 priv->eeprom->cr28 : 0); in adm8211_rf_set_channel() 1928 kfree(priv->eeprom); in adm8211_probe() [all …]
|
/openbmc/linux/drivers/mtd/maps/ |
H A D | pismo.c | 212 struct pismo_eeprom eeprom; in pismo_probe() local 232 ret = pismo_eeprom_read(client, &eeprom, 0, sizeof(eeprom)); in pismo_probe() 238 dev_info(&client->dev, "%.15s board found\n", eeprom.board); in pismo_probe() 240 for (i = 0; i < ARRAY_SIZE(eeprom.cs); i++) in pismo_probe() 241 if (eeprom.cs[i].type != 0xff) in pismo_probe() 242 pismo_add_one(pismo, i, &eeprom.cs[i], in pismo_probe()
|
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2500pci.c | 137 eeprom->reg_data_clock = in rt2500pci_eepromregister_read() 139 eeprom->reg_chip_select = in rt2500pci_eepromregister_read() 169 .eeprom = { 1057 u16 eeprom; in rt2500pci_init_bbp() local 1098 if (eeprom != 0xffff && eeprom != 0x0000) { in rt2500pci_init_bbp() 1565 eeprom.data = rt2x00dev; in rt2500pci_validate_eeprom() 1570 eeprom.reg_data_in = 0; in rt2500pci_validate_eeprom() 1571 eeprom.reg_data_out = 0; in rt2500pci_validate_eeprom() 1572 eeprom.reg_data_clock = 0; in rt2500pci_validate_eeprom() 1575 eeprom_93cx6_multiread(&eeprom, EEPROM_BASE, rt2x00dev->eeprom, in rt2500pci_validate_eeprom() [all …]
|
H A D | rt2x00soc.c | 28 kfree(rt2x00dev->eeprom); in rt2x00soc_free_reg() 29 rt2x00dev->eeprom = NULL; in rt2x00soc_free_reg() 47 rt2x00dev->eeprom = kzalloc(rt2x00dev->ops->eeprom_size, GFP_KERNEL); in rt2x00soc_alloc_reg() 48 if (!rt2x00dev->eeprom) in rt2x00soc_alloc_reg()
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/ |
H A D | phosphor-ipmi-fru_git.bb | 16 SRC_URI += "file://of-name-to-eeprom.sh" 18 SYSTEMD_SERVICE:${PN} += "obmc-read-eeprom@.service" 38 install -m 0755 ${WORKDIR}/of-name-to-eeprom.sh ${D}${bindir} 43 FILES:${PN} += "${bindir}/of-name-to-eeprom.sh"
|
/openbmc/linux/Documentation/devicetree/bindings/eeprom/ |
H A D | microchip,93lc46b.yaml | 4 $id: http://devicetree.org/schemas/eeprom/microchip,93lc46b.yaml# 19 - eeprom-93xx46 62 eeprom@0 { 63 compatible = "eeprom-93xx46";
|
/openbmc/linux/sound/pci/ice1712/ |
H A D | delta.c | 73 switch (ice->eeprom.subvendor) { in ap_cs8427_codec_select() 102 switch (ice->eeprom.subvendor) { in ap_cs8427_codec_deassert() 572 switch (ice->eeprom.subvendor) { in snd_ice1712_delta_resume() 621 ice->eeprom.gpiodir == 0x7b) in snd_ice1712_delta_init() 625 ice->eeprom.gpiodir == 0xfb) in snd_ice1712_delta_init() 629 switch (ice->eeprom.subvendor) { in snd_ice1712_delta_init() 672 switch (ice->eeprom.subvendor) { in snd_ice1712_delta_init() 710 switch (ice->eeprom.subvendor) { in snd_ice1712_delta_init() 724 switch (ice->eeprom.subvendor) { in snd_ice1712_delta_init() 775 switch (ice->eeprom.subvendor) { in snd_ice1712_delta_add_controls() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | dc395x.c | 619 eeprom->delay_time = eeprom_index_to_delay_map[eeprom->delay_time]; in eeprom_index_to_delay() 1122 struct NvRamType *eeprom = &acb->eeprom; in reset_dev_param() local 3546 struct NvRamType *eeprom = &acb->eeprom; in device_alloc() local 4016 eeprom->device_id[1] = in check_eeprom() 4034 eeprom->cksum = 0x00; in check_eeprom() 4059 eeprom->scsi_id, in print_eeprom_settings() 4065 eeprom->channel_cfg, eeprom->max_tag, in print_eeprom_settings() 4066 1 << eeprom->max_tag, eeprom->delay_time); in print_eeprom_settings() 4176 struct NvRamType *eeprom = &acb->eeprom; in adapter_init_params() local 4239 struct NvRamType *eeprom = &acb->eeprom; in adapter_init_scsi_host() local [all …]
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_ethtool.c | 177 struct ethtool_eeprom *eeprom, u8 *bytes) in atl1c_get_eeprom() argument 186 if (eeprom->len == 0) in atl1c_get_eeprom() 192 eeprom->magic = adapter->pdev->vendor | in atl1c_get_eeprom() 195 first_dword = eeprom->offset >> 2; in atl1c_get_eeprom() 196 last_dword = (eeprom->offset + eeprom->len - 1) >> 2; in atl1c_get_eeprom() 210 memcpy(bytes, (u8 *)eeprom_buff + (eeprom->offset & 3), in atl1c_get_eeprom() 211 eeprom->len); in atl1c_get_eeprom()
|
/openbmc/phosphor-fan-presence/docs/presence/ |
H A D | eeprom.md | 1 # eeprom chapter 5 Some fans have EEPROMs on them. In these cases, the `eeprom` JSON stanza can be 29 The name of the eeprom driver in sysfs. 63 <b><i>"eeprom": {
|
/openbmc/u-boot/doc/device-tree-bindings/w1-eeprom/ |
H A D | ds2502.txt | 10 - drivers/w1-eeprom/ds2502.c 20 eeprom1: eeprom@0 { 29 eeprom1: eeprom@0 {
|
H A D | ds24xxx.txt | 10 - drivers/w1-eeprom/ds24xxx.c 23 eeprom1: eeprom@0 { 33 eeprom1: eeprom@0 {
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_x540.c | 189 struct ixgbe_eeprom_info *eeprom = &hw->eeprom; in ixgbe_init_eeprom_params_X540() local 191 if (eeprom->type == ixgbe_eeprom_uninitialized) { in ixgbe_init_eeprom_params_X540() 195 eeprom->semaphore_delay = 10; in ixgbe_init_eeprom_params_X540() 196 eeprom->type = ixgbe_flash; in ixgbe_init_eeprom_params_X540() 200 eeprom->word_size = BIT(eeprom_size + in ixgbe_init_eeprom_params_X540() 204 eeprom->type, eeprom->word_size); in ixgbe_init_eeprom_params_X540() 347 pointer >= hw->eeprom.word_size) in ixgbe_calc_eeprom_checksum_X540() 393 status = hw->eeprom.ops.read(hw, 0, &checksum); in ixgbe_validate_eeprom_checksum_X540() 402 status = hw->eeprom.ops.calc_checksum(hw); in ixgbe_validate_eeprom_checksum_X540() 451 status = hw->eeprom.ops.read(hw, 0, &checksum); in ixgbe_update_eeprom_checksum_X540() [all …]
|
/openbmc/linux/arch/arm/boot/dts/aspeed/ |
H A D | ibm-power10-dual.dtsi | 89 eeprom@0 { 105 eeprom@0 { 122 eeprom@0 { 139 eeprom@0 { 256 eeprom@0 { 272 eeprom@0 { 289 eeprom@0 { 306 eeprom@0 {
|
H A D | aspeed-bmc-ibm-everest.dts | 325 eeprom@51 { 369 eeprom@54 { 1803 eeprom@51 { 1808 eeprom@50 { 1838 eeprom@50 { 1843 eeprom@51 { 1848 eeprom@53 { 1853 eeprom@52 { 1862 eeprom@51 { 1867 eeprom@50 { [all …]
|
H A D | aspeed-bmc-ibm-fuji.dts | 328 eeprom@51 { 371 eeprom@54 { 1793 eeprom@51 { 1798 eeprom@50 { 1828 eeprom@50 { 1833 eeprom@51 { 1838 eeprom@53 { 1843 eeprom@52 { 1852 eeprom@51 { 1857 eeprom@50 { [all …]
|
/openbmc/openbmc/meta-google/recipes-google/networking/files/ |
H A D | gbmc-mac-config.sh.in | 19 ipmi_fru_alloc '@EEPROM@' eeprom || exit 22 read_header "$eeprom" header || exit 39 read_area "$eeprom" "$internal_offset" internal 4 || exit
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru/ |
H A D | of-name-to-eeprom.sh | 4 eeprom="${path%/of_node/name}/eeprom" 5 sed -i "s,^SYSFS_PATH=.*$,SYSFS_PATH=$eeprom," "$1"
|
/openbmc/linux/drivers/net/usb/ |
H A D | ax88179_178a.c | 550 if (eeprom->len == 0) in ax88179_get_eeprom() 556 last_word = (eeprom->offset + eeprom->len - 1) >> 1; in ax88179_get_eeprom() 572 memcpy(data, (u8 *)eeprom_buff + (eeprom->offset & 1), eeprom->len); in ax88179_get_eeprom() 589 eeprom->len, eeprom->offset, eeprom->magic); in ax88179_set_eeprom() 591 if (eeprom->len == 0) in ax88179_set_eeprom() 598 last_word = (eeprom->offset + eeprom->len - 1) >> 1; in ax88179_set_eeprom() 607 if (eeprom->offset & 1) { in ax88179_set_eeprom() 616 if ((eeprom->offset + eeprom->len) & 1) { in ax88179_set_eeprom() 625 memcpy((u8 *)eeprom_buff + (eeprom->offset & 1), data, eeprom->len); in ax88179_set_eeprom() 1007 u8 i, buf, eeprom[20]; in ax88179_check_eeprom() local [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath5k/ |
H A D | ahb.c | 41 u16 *eeprom, *eeprom_end; in ath5k_ahb_eeprom_read() local 43 eeprom = (u16 *) bcfg->radio; in ath5k_ahb_eeprom_read() 46 eeprom += off; in ath5k_ahb_eeprom_read() 47 if (eeprom > eeprom_end) in ath5k_ahb_eeprom_read() 50 *data = *eeprom; in ath5k_ahb_eeprom_read()
|
/openbmc/linux/drivers/net/wireless/ath/carl9170/ |
H A D | phy.c | 1162 cal_pier_data = &ar->eeprom. in carl9170_set_freq_cal_data() 1167 cal_pier_data = &ar->eeprom. in carl9170_set_freq_cal_data() 1354 if (c == ar->eeprom.ctl_index[ctl_idx]) in carl9170_calc_ctl() 1452 ctpl = &ar->eeprom.cal_tgt_pwr_5G[0]; in carl9170_set_power_cal() 1457 ctpl = &ar->eeprom.cal_tgt_pwr_2G_cck[0]; in carl9170_set_power_cal() 1462 ctpl = &ar->eeprom.cal_tgt_pwr_2G_ofdm[0]; in carl9170_set_power_cal() 1487 ctph = &ar->eeprom.cal_tgt_pwr_5G_ht20[0]; in carl9170_set_power_cal() 1492 ctph = &ar->eeprom.cal_tgt_pwr_5G_ht40[0]; in carl9170_set_power_cal() 1497 ctph = &ar->eeprom.cal_tgt_pwr_2G_ht20[0]; in carl9170_set_power_cal() 1502 ctph = &ar->eeprom.cal_tgt_pwr_2G_ht40[0]; in carl9170_set_power_cal() [all …]
|
/openbmc/linux/drivers/net/ethernet/8390/ |
H A D | ax88796.c | 614 struct ei_device *ei_local = eeprom->data; in ax_eeprom_register_read() 617 eeprom->reg_data_in = reg & AX_MEMR_EEI; in ax_eeprom_register_read() 619 eeprom->reg_data_clock = reg & AX_MEMR_EECLK; in ax_eeprom_register_read() 625 struct ei_device *ei_local = eeprom->data; in ax_eeprom_register_write() 630 if (eeprom->reg_data_in) in ax_eeprom_register_write() 632 if (eeprom->reg_data_clock) in ax_eeprom_register_write() 634 if (eeprom->reg_chip_select) in ax_eeprom_register_write() 725 struct eeprom_93cx6 eeprom; in ax_init_dev() local 727 eeprom.data = ei_local; in ax_init_dev() 730 eeprom.width = PCI_EEPROM_WIDTH_93C56; in ax_init_dev() [all …]
|
/openbmc/qemu/hw/net/ |
H A D | e1000x_common.c | 195 e1000x_core_prepare_eeprom(uint16_t *eeprom, in e1000x_core_prepare_eeprom() argument 204 memmove(eeprom, templ, templ_size); in e1000x_core_prepare_eeprom() 207 eeprom[i] = (macaddr[2 * i + 1] << 8) | macaddr[2 * i]; in e1000x_core_prepare_eeprom() 210 eeprom[11] = eeprom[13] = dev_id; in e1000x_core_prepare_eeprom() 213 checksum += eeprom[i]; in e1000x_core_prepare_eeprom() 218 eeprom[EEPROM_CHECKSUM_REG] = checksum; in e1000x_core_prepare_eeprom()
|
/openbmc/linux/arch/arm/boot/dts/nxp/vf/ |
H A D | vf610-zii-spb4.dts | 131 eeprom-length = <65536>; 199 eeprom@50 { 205 eeprom@52 { 254 eeprom@a3 { 255 compatible = "zii,rave-sp-eeprom"; 259 zii,eeprom-name = "main-eeprom";
|
H A D | vf610-zii-ssmb-spu3.dts | 145 eeprom-length = <65536>; 218 eeprom@50 { 224 eeprom@52 { 267 eeprom@a3 { 268 compatible = "zii,rave-sp-eeprom"; 272 zii,eeprom-name = "main-eeprom";
|