• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/

Lines Matching defs:eeprom

1076 	priv->nic_type = priv->eeprom[EEPROM_NIC_TYPE];
1549 * Add a device attribute to view/control the delay between eeprom
2522 * access to the eeprom, but during device initialization (before the
2528 * the eeprom, along with some helper functions to find information in
2529 * the per device private data's copy of the eeprom.
2532 * select and why do have to keep driving the eeprom clock?), read
2541 /* the eeprom requires some time to complete the operation */
2564 /* push a single bit down to the eeprom */
2572 /* push an opcode followed by an address down to the eeprom */
2586 /* pull 16 bits off the eeprom, one bit at a time */
2598 /* Read the byte off the eeprom one bit at a time */
2615 /* data's copy of the eeprom data */
2618 memcpy(mac, &priv->eeprom[EEPROM_MAC_ADDRESS], 6);
2623 * load eeprom data into the designated region in SRAM. If neither
2632 u16 *eeprom = (u16 *) priv->eeprom;
2636 /* read entire contents of eeprom into private buffer */
2638 eeprom[i] = le16_to_cpu(eeprom_read_u16(priv, (u8) i));
2645 if (priv->eeprom[EEPROM_VERSION] != 0) {
2648 /* write the eeprom data to sram */
2650 ipw_write8(priv, IPW_EEPROM_DATA + i, priv->eeprom[i]);
2652 /* Do not load eeprom data on fatal error or suspend */
2657 /* Load eeprom data on fatal error or suspend */
3538 /* read eeprom data and initialize the eeprom region of sram */
10493 struct ethtool_eeprom *eeprom, u8 * bytes)
10497 if (eeprom->offset + eeprom->len > IPW_EEPROM_IMAGE_SIZE)
10500 memcpy(bytes, &p->eeprom[eeprom->offset], eeprom->len);
10506 struct ethtool_eeprom *eeprom, u8 * bytes)
10511 if (eeprom->offset + eeprom->len > IPW_EEPROM_IMAGE_SIZE)
10514 memcpy(&p->eeprom[eeprom->offset], bytes, eeprom->len);
10516 ipw_write8(p, i + IPW_EEPROM_DATA, p->eeprom[i]);
10840 unsigned char bt_caps = priv->eeprom[EEPROM_SKU_CAPABILITY];
11187 /* Load the microcode, firmware, and eeprom.
11201 if (!memcmp(&priv->eeprom[EEPROM_COUNTRY_CODE],
11207 priv->eeprom[EEPROM_COUNTRY_CODE + 0],
11208 priv->eeprom[EEPROM_COUNTRY_CODE + 1],
11209 priv->eeprom[EEPROM_COUNTRY_CODE + 2]);